:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-elevated: #2a3038;
  --bg-glass: rgba(33, 38, 45, 0.6);

  --text-primary: #e6edf3;
  --text-secondary: #b0bac6;
  --text-tertiary: #7d8590;

  --accent-primary: #58a6ff;
  --accent-secondary: #3b82f6;
  --accent-tertiary: #1d4ed8;

  --success-primary: #34d399;
  --success-secondary: #10b981;

  --gradient-primary: linear-gradient(
    135deg,
    var(--accent-secondary) 0%,
    var(--accent-primary) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    var(--accent-secondary) 0%,
    #4c9aff 100%
  );
  --gradient-success: linear-gradient(
    135deg,
    var(--success-primary) 0%,
    var(--success-secondary) 100%
  );

  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(88, 166, 255, 0.15);
  --shadow-intense: 0 25px 50px -12px rgba(0, 0, 0, 0.5);

  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --font-signature: "Great Vibes", cursive;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  transition: all 0.4s var(--ease-smooth);
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nav.scrolled {
  background: rgba(13, 17, 23, 0.9);
  border-color: rgba(88, 166, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--shadow-glow);
  transform: scale(0.98);
}

.nav.scrolled::before {
  opacity: 0.02;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-bounce);
  position: relative;
  z-index: 10;
}

.nav-brand:hover {
  transform: scale(1.05);
}

.nav-brand-logo-text {
  height: 28px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  position: relative;
}

.nav-indicator {
  position: absolute;
  height: calc(100% - 1rem);
  background: var(--gradient-hero);
  border-radius: 12px;
  transition: all 0.4s var(--ease-smooth);
  opacity: 0.9;
  z-index: 0;
  top: 0.5rem;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-transform: uppercase;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-chevron {
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  transform: translateY(-1px);
}

.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.nav-item-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  list-style: none;
  background: rgba(22, 27, 34, 0.9);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem;
  width: 260px;
  z-index: 100;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) scale(0.95);
  transform-origin: top center;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  pointer-events: none;
}

.dropdown-link {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-link:hover {
  background: var(--gradient-hero);
  color: var(--text-primary);
  transform: translateX(5px);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-hero);
  color: white;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(88, 166, 255, 0.4);
}

.nav-cta:hover::before {
  left: 100%;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.nav-mobile-toggle:hover {
  background: rgba(88, 166, 255, 0.1);
  border-color: rgba(88, 166, 255, 0.3);
}

.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-bounce);
  transform-origin: center;
}

.nav-mobile-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-mobile-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(13, 17, 23, 0.98);
  backdrop-filter: blur(40px) saturate(200%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-smooth);
  z-index: 1000;
}

.nav-mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.nav-mobile-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.nav-mobile-link:hover {
  color: var(--text-primary);
  background: rgba(88, 166, 255, 0.1);
  border-color: rgba(88, 166, 255, 0.3);
  transform: translateY(0) scale(1.05);
}

.nav-mobile-cta {
  padding: 1.25rem 3rem;
  background: var(--gradient-hero);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 30px rgba(88, 166, 255, 0.3);
}

.nav-mobile-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(88, 166, 255, 0.4);
}

.nav-mobile-dropdown {
  width: 100%;
  text-align: center;
}

.nav-mobile-dropdown-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  gap: 0.75rem;
  width: 100%;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 16px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: inherit;
}

.nav-mobile-dropdown-toggle:hover {
  color: var(--text-primary);
  background: rgba(88, 166, 255, 0.1);
  border-color: rgba(88, 166, 255, 0.3);
}

.nav-mobile-dropdown-toggle i {
  font-size: 0.8em;
  transition: transform 0.4s ease;
}

.nav-mobile-dropdown.active .nav-mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.nav-mobile-dropdown.active .nav-mobile-dropdown-menu {
  margin-top: 0.5rem;
}

.nav-mobile-sublink {
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  width: calc(100% - 4rem);
  text-align: center;
}

.nav-mobile-sublink:hover {
  color: var(--text-primary);
  background: rgba(88, 166, 255, 0.08);
  border-color: rgba(88, 166, 255, 0.2);
  transform: scale(1.03);
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: all 0.8s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 250px;
  height: auto;
  margin-bottom: 2rem;
  opacity: 0;
  animation: logoAppear 1.5s ease-out 0.5s forwards;
}

@keyframes logoAppear {
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

.preloader-progress {
  width: 250px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.preloader-progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--gradient-hero);
  animation: indeterminate-progress 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.5);
  border-radius: 10px;
}

@keyframes indeterminate-progress {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center top,
    rgba(88, 166, 255, 0.08) 0%,
    transparent 70%
  );
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1rem;
  max-width: 1200px;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(60px);
  text-transform: uppercase;
  position: relative;
}

.hero-title .company-name {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(40px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gradient-hero);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: all 0.4s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(88, 166, 255, 0.3);
  text-transform: uppercase;
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.hero-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(88, 166, 255, 0.4);
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-secondary {
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-primary);
  text-decoration: none;
  border: 2px solid var(--glass-border);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  backdrop-filter: blur(20px);
  text-transform: uppercase;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.section {
  padding: 6rem 1rem;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.overline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.heading-xl {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  position: relative;
}

.heading-xl::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-hero);
  border-radius: 3px;
}

.timeline {
  position: relative;
  margin: 4rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--gradient-hero);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin: 4rem 0;
}

.timeline-item:nth-child(odd) {
  padding-right: 52%;
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: 52%;
  text-align: left;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  width: 20px;
  height: 20px;
  background: var(--gradient-hero);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(88, 166, 255, 0.6), 0 0 0 6px var(--bg-primary),
    0 0 0 8px rgba(88, 166, 255, 0.3);
  z-index: 10;
}

.timeline-item:nth-child(odd)::after {
  right: calc(50% - 10px);
}

.timeline-item:nth-child(even)::after {
  left: calc(50% - 10px);
}

@media (max-width: 1024px) {
  .timeline-item::after {
    left: 1.5rem !important;
    right: auto !important;
  }

  .timeline-item:nth-child(odd)::after,
  .timeline-item:nth-child(even)::after {
    left: 1.5rem !important;
    right: auto !important;
  }
}

.timeline-content {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.timeline-content:hover {
  transform: scale(1.03);
  border-color: rgba(88, 166, 255, 0.4);
  box-shadow: 0 20px 50px rgba(88, 166, 255, 0.2);
}

.timeline-year {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.5s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(88, 166, 255, 0.4);
  box-shadow: 0 25px 60px rgba(88, 166, 255, 0.2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-hero);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 32px rgba(88, 166, 255, 0.3);
  transition: all 0.5s var(--ease-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotateY(15deg);
  box-shadow: 0 15px 50px rgba(88, 166, 255, 0.5);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.owner-section {
  background: var(--bg-secondary);
  border-radius: 32px;
  margin: 3rem auto;
  max-width: 1000px;
  position: relative;
  border: 1px solid var(--glass-border);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: visible;
}

.owner-content {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  z-index: 1;
  padding: 6rem 3rem 3rem;
  text-align: center;
}

.owner-name {
  font-family: var(--font-signature);
  font-size: 4.5rem;
  font-weight: 500;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.owner-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.owner-quote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.owner-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent-primary);
  position: absolute;
  font-family: var(--font-body);
  opacity: 0.3;
  top: -1.5rem;
  left: -1.5rem;
}

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1rem 2rem;
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.footer-link:hover {
  color: var(--text-primary);
  padding-left: 1rem;
}

.footer-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-link:hover::before {
  width: 8px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-tertiary);
}

@media (max-width: 1024px) {
  .timeline::before {
    left: 1rem;
  }

  .timeline-item {
    padding-left: 3rem !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .timeline-item::after {
    left: calc(1rem - 10px) !important;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 920px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem;
  }

  .nav {
    padding: 0.75rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta,
  .hero-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .owner-content {
    padding: 5rem 1.5rem 2rem;
  }

  .owner-name {
    font-size: 3.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 4rem 1rem;
  }

  .owner-section {
    margin: 2rem 0;
  }

  .owner-name {
    font-size: 3rem;
  }

  .owner-quote {
    font-size: 1rem;
  }

  .owner-quote::before {
    left: 0;
  }

  .timeline-content {
    padding: 1.5rem;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-hero);
  border-radius: 10px;
}

::selection {
  background: rgba(88, 166, 255, 0.3);
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem;
  }

  .nav {
    padding: 0.75rem 1rem;
    border-radius: 16px;
  }

  .hero {
    height: 100vh;
    min-height: -webkit-fill-available;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-cta,
  .hero-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .section {
    padding: 4rem 1rem;
  }

  .container {
    padding: 0 0.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
    margin: 0 0.5rem;
  }

  .timeline::before {
    left: 1.5rem;
  }

  .timeline-item {
    padding-left: 4rem !important;
    padding-right: 1rem !important;
    text-align: left !important;
    margin: 3rem 0;
  }

  .timeline-item::after {
    left: 1.5rem !important;
    width: 16px;
    height: 16px;
  }

  .timeline-content {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .owner-section {
    margin: 2rem 0.5rem;
    border-radius: 24px;
  }

  .owner-content {
    padding: 4rem 1.5rem 2rem;
  }

  .owner-name {
    font-size: 3rem;
  }

  .footer-content {
    padding: 3rem 1rem 2rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preloader-logo {
    width: 200px;
  }

  .preloader-progress {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .service-card {
    padding: 1.5rem 1rem;
  }

  .owner-name {
    font-size: 2.5rem;
  }

  .owner-quote {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .footer-content {
    padding: 2rem 1rem 1.5rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav-link,
  .hero-cta,
  .hero-secondary,
  .service-card,
  .timeline-content {
    transition: none;
  }

  .nav-link:active,
  .hero-cta:active,
  .hero-secondary:active {
    transform: scale(0.98);
  }
}

@supports (padding: max(0px)) {
  .nav-container,
  .main-content {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .footer-content {
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 1024px) {
  .timeline::before {
    left: 2rem;
  }

  .timeline-item {
    padding-left: 4rem !important;
    padding-right: 1rem !important;
    text-align: left !important;
    margin: 3rem 0;
  }

  .timeline-item::after {
    left: 2rem !important;
    width: 16px;
    height: 16px;
  }

  .timeline-content {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .timeline::before {
    left: 1.5rem;
  }

  .timeline-item {
    padding-left: 3rem !important;
  }

  .timeline-item::after {
    left: 1.5rem !important;
    width: 14px;
    height: 14px;
  }

  .timeline-content {
    padding: 1.25rem;
  }

  .timeline-year {
    font-size: 1.25rem;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }
}
