/* ============================================================
   EALAW — Premium CSS — 2026
   Legal Tech Blue: #102A43 / #1F6F8B / #38BDF8 / #F6F8FA
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --navy:      #102A43;
  --navy-deep: #071B2F;
  --blue:      #1F6F8B;
  --accent:    #38BDF8;
  --gray:      #4B5563;
  --light:     #F6F8FA;
  --white:     #FFFFFF;
  --border:    rgba(16,42,67,.09);

  --font-body:    'Inter', system-ui, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, Arial, sans-serif;

  --radius-card: 20px;
  --radius-btn:  999px;
  --radius-lg:   32px;

  --shadow-xs:  0 1px 4px rgba(16,42,67,.06);
  --shadow-sm:  0 4px 16px rgba(16,42,67,.09);
  --shadow-md:  0 12px 36px rgba(16,42,67,.13);
  --shadow-lg:  0 24px 64px rgba(16,42,67,.18);
  --shadow-dark: 0 32px 80px rgba(0,0,0,.28);

  --ease:      cubic-bezier(0.22,1,0.36,1);
  --container: 1180px;
  --nav-h:     78px;
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray);
  background: var(--light);
  line-height: 1.6;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(246,248,250,.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand-icon-only {
  display: block;
  height: 46px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2d4054;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy); background: rgba(16,42,67,.06); }
.main-nav a.active { color: var(--blue); background: rgba(31,111,139,.08); }

.header-cta {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.header-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(31,111,139,.3);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  display: block;
  border-radius: 2px;
  transition: all .3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover {
  background: #60cbf9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56,189,248,.35);
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16,42,67,.25);
}
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(56,189,248,.08); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 13.5px; }

/* ===== EYEBROW ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-display);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow.blue { color: var(--blue); }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-blue {
  background:
    radial-gradient(circle at 85% 18%, rgba(56,189,248,.2) 0%, transparent 32%),
    radial-gradient(circle at 12% 80%, rgba(31,111,139,.14) 0%, transparent 32%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
/* Subtle dot grid */
.hero-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56,189,248,.09) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
}
.hero-light { background: var(--light); }
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 860px);
  padding: 96px 0;
  width: 100%;
}
.hero-content { max-width: 860px; }
.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: .97;
  letter-spacing: -0.06em;
  color: var(--white);
  max-width: 820px;
  font-weight: 900;
}
.hero-light h1 { color: var(--navy); }
.hero p {
  font-size: 19px;
  max-width: 640px;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
}
.hero-light p { color: var(--gray); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-wordmark {
  display: block;
  width: min(300px, 75vw);
  height: auto;
  margin-bottom: 24px;
}
/* Ghost watermark */
.hero::after {
  content: "EALAW";
  position: absolute;
  right: clamp(20px, 6vw, 100px);
  top: 18%;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  user-select: none;
}
.hero-light::after { color: rgba(16,42,67,.04); }

/* Waves */
.wave-layer {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  z-index: 1;
  pointer-events: none;
  opacity: .88;
}
.wave-layer svg { width: 100%; height: 100%; display: block; }
.wave-1 { fill: rgba(31,111,139,.18); }
.wave-2, .wave-3 { fill: none; stroke: rgba(56,189,248,.4); stroke-width: 2; }

/* ===== SECTIONS ===== */
.section { position: relative; padding: 100px 0; }
.section-white { background: var(--white); }
.section-light { background: var(--light); }
.section-blue {
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.section-blue .container { position: relative; z-index: 2; }
.section-blue::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56,189,248,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  z-index: 1;
  pointer-events: none;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p { font-size: 17px; color: var(--gray); margin-top: 12px; }
.section-blue .section-head p { color: rgba(255,255,255,.6); }

/* ===== TYPOGRAPHY ===== */
h2 {
  margin: 14px 0;
  color: var(--navy);
  font-size: clamp(30px, 3.8vw, 50px);
  letter-spacing: -0.05em;
  line-height: 1.06;
  font-weight: 800;
}
.section-blue h2, .cta-final h2, .dark-panel h2 { color: var(--white); }
.lead { font-size: 19px; color: #22374a; line-height: 1.65; }

/* ===== LAYOUTS ===== */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cards-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.cards-grid.compact { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* ===== SERVICE CARD ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56,189,248,.22);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { color: var(--navy); font-size: 19px; letter-spacing: -0.03em; margin: 8px 0 10px; }
.service-card p { min-height: 80px; font-size: 14px; line-height: 1.65; }
.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 700;
  font-size: 13.5px;
  transition: gap .2s, color .2s;
}
.service-card a:hover { color: var(--accent); gap: 10px; }
.card-kicker {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  display: block;
}

/* Vertical icon */
.vertical-icon {
  width: 54px; height: 54px;
  min-width: 54px; min-height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(56,189,248,.14), rgba(31,111,139,.06));
  border: 1px solid rgba(31,111,139,.14);
  color: #1F6F8B;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}
.service-card:hover .vertical-icon {
  background: linear-gradient(135deg, rgba(56,189,248,.22), rgba(31,111,139,.1));
  border-color: rgba(56,189,248,.28);
}
.vertical-icon svg {
  display: block;
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
  stroke: #1F6F8B;
  stroke-width: 1.9;
  fill: none !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vertical-icon svg path,
.vertical-icon svg rect,
.vertical-icon svg circle,
.vertical-icon svg line,
.vertical-icon svg polyline,
.vertical-icon svg polygon {
  fill: none;
}
.vertical-icon .accent,
.vertical-icon svg .accent { stroke: #38BDF8 !important; fill: none !important; }

/* ===== INFO / TEAM CARDS ===== */
.info-card, .team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}
.team-card h3 { color: var(--navy); font-size: 20px; letter-spacing: -0.03em; margin: 10px 0 8px; }

/* Client cards (dark bg) */
.client-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: background .3s, transform .3s var(--ease);
}
.client-card:hover { background: rgba(255,255,255,.11); transform: translateY(-4px); }
.client-card h3 { color: var(--white); font-size: 22px; letter-spacing: -0.03em; margin: 0 0 10px; }
.client-card p { color: rgba(255,255,255,.6); font-size: 14.5px; }
.client-card ul { padding-left: 18px; list-style: disc; color: rgba(255,255,255,.52); font-size: 14px; margin: 12px 0 20px; }

/* ===== FEATURE ROW ===== */
.feature-row { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: center; }
.feature-panel {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.dark-panel {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(255,255,255,.7);
}
.dark-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56,189,248,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.dark-panel h2, .dark-panel p { position: relative; z-index: 2; }
.feature-list { padding: 16px 0; }
.feature-list h2 { margin-bottom: 20px; }

/* Checklist */
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li {
  position: relative;
  padding-left: 36px;
  margin: 12px 0;
  font-size: 14.5px;
  color: #3a4d5e;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(56,189,248,.14);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

/* ===== PILL GRID ===== */
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill-grid span {
  background: var(--light);
  border: 1px solid rgba(16,42,67,.1);
  border-radius: 999px;
  padding: 9px 16px;
  color: #2c3f52;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .2s, border-color .2s, color .2s;
}
.pill-grid span:hover {
  background: rgba(56,189,248,.1);
  border-color: rgba(56,189,248,.28);
  color: var(--blue);
}

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.steps div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s var(--ease);
}
.steps div:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.steps strong { color: var(--accent); font-weight: 900; font-family: var(--font-display); letter-spacing: .08em; font-size: 13px; }
.steps h3 { color: var(--navy); margin: 6px 0; font-size: 17px; }

/* ===== TIMELINE ===== */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.timeline-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-xs);
}
.timeline-item span { color: var(--accent); font-weight: 900; font-family: var(--font-display); }
.timeline-item h3 { color: var(--navy); margin: 6px 0; font-size: 17px; }

/* ===== NARROW ===== */
.narrow { max-width: 820px; text-align: center; margin: 0 auto; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 18px; }
.team-card.featured {
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: rgba(255,255,255,.7);
  border-color: transparent;
}
.team-card.featured h3 { color: var(--white); }
.avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(56,189,248,.14);
  color: var(--blue);
  font-weight: 900;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 15px;
}
.team-card.featured .avatar { color: var(--navy); background: var(--accent); }
.role { color: var(--blue); font-weight: 700; font-size: 13px; }
.team-card.featured .role { color: var(--accent); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-form {
  background: var(--white);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--navy);
  font-weight: 650;
  font-size: 13.5px;
  font-family: var(--font-display);
}
.contact-form label:nth-last-child(4),
.contact-form label:nth-last-child(3),
.contact-form .checkbox,
.contact-form button,
.form-message { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid rgba(16,42,67,.12);
  border-radius: 12px;
  padding: 13px 15px;
  font: inherit;
  font-size: 14.5px;
  color: var(--navy);
  background: var(--light);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31,111,139,.1);
}
textarea { resize: vertical; min-height: 110px; }
.checkbox { flex-direction: row !important; align-items: center; color: var(--gray) !important; gap: 10px; }
.checkbox input { width: auto; }
.form-message { margin: 0; font-weight: 700; color: var(--blue); font-size: 14px; }
.contact-info {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: var(--light);
  border: 1px solid var(--border);
}

/* ===== CTA FINAL ===== */
.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 112px 0;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(56,189,248,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 2; max-width: 860px; }
.cta-final p { color: rgba(255,255,255,.65); font-size: 19px; margin-bottom: 34px; line-height: 1.65; }

/* ===== FOOTER ===== */
.site-footer {
  background: #05111e;
  color: rgba(255,255,255,.6);
  padding: 72px 0 28px;
  border-top: 1px solid rgba(56,189,248,.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .brand-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.site-footer p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.42);
  max-width: 30ch;
}
.site-footer h4 {
  color: var(--white);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer li { font-size: 13.5px; color: rgba(255,255,255,.48); }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12.5px;
  color: rgba(255,255,255,.26);
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ===== BRAND IMAGE ===== */
.brand-img {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

/* ===== LEGAL PAGES ===== */
.legal-hero {
  background: var(--light);
  padding: 88px 0 54px;
  border-bottom: 1px solid var(--border);
}
.legal-hero h1 {
  margin: 16px 0 12px;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.06em;
  line-height: 1;
}
.legal-hero p { max-width: 780px; font-size: 18px; color: var(--gray); }
.legal-content { max-width: 920px; }
.legal-content h2 { font-size: 26px; margin-top: 36px; margin-bottom: 12px; letter-spacing: -0.03em; }
.legal-content p, .legal-content li { font-size: 15.5px; color: #3f4d5f; line-height: 1.7; }
.legal-alert {
  background: #EAF4FB;
  border: 1px solid rgba(31,111,139,.2);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 32px;
}
.legal-alert strong { color: var(--navy); font-size: 17px; }
.legal-alert p { margin-bottom: 0; }
.legal-table { display: grid; gap: 8px; background: var(--light); border-radius: 18px; padding: 18px; border: 1px solid var(--border); }
.legal-table div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.legal-table div:last-child { border-bottom: 0; }
.legal-table strong { color: var(--navy); }
.legal-cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.legal-cookie-table th { background: var(--navy); color: var(--white); text-align: left; padding: 14px; font-size: 13.5px; }
.legal-cookie-table td { padding: 13px; border-bottom: 1px solid var(--border); background: var(--white); vertical-align: top; font-size: 13.5px; }
.legal-updated { margin-top: 42px; color: var(--gray); font-size: 13px !important; border-top: 1px solid var(--border); padding-top: 20px; }

/* ===== HONEYPOT ===== */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1050px) {
  .cards-grid, .cards-grid.compact { grid-template-columns: repeat(2,1fr); }
  .team-grid, .timeline { grid-template-columns: repeat(2,1fr); }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    position: absolute;
    top: var(--nav-h);
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-radius: 20px;
    padding: 20px 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    gap: 2px;
    z-index: 200;
  }
  .main-nav.open a { width: 100%; padding: 11px 14px; font-size: 15px; border-radius: 10px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: auto; }
  .hero-inner { padding: 72px 0; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 17px; }
  .hero::after { display: none; }
  .section { padding: 72px 0; }
  .hero-inner, .split, .feature-row, .two-col, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards-grid, .cards-grid.compact, .client-grid, .team-grid, .timeline, .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-wordmark { width: min(240px, 78vw); }
  .brand-icon-only { height: 40px !important; max-width: 64px !important; }
  .legal-table div { grid-template-columns: 1fr; gap: 4px; }
}
