/* ==========================================================================
   GRAVIMARK SOLUTIONS — Premium Advertising Agency Design System
   Single production stylesheet. Author: Agent 3 (UI/UX & Brand Experience)
   Fonts loaded in HTML: Poppins (600,700,800) + Inter (300,400,500,600)
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS / CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Brand palette */
  --navy: #1a2a4b;
  --navy-dark: #0d1526;
  --navy-light: #24386a;
  --teal: #0ed99a;
  --teal-dark: #0bb681;
  --teal-light: #4fe9bb;
  --white: #ffffff;

  /* Gray scale */
  --gray-50: #f5f7fa;
  --gray-100: #eef1f6;
  --gray-200: #e2e7ef;
  --gray-300: #cbd3df;
  --gray-400: #9aa5b6;
  --gray-500: #6b7280;
  --gray-600: #545b69;
  --gray-700: #3d434e;
  --gray-800: #262b33;
  --gray-900: #14171c;

  --ink: #0d1526;
  --muted: #6b7280;

  /* Surface tints */
  --teal-10: rgba(14, 217, 154, 0.1);
  --teal-15: rgba(14, 217, 154, 0.15);
  --teal-20: rgba(14, 217, 154, 0.2);
  --navy-10: rgba(26, 42, 75, 0.1);
  --red: #e5484d;
  --red-10: rgba(229, 72, 77, 0.1);
  --amber: #f5a623;

  /* Typography */
  --font-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fluid type scale */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --fs-3xl: clamp(2.25rem, 1.7rem + 2.6vw, 3.5rem);
  --fs-display: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, 0.06), 0 1px 3px rgba(13, 21, 38, 0.08);
  --shadow-md: 0 4px 12px rgba(13, 21, 38, 0.08), 0 2px 4px rgba(13, 21, 38, 0.06);
  --shadow-lg: 0 12px 32px rgba(13, 21, 38, 0.12), 0 4px 8px rgba(13, 21, 38, 0.06);
  --shadow-xl: 0 24px 60px rgba(13, 21, 38, 0.18), 0 8px 16px rgba(13, 21, 38, 0.08);
  --shadow-teal: 0 12px 30px rgba(14, 217, 154, 0.3);

  /* Layout */
  --container: 1240px;
  --container-narrow: 820px;
  --header-h: 90px;

  /* Transitions */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-header: 1000;
  --z-nav-panel: 1100;
  --z-overlay: 1200;
  --z-lightbox: 1300;
  --z-toast: 1400;
}

/* ==========================================================================
   2. MODERN RESET + BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--teal);
  color: var(--navy);
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--fs-3xl); font-weight: 800; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-xl); font-weight: 700; }
h4 { font-size: var(--fs-lg); font-weight: 600; }
h5 { font-size: var(--fs-md); font-weight: 600; }
h6 { font-size: var(--fs-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  margin: 0 0 var(--sp-4);
}
p:last-child { margin-bottom: 0; }

.display {
  font-family: var(--font-head);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  font-weight: 400;
  color: var(--gray-600);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-dark);
  margin-bottom: var(--sp-3);
}

.section-navy .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow { color: var(--teal); }

.text-teal { color: var(--teal-dark); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-balance { text-wrap: balance; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.06em; }

a.text-link {
  color: var(--teal-dark);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base);
}
a.text-link:hover { border-bottom-color: var(--teal-dark); }

strong, b { font-weight: 600; }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.section-sm {
  padding-block: clamp(40px, 6vw, 72px);
}

.section-navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}
.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.section-navy h5,
.section-navy h6 { color: var(--white); }

.section-navy-dark {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.82);
}
.section-navy-dark h1,
.section-navy-dark h2,
.section-navy-dark h3 { color: var(--white); }

.section-gray {
  background: var(--gray-50);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header.center {
  margin-inline: auto;
  text-align: center;
}
.section-header p {
  margin-top: var(--sp-3);
}

/* Grids */
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { display: grid; gap: var(--sp-8); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Flex helpers */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.gap-1 { gap: var(--sp-1); }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

/* Split layout: image + text */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.split-content { max-width: 540px; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-head);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base),
              background-color var(--t-base), color var(--t-base),
              border-color var(--t-base);
  -webkit-tap-highlight-color: transparent;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn svg { width: 1.1em; height: 1.1em; }

/* Arrow micro-interaction */
.btn .btn-arrow { transition: transform var(--t-base); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-accent {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-accent:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.05rem 2.1rem; font-size: var(--fs-md); }
.btn-sm { padding: 0.6rem 1.15rem; font-size: var(--fs-sm); }
.btn-block { display: flex; width: 100%; }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   6. HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13, 21, 38, 0.06);
  z-index: var(--z-header);
  transition: height var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.site-header.scrolled {
  height: 64px;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  gap: var(--sp-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 62px;
  width: auto;
  transition: height var(--t-base);
}
.site-header.scrolled .nav-logo img { height: 50px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-menu > li { position: relative; }

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0.5rem 0;
  transition: color var(--t-base);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu li.active > a { color: var(--teal-dark); }
.nav-menu a:hover::after,
.nav-menu li.active > a::after { transform: scaleX(1); }

.caret {
  width: 0.7em;
  height: 0.7em;
  transition: transform var(--t-base);
}
.has-dropdown.open > a .caret { transform: rotate(180deg); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: var(--z-dropdown);
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { display: block; }
.dropdown a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background var(--t-fast), color var(--t-fast);
}
.dropdown a::after { display: none; }
.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--teal-10);
  color: var(--navy);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: var(--z-nav-panel);
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 21, 38, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base), visibility var(--t-base);
  z-index: var(--z-overlay);
}
body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(14, 217, 154, 0.16), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(14, 217, 154, 0.1), transparent 55%);
  pointer-events: none;
}
.hero.hero-image {
  background-size: cover;
  background-position: center;
}
.hero.hero-image::before {
  background: linear-gradient(135deg, rgba(13, 21, 38, 0.92), rgba(26, 42, 75, 0.78));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero h1,
.hero .display { color: var(--white); }
.hero-sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--sp-5);
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stats .stat-num { color: var(--teal); }
.hero-stats .stat-label { color: rgba(255, 255, 255, 0.7); }

/* Decorative floating shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero-shape-1 {
  width: 420px; height: 420px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(14, 217, 154, 0.18), transparent 70%);
  animation: float 9s ease-in-out infinite;
}
.hero-shape-2 {
  width: 280px; height: 280px;
  bottom: -80px; left: 5%;
  border: 2px solid rgba(14, 217, 154, 0.2);
  background: transparent;
  animation: float 11s ease-in-out infinite reverse;
}

/* Inner page hero */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, var(--navy-dark), var(--navy) 70%);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 80% 30%, rgba(14, 217, 154, 0.14), transparent 60%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-12);
}
.page-hero h1 { color: var(--white); }
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lg);
  margin-top: var(--sp-3);
  max-width: 620px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-5);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); transition: color var(--t-base); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { color: var(--teal); }
.breadcrumb [aria-current] { color: var(--white); font-weight: 500; }

/* ==========================================================================
   8. STATS STRIP
   ========================================================================== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-8);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 1.8rem + 2.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--teal-dark);
  letter-spacing: -0.02em;
}
.section-navy .stat-num,
.section-navy-dark .stat-num { color: var(--teal); }
.stat-label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.section-navy .stat-label,
.section-navy-dark .stat-label { color: rgba(255, 255, 255, 0.7); }

/* ==========================================================================
   9. CARDS
   ========================================================================== */
/* Service card */
.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-10);
  color: var(--teal-dark);
  margin-bottom: var(--sp-5);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 { margin-bottom: var(--sp-3); }
.service-card p { color: var(--muted); margin-bottom: var(--sp-5); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-dark);
}
.card-link svg { width: 1em; height: 1em; transition: transform var(--t-base); }
.card-link:hover svg,
.service-card:hover .card-link svg { transform: translateX(4px); }

/* Feature */
.feature {
  display: flex;
  gap: var(--sp-4);
}
.feature .feature-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--teal-10);
  color: var(--teal-dark);
}
.feature .feature-icon svg { width: 24px; height: 24px; }
.feature h4 { margin-bottom: var(--sp-2); }
.feature p { color: var(--muted); font-size: var(--fs-sm); }
.section-navy .feature p { color: rgba(255, 255, 255, 0.7); }
.section-navy .feature .feature-icon {
  background: var(--teal-15);
  color: var(--teal);
}

/* Portfolio / work card */
.work-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  cursor: pointer;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.work-card:hover img { transform: scale(1.06); }
.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-6);
  background: linear-gradient(to top, rgba(13, 21, 38, 0.88) 0%, rgba(13, 21, 38, 0.25) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.work-card:hover .work-overlay,
.work-card:focus-within .work-overlay { opacity: 1; }
.work-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: var(--teal);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
}
.work-title {
  color: var(--white);
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 600;
  transform: translateY(12px);
  transition: transform var(--t-slow);
}
.work-card:hover .work-title,
.work-card:focus-within .work-title { transform: translateY(0); }

/* Process / step card */
.step {
  position: relative;
  text-align: center;
  padding: var(--sp-4);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 2;
}
.step h4 { margin-bottom: var(--sp-2); }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.section-navy .step p { color: rgba(255, 255, 255, 0.7); }

/* Connecting line on desktop */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-8);
  position: relative;
}
@media (min-width: 768px) {
  .steps-row .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(to right, var(--teal), var(--teal-10));
    z-index: 1;
  }
}

/* ==========================================================================
   10. FEATURE SECTIONS / BANDS
   ========================================================================== */
/* CTA band */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 50% 0%, rgba(14, 217, 154, 0.18), transparent 60%);
}
.cta-band.cta-teal {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
}
.cta-band.cta-teal::before { background: none; }
.cta-band.cta-teal,
.cta-band.cta-teal h2 { color: var(--navy); }
.cta-content { position: relative; z-index: 2; max-width: 680px; margin-inline: auto; }
.cta-band h2 { color: var(--white); margin-bottom: var(--sp-4); }
.cta-band p { font-size: var(--fs-lg); opacity: 0.9; margin-bottom: var(--sp-8); }
.cta-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

/* Logos strip */
.logos-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.logos-strip .logo-item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--gray-400);
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity var(--t-base), filter var(--t-base);
}
.logos-strip .logo-item:hover { opacity: 1; filter: grayscale(0); color: var(--navy); }
.logos-label {
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: var(--sp-8);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}
.testimonial {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.2rem;
  left: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.5;
}
.testimonial-quote {
  position: relative;
  font-size: var(--fs-md);
  font-style: italic;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: var(--sp-6);
  padding-top: var(--sp-6);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-200);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}
.testimonial-role {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-split img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--sp-8);
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--sp-8);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-8) + 1px);
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-item h4 { margin-bottom: var(--sp-1); }
.timeline-date {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: var(--sp-2);
}
.timeline-item p { color: var(--muted); }

/* ==========================================================================
   11. FORMS
   ========================================================================== */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.form-grid .full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.form-grid .form-group { margin-bottom: 0; }

.form-group label,
.form-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy);
}
.form-required { color: var(--teal-dark); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-20);
}
textarea.form-control {
  min-height: 140px;
  resize: vertical;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Field error state */
.form-group.has-error .form-control {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-10);
}
.field-error {
  font-size: var(--fs-xs);
  color: var(--red);
  font-weight: 500;
}

.form-note {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: var(--sp-2);
}

/* Form messages */
.form-msg {
  display: none;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: var(--sp-5);
}
.form-msg.show { display: block; }
.form-msg.success {
  background: var(--teal-10);
  color: var(--teal-dark);
  border: 1px solid var(--teal-20);
}
.form-msg.error {
  background: var(--red-10);
  color: var(--red);
  border: 1px solid rgba(229, 72, 77, 0.25);
}

.form-submit { width: 100%; margin-top: var(--sp-4); }

/* Loading state on submit */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  top: 50%; left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-accent.is-loading::after { border-color: rgba(26, 42, 75, 0.3); border-top-color: var(--navy); }

/* Multi-step form */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}
.step-dot {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.step-dot .dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-sm);
  transition: background var(--t-base), color var(--t-base);
}
.step-dot .dot-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
}
.step-dot.active .dot { background: var(--teal); color: var(--navy); }
.step-dot.active .dot-label { color: var(--navy); }
.step-dot.done .dot { background: var(--navy); color: var(--white); }
.step-connector {
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: var(--gray-200);
}

.form-step { display: none; }
.form-step.active { display: block; animation: fadeInUp 0.4s ease; }
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.form-review {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: var(--sp-5);
}
.form-review dl { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-2) var(--sp-4); }
.form-review dt { font-weight: 600; color: var(--navy); font-family: var(--font-head); font-size: var(--fs-sm); }
.form-review dd { color: var(--gray-700); }

/* ==========================================================================
   12. ACCORDION (FAQ)
   ========================================================================== */
.accordion {
  border-top: 1px solid var(--gray-200);
}
.acc-item {
  border-bottom: 1px solid var(--gray-200);
}
.acc-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  text-align: left;
  padding: var(--sp-5) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--navy);
  cursor: pointer;
}
.acc-q:hover { color: var(--teal-dark); }
.acc-ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform var(--t-base);
  color: var(--teal-dark);
}
.acc-item.open .acc-ico { transform: rotate(180deg); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow);
}
.acc-a-inner {
  padding-bottom: var(--sp-5);
  color: var(--muted);
}
.acc-item.open .acc-a { max-height: 500px; }

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(3rem, 6vw, 5rem) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: var(--sp-12);
}
.footer-logo { height: 48px; width: auto; margin-bottom: var(--sp-5); }
.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
  margin-bottom: var(--sp-6);
}
.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: background var(--t-base), transform var(--t-base);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: var(--sp-5);
}
.footer-links li { margin-bottom: var(--sp-3); }
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-sm);
  line-height: 1.8;
  transition: color var(--t-base), padding-left var(--t-base);
}
.footer-links a:hover { color: var(--teal); padding-left: 4px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}
.footer-contact-row a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}
.footer-legal a { color: rgba(255, 255, 255, 0.5); transition: color var(--t-base); }
.footer-legal a:hover { color: var(--teal); }

/* ==========================================================================
   14. COMPONENTS / UTILITIES WIDGETS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  background: var(--teal-10);
  border-radius: var(--radius-full);
}
.tag {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: var(--radius-full);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--t-base), visibility var(--t-base), transform var(--t-base), background var(--t-base);
  z-index: var(--z-toast);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--teal-dark); transform: translateY(-3px); }
.back-to-top svg { width: 22px; height: 22px; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: var(--z-toast);
  transition: transform var(--t-base);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: min(680px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-toast);
  transition: transform var(--t-slow);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: var(--fs-sm); margin: 0; flex: 1; min-width: 240px; }
.cookie-banner a { color: var(--teal); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-3); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 21, 38, 0.92);
  z-index: var(--z-lightbox);
  padding: var(--sp-8);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background var(--t-base);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--teal); color: var(--navy); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 24px; height: 24px; }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: var(--z-toast);
  background: var(--navy);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--t-base);
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   15. UTILITIES
   ========================================================================== */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: var(--sp-2); } .mb-2 { margin-bottom: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); } .mb-4 { margin-bottom: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); } .mb-6 { margin-bottom: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); } .mb-8 { margin-bottom: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); } .mb-12 { margin-bottom: var(--sp-12); }
.mt-16 { margin-top: var(--sp-16); } .mb-16 { margin-bottom: var(--sp-16); }
.mx-auto { margin-inline: auto; }
.py-8 { padding-block: var(--sp-8); }
.py-12 { padding-block: var(--sp-12); }
.py-16 { padding-block: var(--sp-16); }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.w-full { width: 100%; }
.maxw-720 { max-width: 720px; }
.relative { position: relative; }

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   16. KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --container: 1100px; }
}

@media (max-width: 992px) {
  /* Nav switch to mobile */
  .hamburger { display: flex; }
  .nav-actions .btn:not(.nav-cta) { display: none; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + var(--sp-4)) var(--sp-6) var(--sp-8);
    background: var(--white);
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t-slow);
    z-index: var(--z-nav-panel);
  }
  body.nav-open .nav-menu { transform: translateX(0); }

  .nav-menu > li { border-bottom: 1px solid var(--gray-100); }
  .nav-menu a {
    padding: var(--sp-4) 0;
    font-size: var(--fs-md);
    justify-content: space-between;
  }
  .nav-menu a::after { display: none; }

  /* Mobile dropdown accordion */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 var(--sp-3) var(--sp-4);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-base);
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { max-height: 0; }
  .has-dropdown.open .dropdown { max-height: 600px; }

  .split,
  .about-split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .hero { min-height: 80vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .form-grid { grid-template-columns: 1fr; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  .form-steps { flex-wrap: wrap; }
  .step-dot .dot-label { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 74px; }
  .section-header { margin-bottom: 2rem; }
  .step-connector { max-width: 30px; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}

/* Touch targets */
@media (pointer: coarse) {
  .nav-menu a,
  .footer-links a,
  .dropdown a { min-height: 44px; display: flex; align-items: center; }
}

/* ==========================================================================
   18. ACCESSIBILITY — REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-shape { animation: none; }
}
