﻿/* =========================================================
   Huddy Digital — Stylesheet
   ========================================================= */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --cream: #f5f1ea;
  --cream-soft: #efeae0;
  --ink: #14161a;
  --ink-soft: #2a2d33;
  --muted: #5c6068;
  --line: #e3ddd1;
  --accent: #1f4ed8;
  --accent-soft: #e8edff;
  --accent-deep: #0f3bb0;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 22, 26, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 22, 26, 0.12);
  --container: 1180px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 5.5rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

::selection { background: var(--ink); color: var(--cream); }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-variation-settings: "opsz" 96, "wdth" 100;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0; }

/* Emphasized words in headings — same font, accent color only */
h1 em, h2 em, .hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--accent);
}

p { margin: 0 0 1.2em; color: var(--ink-soft); }
.lead { font-size: 1.08rem; color: var(--ink-soft); line-height: 1.65; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

section { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

/* Button ripple */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%) scale(0);
  animation: ripple-expand 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
  z-index: 10;
}
@keyframes ripple-expand {
  to { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
}
.btn-ghost:hover { color: var(--accent); border-bottom-color: var(--accent); }
.btn-arrow::after { content: "→"; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* =========================================================
   Navbar
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.brand:hover { color: var(--ink); }
.brand strong { font-weight: 600; }
.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
}
.nav-links .btn-cta::after { display: none; }
.nav-links .btn-cta:hover { background: var(--accent); color: var(--white); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle {
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
}
.dropdown-toggle .chev {
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition);
  margin-top: 1px;
}
.has-dropdown.open .dropdown-toggle .chev,
.has-dropdown:hover .dropdown-toggle .chev { transform: rotate(180deg); }

.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 16px); /* exclude chevron width */
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.has-dropdown.active .dropdown-toggle::after,
.has-dropdown:hover .dropdown-toggle::after { transform: scaleX(1); }

.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 260px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  list-style: none;
  margin: 0;
}
@media (hover: hover) {
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a::after { display: none; }
.dropdown li a:hover {
  background: var(--cream);
  color: var(--accent);
}
.dropdown-all {
  display: flex !important;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.3rem;
  padding: 0.6rem 0.8rem !important;
  border-top: 1px solid var(--line);
  font-weight: 600 !important;
  color: var(--accent) !important;
  font-size: 0.88rem !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(2.2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 880px; }
.hero h1 { margin-bottom: 1.1rem; }
.hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--accent);
  letter-spacing: inherit;
}
.hero .lead { max-width: 600px; margin-bottom: 1.8rem; font-size: 1.05rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }


.hero-meta {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  align-items: center;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-meta span + span::before {
  content: "·";
  margin-right: 1.1rem;
  color: var(--line);
}
.hero-meta strong { color: var(--ink); font-weight: 600; }

/* Hero cursor spotlight — uses transform only (composited, no layout) */
.hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 78, 216, 0.12) 0%, transparent 70%);
  transform: translate(-280px, -280px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  will-change: transform;
}
.hero .hero-inner {
  position: relative;
  z-index: 1;
}

/* Typing cursor on hero em */
.hero h1 em.typing-cursor::after {
  content: '|';
  font-style: normal;
  color: var(--accent);
  animation: blink-cursor 0.85s step-end infinite;
  margin-left: 1px;
}
@keyframes blink-cursor {
  50% { opacity: 0; }
}

/* =========================================================
   Sections
   ========================================================= */
.section-head { max-width: 720px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Icons */
.icon { width: 22px; height: 22px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon-lg { width: 28px; height: 28px; }
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-card:hover .icon-circle {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(-4deg) scale(1.04);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(31, 78, 216, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) translate(-500px, -500px);
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform, opacity;
  z-index: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
  color: var(--ink);
}
.service-card .num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.4rem;
  letter-spacing: 0;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-card .more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.service-card .more::after {
  content: " →";
  transition: transform var(--transition);
  display: inline-block;
}
.service-card:hover .more::after { transform: translateX(4px); }

/* Process */
.process {
  background: var(--ink);
  color: var(--cream);
}
.process h2, .process h3, .process h4 { color: var(--cream); }
.process p { color: rgba(245, 241, 234, 0.72); }
.process .eyebrow { color: #9bb5ff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
  margin-top: 3rem;
}
.process-step .step-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 3.2rem;
  color: #9bb5ff;
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.95rem; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.why-list li:last-child { border-bottom: 0; }
.why-list .check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.why-list .check .icon { width: 18px; height: 18px; }
.why-list strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 0.2rem; }
.why-list span.note { color: var(--muted); font-size: 0.93rem; }

/* Testimonials */
.testimonials { background: var(--cream-soft); }
.testimonial-card {
  max-width: 720px;
  margin: 2.5rem auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-sm);
}
.testimonial-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1rem;
}
.testimonial-card p:last-of-type { margin-bottom: 1.5rem; }
.testimonial-stars {
  color: #e6a817;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}
.testimonial-card footer {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}
.testimonial-card cite {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.05rem;
}
.testimonial-role {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Areas */
.areas { background: var(--cream-soft); }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.area-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  text-align: center;
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.area-pill:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-md); }
a.area-pill-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.testimonial-role a {
  color: var(--accent);
  text-decoration: none;
}
.testimonial-role a:hover { text-decoration: underline; }
.area-pill small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.35rem;
}
.area-flag {
  width: 52px;
  height: auto;
  display: block;
  margin: 0 auto 0.9rem;
  border-radius: 4px;
  box-shadow: 0 1px 6px rgba(20, 22, 26, 0.2);
}
.area-flags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: fit-content;
  margin: 0 auto 0.9rem;
}
.area-flag-mini {
  width: 34px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(20, 22, 26, 0.18);
  display: block;
}

/* CTA section */
.cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.cta h2 { color: var(--cream); max-width: 720px; margin-left: auto; margin-right: auto; }
.cta p { color: rgba(245, 241, 234, 0.75); max-width: 560px; margin: 0 auto 2rem; }
.cta .btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}
.cta .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.cta .btn-secondary {
  color: var(--cream);
  border-color: var(--cream);
}
.cta .btn-secondary:hover {
  background: var(--cream);
  color: var(--ink);
}

/* =========================================================
   Service detail page
   ========================================================= */
.page-header {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(1.8rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-header .breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.page-header .breadcrumbs a { color: var(--muted); }
.page-header .breadcrumbs a:hover { color: var(--accent); }
.page-header .eyebrow { margin-bottom: 0.6rem; }
.page-header h1 { max-width: 820px; margin-bottom: 0.8rem; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.page-header .lead { max-width: 680px; font-size: 1rem; }

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.content-main h2 { margin-top: 2.5rem; font-size: 1.7rem; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.content-main ul { padding-left: 1.2rem; }
.content-main ul li { margin-bottom: 0.5rem; color: var(--ink-soft); }

.content-side {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.content-side h4 { margin-bottom: 0.6rem; }
.content-side p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.4rem; }
.content-side .btn { width: 100%; justify-content: center; margin-bottom: 0.6rem; }

/* =========================================================
   Client logo strip
   ========================================================= */
.client-logos {
  padding: 3rem 0 !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-soft);
}
.client-logos-label {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2.2rem;
}
.client-logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 4rem;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  text-decoration: none;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity var(--transition), filter var(--transition);
}
.client-logo:hover {
  opacity: 1;
  filter: none;
}
.client-logo-invert {
  filter: grayscale(100%) invert(1);
}
.client-logo-invert:hover {
  filter: none;
}
.client-logo img {
  height: 64px;
  width: auto;
  max-width: 200px;
  min-width: 60px;
  object-fit: contain;
  display: block;
}
.client-logo-text {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}
@media (max-width: 760px) {
  .client-logos-row { gap: 1.8rem 2.5rem; }
  .client-logo img { height: 48px; max-width: 150px; min-width: 48px; }
  .client-logo-text { font-size: 1rem; }
}
@media (max-width: 480px) {
  .client-logos-row { gap: 1.2rem 1.8rem; }
  .client-logo img { height: 36px; max-width: 120px; min-width: 36px; }
  .client-logo-text { font-size: 0.88rem; }
}

/* =========================================================
   Case study grid (work page)
   ========================================================= */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.case-thumb {
  display: block;
  aspect-ratio: 16/8;
  background: var(--cream-soft);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.case-thumb-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: var(--white);
}
.case-thumb-logo img {
  width: auto;
  height: auto;
  max-width: min(280px, 70%);
  max-height: 72%;
  object-fit: contain;
  filter: none;
}
.case-thumb-logo:hover img {
  transform: scale(1.04);
  filter: none;
}
.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition);
}
.case-thumb:hover img {
  transform: scale(1.03);
  filter: brightness(0.88);
}
.case-visit {
  position: absolute;
  bottom: 0.9rem;
  right: 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(20, 22, 26, 0.7);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  opacity: 0;
  transition: opacity var(--transition);
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.case-thumb:hover .case-visit { opacity: 1; }
.case-body {
  padding: 1.5rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}
.case-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.case-body h2, .case-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}
.case-body h2 a, .case-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.case-body h2 a:hover, .case-body h3 a:hover { color: var(--accent); }
.case-industry {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.case-body p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1.2rem;
}
.case-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.case-link:hover { text-decoration: underline; }

/* =========================================================
   Work / Portfolio
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream-soft) 0%, var(--accent-soft) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.work-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(31, 78, 216, 0.18), transparent 60%);
}
.work-info { padding: 1.5rem 1.8rem 1.8rem; }
.work-info .tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.work-info h3 { font-size: 1.3rem; margin: 0.4rem 0 0.6rem; }
.work-info p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.work-empty {
  text-align: center;
  background: var(--cream-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 4rem 2rem;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-photo {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  width: 72%;
  max-width: 280px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

/* Contact sidebar persona */
.contact-persona {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
}
.contact-headshot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--line);
}
.contact-persona-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-persona-text p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
  line-height: 1.5;
}

/* Footer avatar */
.footer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 0.75rem;
  border: 2px solid rgba(245, 241, 234, 0.18);
  opacity: 0.9;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* =========================================================
   Contact
   ========================================================= */

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--muted); }
.hours-list .time { font-weight: 500; }

/* Contact page layout */
.contact-page-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-book-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.contact-book-card .eyebrow { color: #9bb5ff; }
.contact-book-card h3 {
  color: var(--cream);
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}
.contact-book-card p {
  color: rgba(245, 241, 234, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.contact-book-card .btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  width: 100%;
  justify-content: center;
}
.contact-book-card .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.contact-details h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
  margin-top: 1.6rem;
}
.contact-details h4:first-child { margin-top: 0; }
.contact-details p { font-size: 0.95rem; margin-bottom: 0; }
.contact-details a { color: var(--accent); }
.contact-details a:hover { text-decoration: underline; }
.contact-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.contact-form-col h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
@media (max-width: 960px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-book-card { margin-bottom: 1.5rem; }
}

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--ink);
}
.form-group label .req { color: var(--accent); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.97rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%2314161a' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.radio-group { display: flex; gap: 1.5rem; }
.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  cursor: pointer;
}
.radio-group input { width: auto; margin: 0; }
.form .btn-primary { width: 100%; justify-content: center; padding: 1.05rem 1.6rem; }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.8rem;
  text-align: center;
}
.form-error {
  color: #c0392b;
  font-size: 0.85rem;
}
.form-error a { color: inherit; text-decoration: underline; }
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.75rem;
  background: #f0faf4;
  border: 1px solid #a8d5b5;
  border-radius: var(--radius);
  color: var(--ink);
  animation: fade-success 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.form-success svg { color: #27ae60; flex-shrink: 0; margin-top: 2px; }
.form-success strong { display: block; font-size: 1.05rem; margin-bottom: 0.3rem; }
.form-success p { font-size: 0.92rem; color: var(--muted); margin: 0; }
@keyframes fade-success {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(245, 241, 234, 0.75);
  padding: 5rem 0 2rem;
}
.footer a { color: rgba(245, 241, 234, 0.75); }
.footer a:hover { color: var(--cream); }
.footer p, .footer li { color: rgba(245, 241, 234, 0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer h3 {
  color: var(--cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.3rem;
}
.footer-brand {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-brand:hover { color: var(--cream); }
.footer-socials {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(245, 241, 234, 0.6);
  border: 1px solid rgba(245, 241, 234, 0.15);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.footer-social-link:hover {
  color: var(--cream);
  border-color: rgba(245, 241, 234, 0.4);
  background: rgba(245, 241, 234, 0.06);
}

/* About page CTA row */
.about-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.about-ctas .btn { margin-top: 0; }
.btn-social-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-social-inline:hover {
  background: var(--accent);
  color: #fff;
}

/* Contact page social link */
.contact-social-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.93rem;
  font-weight: 500;
}
.contact-social-link:hover { text-decoration: underline; }
.footer-logo {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-about p { font-size: 0.95rem; line-height: 1.65; max-width: 320px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.7rem; font-size: 0.93rem; }
.footer-bottom {
  border-top: 1px solid rgba(245, 241, 234, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* =========================================================
   Scroll Progress Bar
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #6366f1 55%, #8b5cf6 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
}

/* =========================================================
   Animations
   ========================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero .fade-up {
  opacity: 1;
  transform: none;
  transition: none;
  animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .fade-up.delay-1 { animation-delay: 0.05s; }
.hero .fade-up.delay-2 { animation-delay: 0.18s; }
.hero .fade-up.delay-3 { animation-delay: 0.3s; }
.hero .fade-up.delay-4 { animation-delay: 0.42s; }

.fade-left {
  opacity: 0;
  transform: translateX(-38px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-left.in { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(38px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-right.in { opacity: 1; transform: translateX(0); }

.fade-scale {
  opacity: 0;
  transform: scale(0.93) translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-scale.in { opacity: 1; transform: scale(1) translateY(0); }

/* Section heads — subtle italic emphasis fade-in */
.section-head h2 em, .hero h1 em {
  position: relative;
  padding-bottom: 2px;
}
.section-head h2 em::before, .hero h1 em::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
  will-change: transform;
}
.fade-up.in h2 em::before,
.fade-up.in h1 em::before,
.hero h1.in em::before {
  transform: scaleX(1);
}

/* Stagger grid items */
.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.15s; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.25s; }
.stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger.in > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.35s; }
.stagger.in > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.4s; }

/* Hero parallax */
.hero-inner { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .fade-left, .fade-right, .fade-scale, .stagger > *, .hero .fade-up { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
  .hero-inner { will-change: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .why-grid, .about-grid, .content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .content-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  section { padding: 3.5rem 0; }
  .page-header { padding: 2rem 0; }
  .menu-toggle { display: block; }

  /* drop-down panel from sticky nav bar — avoids all fixed/stacking-context issues */
  .nav { overflow: visible; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(20, 22, 26, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    max-height: 85vh;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links li { width: 100%; }
  .nav-links a, .dropdown-toggle {
    display: flex;
    align-items: center;
    padding: 0.9rem 0 !important;
    width: 100%;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-links a:not(.btn)::after,
  .dropdown-toggle::after { display: none; }

  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 0 1rem;
    margin: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .has-dropdown.open .dropdown { max-height: 600px; }
  .dropdown li a {
    font-size: 0.97rem;
    padding: 0.65rem 0.5rem !important;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    border-radius: 0;
  }
  .dropdown li:last-child a { border-bottom: 0; }

  .nav-links .btn-cta {
    display: block;
    margin-top: 1rem;
    text-align: center;
    padding: 0.85rem 1.6rem !important;
    border-radius: 999px;
    border-bottom: 0 !important;
    font-size: 1rem !important;
    background: var(--ink);
    color: var(--cream) !important;
  }
  .nav-links .btn-cta::after { display: none; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 1.2rem 2rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .form { padding: 1.5rem; }
  .contact-book-card { padding: 1.5rem; }
  .contact-book-card .btn-primary { font-size: 0.9rem; padding: 0.9rem 1.2rem; }
}


/* Hero meta refinement (cleaner pill row) */
.hero-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.hero-meta-tag strong { color: var(--ink); font-weight: 600; }
.hero-meta-tag .icon { width: 14px; height: 14px; color: var(--accent); }
.hero-meta.pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 0;
  border-top: 0;
}
.hero-meta.pills span + span::before { content: none; }


/* ===== FAQ Section ===== */
.faq-section { padding: 5rem 0; background: var(--cream-soft); }
.faq-section h2 { margin-bottom: 2.5rem; }
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== Related Services ===== */
.related-services { padding: 5rem 0; }
.related-services h2 { margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.related-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.related-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.related-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin: 0; }
.related-card p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.related-link { font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-top: auto; padding-top: 0.5rem; }
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
}
