/* ============================================================
   HAKAN — HÁBITAT CONSCIENTE
   Blueprint-inspired clean block theme aesthetic
   ============================================================ */

/* --- Reset ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--contrast);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* --- Design tokens ----------------------------------------- */
:root {
  /* Brand-mapped palette (Blueprint-style slots) */
  --base:             #ffffff;
  --base-midtone:     #F5EEDA;      /* warm cream section bg (Hakan humano softened) */
  --base-deep:        #ECE0BF;
  --contrast:         #1E1B13;      /* near-black, warm */
  --contrast-midtone: #545042;

  --accent-1:         #7C5C8D;      /* Espiritual — purple, used as dark CTA/topbar */
  --accent-1-deep:    #583F67;
  --accent-2:         #748DC6;      /* Consciente — blue, icons/small accents */
  --accent-3:         #F3E6B9;      /* Humano — cream, overlap card, highlight box */
  --accent-4:         #726F42;      /* Equilibrado — olive, dark section bg */
  --accent-5:         #D97E6A;      /* Innovación — coral, primary CTA fill */
  --accent-5-deep:    #B85E48;
  --accent-6:         #D8B4A0;      /* soft clay — secondary neutrals */

  --rule:             rgba(30, 27, 19, 0.12);
  --rule-soft:        rgba(30, 27, 19, 0.06);

  /* Typography */
  --font-sans: 'Roboto Flex', 'Inter', system-ui, sans-serif;
  --font-expanded: 'Roboto Flex', 'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* Layout */
  --page-pad: clamp(20px, 5vw, 64px);
  --max-w: 1320px;

  /* Spacing scale (mirrors theme.json spacing presets) */
  --sp-20: 12px;
  --sp-30: 20px;
  --sp-40: 32px;
  --sp-50: 48px;
  --sp-60: 64px;
  --sp-70: 96px;
  --sp-80: 128px;

  /* Font-family variations */
  --heading-width: 125;   /* Roboto Flex: expanded feel */
}

/* Roboto Flex headings get slight expansion */
.h, h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-expanded);
  font-weight: 600;
  font-variation-settings: 'wdth' var(--heading-width), 'opsz' 96;
  letter-spacing: -0.005em;
  line-height: 1.1;
}

/* --- Page frame / wrapper --------------------------------- */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

.container--wide { max-width: 1480px; }
.container--narrow { max-width: 780px; }

/* --- Topbar ----------------------------------------------- */
.topbar {
  background: var(--accent-1);
  color: var(--base);
  font-size: 13px;
  padding-block: 12px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.topbar__left {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item strong { font-weight: 600; }
.topbar__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.5); }
.topbar a { border-bottom: 1px solid rgba(255,255,255,.4); transition: border-color .3s var(--ease-out); }
.topbar a:hover { border-color: var(--base); }
.topbar__right {
  display: flex; align-items: center; gap: 14px;
}
.topbar__social {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .3s var(--ease-out);
}
.topbar__social:hover { background: rgba(255,255,255,.12); }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }

/* --- Site header ----------------------------------------- */
.site-header {
  background: var(--base);
  border-bottom: 1px solid var(--rule-soft);
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.92);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 18px;
  gap: 24px;
}
.site-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--contrast);
  padding-block: 2px;
  line-height: 1;
}
.site-brand .logo-mark {
  width: 44px;
  height: auto;
  color: var(--contrast);
}
.site-brand > div {
  text-align: center;
  line-height: 1;
}
.site-brand .wordmark {
  display: block;
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--contrast);
  margin-top: 4px;
}
.site-brand .tagline {
  display: block;
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  font-size: 9px;
  color: var(--contrast);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
  line-height: 1;
}

.site-nav {
  display: flex; align-items: center; gap: clamp(18px, 2.3vw, 32px);
  font-size: 15px;
  font-weight: 400;
}
.site-nav a {
  position: relative;
  padding-block: 8px;
  transition: color .3s var(--ease-out);
}
.site-nav a:hover { color: var(--accent-5-deep); }
.site-nav a[aria-current="page"] { color: var(--accent-5-deep); font-weight: 500; }

.site-header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid var(--contrast);
  color: var(--contrast);
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.site-header__cta:hover {
  background: var(--contrast);
  color: var(--base);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--contrast);
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform .3s var(--ease-out);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }

@media (max-width: 960px) {
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open .site-nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    padding: 24px var(--page-pad) 32px;
    gap: 12px;
    background: var(--base);
    border-bottom: 1px solid var(--rule);
    font-size: 17px;
  }
  .site-header.is-open .site-header__cta {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 290px); left: var(--page-pad);
  }
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .3s var(--ease-out),
              background .3s var(--ease-out),
              color .3s var(--ease-out),
              border-color .3s var(--ease-out);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--fill {
  background: var(--accent-5);
  color: var(--base);
  border-color: var(--accent-5);
}
.btn--fill:hover { background: var(--accent-5-deep); border-color: var(--accent-5-deep); }
.btn--dark {
  background: var(--contrast);
  color: var(--base);
  border-color: var(--contrast);
}
.btn--dark:hover { background: var(--accent-1); border-color: var(--accent-1); }
.btn--outline {
  background: transparent;
  color: var(--contrast);
  border-color: var(--contrast);
}
.btn--outline:hover { background: var(--contrast); color: var(--base); }
.btn--outline-light {
  background: transparent;
  color: var(--base);
  border-color: var(--base);
}
.btn--outline-light:hover { background: var(--base); color: var(--contrast); }
.btn--text {
  padding: 6px 0;
  border: 0;
  background: transparent;
  border-bottom: 1.5px solid currentColor;
  border-radius: 0;
  font-weight: 600;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Pill eyebrow (badge) ------------------------------- */
.pill {
  display: inline-flex; align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--accent-1);
  color: var(--base);
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pill--coral { background: var(--accent-5); }
.pill--olive { background: var(--accent-4); }
.pill--cream { background: var(--accent-3); color: var(--contrast); }
.pill--outline {
  background: transparent;
  border: 1.5px solid var(--contrast);
  color: var(--contrast);
}

/* --- Dotted separator ----------------------------------- */
.sep-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  margin-block: clamp(48px, 7vw, 100px);
  color: var(--contrast-midtone);
  opacity: 0.6;
}
.sep-dots span {
  width: 3px; height: 3px; background: currentColor; border-radius: 50%;
}
.sep-dots--brand { gap: 18px; opacity: 1; }
.sep-dots--brand span { width: 10px; height: 10px; }
.sep-dots--brand .d-1 { background: var(--accent-1); }
.sep-dots--brand .d-2 { background: var(--accent-2); }
.sep-dots--brand .d-3 { background: var(--accent-4); }
.sep-dots--brand .d-4 { background: var(--accent-3); border: 1px solid var(--rule); }
.sep-dots--brand .d-5 { background: var(--accent-5); }

/* --- Hero (split) --------------------------------------- */
.hero {
  background: var(--accent-1);
  color: var(--base);
  padding-block: clamp(56px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 90px;
  background: var(--base);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.1);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  position: relative; z-index: 2;
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; }
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  font-size: clamp(40px, 5.2vw, 64px);
  font-weight: 600;
  font-variation-settings: 'wdth' 125;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--base);
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-3);
}
.hero__lead {
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.82);
  max-width: 54ch;
  line-height: 1.55;
}
.hero__two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}
.hero__two-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-3);
  margin-bottom: 6px;
}
.hero__two-col p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.hero__ctas {
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.hero__ctas .btn--fill { background: var(--accent-5); color: var(--base); border-color: var(--accent-5); }
.hero__ctas .btn--outline { color: var(--base); border-color: var(--base); }
.hero__ctas .btn--outline:hover { background: var(--base); color: var(--contrast); }

.hero__figure {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 400px 400px 400px 8px;
  background: var(--accent-4);
}
.hero__figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.hero__figure:hover img { transform: scale(1.04); }

/* Alt hero — centered (like homepage-2) */
.hero-centered {
  padding-block: clamp(64px, 9vw, 120px) clamp(24px, 4vw, 48px);
  text-align: center;
  background: var(--base);
}
.hero-centered .pill { margin-bottom: 24px; }
.hero-centered h1 {
  font-size: clamp(48px, 7.5vw, 108px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-variation-settings: 'wdth' 125;
  color: var(--contrast);
  max-width: 16ch;
  margin: 0 auto;
}
.hero-centered h1 em {
  font-style: normal;
  color: var(--accent-5);
}
.hero-centered__lead {
  margin: 28px auto 0;
  max-width: 56ch;
  color: var(--contrast-midtone);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
}
.hero-centered__ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

/* --- Block overlap card --------------------------------- */
.overlap-card {
  position: relative;
  margin-top: -80px;
  z-index: 5;
  background: var(--base);
  border-radius: 16px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 30px 80px -30px rgba(30, 27, 19, 0.22),
              0 8px 24px -12px rgba(30, 27, 19, 0.12);
}
.overlap-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 760px) {
  .overlap-card__grid { grid-template-columns: repeat(4, 1fr); }
}
.overlap-card__item {
  text-align: center;
  border-right: 1px solid var(--rule-soft);
  padding: 8px 12px;
}
.overlap-card__item:last-child { border-right: 0; }
@media (max-width: 759px) { .overlap-card__item { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding-bottom: 16px; } }
.overlap-card__value {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  font-variation-settings: 'wdth' 125;
  color: var(--contrast);
  line-height: 1;
}
.overlap-card__label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--contrast-midtone);
}

/* --- Section centered opener ------------------------------ */
.section {
  padding-block: clamp(56px, 7vw, 100px);
  position: relative;
}
.section--muted { background: var(--base-midtone); }
.section--deep-muted { background: var(--base-deep); }
.section--dark { background: var(--contrast); color: var(--base); }
.section--purple { background: var(--accent-1); color: var(--base); }
.section--olive { background: var(--accent-4); color: var(--base); }
.section--coral { background: var(--accent-5); color: var(--base); }

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 {
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: inherit;
  max-width: 22ch;
}
.section-head h2 em {
  font-style: normal;
  color: var(--accent-5);
}
.section--dark .section-head h2 em,
.section--purple .section-head h2 em,
.section--olive .section-head h2 em { color: var(--accent-3); }
.section-head__lead {
  max-width: 56ch;
  color: var(--contrast-midtone);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}
.section--dark .section-head__lead,
.section--purple .section-head__lead,
.section--olive .section-head__lead { color: rgba(255,255,255,0.8); }

.section-head--left { text-align: left; align-items: flex-start; }
.section-head--left h2 { max-width: 22ch; }

/* --- Gallery (3-col sharp images) ----------------------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 1.5vw, 20px);
}
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery__item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__caption {
  position: absolute;
  left: 16px; bottom: 16px;
  color: var(--base);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* --- Two-col image + text with highlight box ------------ */
.img-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) { .img-text { grid-template-columns: 1fr 1fr; } }
.img-text--flip .img-text__media { order: 2; }
.img-text__media {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--accent-3);
}
.img-text__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.img-text__media:hover img { transform: scale(1.04); }

.img-text__body { display: flex; flex-direction: column; gap: 24px; }
.img-text__body h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.img-text__body h3 em { font-style: normal; color: var(--accent-5); }
.img-text__body p { color: var(--contrast-midtone); font-size: 16.5px; line-height: 1.65; }
.img-text__body .btn--text { color: var(--contrast); align-self: flex-start; font-weight: 600; }

.highlight-box {
  background: var(--accent-3);
  padding: 28px 32px;
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 14px;
}
.highlight-box__title {
  font-family: var(--font-expanded);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--contrast);
}
.highlight-box ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.highlight-box li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.55;
  color: var(--contrast-midtone);
}
.highlight-box li::before {
  content: '✓';
  color: var(--accent-5);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Drop cap body ---------------------------------- */
.prose { max-width: 700px; margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.7; color: var(--contrast); }
.prose p + p { margin-top: 1em; }
.prose p.drop-cap::first-letter {
  initial-letter: 3 2;
  -webkit-initial-letter: 3 2;
  color: var(--accent-5);
  font-weight: 700;
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  margin-right: 10px;
  font-size: 4.6em;
  float: left;
  line-height: 0.9;
  margin-top: 0.04em;
}

/* --- 3-col feature blocks (with icons/numbers) ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
}
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--base);
  border-radius: 10px;
  padding: clamp(22px, 2.2vw, 30px);
  border: 1px solid var(--rule-soft);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px rgba(30, 27, 19, 0.16);
}
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-3);
  color: var(--contrast);
  font-weight: 700;
  font-size: 16px;
  font-variation-settings: 'wdth' 125;
}
.card__tag {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-5-deep);
  font-weight: 600;
}
.card h3 {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.2;
}
.card p {
  font-size: 15px;
  color: var(--contrast-midtone);
  line-height: 1.6;
}
.section--dark .card,
.section--purple .card,
.section--olive .card,
.section--coral .card {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  color: var(--base);
}
.section--dark .card p,
.section--purple .card p,
.section--olive .card p,
.section--coral .card p { color: rgba(255,255,255,0.8); }
.section--dark .card__num,
.section--purple .card__num,
.section--olive .card__num,
.section--coral .card__num { background: var(--accent-3); color: var(--contrast); }

/* --- List with checkmarks ------------------------------ */
.check-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 16px;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 16px; line-height: 1.55;
}
.check-list li::before {
  content: '✓';
  color: var(--accent-5);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.4;
}

/* --- Revenue rows (stacked) ---------------------------- */
.rev-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .rev-group { grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(48px, 6vw, 80px); }
}
.rev-group__head { display: flex; flex-direction: column; gap: 14px; }
.rev-group__pill { align-self: flex-start; }
.rev-group__title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.rev-group__title em { font-style: normal; color: var(--accent-5); }
.rev-group__desc {
  color: var(--contrast-midtone);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 36ch;
}
.rev-list {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.rev-list li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.rev-list .num {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--contrast-midtone); font-weight: 500;
}
.rev-list .name {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  color: var(--contrast);
  line-height: 1.35;
}
.rev-list .type {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-5-deep); font-weight: 600; white-space: nowrap;
}

/* --- Page meta heading for inner pages ----------------- */
.page-meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--contrast-midtone);
  font-weight: 500;
}

/* --- Contact form -------------------------------------- */
.contact-form {
  display: grid;
  gap: 24px;
  max-width: 620px;
}
.field {
  display: flex; flex-direction: column; gap: 8px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--contrast-midtone);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  color: var(--contrast);
  background: var(--base);
  border: 1.5px solid var(--rule);
  padding: 14px 16px;
  border-radius: 8px;
  outline: 0;
  transition: border-color .3s var(--ease-out);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-5);
}
.field textarea { resize: vertical; min-height: 140px; }
.field--row { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .field--row { grid-template-columns: 1fr 1fr; } }
.form-status {
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--accent-3);
  color: var(--contrast);
  font-size: 14px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.form-status.is-visible { opacity: 1; transform: none; }

/* --- CTA card (overlap) -------------------------------- */
.cta-card-wrap {
  padding-inline: var(--page-pad);
  margin-bottom: -80px;
  position: relative;
  z-index: 3;
}
.cta-card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--accent-3);
  border-radius: 16px;
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  color: var(--contrast);
}
@media (min-width: 900px) { .cta-card { grid-template-columns: 1.5fr 1fr; } }
.cta-card h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.cta-card h2 em { font-style: normal; color: var(--accent-5); }
.cta-card__checks {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--contrast-midtone);
  font-weight: 600;
}
.cta-card__checks span::before { content: '✓ '; color: var(--accent-5); }
.cta-card__action {
  display: flex; justify-content: flex-end;
}
@media (max-width: 899px) { .cta-card__action { justify-content: flex-start; } }

/* --- Footer -------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--base-midtone);
  color: var(--contrast);
  padding: clamp(120px, 14vw, 170px) 0 28px;
  border-radius: 16px 16px 0 0;
  position: relative;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer__brand {
  display: flex; flex-direction: column; gap: 16px;
}
.site-footer__brand .logo-mark { width: 34px; color: var(--contrast); }
.site-footer__brand .wordmark {
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  font-size: 24px;
}
.site-footer__brand p {
  font-size: 15px;
  color: var(--contrast-midtone);
  max-width: 32ch;
  line-height: 1.55;
}
.site-footer__socials {
  display: flex; gap: 10px;
}
.site-footer__socials a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--contrast);
  color: var(--base);
  transition: background .3s var(--ease-out);
}
.site-footer__socials a:hover { background: var(--accent-5); }
.site-footer__socials svg { width: 15px; height: 15px; fill: currentColor; }
.site-footer__col h4 {
  font-family: var(--font-expanded);
  font-variation-settings: 'wdth' 125;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 16px;
  color: var(--contrast);
}
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a {
  font-size: 15px;
  color: var(--contrast-midtone);
  transition: color .3s var(--ease-out);
}
.site-footer__col a:hover { color: var(--accent-5-deep); }
.site-footer__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center;
  font-size: 13px;
  color: var(--contrast-midtone);
}

/* --- Reveal animation ---------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --- Utilities ----------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-0 { margin-bottom: 0 !important; }
