/* ==========================================================================
   INVIVANT — Florida Real Estate Development
   Mobile-first stylesheet. Base = 390px. Breakpoints: 768px / 1000px / 1200px.
   ========================================================================== */

/* --- 1. Design tokens ---------------------------------------------------- */
:root {
  --white:        #FFFFFF;
  --off-white:    #F7F9FC;
  --navy:         #0A2342;
  --navy-mid:     #1B3D6F;
  --navy-deep:    #061829;
  --green:        #2D9B5A;
  --green-dk:     #23814A;
  --green-lt:     #E8F5EE;
  --blue:         #1A6FBF;
  --blue-lt:      #EBF4FF;
  --gold:         #E8A020;
  --gold-lt:      #FDF3E0;
  --gray-lt:      #F2F4F7;
  --gray-text:    #6B7A99;
  --border:       #DDE3EF;

  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --nav-h: 68px;
  --wrap: 1200px;
  --pad: 20px;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(10, 35, 66, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 35, 66, 0.09);
  --shadow-lg: 0 20px 50px rgba(10, 35, 66, 0.14);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

/* --- 3. Layout primitives ------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section { position: relative; }

.section { padding: 64px 0; }

.section--white     { background: var(--white); }
.section--offwhite  { background: var(--off-white); }
.section--navy      { background: var(--navy); color: #fff; }
.section--navy h2,
.section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section--navy .eyebrow { color: #7FD8A4; }
.section--navy .eyebrow::before { background: #7FD8A4; }

h1 { font-size: 34px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; font-weight: 700; }

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-text);
}
.section--navy .lead { color: #B9C7DE; }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 155, 90, 0.32);
}
.btn--green:hover {
  background: var(--green-dk);
  box-shadow: 0 10px 26px rgba(45, 155, 90, 0.42);
}

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--navy); background: var(--white); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  min-height: 44px;
}
.link-arrow svg { transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- 5. Scroll animations ------------------------------------------------ */
.fade-up, .fade-in, .slide-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.fade-up { transform: translateY(32px); }
.slide-in { transform: translateX(-28px); }

.fade-up.visible, .fade-in.visible, .slide-in.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.09s; }
.stagger > *:nth-child(3) { transition-delay: 0.18s; }
.stagger > *:nth-child(4) { transition-delay: 0.27s; }
.stagger > *:nth-child(5) { transition-delay: 0.36s; }
.stagger > *:nth-child(6) { transition-delay: 0.45s; }
.stagger > *:nth-child(7) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up, .fade-in, .slide-in { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* --- 6. Skip link -------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1005;   /* above .mobilemenu so the logo + close button stay visible */
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav.is-solid {
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 6px 24px rgba(10, 35, 66, 0.07);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.3s var(--ease);
}
.logo__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.nav.is-solid .logo { color: var(--navy); }

/* Desktop-only groups */
.nav__links { display: none; }
.nav__actions { display: none; }

/* Language toggle */
.langtoggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-solid .langtoggle {
  background: var(--gray-lt);
  border-color: var(--border);
}
.langtoggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 5px 12px;
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav.is-solid .langtoggle__btn { color: var(--gray-text); }
.langtoggle__btn svg { border-radius: 2px; flex: none; }
.langtoggle__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.nav.is-solid .langtoggle__btn[aria-pressed="true"] {
  background: var(--navy);
  color: #fff;
}

/* Hamburger */
.burger {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 1002;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
              background-color 0.3s var(--ease);
}
.nav.is-solid .burger span { background: var(--navy); }
.burger[aria-expanded="true"] span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Full-screen mobile menu */
.mobilemenu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--navy);
  padding: calc(var(--nav-h) + 20px) var(--pad) 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
              visibility 0.3s var(--ease);
}
.mobilemenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* While the menu is open the nav rides on top of the navy overlay:
   drop the solid background and force the logo + burger to white. */
body.no-scroll .nav.is-solid {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.no-scroll .nav .logo { color: #fff; }
body.no-scroll .nav .burger span { background: #fff; }
body.no-scroll .nav__mobile-right .langtoggle { display: none; }
.mobilemenu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.mobilemenu__link .idx {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #7FD8A4;
  letter-spacing: 0.1em;
}
.mobilemenu__foot {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobilemenu__foot .langtoggle {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}
.mobilemenu__foot .langtoggle__btn { color: rgba(255, 255, 255, 0.8); }
.mobilemenu__foot .langtoggle__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--navy);
}
.mobilemenu__meta {
  font-size: 14px;
  color: #8FA3C4;
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ==========================================================================
   RESPONSIVE — GLOBAL + NAV
   ========================================================================== */
@media (min-width: 768px) {
  :root { --nav-h: 80px; --pad: 32px; }

  .section { padding: 88px 0; }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  h3 { font-size: 22px; }
  .lead { font-size: 18px; }
  .section-head { margin-bottom: 48px; }

  .whatsapp-float { bottom: 28px; right: 28px; width: 58px; height: 58px; }
}

@media (min-width: 1000px) {
  .burger,
  .nav__mobile-right .langtoggle,
  .mobilemenu { display: none; }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .nav__links a {
    position: relative;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    padding: 6px 0;
    transition: color 0.2s var(--ease);
  }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
    transition: width 0.25s var(--ease);
  }
  .nav__links a:hover::after { width: 100%; }
  .nav.is-solid .nav__links a { color: var(--navy); }

  .nav__actions {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .logo { font-size: 23px; }

  /* On desktop the hero's left half is white, so the transparent nav
     uses dark text from the start; .is-solid only adds the background. */
  .nav .logo { color: var(--navy); }
  .nav .nav__links a { color: var(--navy); }
  .nav .langtoggle { background: var(--gray-lt); border-color: var(--border); }
  .nav .langtoggle__btn { color: var(--gray-text); }
  .nav .langtoggle__btn[aria-pressed="true"] { background: var(--navy); color: #fff; }
}

@media (min-width: 1200px) {
  h1 { font-size: 56px; }
  h2 { font-size: 42px; }
  .section { padding: 104px 0; }
}

/* ==========================================================================
   SECTION 2 — HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 22px;
  overflow: hidden;
  background: var(--navy);
  --hero-title: #fff;
  --hero-sub: rgba(255, 255, 255, 0.88);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 41, 0.86) 0%, rgba(6, 24, 41, 0.62) 38%, rgba(6, 24, 41, 0.93) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero__content { max-width: 640px; }

.hero .eyebrow { color: #7FD8A4; }
.hero .eyebrow::before { background: #7FD8A4; }

.hero h1 {
  color: var(--hero-title);
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  color: #7FD8A4;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--hero-sub);
  max-width: 540px;
  margin-bottom: 24px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Stats strip */
.hero__stats {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  overflow: hidden;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero__stat {
  background: rgba(10, 35, 66, 0.55);
  padding: 18px 14px;
  text-align: center;
}
.hero__stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
}
.hero__stat span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #B9C7DE;
}

.scroll-hint { display: none; }

@media (min-width: 768px) {
  .hero h1 { font-size: 52px; }
  .hero__sub { font-size: 19px; }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .hero__stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero__stat { padding: 22px 18px; }
  .hero__stat b { font-size: 32px; }
  .hero__stat span { font-size: 13px; }
}

@media (min-width: 1000px) {
  .hero {
    --hero-title: var(--navy);
    --hero-sub: var(--gray-text);
    background: var(--white);
    padding-bottom: 44px;
  }
  .hero__media {
    left: auto;
    right: 0;
    width: 50%;
    top: var(--nav-h);
    bottom: 0;
    border-radius: 28px 0 0 28px;
    overflow: hidden;
  }
  .hero__media::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 22%),
                linear-gradient(180deg, rgba(6, 24, 41, 0.18) 0%, rgba(6, 24, 41, 0.30) 100%);
  }
  /* The media panel covers the right 50vw. Inside a centred wrap that means the
     text column can be at most half the wrap's outer width, minus padding and a
     gutter — a percentage here would resolve against the viewport and shrink the
     column as the screen grows. */
  .hero__inner { padding-right: 0; }
  .hero__content { max-width: calc(min(100vw, var(--wrap)) / 2 - var(--pad) - 36px); }
  .hero .eyebrow { color: var(--green); }
  .hero .eyebrow::before { background: var(--green); }
  .hero h1 em { color: var(--green); }

  .hero__stats { margin-top: 0; }
  .hero__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: calc(min(100vw, var(--wrap)) / 2 - var(--pad) - 36px);
  }
  .hero__stats-grid {
    background: var(--border);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .hero__stat { background: var(--white); text-align: left; padding: 20px 18px; }
  .hero__stat b { color: var(--navy); font-size: 30px; }
  .hero__stat span { color: var(--gray-text); }

  .scroll-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 75%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 6px rgba(6, 24, 41, 0.5);
  }
  .scroll-hint svg { animation: bob 1.8s var(--ease) infinite; }
}

@media (min-width: 1200px) {
  .hero h1 { font-size: 62px; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg { animation: none; }
}

/* Ghost CTA in hero flips to dark-on-white at desktop */
@media (min-width: 1000px) {
  .hero__ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
  }
  .hero__ghost:hover { background: var(--white); border-color: var(--navy); }
}

/* ==========================================================================
   SECTION 3 — THE OPPORTUNITY
   ========================================================================== */
.opportunity { overflow: hidden; }
.opportunity::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 155, 90, 0.28) 0%, rgba(45, 155, 90, 0) 70%);
  pointer-events: none;
}
.opportunity::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 111, 191, 0.26) 0%, rgba(26, 111, 191, 0) 70%);
  pointer-events: none;
}
.opportunity .wrap { position: relative; z-index: 1; }

.opp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.opp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-md);
  padding: 20px 16px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease);
}
.opp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 216, 164, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
.opp-card b {
  display: block;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #7FD8A4;
  margin-bottom: 10px;
}
.opp-card--gold b { color: var(--gold); }
.opp-card span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #C3D0E6;
}

.opp-body {
  border-left: 3px solid var(--green);
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.75;
  color: #C3D0E6;
  max-width: 780px;
}

@media (min-width: 768px) {
  .opp-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 44px;
  }
  .opp-card { padding: 26px 22px; }
  .opp-card b { font-size: 42px; margin-bottom: 12px; }
  .opp-card span { font-size: 15px; }
  .opp-body { font-size: 18px; padding-left: 24px; }
}

@media (min-width: 1200px) {
  .opp-card b { font-size: 48px; }
}

/* ==========================================================================
   SECTION 4 — WHAT WE DO
   ========================================================================== */
.models {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.model {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
.model::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent, var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.model:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.model:hover::before { transform: scaleX(1); }

.model--green { --accent: var(--green); --accent-bg: var(--green-lt); }
.model--blue  { --accent: var(--blue);  --accent-bg: var(--blue-lt); }
.model--gold  { --accent: var(--gold);  --accent-bg: var(--gold-lt); }

.model__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.model__icon {
  width: 54px;
  height: 54px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--accent-bg);
  color: var(--accent);
}
.model__icon svg { width: 27px; height: 27px; }

.model__badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.model h3 { margin-bottom: 12px; }

.model p {
  color: var(--gray-text);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.model .link-arrow {
  margin-top: auto;
  color: var(--accent);
  align-self: flex-start;
}

.model__num {
  position: absolute;
  right: 18px;
  bottom: 6px;
  font-family: var(--font-head);
  font-size: 78px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 768px) {
  .models { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .model { padding: 30px 26px 26px; }
}

@media (min-width: 1200px) {
  .models { gap: 26px; }
  .model { padding: 34px 30px 30px; }
}

/* ==========================================================================
   SECTION 5 — PROPERTY TYPES
   ========================================================================== */
.props {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.prop {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.prop:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.prop__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-lt);
}
.prop__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.prop:hover .prop__media img { transform: scale(1.06); }
.prop__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 41, 0) 45%, rgba(6, 24, 41, 0.55) 100%);
}

.prop__tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.prop__tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  font-style: normal;
}

.prop__body { padding: 20px 20px 22px; }
.prop__body h3 { margin-bottom: 10px; }
.prop__body p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .props { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .prop__body { padding: 24px 24px 26px; }
  .prop__body p { font-size: 16px; }
}

@media (min-width: 1200px) {
  .props { gap: 28px; }
}

/* ==========================================================================
   SECTION 6 — HOW IT WORKS (process timeline)
   ========================================================================== */
.process {
  --node: 44px;
  --gap: 26px;
  display: grid;
  grid-template-columns: 1fr;
}

.step {
  position: relative;
  padding: 0 0 30px calc(var(--node) + 18px);
}
.step:last-child { padding-bottom: 0; }

/* connector — vertical on mobile */
.step::after {
  content: "";
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: var(--node);
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--border) 0%, var(--border) 70%, rgba(221, 227, 239, 0) 100%);
}
.step:last-child::after { display: none; }

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--node);
  height: var(--node);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.25s var(--ease);
}
.step:hover .step__num {
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.06);
}
.step--final .step__num {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.step--final:hover .step__num { color: #fff; }

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
  padding-top: 9px;
}
.step p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .step h3 { font-size: 18px; }
  .step p { font-size: 16px; max-width: 620px; }
}

/* Horizontal timeline on wide screens */
@media (min-width: 1200px) {
  .process {
    grid-template-columns: repeat(7, 1fr);
    gap: var(--gap);
  }
  .step {
    padding: calc(var(--node) + 20px) 0 0 0;
  }
  .step::after {
    left: var(--node);
    right: calc(var(--gap) * -1);
    top: calc(var(--node) / 2 - 1px);
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--border));
  }
  .step h3 {
    font-size: 15px;
    padding-top: 0;
    margin-bottom: 8px;
    min-height: 2.4em;   /* keeps descriptions on a shared baseline */
  }
  .step p { font-size: 13.5px; line-height: 1.55; }
}

/* ==========================================================================
   SECTION 7 — MARKETS
   ========================================================================== */
.markets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.fl-map { position: relative; }
.fl-map svg {
  width: 100%;
  height: auto;
  max-height: 420px;
  overflow: visible;
}
.fl-map__shape {
  fill: url(#flFill);
  stroke: rgba(127, 216, 164, 0.9);
  stroke-width: 2.5;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
.fl-map__pin { cursor: default; }
.fl-map__dot {
  fill: #8CEFB5;
  stroke: rgba(6, 24, 41, 0.55);
  stroke-width: 2;
  transition: r 0.25s var(--ease), fill 0.25s var(--ease);
}
.fl-map__ring {
  fill: none;
  stroke: #7FD8A4;
  stroke-width: 2;
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-ring 2.6s var(--ease) infinite;
}
.fl-map__pin:nth-of-type(2) .fl-map__ring { animation-delay: 0.3s; }
.fl-map__pin:nth-of-type(3) .fl-map__ring { animation-delay: 0.6s; }
.fl-map__pin:nth-of-type(4) .fl-map__ring { animation-delay: 0.9s; }
.fl-map__pin:nth-of-type(5) .fl-map__ring { animation-delay: 1.2s; }
.fl-map__pin:nth-of-type(6) .fl-map__ring { animation-delay: 1.5s; }
.fl-map__pin:nth-of-type(7) .fl-map__ring { animation-delay: 1.8s; }
.fl-map__pin:nth-of-type(8) .fl-map__ring { animation-delay: 2.1s; }

.fl-map__pin.is-active .fl-map__dot { r: 11; fill: #fff; }
.fl-map__pin.is-active .fl-map__ring { stroke: #fff; opacity: 0.9; }

@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 0.65; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-map__ring { animation: none; opacity: 0.4; }
}

/* Market chips */
.market-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.market-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #E6ECF7;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.market-chip i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #7FD8A4;
  font-style: normal;
}
.market-chip:hover,
.market-chip:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(127, 216, 164, 0.7);
  transform: translateY(-2px);
}

/* Insight cards */
.insights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.insight {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 3px solid var(--green);
  border-radius: var(--r-md);
  padding: 22px 20px;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.insight:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-4px); }
.insight h3 {
  font-size: 17px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.insight h3 svg { width: 20px; height: 20px; color: #7FD8A4; flex: none; }
.insight p {
  color: #C3D0E6;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .market-list { gap: 10px; }
  .market-chip { font-size: 13.5px; padding: 11px 16px; }
  .insights { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .insight { padding: 26px 24px; }
  .insight h3 { font-size: 18px; }
  .insight p { font-size: 15.5px; }
}

@media (min-width: 1000px) {
  .markets-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
  }
  .fl-map svg { max-height: 460px; }
}

/* ==========================================================================
   SECTION 8 — WHY INVIVANT
   ========================================================================== */
.whys {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.why {
  --accent: var(--green);
  --accent-bg: var(--green-lt);
  background: var(--off-white);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 22px 20px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.why:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.why--blue { --accent: var(--blue); --accent-bg: var(--blue-lt); }
.why--gold { --accent: var(--gold); --accent-bg: var(--gold-lt); }

.why__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--accent-bg);
  color: var(--accent);
  margin-bottom: 16px;
}
.why__icon svg { width: 23px; height: 23px; }

.why h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.why p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 560px) {
  .whys { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (min-width: 768px) {
  .why { padding: 26px 24px; }
  .why h3 { font-size: 18px; }
  .why p { font-size: 15.5px; }
}

@media (min-width: 1000px) {
  .whys { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1200px) {
  .whys { gap: 24px; }
  .why { padding: 30px 28px; }
}

/* ==========================================================================
   SECTION 9 — THE TEAM
   ========================================================================== */
.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 44px;
}

.member {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.member__avatar {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, var(--green) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgba(10, 35, 66, 0.16);
}
.member__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Each photo frames differently, so the zoom and offset are set per person with
   --zoom / --x / --y on the .member__avatar (they inherit down to the img).
   max-width:none is required — the global img{max-width:100%} clamps the zoom. */
.member__avatar--photo img {
  width: var(--zoom, 100%);
  height: var(--zoom, 100%);
  max-width: none;
  inset: auto;
  left: var(--x, 0%);
  top: var(--y, 0%);
}
.member__initials { position: relative; }
.member h3 { margin-bottom: 4px; }
.member p.member__role {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 14px;
}
.member p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/* Trust bar */
.trustbar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: center;
  padding: 16px 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.trust svg { width: 30px; height: 30px; color: var(--navy-mid); }
.trust span {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-text);
}

@media (min-width: 768px) {
  /* auto-fit so a third member drops into a 3-up row without a CSS change */
  .team { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
  .member { padding: 32px 28px; }
  .member p { font-size: 16px; }
  .trustbar { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .trust { padding: 20px 14px; }
  .trust svg { width: 34px; height: 34px; }
  .trust span { font-size: 12px; }
}

@media (min-width: 1000px) {
  .team { max-width: 900px; margin-left: auto; margin-right: auto; }
  .member__avatar { max-width: 300px; font-size: 54px; }
}

/* ==========================================================================
   SECTION 10 — FAQ
   ========================================================================== */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq__item { border-bottom: 1px solid var(--border); }

.faq__q { margin: 0; font-size: inherit; font-weight: inherit; }

.faq__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 18px 2px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--navy);
  transition: color 0.2s var(--ease);
}
.faq__btn:hover { color: var(--green); }

.faq__icon {
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-lt);
  color: var(--green);
  transition: transform 0.3s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease);
}
.faq__icon svg { width: 15px; height: 15px; }
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p {
  color: var(--gray-text);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0;
  padding: 0 46px 22px 2px;
}

.faq-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .faq__btn { font-size: 18px; padding: 22px 4px; }
  .faq__a p { font-size: 16.5px; padding-bottom: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__a { transition: none; }
}

/* ==========================================================================
   SECTION 11 — CONTACT / SCHEDULE A CALL
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.contact-list { display: grid; gap: 12px; margin-bottom: 26px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  min-height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  color: #fff;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              transform 0.2s var(--ease);
}
a.contact-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(127, 216, 164, 0.6);
  transform: translateY(-2px);
}
.contact-item__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(127, 216, 164, 0.16);
  color: #7FD8A4;
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item__label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FA3C4;
  margin-bottom: 2px;
}
.contact-item__value {
  display: block;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  word-break: break-word;
}
.contact-item--todo .contact-item__value { color: #B9C7DE; font-weight: 600; }

.socials { display: flex; gap: 10px; margin-bottom: 18px; }
.social {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease),
              border-color 0.2s var(--ease);
}
.social:hover {
  background: rgba(127, 216, 164, 0.16);
  border-color: rgba(127, 216, 164, 0.6);
  transform: translateY(-2px);
}
.social svg { width: 21px; height: 21px; }

.response-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #B9C7DE;
}
.response-note i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7FD8A4;
  box-shadow: 0 0 0 4px rgba(127, 216, 164, 0.2);
  font-style: normal;
  flex: none;
}

/* Booking card (Cal.com inline embed) */
.booking {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.booking__widget {
  min-width: 280px;
  height: 650px;
  border-radius: var(--r-md);
  overflow: hidden;
}
.booking__fallback {
  padding: 10px 12px 6px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
}
.booking__fallback a { color: var(--green); font-weight: 600; }

@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
  }
  .contact-item { padding: 16px 18px; }
}

/* ==========================================================================
   SECTION 12 — FOOTER
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  color: #B9C7DE;
  padding: 52px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer .logo { color: #fff; font-size: 22px; margin-bottom: 14px; }

.footer__tagline {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer__kicker {
  font-size: 14px;
  color: #8FA3C4;
  margin-bottom: 20px;
}

.footer h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7FD8A4;
  margin: 0 0 16px;
}

.footer__links { display: grid; gap: 2px; }
.footer__links a {
  display: block;
  padding: 9px 0;
  min-height: 40px;
  font-size: 15px;
  color: #B9C7DE;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__links a:hover { color: #fff; transform: translateX(3px); }

.footer__contact { display: grid; gap: 10px; margin-bottom: 18px; }
.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #B9C7DE;
  min-height: 32px;
}
.footer__contact a:hover { color: #fff; }
.footer__contact svg { width: 17px; height: 17px; color: #7FD8A4; flex: none; }

.footer__licensed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(127, 216, 164, 0.12);
  border: 1px solid rgba(127, 216, 164, 0.25);
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: #7FD8A4;
}

.footer .socials { margin-bottom: 18px; }
.footer .langtoggle {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.footer .langtoggle__btn { color: rgba(255, 255, 255, 0.75); }
.footer .langtoggle__btn[aria-pressed="true"] { background: #fff; color: var(--navy); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.footer__copy { font-size: 13.5px; color: #8FA3C4; margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a {
  font-size: 13.5px;
  color: #8FA3C4;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer__legal a:hover { color: #fff; }

.eho {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8FA3C4;
  font-size: 11.5px;
  line-height: 1.3;
  max-width: 210px;
}
.eho svg { width: 30px; height: 30px; flex: none; color: #B9C7DE; }

@media (min-width: 768px) {
  .footer { padding-top: 64px; }
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
  }
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
}

/* Laptop screens (short viewports): tighten the hero so it still fits the fold */
@media (min-width: 1000px) and (max-height: 880px) {
  .hero h1 { font-size: 46px; }
  .hero__sub { font-size: 17px; margin-bottom: 20px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero__stat { padding: 15px 16px; }
  .hero__stat b { font-size: 26px; }
}
