/* ==========================================================================
   SF Design Solution — Cabinet & Interior Design
   Design System / Stylesheet
   Palette derived from brand logo: Navy #1e3352 + Yellow #fae204
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #14233a;
  --navy-800: #1e3352;
  --navy-700: #274067;
  --navy-600: #33507c;
  --navy-100: #e7ecf3;
  --navy-050: #f2f5f9;

  --yellow-500: #fae204;
  --yellow-600: #e6cf00;
  --yellow-100: #fffbd0;

  /* Neutrals */
  --white: #ffffff;
  --cream: #faf9f6;
  --grey-900: #14171c;
  --grey-700: #3a3f47;
  --grey-500: #6b7280;
  --grey-300: #d7dae0;
  --grey-100: #f0f1f4;

  /* Semantic */
  --bg: var(--cream);
  --text: var(--grey-900);
  --text-muted: var(--grey-500);
  --brand: var(--navy-800);
  --brand-ink: var(--navy-900);
  --accent: var(--yellow-500);
  --on-brand: var(--white);
  --on-accent: var(--navy-900);

  /* Typography */
  --font-display: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Inter", "Segoe UI", Tahoma, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;
  --fs-5xl: clamp(2.4rem, 5.5vw, 4.25rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --section-y: clamp(3.5rem, 8vw, 7rem);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(20, 35, 58, .06), 0 2px 8px rgba(20, 35, 58, .05);
  --shadow: 0 8px 24px rgba(20, 35, 58, .09);
  --shadow-lg: 0 24px 60px rgba(20, 35, 58, .16);
  --ring: 0 0 0 4px rgba(250, 226, 4, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Layout metrics */
  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}

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

button { cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--brand-ink);
  text-wrap: balance;
}

h1 { font-size: var(--fs-5xl); font-weight: 800; }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-lg); }

p { text-wrap: pretty; }

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: var(--on-brand);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.section--tint { background: var(--white); }
.section--cream { background: var(--cream); }
.section--ink {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: rgba(255, 255, 255, .82);
}
.section--ink h2,
.section--ink h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section--ink .eyebrow { color: var(--accent); }

.section-head p {
  margin-top: var(--space-4);
  color: var(--text-muted);
  font-size: var(--fs-lg);
}
.section--ink .section-head p { color: rgba(255, 255, 255, .72); }

.lead { font-size: var(--fs-lg); color: var(--text-muted); }

.text-accent { color: var(--accent); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--accent {
  --btn-bg: var(--accent);
  --btn-fg: var(--on-accent);
}
.btn--accent:hover { --btn-bg: var(--yellow-600); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--brand-ink);
  border-color: var(--grey-300);
}
.btn--ghost:hover { border-color: var(--brand); --btn-fg: var(--brand); }

.btn--light {
  --btn-bg: rgba(255, 255, 255, .1);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn--light:hover { --btn-bg: rgba(255, 255, 255, .18); }

.btn--lg { padding: 1rem 1.9rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 249, 246, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 246, .95);
  border-bottom-color: var(--grey-300);
  box-shadow: var(--shadow-sm);
}

.nav {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand-ink);
}
.brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  background: var(--navy-800);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.02rem; letter-spacing: -.01em; }
.brand__tag {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grey-700);
  padding: 0.35rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--brand-ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: var(--space-2); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--grey-300);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  position: relative;
  width: 20px; height: 2px;
  background: var(--brand-ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: inherit;
  border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 780px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 35, 58, .93) 0%, rgba(20, 35, 58, .78) 42%, rgba(20, 35, 58, .45) 72%, rgba(20, 35, 58, .62) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  padding-block: var(--space-9);
  max-width: 760px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(250, 226, 4, .14);
  border: 1px solid rgba(250, 226, 4, .4);
  color: var(--yellow-100);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero__badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(250, 226, 4, .25);
}
.hero h1 { color: #fff; }
.hero h1 .text-accent { color: var(--accent); }
.hero__lead {
  margin-top: var(--space-5);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, .82);
  max-width: 600px;
}
.hero__actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero__meta {
  margin-top: var(--space-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.hero__meta dd {
  font-size: var(--fs-xs);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   7. Logo / trust strip
   -------------------------------------------------------------------------- */
.trust {
  padding-block: var(--space-6);
  background: var(--white);
  border-bottom: 1px solid var(--grey-100);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  text-align: center;
}
.trust__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
}
.trust__item svg { width: 20px; height: 20px; color: var(--navy-600); flex: none; }

/* --------------------------------------------------------------------------
   8. Grids & Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--navy-050);
  color: var(--navy-700);
  margin-bottom: var(--space-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.card p { color: var(--text-muted); font-size: var(--fs-sm); }

/* Feature (about) */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-8); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media--stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  aspect-ratio: auto;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.feature__media--stack img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.feature__media--stack img:last-child { transform: translateY(var(--space-6)); }
.feature__badge {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow);
  max-width: 210px;
}
.feature__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1;
}
.feature__badge span { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; }

.checklist { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.checklist li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  color: var(--grey-700);
  font-size: var(--fs-sm);
}
.checklist svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--navy-700);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. Stats band
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.stat { text-align: center; padding: var(--space-5); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.stat__label {
  margin-top: var(--space-3);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

/* --------------------------------------------------------------------------
   10. Portfolio gallery
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-6);
}
.filter {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--grey-300);
  background: transparent;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grey-700);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--brand); color: var(--brand-ink); }
.filter.is-active {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: var(--navy-100);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 35, 58, .8), transparent 55%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 2;
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.gallery__item:hover .gallery__cap { transform: translateY(0); opacity: 1; }
.gallery__cap strong { display: block; font-family: var(--font-display); font-size: var(--fs-base); }
.gallery__cap span { font-size: var(--fs-xs); color: rgba(255, 255, 255, .8); }
.gallery__item.is-hidden { display: none; }

.gallery__expand {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: var(--navy-900);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item:hover .gallery__expand { opacity: 1; transform: scale(1); }
.gallery__expand svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: var(--space-5);
  background: rgba(11, 18, 30, .92);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: grid; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .18); }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: var(--space-5); }
.lightbox__nav--next { right: var(--space-5); }

/* --------------------------------------------------------------------------
   11. Process steps
   -------------------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: step; }
.step { position: relative; padding-top: var(--space-6); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-600);
  background: var(--navy-050);
  border-radius: 10px;
  padding: 0.3rem 0.6rem;
}
.section--ink .step::before { color: var(--accent); background: rgba(250, 226, 4, .12); }
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.step p { font-size: var(--fs-sm); color: var(--text-muted); }
.section--ink .step p { color: rgba(255, 255, 255, .7); }

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.quote {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.quote__stars { display: flex; gap: 3px; color: var(--yellow-600); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: var(--fs-sm); color: var(--grey-700); line-height: 1.7; }
.quote__author { margin-top: auto; display: flex; align-items: center; gap: var(--space-3); }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
}
.quote__author strong { display: block; font-size: var(--fs-sm); color: var(--brand-ink); }
.quote__author span { font-size: var(--fs-xs); color: var(--text-muted); }

/* --------------------------------------------------------------------------
   13. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(250, 226, 4, .22), transparent 68%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 auto var(--space-6); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--space-8); align-items: start; }
.contact__list { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.contact__item { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact__item .card__icon { margin: 0; width: 48px; height: 48px; border-radius: 13px; }
.contact__item h4 { font-size: var(--fs-base); margin-bottom: 2px; }
.contact__item p,
.contact__item a { font-size: var(--fs-sm); color: var(--text-muted); }
.contact__item a:hover { color: var(--brand); }

.form {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--brand-ink); }
.field label .req { color: #c0392b; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  background: var(--grey-100);
  font-size: var(--fs-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  background: var(--white);
  box-shadow: var(--ring);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #c0392b; }
.field__error { font-size: var(--fs-xs); color: #c0392b; min-height: 1em; }
.field--full { grid-column: 1 / -1; }
.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-xs); color: var(--text-muted); }
.consent input { width: auto; margin-top: 3px; }

.form__success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: #eefaf1;
  border: 1px solid #bfe6c9;
  color: #1c6b39;
  font-size: var(--fs-sm);
}
.form__success.is-visible { display: flex; }
.form__success svg { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   15. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    linear-gradient(160deg, rgba(20, 35, 58, .96), rgba(39, 64, 103, .92)),
    var(--navy-900);
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 620px; margin: var(--space-4) auto 0; font-size: var(--fs-lg); }
.breadcrumb {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: var(--space-4);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255, 255, 255, .35); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .68);
  padding-block: var(--space-8) var(--space-5);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.footer__brand img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.footer__brand strong { font-family: var(--font-display); color: #fff; font-size: 1.05rem; }
.footer__brand span { display: block; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.site-footer h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--space-4); }
.site-footer li { margin-bottom: var(--space-2); font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--accent); }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  padding-top: var(--space-5);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .5);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); }
.wa-float svg { width: 30px; height: 30px; }

/* --------------------------------------------------------------------------
   17. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: var(--space-4) var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--grey-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .4s var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .nav__menu { transform: translateY(0); }
  .nav__link { padding: var(--space-4) 0; border-bottom: 1px solid var(--grey-100); }
  .nav__link::after { display: none; }
  .nav__cta { margin: var(--space-5) 0 0; }
  .nav__toggle { display: inline-flex; }

  .feature { grid-template-columns: 1fr; gap: var(--space-6); }
  .feature--reverse .feature__media { order: 0; }
  .contact { grid-template-columns: 1fr; gap: var(--space-6); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container, .container-narrow, .nav, .hero__inner { width: min(100% - 1.75rem, var(--container)); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__meta { gap: var(--space-5); }
  .brand__tag { display: none; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: var(--space-2); }
  .lightbox__nav--next { right: var(--space-2); }
}

@media print {
  .site-header, .wa-float, .hero__actions, .cta-band { display: none; }
  body { background: #fff; }
}
