/* =========================================================
   Dockside Motors — styles
   Color palette derived from logo.png
   ========================================================= */
:root {
  /* Core brand colors from logo */
  --navy-950: #050d1f;
  --navy-900: #0a1930;
  --navy-800: #0f2547;
  --navy-700: #163360;
  --navy-600: #1d4380;

  --blue-400: #4fc3f7;
  --blue-500: #2196f3;
  --blue-600: #1976d2;

  --sunset-400: #ffb347;
  --sunset-500: #ff8c42;
  --sunset-600: #f4701f;

  --white: #ffffff;
  --mist: #e6eefc;
  --mist-2: #b8c7e0;
  --slate: #8194b3;

  --gradient-brand: linear-gradient(135deg, var(--blue-400) 0%, var(--blue-500) 40%, var(--sunset-500) 100%);
  --gradient-surface: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  --gradient-hero: radial-gradient(ellipse at 20% 10%, rgba(33, 150, 243, 0.25), transparent 50%),
                   radial-gradient(ellipse at 80% 20%, rgba(255, 140, 66, 0.2), transparent 55%),
                   linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);

  /* Design tokens */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55), 0 8px 24px -12px rgba(33, 150, 243, 0.25);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.7);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1200px;
  --nav-h: 76px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--mist);
  background: var(--gradient-hero);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-400); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--sunset-400); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--white); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Decorative background blobs */
.bg-decor { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .35;
  animation: float 18s var(--ease-in-out) infinite;
}
.blob--1 { width: 500px; height: 500px; background: var(--blue-500); top: -120px; left: -120px; }
.blob--2 { width: 600px; height: 600px; background: var(--sunset-500); top: 30%; right: -180px; animation-delay: -6s; }
.blob--3 { width: 450px; height: 450px; background: var(--blue-600); bottom: -150px; left: 30%; animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 40px) scale(0.95); }
}

/* ============ Navigation ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  background: rgba(10, 25, 48, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(5, 13, 31, 0.92);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.nav__logo {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(33,150,243,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.nav__brand-text strong { font-size: 18px; letter-spacing: .02em; }
.nav__brand-text span { font-size: 11px; letter-spacing: .35em; color: var(--blue-400); text-transform: uppercase; margin-top: 3px; }

.nav__links { display: flex; gap: 32px; }
.nav__links a {
  color: var(--mist-2); font-weight: 500; font-size: 15px;
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gradient-brand); transition: width .3s var(--ease-out);
  border-radius: 2px;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 4px; gap: 2px;
}
.lang-btn {
  background: transparent; border: 0; color: var(--mist-2);
  padding: 6px 14px; font-size: 13px; font-weight: 600; letter-spacing: .05em;
  border-radius: 100px; transition: all .25s var(--ease-out);
}
.lang-btn.is-active {
  background: var(--gradient-brand); color: var(--white);
  box-shadow: 0 4px 12px rgba(33,150,243,0.35);
}
.lang-btn:not(.is-active):hover { color: var(--white); }

.nav__toggle {
  display: none;
  background: transparent; border: 0; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .3s;
  position: relative; overflow: hidden;
}
.btn--primary {
  background: var(--gradient-brand); color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(33,150,243,0.6), 0 6px 20px -8px rgba(255,140,66,0.4);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; background: var(--gradient-brand);
  transform: scaleX(-1); opacity: 0; transition: opacity .4s var(--ease-out);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(33,150,243,0.7); }
.btn--primary:hover::before { opacity: 1; }
.btn--primary span, .btn--primary svg { position: relative; z-index: 1; }
.btn--ghost {
  background: rgba(255,255,255,0.06); color: var(--white);
  border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative; padding: 80px 0 120px;
  z-index: 1;
}
.hero__grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue-400); padding: 8px 16px;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: 100px; margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero__lead {
  font-size: 1.1rem; color: var(--mist-2); max-width: 560px; margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding: 24px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); backdrop-filter: blur(10px);
  max-width: 560px;
}
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.stat strong {
  font-family: var(--font-display); font-size: 2rem; color: var(--white);
  display: inline;
}
.stat span { font-size: 1.5rem; color: var(--sunset-400); font-weight: 700; font-family: var(--font-display); }
.stat small { font-size: 12px; color: var(--mist-2); text-transform: uppercase; letter-spacing: .08em; }

/* Hero visual */
.hero__visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; min-height: 420px;
}
.hero__card {
  position: relative; width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.hero__card img {
  position: relative; z-index: 3;
  width: 280px; height: 280px; object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 60px rgba(33,150,243,0.25);
}
.hero__pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.35) 0%, transparent 60%);
  animation: pulse 4s var(--ease-in-out) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .8; }
  50%      { transform: scale(1.15); opacity: .4; }
}
.hero__ring {
  position: absolute; width: 340px; height: 340px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--gradient-brand) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: rotate 20s linear infinite;
  opacity: .6;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* Hero wave */
.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 0; }
.hero__wave svg { width: 100%; height: 120px; }
.hero__wave path { fill: rgba(10, 25, 48, 0.6); }

/* ============ Sections ============ */
.section {
  position: relative; padding: 110px 0; z-index: 1;
}
.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(5,13,31,0.6) 50%, transparent 100%);
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section__head .eyebrow { margin-bottom: 20px; }
.section__title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section__lead { color: var(--mist-2); font-size: 1.1rem; }

/* ============ Services ============ */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative; padding: 40px 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s, box-shadow .4s;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.service-card::after {
  content: ""; position: absolute; top: -60%; right: -60%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(33,150,243,0.18) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79,195,247,0.35);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px;
  background: var(--gradient-brand);
  border-radius: 18px; color: var(--white);
  margin-bottom: 24px;
  box-shadow: 0 16px 32px -12px rgba(33,150,243,0.6);
  transition: transform .5s var(--ease-out);
}
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.05); }
.service-card__icon svg { width: 36px; height: 36px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card p { color: var(--mist-2); margin-bottom: 20px; }

.service-card__list { list-style: none; padding: 0; margin: 0; }
.service-card__list li {
  color: var(--mist); font-size: 14px; padding: 8px 0 8px 26px; position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.service-card__list li:first-child { border-top: 0; }
.service-card__list li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 16px; height: 16px; transform: translateY(-50%);
  background: var(--gradient-brand); border-radius: 50%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/75% no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center/75% no-repeat;
}

/* ============ About ============ */
.about__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center;
}
.about__text p { color: var(--mist-2); font-size: 1.05rem; }
.about__badges {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px;
}
.badge {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px;
  background: rgba(79,195,247,0.08);
  border: 1px solid rgba(79,195,247,0.2);
  font-size: 14px; color: var(--white); font-weight: 500;
  transition: background .3s, transform .3s;
}
.badge:hover { background: rgba(79,195,247,0.15); transform: translateX(4px); }
.badge svg { width: 18px; height: 18px; color: var(--sunset-400); flex-shrink: 0; }

.about__visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.about__shape {
  position: absolute; inset: 20px;
  background: var(--gradient-brand);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  filter: blur(4px); opacity: .25;
  animation: morph 12s var(--ease-in-out) infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; transform: rotate(0); }
  50%      { border-radius: 60% 40% 45% 55% / 40% 55% 45% 60%; transform: rotate(12deg); }
}
.about__visual img {
  position: relative; z-index: 1;
  width: 320px; height: 320px; object-fit: cover;
  border-radius: 64px;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}

/* ============ Why us ============ */
.why {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.why__card {
  padding: 36px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .4s var(--ease-out), background .4s, border-color .4s;
  position: relative;
}
.why__card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,140,66,0.4);
}
.why__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px; line-height: 1;
}
.why__card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.why__card p { color: var(--mist-2); font-size: 14px; margin: 0; }

/* ============ Contact ============ */
.section--contact {
  padding-bottom: 140px;
}
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start;
}
.contact__info p { color: var(--mist-2); font-size: 1.05rem; margin-bottom: 28px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-brand); color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 20px -8px rgba(33,150,243,0.6);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__list li div { display: flex; flex-direction: column; gap: 2px; }
.contact__list li strong { font-weight: 600; color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.contact__list li span, .contact__list li a { color: var(--mist-2); font-size: 15px; }

/* Contact CTA card */
.contact__cta {
  padding: 40px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.contact__cta-head { margin-bottom: 24px; }
.contact__cta-head h3 {
  font-size: 1.4rem; margin-bottom: 10px;
}
.contact__cta-head p {
  color: var(--mist-2); font-size: 15px; margin: 0;
}
.contact__cta-buttons {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px;
}
.cta-btn {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: rgba(5,13,31,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: var(--white); text-decoration: none;
  font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease-out), background .3s, border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.cta-btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gradient-brand);
  opacity: 0; transition: opacity .4s var(--ease-out);
  z-index: 0;
}
.cta-btn > * { position: relative; z-index: 1; }
.cta-btn:hover {
  transform: translateX(4px);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(33,150,243,0.55);
}
.cta-btn:hover::before { opacity: 1; }
.cta-btn__icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-brand);
  border-radius: 12px; color: var(--white);
  transition: background .3s;
}
.cta-btn:hover .cta-btn__icon {
  background: rgba(255,255,255,0.18);
}
.cta-btn__icon svg { width: 22px; height: 22px; }
.cta-btn__label { flex: 1; }
.cta-btn__arrow {
  opacity: 0; transform: translateX(-8px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.cta-btn:hover .cta-btn__arrow {
  opacity: 1; transform: translateX(0);
}

.contact__cta-divider {
  position: relative; text-align: center; margin: 24px 0;
}
.contact__cta-divider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(255,255,255,0.1);
}
.contact__cta-divider span {
  position: relative;
  background: var(--navy-900);
  padding: 0 16px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .2em;
  color: var(--slate); font-weight: 600;
}
.contact__cta-direct {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.contact__cta-direct .btn { flex: 1; min-width: 160px; }

/* ============ Footer ============ */
.footer {
  position: relative; z-index: 1;
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(5,13,31,0.6);
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img {
  width: 48px; height: 48px; object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.footer__brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer__brand strong { color: var(--white); font-family: var(--font-display); font-size: 16px; }
.footer__brand span { color: var(--mist-2); font-size: 13px; }
.footer__copy { color: var(--slate); font-size: 13px; margin: 0; }

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger children in grid sections */
.services .reveal:nth-child(1) { transition-delay: .05s; }
.services .reveal:nth-child(2) { transition-delay: .15s; }
.services .reveal:nth-child(3) { transition-delay: .25s; }
.why .reveal:nth-child(1) { transition-delay: .05s; }
.why .reveal:nth-child(2) { transition-delay: .15s; }
.why .reveal:nth-child(3) { transition-delay: .25s; }
.why .reveal:nth-child(4) { transition-delay: .35s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__stats { margin-left: auto; margin-right: auto; }
  .hero__visual { order: -1; min-height: 320px; }
  .hero__card, .hero__ring { width: 300px; height: 300px; }
  .hero__ring { width: 280px; height: 280px; }
  .hero__card img { width: 220px; height: 220px; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .services .reveal:nth-child(3) { grid-column: 1 / -1; max-width: 520px; justify-self: center; width: 100%; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__visual { order: -1; min-height: 340px; }
  .about__visual img { width: 260px; height: 260px; border-radius: 52px; }

  .why { grid-template-columns: repeat(2, 1fr); }

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .hero { padding: 50px 0 90px; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(5, 13, 31, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 24px 20px;
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease-out), opacity .3s;
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav__links a::after { display: none; }
  .nav__brand-text span { display: none; }

  .services { grid-template-columns: 1fr; }
  .services .reveal:nth-child(3) { max-width: none; }
  .why { grid-template-columns: 1fr; }
  .about__badges { grid-template-columns: 1fr; }

  .hero__stats { grid-template-columns: 1fr; text-align: left; padding: 20px; }
  .stat { flex-direction: row; align-items: baseline; gap: 8px; }
  .stat small { margin-left: auto; }

  .contact__form { padding: 28px 22px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 6px;
}
