/* ==========================================================================
   New Modern Screens — stylesheet
   Structure: 1. Tokens  2. Reset  3. Base  4. Layout  5. Components
              6. Sections  7. Utilities  8. Motion & media queries
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Palette — a 60 / 30 / 10 split:
       60% base    ivory cream backgrounds
       30% primary dark forest green for headings & text
       10% accent  warm bronze for buttons, links & highlights */

  /* Accent — warm bronze (10%) */
  --c-brand: #b45309;
  --c-brand-strong: #92400e;
  --c-brand-soft: #fbf1e3;
  --c-brand-border: #e7d3b1;

  /* Primary green + warm neutrals (30%) */
  --c-ink: #14532d;       /* dark forest green — headings, strong text */
  --c-ink-soft: #35463c;  /* deep green-grey — body copy */
  --c-muted: #5f6c61;     /* muted sage — secondary text */
  --c-line: #e6e1d4;      /* warm hairline border */
  --c-line-soft: #f0ebdf; /* faint warm divider */

  /* Base surfaces — ivory cream (60%) */
  --c-base: #faf9f6;         /* page background */
  --c-surface: #ffffff;      /* elevated cards */
  --c-surface-alt: #f3f0e8;  /* alternating warm-cream sections */
  --c-surface-sunken: #ece6d9;/* inputs, tracks, tinted wells */
  --c-dark: #123a24;         /* deep forest green — footer, hero, CTA */
  --c-dark-soft: #1b4d31;

  /* Support */
  --c-success: #15803d;
  --c-success-soft: #eff7f0;
  --c-danger: #b91c1c;
  --c-danger-soft: #fbf0ee;
  --c-focus: #92400e;

  /* Soft light tint for text on the dark forest sections */
  --c-on-dark: #d7e0d6;
  --c-gold: #e6bd88;

  /* WhatsApp brand */
  --c-wa: #25d366;
  --c-wa-deep: #128c7e;
  --c-wa-dark: #075e54;

  /* Typography — fluid scale.
     Classic serif for display headings, modern sans for UI. Both are system
     stacks, so there is no webfont request and no flash of unstyled text. */
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino,
    "Book Antiqua", "URW Palladio L", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
  --fs-xl: clamp(1.35rem, 0.8vw + 1.15rem, 1.6rem);
  --fs-2xl: clamp(1.65rem, 1.4vw + 1.3rem, 2.1rem);
  --fs-3xl: clamp(2.1rem, 2.8vw + 1.4rem, 3.35rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --sh-sm: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
  --sh-md: 0 4px 12px -2px rgba(16, 24, 40, 0.08), 0 2px 6px -2px rgba(16, 24, 40, 0.04);
  --sh-lg: 0 18px 40px -12px rgba(16, 24, 40, 0.18), 0 4px 12px -4px rgba(16, 24, 40, 0.06);
  --sh-brand: 0 10px 24px -8px rgba(180, 83, 9, 0.4);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 140ms var(--ease);
  --t-base: 220ms var(--ease);
  --t-slow: 420ms var(--ease);

  /* Layout */
  --container: 1140px;
  --header-h: 72px;
}

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

* {
  margin: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-ink-soft);
  background-color: var(--c-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/* 3. Base typography
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  line-height: 1.16;
  letter-spacing: -0.015em;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-3xl);
  letter-spacing: -0.022em;
}
h2 {
  font-size: var(--fs-2xl);
}
h3 {
  font-size: var(--fs-lg);
  letter-spacing: -0.008em;
}

/* Interface text stays in the sans stack — serif is for editorial voice only. */
.btn,
.field__label,
.option-card__title,
.step__title,
.brand__name,
.nav__link {
  font-family: var(--font-sans);
}

p {
  text-wrap: pretty;
}

strong {
  color: var(--c-ink);
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection {
  background: var(--c-brand);
  color: #fff;
}

/* 4. Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

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

.section--alt {
  background: var(--c-surface-alt);
  border-block: 1px solid var(--c-line-soft);
}

.section__head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--sp-6);
}

.section__head p {
  margin-top: var(--sp-3);
  font-size: var(--fs-md);
  color: var(--c-muted);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: var(--sp-3);
}

.grid {
  display: grid;
  gap: var(--sp-4);
}

/* 5. Components
   ========================================================================== */

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-2);
  z-index: 200;
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--t-fast);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.8rem 1.5rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}

.btn:active {
  transform: translateY(1px);
}

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

.btn--primary {
  background: var(--c-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}

.btn--primary:hover {
  background: var(--c-brand-strong);
}

.btn--dark {
  background: var(--c-ink);
  color: #fff;
  box-shadow: var(--sh-sm);
}

.btn--dark:hover {
  background: var(--c-dark-soft);
}

.btn--ghost {
  background: var(--c-surface);
  color: var(--c-ink);
  border-color: var(--c-line);
  box-shadow: var(--sh-xs);
}

.btn--ghost:hover {
  background: var(--c-surface-alt);
  border-color: #d0d5dd;
}

.btn--lg {
  padding: 1rem 1.9rem;
  font-size: var(--fs-base);
  border-radius: var(--r-lg);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--c-line);
  color: #98a2b3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn.is-busy {
  cursor: progress;
  opacity: 0.85;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.header.is-stuck {
  border-bottom-color: var(--c-line);
  box-shadow: var(--sh-xs);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  line-height: 1.15;
}

.brand__name span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
}

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

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-soft);
  padding-block: var(--sp-2);
  position: relative;
  transition: color var(--t-fast);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-brand);
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.nav__link:hover {
  color: var(--c-ink);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
}

.nav-toggle:hover {
  background: var(--c-surface-alt);
}

/* --- Trust bar --- */
.trustbar {
  background: var(--c-dark);
  color: var(--c-on-dark);
}

.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3) var(--sp-6);
  padding-block: var(--sp-3);
}

.trustbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.trustbar__item svg {
  width: 16px;
  height: 16px;
  color: var(--c-gold);
  flex: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--sp-7) var(--sp-8);
  background: var(--c-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* One slow settle on load rather than a perpetual loop — enough to feel
     alive, but it comes to rest instead of moving forever behind the copy. */
  animation: hero-settle 16s var(--ease) both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.13) translate3d(-1.2%, -1%, 0);
  }
  to {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
}

/* Scrim carries the text contrast. Heaviest on the left where the copy sits,
   so the artwork still reads on the right behind the form card. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 33, 19, 0.95) 0%,
      rgba(10, 33, 19, 0.86) 38%, rgba(10, 33, 19, 0.60) 70%,
      rgba(10, 33, 19, 0.70) 100%),
    linear-gradient(to top, rgba(10, 33, 19, 0.7), transparent 45%);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}

.hero__title {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.hero__title em {
  font-style: italic;
  color: var(--c-gold);
}

.hero__lead {
  font-size: var(--fs-md);
  color: var(--c-on-dark);
  max-width: 34rem;
}

.hero .hero__step {
  color: var(--c-on-dark);
}

.hero .hero__step-num {
  background: rgba(180, 83, 9, 0.24);
  border-color: rgba(230, 189, 136, 0.55);
  color: var(--c-gold);
}

.hero .eyebrow {
  color: var(--c-gold);
}

.hero__steps {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero__step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-ink-soft);
}

.hero__step-num {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border: 1px solid var(--c-brand-border);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* --- Quote card / multi-step form --- */
.quote-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: var(--sp-5);
}

.quote-card__header {
  margin-bottom: var(--sp-5);
}

.progress__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
  margin-bottom: var(--sp-2);
}

.progress__track {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-surface-sunken);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-brand), #d6913a);
  transition: width var(--t-slow);
}

.step {
  display: none;
}

.step.is-active {
  display: block;
  animation: step-in var(--t-base) both;
}

.step__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}

.step__hint {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: var(--sp-5);
}

/* <legend> ignores width by default in some engines; force block flow so the
   step titles wrap identically whether they are a legend or an <h2>. */
legend.step__title {
  display: block;
  width: 100%;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Option cards — the radio itself stays focusable (never display:none) */
.option-grid {
  display: grid;
  gap: var(--sp-3);
}

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

.option-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.option-card__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.option-card__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  transition: border-color var(--t-fast), background-color var(--t-fast),
    box-shadow var(--t-fast);
}

/* Reserve room at the top-right for the multi-select tick badge. */
.option-grid--multi .option-card__inner {
  padding-right: 42px;
}

.option-card__input:hover + .option-card__inner {
  border-color: #cdd4e0;
  background: var(--c-surface-alt);
}

.option-card__input:focus-visible + .option-card__inner {
  outline: 2px solid var(--c-focus);
  outline-offset: 2px;
}

.option-card__input:checked + .option-card__inner {
  border-color: var(--c-brand);
  background: var(--c-brand-soft);
  box-shadow: 0 0 0 4px rgba(180, 83, 9, 0.1);
}

/* Multi-select tick badge: an empty ring that fills with a check when chosen,
   so it's visually obvious several options can be selected at once. */
.option-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 2px solid var(--c-line);
  background: var(--c-surface);
  color: transparent;
  transition: border-color var(--t-fast), background-color var(--t-fast),
    color var(--t-fast), transform var(--t-fast);
}

.option-card__check svg {
  width: 13px;
  height: 13px;
}

.option-card__input:hover + .option-card__inner .option-card__check {
  border-color: #b9c1cd;
}

.option-card__input:checked + .option-card__inner .option-card__check {
  border-color: var(--c-brand);
  background: var(--c-brand);
  color: #fff;
  transform: scale(1.05);
}

.option-card__icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-surface-sunken);
  color: var(--c-ink-soft);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.option-card__icon svg {
  width: 22px;
  height: 22px;
}

.option-card__input:checked + .option-card__inner .option-card__icon {
  background: var(--c-brand);
  color: #fff;
}

.option-card__title {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  line-height: 1.35;
}

.option-card__desc {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: 2px;
}

/* Text fields */
.field + .field {
  margin-top: var(--sp-4);
}

.field__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
}

.field__optional {
  font-weight: 400;
  color: var(--c-muted);
}

.field__control {
  position: relative;
  display: flex;
  align-items: stretch;
}

.field__prefix {
  display: inline-flex;
  align-items: center;
  padding-inline: var(--sp-3);
  border: 1px solid var(--c-line);
  border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  background: var(--c-surface-sunken);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.field__prefix + .input {
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.input {
  width: 100%;
  padding: 0.75rem var(--sp-4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-surface);
  font-size: var(--fs-sm);
  color: var(--c-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.input::placeholder {
  color: #98a2b3;
}

.input:focus {
  outline: 0;
  border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.14);
}

.input:read-only {
  background: var(--c-surface-sunken);
  color: var(--c-muted);
  cursor: default;
}

.input[aria-invalid="true"] {
  border-color: var(--c-danger);
}

.input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

textarea.input {
  resize: vertical;
  min-height: 88px;
}

.field__error {
  display: none;
  align-items: center;
  gap: var(--sp-1);
  margin-top: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-danger);
}

.field__error.is-visible {
  display: flex;
}

.consent {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.55;
}

.consent input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--c-brand);
}

.consent a {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form footer + alerts */
.form-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.form-nav__spacer {
  margin-left: auto;
}

.alert {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-top: var(--sp-4);
  border: 1px solid transparent;
}

.alert svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.alert--error {
  background: var(--c-danger-soft);
  border-color: #fecdca;
  color: #912018;
}

.form-note {
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: center;
}

/* Success state */
.success {
  text-align: center;
  padding-block: var(--sp-6);
}

.success__badge {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--r-pill);
  display: grid;
  place-items: center;
  background: var(--c-success-soft);
  color: var(--c-success);
  border: 1px solid #bbf7d0;
}

.success__badge svg {
  width: 30px;
  height: 30px;
}

.success h2 {
  margin-bottom: var(--sp-2);
}

.success p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  max-width: 34ch;
  margin-inline: auto;
}

.success__summary {
  margin-top: var(--sp-5);
  text-align: left;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.success__row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
}

.success__row + .success__row {
  border-top: 1px solid var(--c-line-soft);
}

.success__row dt {
  color: var(--c-muted);
}

.success__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--c-ink);
  text-align: right;
}

.success__actions {
  margin-top: var(--sp-5);
}

/* --- Service cards --- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--t-base), transform var(--t-base),
    border-color var(--t-base);
}

.card:hover {
  box-shadow: var(--sh-md);
  border-color: #d7dce5;
  transform: translateY(-3px);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border: 1px solid var(--c-brand-border);
  margin-bottom: var(--sp-4);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: var(--sp-2);
}

.card p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.card__list {
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}

.card__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--c-ink-soft);
}

.card__list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--c-success);
}

/* --- Process --- */
.process {
  counter-reset: process;
}

.process__item {
  position: relative;
  counter-increment: process;
  padding-top: var(--sp-5);
  border-top: 3px solid var(--c-line);
}

.process__item::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  top: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-brand);
}

.process__item h3 {
  margin: var(--sp-5) 0 var(--sp-2);
  font-size: var(--fs-base);
}

.process__item p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* --- Feature list (Why us) --- */
.feature {
  display: flex;
  gap: var(--sp-4);
}

.feature__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-brand);
  box-shadow: var(--sh-xs);
}

.feature__icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-1);
}

.feature p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* --- FAQ (native details/summary) --- */
.faq {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: var(--c-surface);
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--c-line-soft);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--t-fast);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  background: var(--c-surface-alt);
}

.faq__q svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--c-muted);
  transition: transform var(--t-base);
}

.faq__item[open] .faq__q svg {
  transform: rotate(180deg);
}

.faq__a {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--c-muted);
  max-width: 68ch;
}

/* --- CTA band --- */
.cta-band {
  background: linear-gradient(135deg, var(--c-dark), #1b4d31);
  color: var(--c-on-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: var(--sp-3);
}

.cta-band p {
  color: #a6b6a9;
  max-width: 46ch;
  margin-inline: auto;
  font-size: var(--fs-md);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-5);
}

/* --- Footer --- */
.footer {
  background: var(--c-dark);
  color: #a6b6a9;
  padding-block: var(--sp-7) var(--sp-5);
  margin-top: var(--sp-8);
}

.footer__grid {
  display: grid;
  gap: var(--sp-6);
}

.footer h3 {
  color: #fff;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.footer p,
.footer li {
  font-size: var(--fs-sm);
  line-height: 1.65;
}

.footer__links {
  display: grid;
  gap: var(--sp-2);
}

.footer__links a:hover,
.footer address a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer address {
  font-style: normal;
}

.footer__contact {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 500;
  color: var(--c-on-dark);
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--c-brand);
}

.footer__bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(215, 224, 214, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--fs-xs);
}

/* --- Media frames --- */
/* `display: block` matters: .media is a <span> inside the gallery buttons, and
   aspect-ratio / overflow do not apply to inline boxes. */
.media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-surface-sunken);
  aspect-ratio: 4 / 3;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

/* --- Service card media --- */
.card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.card__media {
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card:hover .media img {
  transform: scale(1.06);
}

/* Lift the icon so it straddles the image edge. `flex: none` stops the column
   flex context from squashing its fixed height. */
.card__icon {
  position: relative;
  flex: none;
  margin-top: calc(var(--sp-6) * -1 - 6px);
  background: var(--c-surface);
  box-shadow: var(--sh-md);
}

/* --- Gallery --- */
.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: none;
  text-align: left;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.gallery__item:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.gallery__item:hover .media img {
  transform: scale(1.07);
}

.gallery__item .media {
  border-radius: 0;
}

/* Caption sits in a scrim that lifts on hover/focus. */
.gallery__cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-4) var(--sp-4);
  background: linear-gradient(to top, rgba(10, 35, 20, 0.86), transparent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  transform: translateY(6px);
  opacity: 0.94;
  transition: transform var(--t-base), opacity var(--t-base);
}

.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap {
  transform: none;
  opacity: 1;
}

.gallery__zoom {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.gallery__zoom svg {
  width: 15px;
  height: 15px;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--sp-4);
  background: rgba(8, 26, 15, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade-in var(--t-base) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  color: var(--c-on-dark);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
}

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
  padding-block: var(--sp-4);
}

.lightbox__figure {
  display: grid;
  gap: var(--sp-4);
  justify-items: center;
  max-height: 100%;
  margin: 0;
}

.lightbox__figure img {
  max-width: min(100%, 1100px);
  max-height: 68vh;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
  animation: lb-in var(--t-base) both;
}

@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lightbox__caption {
  color: var(--c-on-dark);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  text-align: center;
  max-width: 60ch;
}

.lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
}

.lb-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.lb-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-btn:active {
  transform: scale(0.94);
}

.lb-btn svg {
  width: 20px;
  height: 20px;
}

/* --- WhatsApp section --- */
.wa {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-5);
  background: linear-gradient(135deg, var(--c-wa-dark) 0%, var(--c-wa-deep) 55%,
    #1faa59 100%);
  color: #e8f5ee;
  box-shadow: var(--sh-lg);
}

/* Faint chat-bubble motif, purely decorative. */
.wa::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: var(--r-pill);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16),
    transparent 62%);
  pointer-events: none;
}

.wa__grid {
  position: relative;
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.wa__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.wa__badge svg {
  width: 15px;
  height: 15px;
}

.wa h2 {
  color: #fff;
  margin-bottom: var(--sp-3);
}

.wa p {
  color: #cfe9dc;
  max-width: 46ch;
}

.wa__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.btn--wa {
  background: var(--c-wa);
  color: #05301f;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.6);
}

.btn--wa:hover {
  background: #1fbf5c;
}

.btn--wa-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--wa-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Prefilled-message chips */
.wa__chips {
  display: grid;
  gap: var(--sp-3);
}

.wa__chips-label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd6ba;
}

.wa__chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  transition: background-color var(--t-fast), transform var(--t-fast),
    border-color var(--t-fast);
}

.wa__chip:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateX(3px);
}

.wa__chip svg {
  width: 16px;
  height: 16px;
  flex: none;
  opacity: 0.75;
}

/* --- Floating WhatsApp button --- */
.fab {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--c-wa);
  color: #05301f;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(5, 48, 31, 0.65);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -12px rgba(5, 48, 31, 0.7);
}

.fab svg {
  width: 22px;
  height: 22px;
  flex: none;
}

/* Attention ring — one slow pulse, easy to ignore, off for reduced motion. */
.fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid var(--c-wa);
  animation: fab-pulse 2.6s var(--ease) infinite;
  pointer-events: none;
}

@keyframes fab-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* --- Sticky mobile action bar --- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4)
    calc(var(--sp-3) + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line);
}

.action-bar .btn {
  flex: 1;
}

/* 7. Utilities
   ========================================================================== */
.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;
}

[hidden] {
  display: none !important;
}

/* 8. Motion, responsive, print
   ========================================================================== */

/* Scroll reveal — only applied when JS marks the document as capable */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  /* JS sets --reveal-delay per item so grids cascade instead of popping. */
  transition-delay: var(--reveal-delay, 0ms);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 600px) {
  .option-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .section {
    padding-block: var(--sp-9);
  }
  .quote-card {
    padding: var(--sp-6);
  }
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-8);
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--sp-7);
  }
  .cta-band {
    padding: var(--sp-8);
  }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wa {
    padding: var(--sp-8);
  }
  .wa__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--sp-8);
  }
}

/* Mobile navigation */
@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) var(--sp-4) var(--sp-4);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--sh-md);
  }

  .nav[data-open="false"] {
    display: none;
  }

  .nav__link {
    padding: var(--sp-3) var(--sp-2);
    border-bottom: 1px solid var(--c-line-soft);
    font-size: var(--fs-base);
  }

  .nav__link::after {
    display: none;
  }

  .header__actions .btn--dark {
    display: none;
  }

  .action-bar {
    display: flex;
  }

  body {
    padding-bottom: 76px;
  }

  /* Lift the floating button clear of the sticky action bar. */
  .fab {
    bottom: 88px;
    padding: 0.8rem;
  }

  .fab__label {
    display: none;
  }
}

@media (max-width: 480px) {
  .option-grid--2 {
    grid-template-columns: 1fr;
  }
  .form-nav {
    flex-direction: column-reverse;
  }
  .form-nav .btn {
    width: 100%;
  }
  .form-nav__spacer {
    margin-left: 0;
  }
}

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

@media (prefers-contrast: more) {
  :root {
    --c-line: #98a2b3;
    --c-muted: #475467;
  }
}

@media print {
  .header,
  .action-bar,
  .cta-band,
  .form-nav,
  .trustbar,
  .fab,
  .lightbox {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
  .card,
  .quote-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
