/* ============ Mobile Nav ============ */
.header{
  background: var(--bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10000;
}

.header__container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-md);
}

/* Logo */
.header__logo-img{
  display:block;
  height: 52px;                /* tweak to match your logo */
  width: auto;
}



/* =========================================================
   NAV — DESKTOP-FIRST BASE
   ========================================================= */

/* Generic interaction affordances */
.nav__link,
.nav__link--dropdown,
.nav__submenu-link { cursor: pointer; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle-bar { width: 26px; height: 2px; background: var(--text); display: block; margin: 5px 0; }

/* Desktop base (desktop-first) */
.nav { position: relative; z-index: 10; }
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--gap-lg, 48px);
}
.nav__item { position: relative; }

.nav__link,
.nav__link--dropdown {
  display: inline-block;
  padding: 10px 0;
  color: var(--text, #2b2b2b);
  font-weight: 500;
  transition: opacity .15s ease;
  background: transparent;
  border: 0; /* for the button version */
  font: inherit;
}
.nav__link:hover,
.nav__link--dropdown:hover { opacity: .7; }

/* ===================== DESKTOP DROPDOWN ===================== */
@media (min-width: 961px){
  .nav__item--dropdown { position: relative; }
  .nav__icon { margin-left: 6px; font-size: .8em; }

  /* Dropdown panel (desktop only) */
  .nav__submenu{
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    z-index: 20;
  }
  .nav__submenu-list { list-style: none; margin: 0; padding: 0; }

  .nav__submenu-link{
    display: block;
    padding: 10px 14px;
    color: var(--text, #2b2b2b);
  }
  .nav__submenu-link:hover{ background:#f3f3f3; }

  /* show submenu on hover */
  .nav__item--dropdown:hover .nav__submenu{
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }
}

/* =========================================================
   MOBILE (≤960px): HAMBURGER + FULL-SCREEN PANEL + INLINE SUBMENU
   ========================================================= */
@media (max-width: 960px){
  :root {
    --header-h: 72px;
    --divider-w: 78%;
    --divider: rgba(0,0,0,.10);
    --submenu-indent: 28px;             /* tab depth for submenu rows */
  }

  /* Short, subtle divider after each TOP-LEVEL item (not full width) */
  #nav-menu .nav__item{ position: relative; width: 100%; }
  #nav-menu .nav__item:not(:last-child)::after{
    content:"";
    display:block;
    width: var(--divider-w);
    height: 1px;
    background: var(--divider);
    margin: 10px 0 0 var(--gap-md, 24px);   /* left indent for the line */
  }

  /* Show hamburger */
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__icon{ transition: transform .25s ease; }

  /* Full-screen panel under the sticky header */
  #nav-menu.nav{
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    background: var(--header-bg, #f7f7f5);
    border: 0; box-shadow: none;

    /* closed */
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity .24s ease,
      transform .28s ease;
    overflow: hidden;
    z-index: 1500;
  }
  #nav-menu.nav.nav--open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Column list fills panel and can scroll — LEFT aligned */
  #nav-menu .nav__list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    margin: 0;
    padding: 16px var(--gap-md, 24px) 20px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    text-align: left;
  }

  /* Big touch targets, left aligned */
  #nav-menu .nav__link,
  #nav-menu .nav__link--dropdown{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 6px;
    font-size: clamp(22px, 3.6vw, 26px);
    font-weight: 600;
    width: 100%;
  }
  .nav__link--dropdown.is-open .nav__icon{ transform: rotate(180deg); }

  /* ===== Inline Services submenu (pushes items down) ===== */

  /* Submenu list basic padding (no indent here; keep edges clean) */
  #nav-menu .nav__submenu-list{
    list-style: none;
    margin: 0;
    padding: 6px var(--gap-md, 24px);
    overflow: hidden;
  }

  /* Submenu link INDENT — this guarantees the visual tab regardless of UL padding */
  #nav-menu .nav__submenu-link{
    display: block;
    padding: 12px 0;
    padding-left: calc(var(--submenu-indent) + 0px);  /* ← actual indent */
    font-weight: 500;
    text-align: left;
    border-radius: 8px;
  }

  /* Subtle separators inside submenu */
  #nav-menu .nav__submenu-item + .nav__submenu-item{
    border-top: 1px solid rgba(0,0,0,.09);
  }

  #nav-menu .nav__submenu-link:hover,
  #nav-menu .nav__submenu-link:focus-visible{
    background: #f3f3f3; outline: none;
  }

  /* make hamburger feel clickable */
  .nav__toggle{ cursor: pointer; }

  /* ===== Services submenu (inline, push-down) — animate IN & OUT ===== */
  /* Base closed: no footprint */
  #services-submenu{
    display: none;               /* hidden until opening */
  }

  /* We render block during animations & when open */
  #services-submenu.is-opening,
  #services-submenu.is-open,
  #services-submenu.is-closing{
    display: block;
  }

  /* Actual animated element lives on the container */
  #services-submenu{
    overflow: hidden;
    height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: height .28s ease, opacity .18s ease, transform .18s ease;
    padding: 0;                   /* no spacing while fully closed */
  }

  /* Opening: fade/slide in and we’ll grow height via JS */
  #services-submenu.is-opening{
    opacity: 1;
    transform: translateY(0);
    padding: 6px 0 8px;          /* include padding during the grow, so height target is correct */
  }

  /* Open: stable state; let content grow naturally */
  #services-submenu.is-open{
    opacity: 1;
    transform: none;
    height: auto;                /* JS sets after transition */
    padding: 6px 0 8px;
  }

  /* Closing: fade/slide up while height animates to 0 */
  #services-submenu.is-closing{
    opacity: 0;
    transform: translateY(-6px);
    /* keep same padding during collapse; height calc already includes it */
  }
}

/* Prevent page behind from scrolling when the panel is open (JS toggles this) */
body.no-scroll { overflow: hidden; }


/* =========================
   HERO (text-only section)
   ========================= */
.hero{
  background: var(--bg);               /* same soft tone as header */
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;                            /* keeps rounded bottom crisp */
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;                                  /* above other content */
  margin-bottom: -20px;
}

.hero__container{
  max-width: var(--container);                 /* e.g., 1200px from :root */
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--gap-md) clamp(18px, 3vw, 28px);
}

.hero__content{

}

.hero__title{
  font-size: clamp(28px, 5.2vw, 48px);         /* 48px on desktop */
  line-height: 1;
  font-weight: 500;
  margin: 0;
  color: var(--text);
  text-wrap: balance;                           /* nicer multi-line headings (supported modern browsers) */
  max-width: 28ch;
}

.hero__highlight{
  color: #8b947d;                               /* adjust to brand */
  font-weight: 800;
}

/* Slight spacing refinement on larger screens */
@media (min-width: 1024px){
  .hero__container{
    padding-bottom: clamp(16px, 2.2vw, 28px);
  }
}
/* =========================
   PARALLAX (full-bleed image)
   HTML:

   ========================= */

/* Length of the reveal between hero and next section */
.parallax{
  position: relative;
  height: 110vh;
}

/* Full-bleed wrapper that ignores page gutters/containers */
.parallax__wrapper{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;                  /* fills the whole parallax section */
  overflow: hidden;
}

.parallax__image{
  position: sticky;
  top: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: calc(100% + var(--parallax-overscan, 40vh)); /* taller to avoid gaps */
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: translateY(var(--parallax, 0px));
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .parallax{ height: 70vh; }
  .parallax__wrapper{
    height: 70vh;
  }
  .parallax__image{
    position: relative;           /* disable stickiness */
    top: auto;
  }
}

/* Optional tuning at breakpoints */
@media (min-width: 768px){
  .parallax{ height: 130vh; }
}
@media (min-width: 1024px){
  .parallax{ height: 140vh; }
}

/* =========================================
   WHY SECTION — full-bleed background, centered content
   ========================================= */
.why{
  /* Full width background card */
  width: 100%;
  background: var(--section-bg, #f7f7f5);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);

  /* sit above the parallax strip */
  position: relative;
  z-index: 1;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
  /* overlap the parallax slightly so rounded corners show */
  --overlap: 20px;                 /* tweak to taste */
  margin-top: calc(-1 * var(--overlap));
  --overlap-bottom: 40px;        /* adjust if needed */
  margin-bottom: calc(-1 * var(--overlap-bottom));
  padding: 28px 0 64px;
}

/* Centered, constrained content so text doesn’t hit the edges */
.why__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header */
.why__header{ margin-bottom: 12px; }
.why__title{
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--text, #222);
  margin-bottom: 12px;
}
.why__divider{
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(0,0,0,0.25);
  border-radius: 2px;
}

/* Body */
.why__body p{
  color: var(--text-dim, #333);
  line-height: 1.6;
  margin-bottom: var(--gap-sm, 10px);
  font-size: clamp(16px, 1.5vw, 18px);
}

.why__underline {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.4);
}

.why__body strong{ color: var(--text, #111); font-weight: 600; }
.why__link{
  color: var(--accent, #4b6cb7);
  text-decoration: none;
  border-bottom: 1px solid rgba(75,108,183,0.3);
  transition: color .2s ease, border-color .2s ease;
}
.why__link:hover{ color: var(--accent-dark, #2c4699); border-color: currentColor; }

/* CTA */
.why__cta{ margin-top: 16px; }
.why__cta-link{
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: var(--text, #111);
  border-bottom: 1px solid rgba(0,0,0,0.3);
  transition: color .2s ease, border-color .2s ease;
}
.why__cta-link:hover{ color: var(--accent-dark, #2c4699); border-color: currentColor; }

/* Limit measure of text/content so it doesn't run edge-to-edge */
.why__title{
  /* tighter measure for the heading */
  max-width: 32ch;            /* adjust to taste (28–36ch) */
}

.why__body,
.why__cta{
  /* readable paragraph/CTA width */
  max-width: 72ch;            /* ~72 characters per line */
  margin-right: auto;         /* keep aligned left */
}

/* keep the divider spanning the full container width */
.why__divider{ width: 100%; }

/* Mobile padding */
@media (max-width: 920px){
  .why{ padding: 24px 0 56px; }   /* more bottom space on small screens too */
  .why__container{ padding: 0 var(--gap-sm, 18px); gap: 10px; }
  .why__header{ margin-bottom: 8px; }
  .why__cta{ margin-top: 12px; }
}

/* =========================================
   SIRV — PART 1: header & intro
   ========================================= */
.sirv{
  background: #28282A;
  color: #e9e9ea;
  width: 100%;
  position: relative;
  z-index: 0;
  padding: clamp(64px, 12vw, 148px) 0;
  overflow: visible;
}

.sirv__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
}

.sirv__header{ display: grid; gap: clamp(8px, 2vw, 16px); }

.sirv__title{
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  color: #f6f6f7;
  margin: 0;
  max-width: 64ch;
  line-height: 1.3;
}

.sirv__intro{
  max-width: 72ch; /* readable line length */
  line-height: 1.6;
  color: #f5f5f3;
  margin: 0;
  font-size: clamp(15px, 1.5vw, 16px);
  font-weight: 100;
}

.sirv__meta{ margin-top: clamp(8px, 1.4vw, 12px); }

/* Keep paragraphs and links nicely readable */
.sirv__intro,
.sirv__meta {
  max-width: 68ch; /* matches Why section width */
}

.sirv__link{
  color: #cfcfd2;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.35);
  transition: color .2s ease, text-decoration-color .2s ease;
  font-weight: 600;
}
.sirv__link:hover,
.sirv__link:focus-visible{
  color: #ffffff;
  text-decoration-color: currentColor;
}

/* =========================================
   CARD SECTION (Eligibility variant)
   ========================================= */
.card-section{
  width: 100%;
  margin-top: clamp(24px, 4vw, 40px);   /* spacing from Part 1 */
}

.card-section__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
}

/* Header (left-aligned) */
.card-section__header{
  display: grid;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 28px);
  text-align: right;
  justify-items: end;
}
.card-section__title{
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin: 0;
  color: var(--heading-on-dark, #f5f5f6);
  text-align: right;
}
.card-section__rule{
  display: block;
  height: 2px;
  width: 100%;
  background: rgba(255,255,255,.22);
  border-radius: 2px;
}

/* Left-align on mobile for readability */
@media (max-width: 768px) {
  .card-section__header {
    text-align: left;
    justify-items: start;
  }
  .card-section__title {
    text-align: left;
  }
}

/* Extra spacing between SIRV intro and Elegibilidad */
.sirv .card-section {
  margin-top: clamp(48px, 6vw, 64px); /* increased from ~40px */
}

/* Grid (Flexbox) — wraps responsively, no sidescroll */
.card-section__grid{
  /* shared */
  --cards-gap: clamp(16px, 3vw, 28px);
  display: flex;
  gap: var(--cards-gap);
  align-items: stretch;
  flex-wrap: wrap;                 /* wrap by default for small screens */
}

/* Cards */
.card-section__item{
  background: var(--card-bg, #f3f3f4);
  color: var(--card-text, #1f1f20);
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  padding: clamp(18px, 2.6vw, 24px);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  isolation: isolate;

  /* mobile-first sizing */
  flex: 1 1 100%;
  min-width: 0;                    /* critical: prevents overflow/stretch */
}
.card-section__item::after{
  content:"";
  position:absolute; inset:auto 10% 8px 10%;
  height: 8px; border-radius: 999px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(0,0,0,.18), transparent);
  z-index: -1;
}

/* Titles & text inside cards */
.card-section__item-title{
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--card-title, #1f1f20);
}
.card-section__item-text{
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.55;
  margin: 0;
  color: var(--card-text-dim, #3a3a3d);
}
.card-section__item-text strong{ color: #111; font-weight: 700; }

/* Responsive: 2 columns (tablet), 1 column (phone) */
@media (min-width: 620px) and (max-width: 1024px){
  .card-section__item{ flex: 1 1 calc(50% - var(--cards-gap)/2); }
}

/* 4 fixed columns on desktop */
@media (min-width: 1025px){
  .card-section__grid{ flex-wrap: nowrap; } /* never wrap on desktop */
  .card-section__item{
    flex: 0 0 calc((100% - 3 * var(--cards-gap)) / 4); /* exactly 4 across */
    min-width: 0;                                      /* ensure no push/wrap */
  }
}


/* Dark-context polish (inside SIRV) */
.sirv .card-section__title{ color: #f5f5f6; }
.sirv .card-section__rule{ background: rgba(255,255,255,.22); }

/* =========================================
   FEATURE SECTION — Beneficios
   ========================================= */
.feature-section{
  width: 100%;
  margin-top: clamp(48px, 6vw, 64px);
  position : relative;
  --seam-h: 28px;
  padding-bottom: calc(var(--seam-h) + 24px); /* space for the seam at bottom */
}

.feature-section__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
}

/* Header */
.feature-section__header{
  display: grid;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 28px);
  text-align: left;
}
.feature-section__title{
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #f5f5f6;
}
.feature-section__rule{
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,.28);
  border-radius: 2px;
}

/* Grid — 2 cols desktop, 1 col mobile */
.feature-section__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(20px, 3vw, 28px);
}
@media (max-width: 780px){
  .feature-section__grid{ grid-template-columns: 1fr; }
}

/* Transparent cards */
.feature-section__item{
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  padding: clamp(18px, 2.4vw, 24px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  will-change: transform, box-shadow;
}
.feature-section__item:hover{
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.5);
}

/* Titles & text */
.feature-section__item-title{
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 18px);
  color: #f5f6f7;
}
.feature-section__item-text{
  margin: 0;
  color: #cfd0d3;
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.6;
}
.feature-section__link{
  color: #cfd0d3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Links (shared CTA + inline) ---------- */
.feature-section__link,
.feature-section__cta-link {
  color: #cfcfd2;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  font-weight: 600;
}

.feature-section__link:hover,
.feature-section__link:focus-visible,
.feature-section__cta-link:hover,
.feature-section__cta-link:focus-visible {
  color: #ffffff;
  text-decoration-color: currentColor;
}

/* Feature-section: apply the same container gutters/width as Elegibilidad */
.feature-section{
  --inset-max: var(--container, 1100px);
  --inset-pad: var(--gap-md, 24px);
  margin-top: clamp(48px, 6vw, 64px);
}

/* Constrain each row inside the section */
.feature-section__header,
.feature-section__grid,
.feature-section__cta{
  max-width: var(--inset-max);
  margin: 0 auto;
  padding: 0 var(--inset-pad);
}

/* Header stays full-width inside its container */
.feature-section__header{
  display: grid;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 28px);
  text-align: left;
}
.feature-section__title{
  margin: 0;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  color: #f5f5f6;
}
.feature-section__rule{
  height: 1px;
  width: 100%;                /* spans the header’s container width */
  background: rgba(255,255,255,.28);
  border-radius: 2px;
  display: block;
}

/* Grid (unchanged; now sits inside the same container width) */
.feature-section__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(20px, 3vw, 28px);
}
@media (max-width: 780px){
  .feature-section__grid{ grid-template-columns: 1fr; }
}

/* Transparent cards */
.feature-section__item{
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  padding: clamp(18px, 2.4vw, 24px);
}
.feature-section__item-title{
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 18px);
  color: #f5f6f7;
}
.feature-section__item-text{
  margin: 0;
  line-height: 1.6;
  font-size: clamp(14px, 1.45vw, 16px);
  color: #cfd0d3;
}
.feature-section__link{
  color: #cfd0d3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA (now centered within the same container) */
.feature-section__cta{
  text-align: center;
  margin-top: clamp(28px, 4vw, 40px);
}
.feature-section__cta-link{
  color: #dfe1e6;
  font-weight: 600;
  font-size: clamp(12px, 1.2vw, 13px);
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .9;
}
.feature-section__cta-link:hover{ opacity: 1; }

/* ========== SEAM-CTA */

.sirv { position: relative; }

.sirv { padding-bottom: 0; }
.sirv__container { padding-bottom: clamp(64px, 8vw, 100px); }


.sirv > .seam-cta{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 5;
}

.seam-cta{
  --seam-bg:#transparent;
  --dash-anim:rgba(255,255,255,.85);
  --r:24px;       /* corner radius */
  --h:28px;       /* bar height */

  display:flex;
  justify-content:center;
  align-items: center;
  background:var(--seam-bg);
  color:#fff; font-weight:600; font-size:14px; line-height:1.4;
  height:var(--h);

  border-top:1px dashed var(--bg);
  border-top-left-radius:var(--r);
  border-top-right-radius:var(--r);

  text-decoration:none; cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 -4px 10px rgba(0,0,0,.25);
  text-shadow:0 1px 2px rgba(0,0,0,.3);
}

/* =========================================
   PROCESS SECTION — Header, Image, and Copy
   ========================================= */
.process {
  background: #f7f7f5;
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 80px) 0;
}

/* Container */
.process__container {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
}

/* ---------- Header ---------- */
.process__header {
  text-align: left;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.process__title {
  font-size: 32px;
  font-weight: 600; /* semibold */
  color: #717362;
  margin: 0 0 14px 0;
}

.process__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,.15);
}

/* ---------- Body layout (image + text) ---------- */
.process__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

/* Image */
.process__media img {
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  max-height: auto;
}

/* Reset default figure margins so image aligns with text top */
.process__media figure{
  margin: 0;
}

/* (Keeps the two columns flush at the top edge) */
.process__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* tweak ratio as you like */
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
}

/* Copy (text side) */
.process__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.process__copy p {
  font-size: 24px;
  font-weight: 400;
  color: #717362;
  line-height: 1.5;
  margin: 0;
}



/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .process__body {
    grid-template-columns: 1fr;
  }

  .process__media img {
    max-width: 100%;
    border-radius: 10px;
  }

  .process__title {
    font-size: 28px;
  }

  .process__copy p {
    font-size: 20px;
  }
}

/* ======================
   Process — Steps (Accordion)
   ====================== */
.process__steps {
  display: grid;
  margin-top: clamp(48px, 6vw, 80px);
}

/* Row button — whole row clickable */
.step__button {
  --line: color-mix(in srgb, #717362 25%, transparent);
  width: 100%;
  display: grid;
  grid-template-columns: 18px 1fr auto; /* icon | title | meta */
  align-items: center;
  gap: 12px;
  padding: 24px 14px;
  background: transparent;
  border: 0;
  border-top: 2px solid color-mix(in srgb, #717362 25%, transparent); /* new */
  color: #717362;
  text-align: left;
  cursor: pointer;
  transition: opacity .2s ease;
}

.step__button:hover { opacity: .85; }

.step__title {
  font-size: 14px;     /* slightly smaller than body copy for hierarchy */
  font-weight: 600;    /* semibold to match your system */
  line-height: 1.4;
  letter-spacing: .2px;
}

.step__meta {
  font-size: 12px;
  opacity: .75;
}

/* Plus icon */
.step__icon {
  position: relative;
  width: 14px; height: 14px;
}
.step__icon::before,
.step__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #717362;
  border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease;
}
/* horizontal */
.step__icon::before { width: 10px; height: 2px; }
/* vertical */
.step__icon::after  { width: 2px; height: 10px; }

/* When open -> show “minus” (hide vertical bar) */
.step.is-open .step__icon::after { transform: scaleY(0); opacity: 0; }

/* Collapsible panel */
.step__content {
  overflow: hidden;
  height: 0;               /* JS animates this */
  transition: height .28s ease-in-out;
  transform-origin: bottom;
}

.step__content-inner {
  padding: 12px 0 16px;
}

.step__content p {
  margin: 0;
  font-size: 20px;         /* readable under the 24px body text */
  font-weight: 400;
  color: #717362;
  line-height: 1.55;
}

.process__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.contact {
  background: #f7f7f5;
  padding: clamp(60px, 10vw, 120px) 0;
}

/* Two-column layout */
.contact__container {
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 0 var(--gap-md, 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid #717362;
  padding-top: clamp(16px, 2vw, 24px);
}
@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
}

.contact__title {
  font-size: 48px;
  font-weight: 500; /* Medium */
  color: #28282A;
  line-height: 1.2;
  margin: 0;
}

/* Right side (form) */
.contact__form {
  display: grid;
  gap: clamp(28px, 3vw, 36px);
}

/* ========== Field Structure ========== */
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 24px;
  font-weight: 600; /* Semibold */
  color: #28282A;
}

/* Underline style */
.field__underline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #717362;
  opacity: 0.6;
}

/* Inputs & textareas */
.field__input,
.field__textarea {
  border: none;
  background: transparent;
  font-size: 20px;
  font-weight: 300; /* Light */
  color: #28282A;
  padding: 4px 0 10px;
  outline: none;
  border-bottom: 1px solid #717362;
  transition: border-color 0.25s ease;
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: #717362;
  font-weight: 300;
  font-size: 20px;
}
.field__input:focus,
.field__textarea:focus {
  border-color: #28282A;
}

/* Textarea specifics */
.field__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
.btn--primary {
  background: #28282A;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.btn--primary:hover {
  background: #3a3a3d;
  transform: translateY(-2px);
}

/* Status text */
.contact__status {
  font-size: 16px;
  color: #717362;
  margin-top: 10px;
}

/* =====================
   Footer
   ===================== */
.site-footer{
  --footer-bg: #28282A;
  --footer-text: #e9e9ea;
  --footer-dim: rgba(233,233,234,.7);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__container{
  max-width: var(--container, 1100px);
  margin: 0 auto;
  padding: 24px var(--gap-md, 24px);
}

.site-footer__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr; /* brand | nav | phones */
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

/* Brand */
/* Footer Brand — refined spacing and divider */
.footer-brand{
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 36px); /* increased space between logo and email */
}

.footer-brand__logo-img{
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-brand__email{
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--footer-text);
  text-decoration: underline;
  text-underline-offset: 3px;

  display: block;                            /* make the link fill full width */
  width: 100%;                               /* ensures divider spans the column */
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.15); /* subtle but visible divider */
}

.footer-brand__email:hover{
  color: #fff;
  text-decoration-color: currentColor;
}

/* Nav */
.footer-nav__list{
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
}
.footer-nav__list a{
  color: var(--footer-dim);
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}
.footer-nav__list a:hover{ color: var(--footer-text); }

/* Phones */
.footer-phones__title{
  margin: 0 0 18px 0;
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 700;
  color: var(--footer-text);
}
.footer-phones__list{
  margin: 0 0 18px 0;
  padding: 0;
}
.footer-phones__row{
  display: grid;
  grid-template-columns: 56px 1fr; /* code | number */
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-phones__row dt{
  color: var(--footer-dim);
  font-weight: 600;
}
.footer-phones__row dd{
  margin: 0;
}
.footer-phones__row a{
  color: var(--footer-text);
  text-decoration: none;
}
.footer-phones__row a:hover{ text-decoration: underline; }

.footer-address{
  margin-top: 18px;
  font-style: normal;
  color: var(--footer-dim);
  line-height: 1.5;
  font-size: clamp(12px, 1.1vw, 13px);
}

/* =====================
   Footer — Legal Section (compact)
   ===================== */
.site-footer__legal{
  border-top: 1px solid rgba(255,255,255,.08);
  background: #28282A;
}

.site-footer__legal-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(12px, 2vw, 24px);
}

.legal-links a{
  color: var(--footer-dim);
  text-decoration: none;
  font-size: 12px;                   /* smaller text */
  transition: color .18s ease, opacity .18s ease;
}
.legal-links a:hover{
  color: var(--footer-text);
  text-decoration: underline;
}

.copyright{
  margin: 0;
  color: var(--footer-dim);
  font-size: 12px;                   /* match link size */
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 980px){
  .site-footer__grid{
    grid-template-columns: 1fr 1fr; /* brand | nav  / phones below */
  }
  .footer-phones{ grid-column: 1 / -1; }
}
@media (max-width: 640px){
  .site-footer__grid{
    grid-template-columns: 1fr;
  }
  .site-footer__legal-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
