/**
 * INVESTOSURE — LEOME & PARTNERS ARCHITECTURAL THEME
 * Inspired by https://leome-and-partners.com/ (Awwwards Site of the Day by Lukas Rudrof)
 * Editorial Typography · Staggered Animations · Diagonal Overlays · Dynamic Text Cursor · Smooth Parallax
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Syne:wght@500;600;700;800&display=swap');
@import url('mobile-responsive.css');

:root {
  /* Leome Signature Colors */
  --green-main: #052824;
  --green-dark: #021d1a;
  --green-deep: #011412;
  --green-light: #b1f9e1;
  --green-light-80: rgba(177, 249, 225, 0.8);
  --green-light-50: rgba(177, 249, 225, 0.5);
  --green-light-20: rgba(177, 249, 225, 0.2);
  --green-light-10: rgba(177, 249, 225, 0.08);

  --color-neutral-100: #ffffff;
  --color-neutral-200: #fbfaf8;
  --color-neutral-300: #f0ede8;
  --color-neutral-400: #cbc8c5;
  --color-neutral-500: #818180;
  --color-neutral-600: #333333;
  --color-neutral-700: #1f1f1f;
  --color-neutral-900: #0a0a0a;

  --color-dark: var(--green-main);
  --color-light: var(--color-neutral-300);

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Syne', 'Plus Jakarta Sans', sans-serif;

  /* Sizing Units */
  --size-unit: 16;
  --size-container-ideal: 1440;
  --size-container-min: 992px;
  --size-container-max: 1840px;
  --size-container: clamp(var(--size-container-min), 94vw, var(--size-container-max));
  --size-font: calc(var(--size-container) / (var(--size-container-ideal) / var(--size-unit)));

  --global--container-padding: clamp(1.25rem, 3.5vw, 3.5rem);
  --global--gap: clamp(1.25rem, 2.5vw, 2.5rem);
  --global--stroke-width: 1px;
  --border-light: rgba(5, 40, 36, 0.12);
  --border-dark: rgba(177, 249, 225, 0.22);
}

/* ============================================================
   BASE & SMOOTH SCROLL RESET
   ============================================================ */
*, *::after, *::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: initial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-neutral-300);
  color: var(--green-main);
}

body.leome-body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--green-main);
  background-color: var(--color-neutral-300);
  overflow-x: clip;
  position: relative;
}

::selection {
  background-color: var(--green-light);
  color: var(--green-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

/* ============================================================
   ARCHITECTURAL BOLTS (SIGNATURE LEOME PLUS/CROSS MARKERS)
   ============================================================ */
.bolt {
  width: 11px;
  height: 11px;
  position: relative;
  display: inline-block;
  color: currentColor;
  opacity: 0.65;
  flex-shrink: 0;
}

.bolt::before,
.bolt::after {
  content: '';
  position: absolute;
  background-color: currentColor;
}

.bolt::before {
  top: 5px;
  left: 0;
  width: 11px;
  height: 1px;
}

.bolt::after {
  top: 0;
  left: 5px;
  width: 1px;
  height: 11px;
}

.bolt-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.leome-container {
  width: 100%;
  max-width: var(--size-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--global--container-padding);
  padding-right: var(--global--container-padding);
  position: relative;
  z-index: 2;
}

/* ============================================================
/* ============================================================
   BUTTONS & LINKS
   ============================================================ */
.btn-animate-chars {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  background: var(--green-main);
  color: var(--green-light);
  border: 1px solid var(--green-main);
  padding: 0.85em 1.85em;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-animate-chars:hover {
  background: var(--green-dark);
  color: var(--color-neutral-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 40, 36, 0.2);
}

.btn-animate-chars.is-light {
  background: var(--green-light);
  color: var(--green-main);
  border-color: var(--green-light);
}

.btn-animate-chars.is-light:hover {
  background: var(--color-neutral-100);
  color: var(--green-dark);
}

.btn-animate-chars.is_nav {
  padding: 0.55em 1.25em;
  background: transparent;
  color: var(--green-main);
  border: 1px solid rgba(5, 40, 36, 0.25);
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.btn-animate-chars.is_nav:hover {
  background: var(--green-main);
  color: var(--green-light);
  border-color: var(--green-main);
}

/* Top Nav Actions Group */
.nav-full__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Direct Contact Button in Navigation Bar */
.btn-animate-chars.is_nav.is-nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55em 1.65em;
  min-width: 120px;
  background: var(--green-main);
  color: var(--green-light) !important;
  border: 1px solid var(--green-main);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-animate-chars.is_nav.is-nav-contact:hover {
  background: var(--green-dark);
  color: #ffffff !important;
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(5, 40, 36, 0.25);
}

.btn-animate-chars.is_nav.is-nav-contact .nav-contact-icon {
  font-size: 0.88rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-animate-chars.is_nav.is-nav-contact .nav-contact-text {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* When Navigation curtain is active */
[data-navigation-status="active"] .btn-animate-chars.is_nav.is-nav-contact {
  background: var(--green-light) !important;
  color: var(--green-main) !important;
  border-color: var(--green-light) !important;
}

[data-navigation-status="active"] .btn-animate-chars.is_nav.is-nav-contact:hover {
  background: #ffffff !important;
  color: var(--green-dark) !important;
  border-color: #ffffff !important;
}

/* Mobile responsive rules for Nav Contact */
@media (max-width: 768px) {
  .nav-full__actions {
    gap: 0.5rem;
  }

  .btn-animate-chars.is_nav.is-nav-contact {
    padding: 0.45em 1.35em !important;
    min-width: 64px !important;
    width: auto !important;
    height: 34px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .btn-animate-chars.is_nav.is-nav-contact .nav-contact-text {
    display: none !important;
  }

  .btn-animate-chars.is_nav.is-nav-contact .nav-contact-icon {
    font-size: 0.95rem !important;
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  .nav-full__actions {
    gap: 0.35rem;
  }

  .btn-animate-chars.is_nav.is-nav-contact {
    padding: 0.4em 1.15em !important;
    min-width: 56px !important;
    height: 33px !important;
    min-height: 33px !important;
    border-radius: 999px !important;
  }

  .btn-animate-chars.is_nav.is-nav-contact .nav-contact-icon {
    font-size: 0.88rem !important;
  }
}

[data-button-animate-chars] {
  position: relative;
  display: inline-block;
  white-space: nowrap !important;
}

[data-button-animate-chars] span {
  display: inline-block;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.btn-animate-chars:hover [data-button-animate-chars] span,
.footer__link:hover [data-button-animate-chars] span,
.nav-full__link:hover [data-button-animate-chars] span,
.editorial-link:hover [data-button-animate-chars] span {
  transform: translateY(-2px);
  color: var(--green-light);
}

/* ============================================================
   FULLSCREEN ARCHITECTURAL NAVIGATION OVERLAY
   ============================================================ */
.nav-full {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

.nav-full__bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--global--container-padding);
  z-index: 10001;
  pointer-events: auto;
  gap: 1rem;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 600px) {
  .nav-full__bar {
    padding: 0.85rem 1rem;
  }
}

.nav-full__bar.scrolled {
  background: rgba(240, 237, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(5, 40, 36, 0.08);
}

.nav-full__wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex-shrink: 1;
}

.nav-full__logo-img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.nav-full__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 4vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--green-main);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hamburger with animated bars */
.nav-full__hamburger {
  width: 22px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-full__hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.3s ease;
  transform-origin: center;
}

[data-navigation-status="active"] .nav-full__hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

[data-navigation-status="active"] .nav-full__hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-150%);
}

[data-navigation-status="active"] .nav-full__hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Active Navigation Top Bar - solid background prevents menu scroll collision */
[data-navigation-status="active"] .nav-full__bar {
  background: var(--green-main) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(177, 249, 225, 0.15) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

[data-navigation-status="active"] .nav-full__name {
  color: var(--green-light) !important;
}

[data-navigation-status="active"] .btn-animate-chars.is_nav {
  color: var(--green-light) !important;
  border-color: rgba(177, 249, 225, 0.35) !important;
  background: rgba(177, 249, 225, 0.08) !important;
}

[data-navigation-status="active"] .btn-animate-chars.is_nav:hover {
  background: var(--green-light) !important;
  color: var(--green-main) !important;
  border-color: var(--green-light) !important;
}

/* Diagonal Clip-Path Curtain Tile */
.nav-full__tile {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--green-main);
  color: var(--green-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(5rem, 8vh, 6.5rem) var(--global--container-padding) 2rem;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  transition: clip-path 0.85s cubic-bezier(0.9, 0, 0.1, 1);
  pointer-events: none;
  z-index: 10000;
  overflow-y: auto;
}

[data-navigation-status="active"] .nav-full__tile {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: auto;
}

.nav-full__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  max-width: var(--size-container);
  width: 100%;
  margin: 0 auto;
}

.nav-full__ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-full__li {
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.nav-full__ul:has(.nav-full__li:hover) .nav-full__li {
  opacity: 0.2;
}

.nav-full__ul:has(.nav-full__li:hover) .nav-full__li:hover {
  opacity: 1;
}

.nav-full__link {
  font-family: var(--font-display);
  font-size: clamp(1.98rem, 4.95vw, 4.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-light);
  display: inline-block;
  line-height: 1.15;
  transform: translateY(110%) rotate(4deg);
  transition: transform 0.65s cubic-bezier(0.7, 0, 0.3, 1), color 0.3s ease;
}

[data-navigation-status="active"] .nav-full__link {
  transform: translateY(0%) rotate(0deg);
}

.nav-full__li:nth-child(1) .nav-full__link { transition-delay: 0.18s; }
.nav-full__li:nth-child(2) .nav-full__link { transition-delay: 0.24s; }
.nav-full__li:nth-child(3) .nav-full__link { transition-delay: 0.30s; }
.nav-full__li:nth-child(4) .nav-full__link { transition-delay: 0.36s; }
.nav-full__li:nth-child(5) .nav-full__link { transition-delay: 0.42s; }
.nav-full__li:nth-child(6) .nav-full__link { transition-delay: 0.48s; }
.nav-full__li:nth-child(7) .nav-full__link { transition-delay: 0.54s; }
.nav-full__li:nth-child(8) .nav-full__link { transition-delay: 0.60s; }

.nav-full__link-row {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

.nav-count-badge {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(177, 249, 225, 0.12);
  color: var(--green-light);
  border: 1px solid rgba(177, 249, 225, 0.2);
  vertical-align: middle;
  pointer-events: none;
  transition: all 0.3s ease;
}

.nav-full__li:hover .nav-count-badge,
.nav-full__li.is-hovered .nav-count-badge {
  background: var(--green-light);
  color: var(--green-main);
  border-color: var(--green-light);
}

.nav-full__chevron {
  font-size: 0.95rem;
  color: var(--green-light-50);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav-full__li:hover .nav-full__chevron,
.nav-full__li.is-hovered .nav-full__chevron {
  color: var(--green-light);
  transform: translateX(6px);
}

.nav-full__li.is-hovered .nav-full__link {
  color: var(--green-light);
}

/* Right Sidebar Subpanels Container */
.nav-full__sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  min-height: 420px;
  border-left: 1px solid var(--border-dark);
  padding-left: 3rem;
}

.nav-subpanel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.nav-subpanel.is-active {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  opacity: 1;
  transform: translateY(0);
}

.nav-subpanel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(177, 249, 225, 0.15);
}

.nav-subpanel__subhead {
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light-50);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-subpanel__count {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(177, 249, 225, 0.12);
  color: var(--green-light);
  border: 1px solid rgba(177, 249, 225, 0.2);
}

.nav-subpanel__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-subpanel__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-subpanel__card:hover {
  background: rgba(177, 249, 225, 0.08);
  border-color: rgba(177, 249, 225, 0.25);
  transform: translateX(6px);
}

.nav-subpanel__card-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-subpanel__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-light-50);
}

.nav-subpanel__card:hover .nav-subpanel__num {
  color: var(--green-light);
}

.nav-subpanel__title {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-neutral-100);
  transition: color 0.25s ease;
}

.nav-subpanel__card:hover .nav-subpanel__title {
  color: var(--green-light);
}

.nav-subpanel__desc {
  font-size: 0.76rem;
  color: var(--color-neutral-400);
  margin-top: 0.15rem;
}

.nav-subpanel__arrow {
  color: var(--green-light-50);
  font-size: 0.85rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-subpanel__card:hover .nav-subpanel__arrow {
  color: var(--green-light);
  transform: translateX(4px);
}

/* Mobile inline subitems */
.nav-full__subitems {
  list-style: none;
  padding: 0.4rem 0 0.4rem 1.25rem;
  margin: 0.25rem 0 0 0;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  border-left: 2px solid rgba(177, 249, 225, 0.2);
}

.nav-full__subitem-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-neutral-200);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-full__subitem-link:hover {
  color: var(--green-light);
  transform: translateX(4px);
}

.sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-light);
  display: inline-block;
}

.nav__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-dark);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--green-light-80);
  max-width: var(--size-container);
  width: 100%;
  margin: 0 auto;
}

/* ============================================================
   HERO SECTION — THE SPLIT-HEADING ARCHITECTURAL HERO
   ============================================================ */
.section.is_hero {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: var(--color-neutral-300);
  padding-top: clamp(6rem, 11vh, 9.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
  overflow: clip;
}

.section.is_hero .leome-container {
  max-width: clamp(992px, 96vw, 1840px);
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

.hero_layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  margin-bottom: 3.5rem;
  width: 100%;
}

.hero_heading-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  container-type: inline-size;
}

.hero_heading-wrap:first-child {
  text-align: left;
  align-items: flex-start;
}

.hero_heading-wrap:last-child {
  text-align: left;
  align-items: flex-start;
}

.hero_heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.2vw, 5.5rem);
  font-size: clamp(2.5rem, 17.8cqw, 5.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--green-main);
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.hero_heading.is_second {
  color: var(--green-main);
}

.hero_img-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.hero_img-wrap {
  width: clamp(190px, 16vw, 270px);
  aspect-ratio: 1.45 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(5, 40, 36, 0.35), 0 0 0 1px rgba(5, 40, 36, 0.12);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  position: relative;
  background: var(--green-dark);
  flex-shrink: 0;
  z-index: 2;
}

.hero_img-wrap:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 35px 75px -15px rgba(5, 40, 36, 0.45), 0 0 0 1px var(--green-light);
}

.hero_img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card Visual inside Hero */
.hero_card-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #03201c 0%, #052824 50%, #021a17 100%);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--green-light);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.hero_card-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(177, 249, 225, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero_card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero_card-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero_card-chip {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffd700 0%, #e6b800 100%);
  opacity: 0.85;
}

.hero_card-mid {
  font-family: monospace;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  color: var(--color-neutral-100);
}

.hero_card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light-80);
}

/* Hero Bottom Ticker */
.hero_bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
  margin-top: 1.5rem;
}

.hero_bottom-txt {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--green-main);
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero_bottom-txt::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-main);
  opacity: 0.4;
}

/* Integrated Search Console in Hero */
.hero-search-block {
  max-width: 820px;
  margin: 3rem auto 1rem;
  text-align: center;
}

.hero-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 0.45rem 0.55rem 0.45rem 1.4rem;
  box-shadow: 0 12px 35px -10px rgba(5, 40, 36, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-search-wrapper:focus-within {
  border-color: var(--green-main);
  box-shadow: 0 16px 40px -10px rgba(5, 40, 36, 0.22);
}

.hero-search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-main);
  outline: none;
}

.hero-search-hint {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  margin-right: 0.25rem;
}

@media (max-width: 600px) {
  .hero-search-hint {
    display: none;
  }
  .hero-search-wrapper {
    padding: 0.35rem 0.45rem 0.35rem 1.1rem;
  }
  .hero-search-input {
    font-size: 0.92rem;
  }
}

.hero-search-hint kbd {
  background: var(--color-neutral-300);
  color: var(--green-main);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(5, 40, 36, 0.12);
}

.hero-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-pill-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-main);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-pill {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green-main);
  background: rgba(5, 40, 36, 0.05);
  border: 1px solid rgba(5, 40, 36, 0.08);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.hero-pill:hover {
  background: var(--green-main);
  color: var(--green-light);
  transform: translateY(-2px);
}

/* ============================================================
   PARALLAX FULLSCREEN BREAKS (THE ATMOSPHERIC STATEMENTS)
   ============================================================ */
.parallax-fullscreen {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2.5rem, 5vh, 4rem) 0;
  overflow: clip;
  color: var(--green-light);
  background-color: var(--green-dark);
  box-shadow: 0 -35px 80px rgba(0, 0, 0, 0.55);
}

.parallax-top {
  position: relative;
  z-index: 3;
  width: 100%;
}

.parallax-billboard-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.parallax-billboard {
  width: min(90vw, 780px);
  background: linear-gradient(145deg, #022621 0%, #011714 60%, #010f0d 100%);
  border: 1px solid rgba(177, 249, 225, 0.28);
  border-radius: 16px;
  box-shadow: 0 35px 75px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(177, 249, 225, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: clamp(2rem, 4vw, 3.25rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.parallax-billboard:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 45px 95px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--green-light);
}

.parallax-billboard::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(177, 249, 225, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.parallax-billboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.parallax-billboard-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light-80);
}

.parallax-billboard-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-light);
  box-shadow: 0 0 8px var(--green-light);
}

.parallax-billboard-subtag {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.parallax-billboard-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 0.85rem 0;
}

.parallax-billboard-desc {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--green-light-80);
  margin: 0;
  max-width: 520px;
}

.parallax-billboard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(177, 249, 225, 0.15);
}

.parallax-billboard-badge {
  font-size: 0.78rem;
  color: var(--green-light-80);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.parallax-billboard-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.parallax-bottom {
  position: relative;
  z-index: 3;
  width: 100%;
}

.parallax-bg {
  position: absolute;
  inset: -15% 0;
  width: 100%;
  height: 130%;
  z-index: 1;
}

.parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.15);
}

.parallax-bg_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 18, 16, 0.75) 0%, rgba(1, 18, 16, 0.35) 50%, rgba(1, 18, 16, 0.9) 100%);
}

.max-width-78 {
  max-width: 82%;
}

.text-size-xlarge {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-neutral-100);
}

.horizontal_flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

/* Ensure subsequent sections have opaque backgrounds and sit above hero */
.section.is_stats,
.section.is_services,
.section.is_plans,
.section.is_calculators,
.section.is_trust,
.section.is_partners,
.footer {
  position: relative;
  z-index: 3;
  background-color: var(--color-neutral-300);
}

.section.is_calculators {
  background-color: var(--green-dark) !important;
}

/* ============================================================
   TRACK RECORD / STATS SECTION (LEOME STYLE COUNTERS)
   ============================================================ */
.section.is_stats {
  background: var(--green-main);
  color: var(--color-neutral-100);
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  position: relative;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  margin-top: 3.5rem;
}

.stat-cell {
  padding: 3rem 2.2rem;
  border-right: 1px solid var(--border-dark);
  position: relative;
  transition: background-color 0.4s ease;
}

.stat-cell:last-child {
  border-right: none;
}

.stat-cell:hover {
  background-color: rgba(177, 249, 225, 0.04);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--green-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: baseline;
}

.stat-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-neutral-100);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--color-neutral-400);
  line-height: 1.5;
}

/* ============================================================
   AREAS OF EXPERTISE (THE LEOME STAGGERED 3-COL GRID)
   ============================================================ */
.section.is_services {
  background: var(--color-neutral-300);
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  position: relative;
}

.section-head-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
}

.heading-editorial {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--green-main);
  text-transform: uppercase;
}

.grid_3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--global--gap);
}

.expertise_item {
  position: relative;
  background: var(--color-neutral-200);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 3.5vw, 3rem);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.expertise_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(5, 40, 36, 0.16);
}

/* Diagonal overlay scaling from top-right */
.expertise_overlay {
  position: absolute;
  inset: 0;
  background: var(--green-main);
  z-index: 1;
  pointer-events: none;
  transform-origin: top right;
  transform: scale(0);
  transition: transform 0.65s cubic-bezier(0.625, 0.05, 0, 1);
}

.expertise_item:hover .expertise_overlay {
  transform: scale(1);
}

.expertise_item-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-main);
  transition: color 0.4s ease;
}

.expertise_item:hover .expertise_item-top {
  color: var(--green-light);
}

.expertise_icon {
  width: 32px;
  height: 32px;
  color: currentColor;
  transition: transform 0.65s cubic-bezier(0.625, 0.05, 0, 1);
}

.expertise_item:hover .expertise_icon {
  transform: rotate(180deg);
}

.expertise_item-left {
  position: relative;
  z-index: 2;
  margin: 2rem 0;
}

.expertise_list-item {
  margin-bottom: 0.85rem;
  opacity: 0.35;
  transform: translateY(0.5rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.expertise_item:hover .expertise_list-item {
  opacity: 1;
  transform: translateY(0);
}

.expertise_item:hover .expertise_list-item:nth-child(1) { transition-delay: 0.08s; }
.expertise_item:hover .expertise_list-item:nth-child(2) { transition-delay: 0.14s; }
.expertise_item:hover .expertise_list-item:nth-child(3) { transition-delay: 0.20s; }
.expertise_item:hover .expertise_list-item:nth-child(4) { transition-delay: 0.26s; }

.expertise_list-item p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-neutral-700);
  transition: color 0.4s ease;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expertise_item:hover .expertise_list-item p {
  color: var(--color-neutral-100);
}

.heading-size-h4.is_expertise {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-main);
  transition: color 0.4s ease;
  margin: 0;
}

.expertise_item:hover .heading-size-h4.is_expertise {
  color: var(--green-light);
}

/* ============================================================
   OUR PLANS & WEALTH SHIELD SECTION
   ============================================================ */
.section.is_plans {
  background: var(--color-neutral-100);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.plans-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.plan-card-leome {
  background: var(--color-neutral-200);
  border: 1px solid var(--border-light);
  padding: 2.2rem 1.8rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.plan-card-leome:hover {
  background: var(--green-main);
  color: var(--color-neutral-100);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -10px rgba(5, 40, 36, 0.2);
}

.plan-card-leome .plan-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #21a6de;
  margin-bottom: 1rem;
}

.plan-card-leome:hover .plan-tag {
  color: var(--green-light);
}

.plan-card-leome h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--green-main);
  transition: color 0.3s ease;
}

.plan-card-leome:hover h3 {
  color: var(--color-neutral-100);
}

.plan-card-leome p {
  font-size: 0.92rem;
  color: var(--color-neutral-600);
  line-height: 1.55;
  transition: color 0.3s ease;
  margin-bottom: 1.5rem;
}

.plan-card-leome:hover p {
  color: var(--color-neutral-300);
}

.plan-card-leome .plan-bottom-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-main);
  transition: color 0.3s ease, transform 0.3s ease;
}

.plan-card-leome:hover .plan-bottom-link {
  color: var(--green-light);
  transform: translateX(4px);
}

/* ============================================================
   CALCULATORS / SAVINGS OPTIMIZER SECTION
   ============================================================ */
.section.is_calculators {
  background: var(--green-dark);
  color: var(--color-neutral-100);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.calc-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.calc-card-leome {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  padding: 2.8rem 2.2rem;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.calc-card-leome:hover {
  background: rgba(177, 249, 225, 0.06);
  border-color: var(--green-light);
  transform: translateY(-8px);
}

.calc-card-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.calc-card-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-neutral-100);
  margin-bottom: 0.75rem;
}

.calc-card-desc {
  font-size: 0.95rem;
  color: var(--color-neutral-400);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ============================================================
   WALL OF TRUST / TESTIMONIALS
   ============================================================ */
.section.is_trust {
  background: var(--color-neutral-200);
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--border-light);
}

.testimonial-card-editorial {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  border-radius: 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(5, 40, 36, 0.06);
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--green-main);
  font-style: normal;
  margin-bottom: 1.5rem;
}

.testimonial-author-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 0.2rem;
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--color-neutral-500);
}

/* ============================================================
   PARTNERS / INSTITUTIONS SECTION
   ============================================================ */
.section.is_partners {
  background: var(--color-neutral-300);
  padding: 4rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.partners-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  opacity: 1;
  filter: none;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.partner-logo-item:hover {
  transform: translateY(-3px) scale(1.05);
}

.partner-logo-item img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .section.is_partners {
    padding: 2.75rem 0;
  }

  .partners-wrap {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    justify-content: center !important;
    align-items: stretch !important;
  }

  .partner-logo-item {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    padding: 0.75rem 0.85rem !important;
    min-height: 64px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .partner-logo-item img {
    max-height: 32px !important;
    max-width: 90% !important;
    width: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 480px) {
  .partners-wrap {
    gap: 0.75rem !important;
  }

  .partner-logo-item {
    padding: 0.65rem 0.75rem !important;
    min-height: 58px !important;
  }

  .partner-logo-item img {
    max-height: 28px !important;
  }
}

/* ============================================================
   DYNAMIC TEXT CURSOR (LEOME SIGNATURE FEATURE)
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  pointer-events: none;
}

.cursor-bubble {
  background-color: var(--green-light);
  color: var(--green-main);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(5, 40, 36, 0.25);
  opacity: 0;
  transform: scale(0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  white-space: nowrap;
}

[data-cursor="active"] .cursor-bubble {
  opacity: 1;
  transform: scale(1);
}

[data-cursor="active-edge"] .cursor-bubble {
  opacity: 1;
  transform: translateX(-100%) scale(1);
}

@media (hover: none) and (pointer: coarse) {
  .cursor {
    display: none !important;
  }
}

/* ============================================================
   GRAND ARCHITECTURAL FOOTER
   ============================================================ */
.footer.leome-footer {
  background: var(--green-dark) !important;
  color: var(--color-neutral-300);
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 1.5rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
}

.footer-layout {
  position: relative;
  z-index: 2;
}

.grid_12-col {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--global--gap);
}

.footer-logo-col {
  grid-column: span 3;
}

.footer-logo-col img,
.leome-footer .footer-logo-col img {
  background: #ffffff;
  padding: 5px 9px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: inline-block;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-col a:hover img,
.leome-footer .footer-logo-col a:hover img {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(177, 249, 225, 0.4);
}

.footer-nav-col {
  grid-column: span 6;
}

.footer-contact-col {
  grid-column: span 3;
}

.footer__ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 2rem;
}

.footer__link {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-neutral-100);
  display: inline-block;
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: var(--green-light);
}

/* Massive Display Text that dynamically fits screen width */
.footer-middle {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1rem, 2vw, 1.5rem);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 0.75rem 0;
}

.footer-text-display {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--green-light);
  white-space: nowrap;
  display: inline-block;
  margin: 0 auto;
  user-select: none;
}

.footer-bottom-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-neutral-400);
  border-top: 1px solid var(--border-dark);
  padding-top: 1.25rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--green-light);
}

/* ============================================================
   RESPONSIVENESS (MOBILE / TABLET ADAPTATION)
   ============================================================ */
@media (max-width: 1280px) and (min-width: 1025px) {
  .hero_heading {
    font-size: clamp(2.5rem, 17.5cqw, 4.8rem);
  }
  .hero_img-wrap {
    width: clamp(180px, 15vw, 240px);
  }
}

@media (max-width: 1024px) {
  .hero_layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .hero_heading-wrap:first-child,
  .hero_heading-wrap:last-child {
    text-align: center;
    align-items: center;
  }
  .hero_heading {
    font-size: clamp(2.8rem, 6.8vw, 4.5rem);
  }
  .hero_img-wrap {
    width: clamp(240px, 45vw, 320px);
    margin: 1rem auto;
  }
  .grid_3-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .plans-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-grid-modern {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell:nth-child(2) {
    border-right: none;
  }
  .stat-cell:nth-child(3),
  .stat-cell:nth-child(4) {
    border-top: 1px solid var(--border-dark);
  }
  .hero_bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-logo-col,
  .footer-nav-col,
  .footer-contact-col {
    grid-column: span 12;
  }
  .footer__ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero_heading {
    font-size: clamp(2.2rem, 8vw, 2.85rem);
  }
  .grid_3-col {
    grid-template-columns: 1fr;
  }
  .plans-grid-modern {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }
  .hero_bottom {
    grid-template-columns: 1fr;
  }
  .nav-full__grid {
    grid-template-columns: 1fr;
  }
  .nav-full__sidebar {
    display: none;
  }
  .max-width-78 {
    max-width: 100%;
  }
  .footer-bottom-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================================
   ABOUT PAGE ARCHITECTURAL STYLES & MODAL DRAWER
   ============================================================ */

/* Hero About */
.section.is_hero-about {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: var(--color-neutral-300);
  padding-top: clamp(6.5rem, 12vh, 10rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
  overflow: clip;
}

.hero_about-wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero_about-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9.5vw, 9rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--green-main);
}

.hero_about-wrap h1.text-color_white,
.hero_about-wrap h1.is-outlined {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.15vw, 2px) var(--green-main);
}

.hero_about-sub {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.hero_about-sub p {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--green-main);
  max-width: 58ch;
  margin: 0;
  font-weight: 500;
}

.breadcrumb-leome {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-neutral-500);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.breadcrumb-leome a {
  color: var(--green-main);
}

.breadcrumb-leome span {
  opacity: 0.5;
}

/* Team & Advisory Pillars Grid */
.grid_12-col.is_team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--global--gap);
}

.team_item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  cursor: pointer;
  position: relative;
  background: transparent;
  border-radius: 4px;
}

.team_item-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background-color: #dedcd7;
  position: relative;
}

.team_item .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transform: scale(1.001);
  transition: filter 0.5s cubic-bezier(0.625, 0.05, 0, 1), transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.team_item:hover .img-cover {
  filter: grayscale(0%);
  transform: scale(1.035);
}

.team_item-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(5, 40, 36, 0.88);
  backdrop-filter: blur(8px);
  color: var(--green-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  z-index: 2;
}

.team_item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
}

.team_item-text h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--green-main);
  letter-spacing: -0.02em;
}

.team_item-text p {
  font-size: 0.9rem;
  color: var(--color-neutral-600);
  margin: 0;
}

.team_item-trigger {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.team_item:hover .team_item-trigger {
  background-color: var(--green-main);
  color: var(--green-light);
  border-color: var(--green-main);
  transform: rotate(45deg);
}

/* Team CTA Card */
.team_item-cta {
  background-color: var(--green-light);
  color: var(--green-dark);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(5, 40, 36, 0.06);
}

.team_item-cta h4 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem 0;
  color: var(--green-dark);
}

.team_item-cta p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(2, 29, 26, 0.88);
  margin: 0 0 1.75rem 0;
}

.team_item-signet {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 14rem;
  opacity: 0.12;
  pointer-events: none;
}

/* Slide-over Detail Modal */
.modal {
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[data-modal-group-status="active"] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  display: block;
}

.modal__dark {
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  background-color: rgba(1, 20, 18, 0.75);
  backdrop-filter: blur(8px);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.modal__card {
  pointer-events: auto;
  background-color: var(--color-neutral-300);
  width: 100%;
  max-width: 36em;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  padding: 1rem;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateX(100%);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.3);
}

.modal__card[data-modal-status="active"] {
  display: flex;
}

.modal__scroll {
  background-color: #e4e1dc;
  border-radius: 1.25em;
  flex-flow: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(2rem, 4vw, 3rem);
}

.modal__btn-close {
  background-color: var(--color-neutral-300);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 3.25em;
  height: 3.25em;
  display: flex;
  position: absolute;
  top: 1.75em;
  right: 1.75em;
  cursor: pointer;
  z-index: 10;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.modal__btn-close:hover {
  background-color: var(--green-main);
  color: var(--green-light);
  transform: rotate(90deg);
}

.modal__btn-close-bar {
  background-color: currentColor;
  width: 1.2em;
  height: 2px;
  position: absolute;
  transform: rotate(45deg);
}

.modal__btn-close-bar.is--second {
  transform: rotate(-45deg);
}

.modal__badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-main);
  color: var(--green-light);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.modal__h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.modal__role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-neutral-600);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.modal__p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-neutral-700);
  margin-bottom: 1.25rem;
}

.modal__features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--green-main);
}

/* Editorial Story Section */
.section.is_editorial {
  position: relative;
  z-index: 3;
  background-color: var(--color-neutral-300);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--border-light);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.editorial-lead {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--green-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.editorial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--green-main);
  padding: 1.5rem 0;
  margin: 2rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Editorial Image Showcase with Architectural Framing */
.editorial-image-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(5, 40, 36, 0.25);
  border: 1px solid var(--border-light);
  background: var(--color-neutral-400);
}

.editorial-photo {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-image-frame:hover .editorial-photo {
  transform: scale(1.03);
}

.editorial-experience-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(5, 40, 36, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(177, 249, 225, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--color-neutral-100);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.editorial-experience-badge .badge-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
}

.editorial-experience-badge .badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.25;
}

/* CTA Banner with Rich Textured Background */
.section.is_cta-about {
  position: relative;
  z-index: 3;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, rgba(2, 29, 26, 0.92) 0%, rgba(1, 20, 18, 0.96) 100%),
              url('../../Images/background-img.jpg') center / cover no-repeat;
  color: var(--color-neutral-100);
  text-align: center;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

/* Odometer Stats Section */
.section.is_odometer {
  position: relative;
  z-index: 3;
  background-color: var(--green-main);
  color: var(--color-neutral-100);
  padding: clamp(5rem, 9vw, 8rem) 0;
  overflow: clip;
}

.odometer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.odometer-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid var(--border-dark);
  padding-left: 1.5rem;
}

.odometer-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--green-light);
  margin: 0;
  letter-spacing: -0.04em;
}

.odometer-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-weight: 400;
  line-height: 1.4;
}

/* Architectural Journey Timeline */
.section.is_timeline {
  position: relative;
  z-index: 3;
  background-color: var(--color-neutral-200);
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-bottom: 1px solid var(--border-light);
}

.timeline-architectural {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.timeline-step {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.timeline-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green-main);
  border-radius: 50%;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: -0.03em;
  margin: 0;
}

.timeline-step h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: var(--green-main);
}

.timeline-step p {
  font-size: 0.92rem;
  color: var(--color-neutral-600);
  line-height: 1.6;
  margin: 0;
}

/* Mission, Vision, Values Grid */
.mvv-grid-leome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--global--gap);
  margin-top: 3rem;
}

.mvv-card-leome {
  background-color: var(--color-neutral-300);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 3vw, 2.75rem);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.mvv-card-leome:hover {
  transform: translateY(-4px);
  border-color: var(--green-main);
  box-shadow: 0 12px 30px rgba(5, 40, 36, 0.06);
}

.mvv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mvv-card-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-neutral-500);
}

.mvv-card-leome h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--green-main);
  margin: 0;
  letter-spacing: -0.03em;
}

.mvv-card-leome p {
  font-size: 0.98rem;
  color: var(--color-neutral-700);
  line-height: 1.65;
  margin: 0;
}

/* Editorial Manifesto: Our Commitment To You */
.manifesto-box {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 4px;
  position: relative;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(5, 40, 36, 0.04);
}

.manifesto-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-neutral-700);
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* Why Choose Us 6-Grid */
.why-grid-architectural {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-cell {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-cell:hover {
  transform: translateY(-3px);
  border-color: var(--green-main);
}

.why-cell-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.why-cell-top i {
  font-size: 1.4rem;
  color: var(--green-main);
}

.why-cell h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-main);
  margin: 0;
}

.why-cell p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-neutral-600);
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .odometer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-architectural {
    grid-template-columns: repeat(2, 1fr);
  }
  .mvv-grid-leome {
    grid-template-columns: 1fr;
  }
  .why-grid-architectural {
    grid-template-columns: repeat(2, 1fr);
  }
  .modal__card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .hero_about-wrap h1 {
    font-size: clamp(2.5rem, 12vw, 3.8rem);
  }
  .odometer-grid {
    grid-template-columns: 1fr;
  }
  .timeline-architectural {
    grid-template-columns: 1fr;
  }
  .why-grid-architectural {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ARCHITECTURAL PRACTICE CARDS (NO FAKE FACES / PURE VECTOR & METRICS)
   ============================================================ */
.practice_card-graphic {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(155deg, #032520 0%, #021a16 55%, #01110e 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 2vw, 1.65rem);
  border: 1px solid rgba(177, 249, 225, 0.16);
  box-shadow: 0 16px 36px -12px rgba(5, 40, 36, 0.35);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.team_item:hover .practice_card-graphic {
  transform: translateY(-5px) scale(1.015);
  border-color: var(--green-light);
  box-shadow: 0 24px 50px -12px rgba(5, 40, 36, 0.5), 0 0 25px rgba(177, 249, 225, 0.14);
}

.practice_card-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(177, 249, 225, 0.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(177, 249, 225, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(177, 249, 225, 0.03) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px, 40px 40px;
  pointer-events: none;
  opacity: 0.65;
}

.practice-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.practice-code {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-light-80);
  background: rgba(177, 249, 225, 0.08);
  border: 1px solid rgba(177, 249, 225, 0.18);
  padding: 3px 8px;
  border-radius: 3px;
}

.practice-dot-pulse {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
}

.practice-dot-pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 8px var(--green-light);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.practice-svg-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  flex: 1;
}

.practice-svg-wrap svg {
  width: 100%;
  max-height: 140px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.team_item:hover .practice-svg-wrap svg {
  transform: scale(1.05);
  filter: drop-shadow(0 12px 24px rgba(177, 249, 225, 0.25));
}

.practice-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(177, 249, 225, 0.12);
  padding-top: 0.85rem;
}

.practice-metric-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-light);
  line-height: 1.1;
}

.practice-metric-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* ============================================================
   EDITORIAL INSTITUTIONAL DOSSIER FRAME (REPLACING STOCK PHOTO)
   ============================================================ */
.editorial-dossier-frame {
  background: linear-gradient(150deg, #02241f 0%, #011814 60%, #010f0d 100%);
  border: 1px solid rgba(177, 249, 225, 0.24);
  border-radius: 12px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(177, 249, 225, 0.1);
  padding: clamp(2rem, 3.5vw, 2.85rem);
  position: relative;
  overflow: hidden;
  color: var(--color-neutral-100);
}

.editorial-dossier-frame::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(177, 249, 225, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.dossier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(177, 249, 225, 0.15);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.dossier-seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
}

.dossier-seal-badge svg {
  color: var(--green-light);
}

.dossier-est {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-family: monospace;
}

.dossier-title-block h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
}

.dossier-title-block p {
  font-size: 0.88rem;
  color: var(--green-light-80);
  margin: 0 0 1.75rem 0;
}

.dossier-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(177, 249, 225, 0.12);
  border-radius: 8px;
  padding: 1.35rem;
  margin-bottom: 1.75rem;
}

.dossier-metric .metric-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.dossier-metric .metric-label {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
  display: block;
}

.dossier-accreditations {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.acc-tag {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
}

.acc-tag i {
  color: var(--green-light);
  font-size: 0.85rem;
}

.dossier-signature-block {
  border-top: 1px solid rgba(177, 249, 225, 0.15);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dossier-sign-line {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.02em;
}

.dossier-sign-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   COMPONENT: 4-STAGE WEALTH GOVERNANCE PROCESS
   ============================================================ */
.process-governance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.process-step-card {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  padding: 2.25rem 1.75rem;
  border-radius: 6px;
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--green-main);
  box-shadow: 0 16px 32px -8px rgba(5, 40, 36, 0.12);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-light);
  -webkit-text-stroke: 1px var(--green-main);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.process-step-badge {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 3px;
}

.process-step-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.process-step-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 0;
}

.process-step-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   COMPONENT: INSTITUTIONAL PARTNERS ECOSYSTEM
   ============================================================ */
.partners-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.partner-eco-card {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.partner-eco-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-main);
  box-shadow: 0 12px 28px -6px rgba(5, 40, 36, 0.12);
}

.partner-eco-card img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0.85rem;
  filter: grayscale(0%);
  transition: transform 0.3s ease;
}

.partner-eco-card:hover img {
  transform: scale(1.05);
}

.partner-eco-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-neutral-600);
}

/* ============================================================
   COMPONENT: FIDUCIARY CODE OF CONDUCT & CLIENT BILL OF RIGHTS
   ============================================================ */
.charter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}

.charter-card {
  background: linear-gradient(145deg, #03231f 0%, #021a16 100%);
  border: 1px solid rgba(177, 249, 225, 0.18);
  border-radius: 8px;
  padding: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--color-neutral-100);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.charter-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-light);
}

.charter-num {
  font-family: monospace;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.charter-card h4 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 1rem 0;
}

.charter-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--green-light-80);
  margin: 0;
}

/* Responsive queries for newly added components */
@media (max-width: 1024px) {
  .process-governance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .charter-grid {
    grid-template-columns: 1fr;
  }
  .process-governance-grid {
    grid-template-columns: 1fr;
  }
  .partners-ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   CONTACT PORTAL & BOOKING STYLES (LEOME TEMPLATE)
   ============================================================ */
.section.is_hero-contact {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: var(--color-neutral-300);
  padding-top: clamp(6.5rem, 12vh, 10rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border-light);
}

.channels-grid-leome {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.channel-card-leome {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  min-height: 260px;
}

.channel-card-leome:hover {
  transform: translateY(-5px);
  border-color: var(--green-main);
  box-shadow: 0 18px 36px -10px rgba(5, 40, 36, 0.12);
}

.channel-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(5, 40, 36, 0.06);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.channel-card-leome:hover .channel-icon-wrap {
  background: var(--green-main);
  color: var(--green-light);
  transform: scale(1.05);
}

.channel-card-leome h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}

.channel-card-leome p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-neutral-600);
  margin: 0;
}

.channel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-main);
  text-decoration: none;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  transition: gap 0.2s ease, color 0.2s ease;
}

.channel-link:hover {
  color: var(--green-dark);
  gap: 12px;
}

.contact-portal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 3.5rem;
}

.booking-console-card {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3.25rem);
  box-shadow: 0 18px 40px -15px rgba(5, 40, 36, 0.08);
}

.form-group-leome {
  margin-bottom: 1.35rem;
}

.form-label-leome {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-neutral-700);
  margin-bottom: 0.5rem;
}

.form-control-leome {
  width: 100%;
  padding: 0.95rem 1.15rem;
  font-family: var(--font-primary);
  font-size: 0.98rem;
  color: var(--green-main);
  background: var(--color-neutral-200);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-control-leome:focus {
  background: #ffffff;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(5, 40, 36, 0.1);
}

.map-showcase-card {
  background: linear-gradient(155deg, #03231f 0%, #011814 100%);
  border: 1px solid rgba(177, 249, 225, 0.2);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.6);
  color: var(--color-neutral-100);
}

.map-frame-wrap {
  width: 100%;
  height: 320px;
  position: relative;
  background: #021a16;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-details-wrap {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.map-amenities-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-amenities-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--green-light-80);
}

.map-amenities-list li i {
  color: var(--green-light);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.faq-grid-leome {
  max-width: 900px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-card-leome {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-card-leome[open] {
  border-color: var(--green-main);
  box-shadow: 0 12px 28px -8px rgba(5, 40, 36, 0.1);
}

.faq-summary-leome {
  padding: 1.4rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-summary-leome::-webkit-details-marker {
  display: none;
}

.faq-summary-leome .faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--green-main);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.faq-card-leome[open] .faq-summary-leome .faq-icon {
  transform: rotate(45deg);
  background: var(--green-main);
  color: var(--green-light);
  border-color: var(--green-main);
}

.faq-body-leome {
  padding: 0 1.75rem 1.6rem 1.75rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--color-neutral-700);
  border-top: 1px solid var(--border-light);
  padding-top: 1.15rem;
}

@media (max-width: 1024px) {
  .channels-grid-leome {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .channels-grid-leome {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICES TEMPLATE STYLES (MATCHING LEOME-AND-PARTNERS.COM/SERVICES)
   Editorial Typography · 12-Col Grid · Process Steps · Deliverables
   ============================================================ */
.section.is_hero-services {
  padding-top: clamp(7.5rem, 13vw, 11rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--color-neutral-300);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.service_hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-main);
  background: rgba(5, 40, 36, 0.06);
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.service_hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--green-main);
  margin-bottom: 1.75rem;
}

.service_hero-subtitle {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.6;
  color: var(--color-neutral-700);
  max-width: 780px;
  font-weight: 400;
}

.service_hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.service_hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-main);
}

.service_hero-meta-item i {
  color: #0b6953;
  font-size: 1rem;
}

/* Services Detailed Item List */
.service_item-list {
  display: flex;
  flex-direction: column;
}

.service_item {
  border-bottom: 1px solid var(--border-light);
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  transition: background-color 0.3s ease;
}

.service_item:hover {
  background-color: rgba(5, 40, 36, 0.015);
}

.service_item-grid {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: clamp(2rem, 4vw, 4rem);
}

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

.service_item-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b6953;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service_item-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--green-main);
  margin-bottom: 1rem;
}

.service_item-summary {
  font-size: 0.95rem;
  color: var(--color-neutral-600);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.service_item-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-main);
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--green-main);
  border-radius: 4px;
  background: transparent;
  transition: all 0.3s ease;
  width: fit-content;
}

.service_item-cta:hover {
  background: var(--green-main);
  color: var(--green-light);
}

.service_item-body {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.service_item-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-neutral-700);
}

/* Deliverables Grid */
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.deliverable-card {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.deliverable-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-main);
  box-shadow: 0 8px 20px -6px rgba(5, 40, 36, 0.08);
}

.deliverable-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(5, 40, 36, 0.06);
  color: #0b6953;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.deliverable-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 0.25rem;
}

.deliverable-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-neutral-600);
  margin: 0;
}

/* Service Stats Box */
.service-stat-box {
  background: var(--green-main);
  color: var(--color-neutral-100);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.service-stat-box .stat-highlight {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1.1;
}

.service-stat-box .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

/* Process Roadmap 3-Step */
.process-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-top: 3rem;
}

.process-step-card {
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-main);
}

.process-step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b6953;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 0.75rem;
}

.process-step-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-neutral-600);
  margin: 0;
}

/* Full Width Architectural Marquee Ticker */
.architectural-ticker {
  background: var(--green-main);
  color: var(--green-light);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: tickerSlide 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Service Detail Responsive Rules */
@media (max-width: 991px) {
  .service_item-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .deliverable-grid {
    grid-template-columns: 1fr;
  }
  .process-roadmap-grid {
    grid-template-columns: 1fr;
  }
  .service-stat-box {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   CEREBRIUM-INSPIRED STICKY SCROLL SHOWCASE & VELOCITY RAIL
   ============================================================ */
.cerebrium-section {
  position: relative;
  padding: clamp(5.5rem, 10vw, 9rem) 0;
  background: var(--green-dark);
  color: var(--color-neutral-100);
  overflow: visible;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.cerebrium-layout {
  display: grid;
  grid-template-columns: minmax(340px, 420px) 1fr;
  gap: clamp(2.5rem, 4.5vw, 5rem);
  align-items: start;
  position: relative;
}

@media (max-width: 991px) {
  .cerebrium-layout {
    grid-template-columns: 1fr;
  }
  .cerebrium-sticky-col {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 3rem;
  }
}

.cerebrium-sticky-col {
  position: sticky;
  top: 120px;
  align-self: start;
  z-index: 5;
  max-width: 100%;
}

.cerebrium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35rem 0.85rem;
  background: rgba(177, 249, 225, 0.08);
  border: 1px solid rgba(177, 249, 225, 0.25);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-light);
  margin-bottom: 1.25rem;
}

.cerebrium-badge-pulse,
.cerebrium-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 8px var(--green-light);
  display: inline-block;
  animation: cerebriumPulse 2s infinite ease-in-out;
}

@keyframes cerebriumPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.45; }
}

.cerebrium-sticky-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--color-neutral-100);
  margin-bottom: 1.25rem;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #b1f9e1 0%, #6be9c2 60%, #3dd598 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cerebrium-sticky-desc {
  font-size: 1.02rem;
  color: var(--color-neutral-400);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 95%;
}

/* Vertical Tracking Rail Navigation */
.cerebrium-nav-rail {
  position: relative;
  display: flex;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding-left: 20px;
}

.cerebrium-rail-line {
  position: absolute;
  left: 4px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(177, 249, 225, 0.14);
  border-radius: 2px;
}

.cerebrium-rail-thumb {
  position: absolute;
  left: 3px;
  width: 4px;
  height: 48px;
  background: var(--green-light);
  box-shadow: 0 0 14px var(--green-light);
  border-radius: 4px;
  top: 0;
  transition: top 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s ease;
}

.cerebrium-nav-items {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.cerebrium-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.cerebrium-nav-item:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(177, 249, 225, 0.1);
}

.cerebrium-nav-item.is-active {
  background: rgba(177, 249, 225, 0.08);
  border-color: rgba(177, 249, 225, 0.25);
  transform: translateX(4px);
}

.cerebrium-nav-num {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-light);
  opacity: 0.6;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.cerebrium-nav-item.is-active .cerebrium-nav-num {
  opacity: 1;
}

.cerebrium-nav-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cerebrium-nav-label {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-neutral-300);
  transition: color 0.25s ease;
}

.cerebrium-nav-item.is-active .cerebrium-nav-label {
  color: var(--green-light);
}

.cerebrium-nav-sub {
  font-size: 0.78rem;
  color: var(--color-neutral-400);
  opacity: 0.85;
}

/* Right Feature Cards Column */
.cerebrium-cards-col {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.cerebrium-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.2rem);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.cerebrium-card:hover {
  border-color: rgba(177, 249, 225, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cerebrium-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(177, 249, 225, 0.1);
  flex-wrap: wrap;
  gap: 10px;
}

.cerebrium-card-badge {
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--green-light);
  background: rgba(177, 249, 225, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(177, 249, 225, 0.2);
}

.cerebrium-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--green-light);
  background: rgba(177, 249, 225, 0.06);
  border: 1px solid rgba(177, 249, 225, 0.18);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.cerebrium-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 700;
  color: var(--color-neutral-100);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.cerebrium-card-text {
  font-size: 1rem;
  color: var(--color-neutral-400);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Micro-visualizer container */
.cerebrium-visualizer {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(177, 249, 225, 0.15);
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.75rem 0;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cerebrium-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cerebrium-metric-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-neutral-100);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cerebrium-metric-title i {
  color: var(--green-light);
}

.cerebrium-metric-sub {
  font-size: 0.78rem;
  color: var(--color-neutral-400);
  font-family: monospace;
  text-transform: uppercase;
}

/* Latency Comparison Bars */
.cerebrium-metric-bars {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.cerebrium-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cerebrium-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--color-neutral-300);
}

.cerebrium-bar-track {
  height: 9px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.cerebrium-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Multi-Asset Matrix Bar & Legend */
.cerebrium-matrix-preview {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cerebrium-matrix-bar {
  display: flex;
  height: 16px;
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cerebrium-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .cerebrium-legend {
    grid-template-columns: 1fr;
  }
}

.cerebrium-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-300);
}

.cerebrium-legend-item span {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

/* CLI Terminal Widget */
.cerebrium-terminal {
  background: #011412;
  border: 1px solid rgba(177, 249, 225, 0.18);
  border-radius: 10px;
  padding: 1.25rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
}

.cerebrium-terminal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cerebrium-term-dots {
  display: flex;
  gap: 6px;
}

.cerebrium-term-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.cerebrium-term-dots span:nth-child(1) { background: #ff5f56; }
.cerebrium-term-dots span:nth-child(2) { background: #ffbd2e; }
.cerebrium-term-dots span:nth-child(3) { background: #27c93f; }

.cerebrium-term-title {
  font-size: 0.76rem;
  color: var(--color-neutral-400);
}

.cerebrium-term-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cerebrium-term-line {
  color: #cbc8c5;
}

.cerebrium-term-line .t-green { color: #3dd598; font-weight: 700; margin-right: 4px; }
.cerebrium-term-line .t-cyan { color: var(--green-light); font-weight: 700; }
.cerebrium-term-line .t-yellow { color: #ffc542; font-weight: 700; }

/* Cadence Grid */
.cerebrium-cadence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 600px) {
  .cerebrium-cadence-grid {
    grid-template-columns: 1fr;
  }
}

.cerebrium-cadence-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem 1.15rem;
}

.cerebrium-cadence-box.is-highlight {
  background: rgba(177, 249, 225, 0.06);
  border-color: rgba(177, 249, 225, 0.3);
}

.cerebrium-cadence-tag {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-neutral-400);
  display: block;
  margin-bottom: 4px;
}

.cerebrium-cadence-box strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-neutral-100);
  margin-bottom: 4px;
}

.cerebrium-cadence-box p {
  font-size: 0.8rem;
  color: var(--color-neutral-400);
  line-height: 1.45;
  margin: 0;
}

/* Spec Grid at Bottom of Each Card */
.cerebrium-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(177, 249, 225, 0.1);
}

@media (max-width: 768px) {
  .cerebrium-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cerebrium-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cerebrium-spec-lbl {
  font-size: 0.76rem;
  color: var(--color-neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cerebrium-spec-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-light);
}

/* Continuous Velocity Marquee Rail */
.cerebrium-marquee-rail {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.cerebrium-marquee-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: cerebriumMarquee 35s linear infinite;
  will-change: transform;
}

@keyframes cerebriumMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cerebrium-marquee-rail:hover .cerebrium-marquee-inner {
  animation-play-state: paused;
}

.cerebrium-partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1.6rem;
  background: var(--color-neutral-100);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  color: var(--green-main);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(5, 40, 36, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.cerebrium-partner-pill i {
  color: #0b7a63;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.cerebrium-partner-pill:hover {
  background: var(--green-main);
  border-color: var(--green-main);
  color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 40, 36, 0.16);
}

.cerebrium-partner-pill:hover i {
  color: var(--green-light);
}

/* Dark mode fallback if inside dark theme section */
[data-theme-section="dark"] .cerebrium-partner-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-dark);
  color: var(--color-neutral-100);
  box-shadow: none;
}

[data-theme-section="dark"] .cerebrium-partner-pill i {
  color: var(--green-light);
}

[data-theme-section="dark"] .cerebrium-partner-pill:hover {
  background: rgba(177, 249, 225, 0.15);
  border-color: var(--green-light);
  color: var(--green-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-theme-section="dark"] .cerebrium-partner-pill:hover i {
  color: var(--green-light);
}


/* ============================================================
   DAVIDE CATTANEO SCROLLING ANIMATION & TECHNICAL CARD SUITE
   ============================================================ */

/* 1. Kinetic Text Scrub Reveal */
.dc-scrub-manifesto {
  line-height: 1.5;
  color: var(--color-neutral-100);
}

.dc-scrub-word {
  display: inline-block;
  opacity: 0.3;
  filter: blur(1.5px);
  transform: translateY(4px);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease, color 0.4s ease;
  will-change: opacity, filter, transform;
}

.dc-scrub-word.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  color: #ffffff;
  text-shadow: 0 0 20px rgba(177, 249, 225, 0.35);
}

/* 2. Technical Corner Crosshair Pins (.dc-card-pin) */
.dc-has-pins {
  position: relative !important;
  overflow: visible !important;
}

.dc-card-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Crosshair lines using pseudo-elements */
.dc-card-pin::before,
.dc-card-pin::after {
  content: '';
  position: absolute;
  background-color: var(--green-light);
  box-shadow: 0 0 6px rgba(177, 249, 225, 0.6);
}

.dc-card-pin::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 1px;
}

.dc-card-pin::after {
  top: 0;
  left: 6px;
  width: 1px;
  height: 14px;
}

.dc-pin-tl { top: -7px; left: -7px; }
.dc-pin-tr { top: -7px; right: -7px; }
.dc-pin-bl { bottom: -7px; left: -7px; }
.dc-pin-br { bottom: -7px; right: -7px; }

.expertise_item:hover .dc-card-pin,
.calc-card-leome:hover .dc-card-pin {
  opacity: 1;
  transform: scale(1.25);
}

/* 3. Ambient Cursor Tracking Spotlight (.dc-card-glow) */
.dc-card-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(177, 249, 225, 0.12),
    transparent 65%
  );
  z-index: 1;
}

.expertise_item:hover .dc-card-glow,
.calc-card-leome:hover .dc-card-glow {
  opacity: 1;
}

/* 4. Technical Index Label [ 001 ] */
.dc-tech-tag {
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--green-light);
  background: rgba(177, 249, 225, 0.08);
  border: 1px solid rgba(177, 249, 225, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  user-select: none;
}

/* 5. Subtle Technical Grid Pattern in Section Backgrounds */
.dc-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(177, 249, 225, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(177, 249, 225, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 85%);
}

/* 6. Hardware-accelerated 3D card tilt & smooth entry */
.expertise_item,
.calc-card-leome {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* ============================================================
   NEWSLETTER SUBSCRIPTION INPUT & PLACEHOLDER VISIBILITY
   ============================================================ */
input[type="email"]#email,
.form-control#email,
input#email,
.section input[type="email"] {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1.5px solid rgba(177, 249, 225, 0.5) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
}

input[type="email"]#email::placeholder,
.form-control#email::placeholder,
input#email::placeholder,
.section input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
}

input[type="email"]#email::-webkit-input-placeholder,
.section input[type="email"]::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
}

input[type="email"]#email::-moz-placeholder,
.section input[type="email"]::-moz-placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
}

input[type="email"]#email:-ms-input-placeholder,
.section input[type="email"]:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
}

input[type="email"]#email:focus,
.form-control#email:focus,
input#email:focus,
.section input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: var(--green-light) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 0.25rem rgba(177, 249, 225, 0.3), 0 0 20px rgba(177, 249, 225, 0.35) !important;
  outline: none !important;
}



/* ============================================================
   INVESTOSURE — MOBILE VIEWPORT OPTIMISATION
   File: mobile-responsive.css
   Author: Antigravity AI
   Purpose: ALL mobile-only overrides — desktop styles are NEVER
            modified here. Only @media (max-width: …) blocks.
   Breakpoints used:
     1024px — Tablet landscape
      768px — Tablet portrait / large phone
      576px — Small phone
      420px — Very small / old phones
   ============================================================ */


/* ============================================================
   1. GLOBAL LAYOUT & CONTAINER
   ============================================================ */
@media (max-width: 768px) {
  /* Give more breathing room on small screens */
  .leome-container {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  /* Sections - reduce vertical padding */
  .section {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  /* Prevent horizontal overflow globally */
  body, html {
    overflow-x: hidden;
  }
}

@media (max-width: 576px) {
  .leome-container {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}


/* ============================================================
   2. NAVIGATION — STICKY BAR & FULLSCREEN CURTAIN
   ============================================================ */
@media (max-width: 1024px) {
  /* Dynamic viewport height and tap support for navbar */
  .nav-full {
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  [data-navigation-status="active"].nav-full {
    pointer-events: auto !important;
  }

  /* Fullscreen nav tile — scroll all the way to the end smoothly */
  .nav-full__tile {
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    padding-top: clamp(4.5rem, 11vh, 6rem) !important;
    padding-bottom: clamp(6.5rem, 18vh, 12rem) !important;
    padding-left: clamp(1rem, 4vw, 2rem) !important;
    padding-right: clamp(1rem, 4vw, 2rem) !important;
    box-sizing: border-box !important;
  }

  .nav-full__grid {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    gap: 1.5rem !important;
  }

  .nav-full__sidebar {
    display: none !important;
  }

  .nav-full__ul {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .nav-full__li {
    flex: 0 0 auto !important;
    overflow: visible !important;
  }

  /* Bottom bar of nav - plenty of bottom margin so nothing gets clipped */
  .nav__bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    flex: 0 0 auto !important;
    margin-top: 2.5rem !important;
    margin-bottom: 2rem !important;
    padding-top: 1.5rem !important;
    padding-bottom: 2.5rem !important;
    border-top: 1px solid var(--border-dark) !important;
    font-size: 0.82rem !important;
    color: var(--green-light-80) !important;
  }

  .nav-count-badge {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Tighten the top nav bar */
  .nav-full__bar {
    padding: 0.8rem 1rem;
  }

  /* Logo text — slightly smaller on mobile */
  .nav-full__name {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  /* Logo image */
  .nav-full__logo-img {
    height: 28px;
  }

  /* Nav links — reduce font size */
  .nav-full__link {
    font-size: clamp(1.65rem, 7.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  /* Subitems — compact */
  .nav-full__subitems {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    margin-top: 0.4rem !important;
    padding: 0.35rem 0 0.45rem 1rem !important;
    border-left: 2px solid rgba(177, 249, 225, 0.25) !important;
  }

  .nav-full__subitem-link {
    font-size: 0.9rem !important;
    padding: 0.3rem 0 !important;
  }
}

@media (max-width: 420px) {
  .nav-full__tile {
    padding-top: 4.5rem !important;
    padding-bottom: 8.5rem !important;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }

  .nav-full__link {
    font-size: clamp(1.4rem, 6.5vw, 1.8rem) !important;
  }

  .nav-full__subitem-link {
    font-size: 0.84rem !important;
  }
}


/* ============================================================
   3. HERO SECTION — HOMEPAGE
   ============================================================ */
@media (max-width: 768px) {
  /* Hero section top padding — account for fixed nav */
  .section.is_hero {
    padding-top: clamp(5rem, 14vw, 7rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  /* Hero layout stacks to single column */
  .hero_layout {
    gap: 1rem;
  }

  /* Main heading — readable on phones */
  .hero_heading {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  /* Second heading group (Made / Simple) — push below card */
  .hero_heading.is_second {
    text-align: center;
  }

  /* Hero center image / card — full width on mobile */
  .hero_img-layout {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero_img-wrap {
    width: clamp(200px, 70vw, 320px) !important;
    margin: 0 auto;
  }

  /* Bottom categories row — wrap */
  .hero_bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .hero_bottom-txt {
    font-size: 0.78rem;
    padding: 0.4rem 0.6rem;
    white-space: normal;
    word-break: break-word;
  }

  /* Hero search block */
  .hero-search-block {
    margin: 1.5rem auto 0.5rem;
    padding: 0 0.25rem;
  }

  .hero-search-wrapper {
    flex-wrap: nowrap;
    gap: 0.4rem;
    padding: 0.4rem 0.5rem 0.4rem 1rem;
  }

  .hero-search-input {
    font-size: 0.88rem;
  }

  /* Hero trending pills — allow wrapping */
  .hero-pills {
    gap: 0.4rem;
    justify-content: center;
  }

  .hero-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.75rem;
  }

  /* Trust badges row */
  .hero-search-block .d-flex.justify-content-center {
    gap: 0.75rem !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 576px) {
  .hero_heading {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .hero_bottom {
    grid-template-columns: 1fr 1fr;
  }

  .hero-search-wrapper {
    border-radius: 12px;
    flex-wrap: wrap;
    padding: 0.6rem 0.75rem;
  }

  .hero-search-input {
    width: 100%;
    min-width: 0;
  }

  /* Explore button — full width on very small screens */
  .hero-search-block .btn-animate-chars {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* ============================================================
   4. PARALLAX FULLSCREEN SECTIONS
   ============================================================ */
@media (max-width: 768px) {
  /* Reduce minimum height on mobile — 100vh is too tall */
  .parallax-fullscreen {
    min-height: 80vh;
    min-height: 80svh;
    padding: clamp(2rem, 5vw, 3.5rem) 0;
  }

  /* Billboard card — fit viewport width */
  .parallax-billboard {
    width: min(92vw, 620px);
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }

  .parallax-billboard-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .parallax-billboard-desc {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .parallax-billboard-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Manifesto text scrub */
  .text-size-xlarge {
    font-size: clamp(1.25rem, 4.5vw, 2rem);
    line-height: 1.35;
  }

  .max-width-78 {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .parallax-fullscreen {
    min-height: 70vh;
    min-height: 70svh;
  }

  .parallax-billboard {
    width: 95vw;
    border-radius: 10px;
    padding: 1.25rem;
  }

  .parallax-billboard-title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .parallax-billboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 1rem;
  }
}


/* ============================================================
   5. STATS / TRACK RECORD SECTION
   ============================================================ */
@media (max-width: 768px) {
  .section.is_stats {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .stat-cell {
    padding: 1.75rem 1.25rem;
    border-bottom: 1px solid var(--border-dark);
    border-right: none !important;
  }

  .stat-number {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .stat-title {
    font-size: 0.95rem;
  }

  .stat-desc {
    font-size: 0.82rem;
  }

  /* Section heading alignment */
  .section.is_stats .horizontal_flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .stat-cell:nth-child(2) {
    border-top: 1px solid var(--border-dark);
  }
}


/* ============================================================
   6. EXPERTISE / ADVISORY CARDS (3-COL GRID)
   ============================================================ */
@media (max-width: 768px) {
  .grid_3-col {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .expertise_item {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .expertise_item {
    padding: 1.25rem;
  }
}


/* ============================================================
   7. PLANS SECTION — MODERN CARDS GRID
   ============================================================ */
@media (max-width: 768px) {
  .plans-grid-modern {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  /* Section heading — stack layout */
  .section.is_plans .horizontal_flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .plans-grid-modern {
    gap: 1rem;
  }
}


/* ============================================================
   8. CALCULATORS SECTION
   ============================================================ */
@media (max-width: 768px) {
  .calc-grid-modern {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .section.is_calculators .horizontal_flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}


/* ============================================================
   9. DC KINETIC TEXT SCRUB (DAVIDE CATTANEO ANIMATION)
   ============================================================ */
@media (max-width: 768px) {
  /* The word-by-word scrub text — reduce size to avoid overflow */
  .dc-scrub-manifesto {
    font-size: clamp(1.1rem, 4.5vw, 1.6rem);
    line-height: 1.5;
  }

  .dc-scrub-word {
    display: inline;   /* keep inline for natural wrapping */
  }
}


/* ============================================================
   10. ABOUT-PAGE HERO SECTION
   ============================================================ */
@media (max-width: 768px) {
  .section.is_hero-about {
    padding-top: clamp(5rem, 14vw, 7rem);
    padding-bottom: 2.5rem;
  }

  .hero_about-wrap {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero_about-wrap h1 {
    font-size: clamp(2.4rem, 10vw, 4rem);
    line-height: 0.95;
  }

  .hero_about-sub {
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
  }

  .hero_about-sub p {
    max-width: 100%;
    font-size: clamp(0.95rem, 3vw, 1.1rem);
  }
}

@media (max-width: 576px) {
  .hero_about-wrap h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}


/* ============================================================
   11. TEAM / ROLE CARDS GRID (FULL-TIME PAGE)
   ============================================================ */
@media (max-width: 991px) {
  .grid_12-col.is_team {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .grid_12-col.is_team {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .team_item-cta {
    min-height: auto;
    padding: 1.5rem 1.25rem;
  }
}


/* ============================================================
   12. EDITORIAL GRID (ABOUT / SERVICES PAGES)
   ============================================================ */
@media (max-width: 768px) {
  .editorial-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .editorial-lead {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .editorial-quote {
    font-size: clamp(1rem, 3.5vw, 1.2rem);
    padding: 1rem 1.25rem;
  }
}


/* ============================================================
   13. ODOMETER / STATS SECTION (ABOUT PAGE)
   ============================================================ */
@media (max-width: 576px) {
  .odometer-grid {
    grid-template-columns: 1fr !important;
  }

  .odometer-cell {
    padding: 1.5rem 1.25rem;
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
  }
}


/* ============================================================
   14. TIMELINE / ROADMAP GRID
   ============================================================ */
@media (max-width: 640px) {
  .timeline-architectural {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}


/* ============================================================
   15. WHY GRID (ABOUT PAGE)
   ============================================================ */
@media (max-width: 576px) {
  .why-grid-architectural {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   16. CONTACT CHANNELS GRID
   ============================================================ */
@media (max-width: 768px) {
  .channels-grid-leome {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .channels-grid-leome {
    grid-template-columns: 1fr !important;
  }

  .channel-card-leome {
    min-height: auto;
    padding: 1.5rem 1.25rem;
  }
}


/* ============================================================
   17. SERVICES / ADVISORY / PLANS HERO (SERVICE PAGES)
   ============================================================ */
@media (max-width: 768px) {
  .section.is_hero-services {
    padding-top: clamp(5rem, 14vw, 7rem);
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
  }

  .service_hero-title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }

  .service_hero-meta {
    gap: 0.85rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .service_item-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
}


/* ============================================================
   18. CEREBRIUM STICKY SCROLL (ABOUT PAGE)
   ============================================================ */
@media (max-width: 768px) {
  .cerebrium-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .cerebrium-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .cerebrium-sticky-col {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 2rem;
  }

  .cerebrium-sticky-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cerebrium-spec-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .cerebrium-spec-grid {
    grid-template-columns: 1fr !important;
  }

  .cerebrium-cards-col {
    padding: 0;
  }
}


/* ============================================================
   19. GRAND ARCHITECTURAL FOOTER
   ============================================================ */
@media (max-width: 768px) {
  .footer.leome-footer {
    background: var(--green-dark) !important;
    padding: clamp(2rem, 5vw, 2.75rem) 0 1.5rem;
    text-align: center;
  }

  .footer-layout .grid_12-col {
    gap: 2.25rem 0 !important;
  }

  /* Footer Logo & Brand Column - Centered */
  .footer-logo-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-logo-col a.d-flex,
  .footer-logo-col .d-flex.align-items-center {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 auto 0.75rem auto !important;
    gap: 0.75rem !important;
  }

  .footer-logo-col img,
  .leome-footer .footer-logo-col img {
    height: 40px !important;
    width: auto !important;
    max-width: 60px !important;
    margin: 0 !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
  }

  .footer-logo-col a.d-flex span,
  .footer-logo-col .d-flex.align-items-center span {
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .footer-logo-col p {
    text-align: center;
    margin: 0.75rem auto 0 auto;
    max-width: 520px;
    line-height: 1.6;
  }

  .footer-logo-col .d-flex.gap-3 {
    justify-content: center !important;
    width: 100%;
    margin-top: 1.25rem !important;
  }

  /* Footer Navigation Category Columns - Centered */
  .footer-nav-col {
    text-align: center;
    width: 100%;
  }

  .footer__ul {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem 1rem !important;
    text-align: center;
    justify-items: center;
    align-items: start;
    padding: 0;
    margin: 0;
  }

  .footer-nav-col li {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-nav-col .small.fw-bold {
    text-align: center;
    width: 100%;
  }

  .footer-nav-col .d-flex.flex-column {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }

  .footer__link {
    font-size: 0.95rem;
    text-align: center;
    display: inline-block;
  }

  /* Footer Contact / Consultancy Hours - Centered */
  .footer-contact-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .footer-contact-col .small.fw-bold {
    text-align: center;
    width: 100%;
  }

  .footer-contact-col p {
    text-align: center;
    margin: 0.5rem auto 0 auto;
    line-height: 1.6;
  }

  .footer-contact-col .bolt {
    margin: 1.25rem auto 0 auto !important;
    display: inline-block;
  }

  /* Footer massive display text - Centered */
  .footer-middle {
    margin: clamp(1.25rem, 3vw, 1.75rem) 0 clamp(0.75rem, 2vw, 1.25rem);
    overflow: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
  }

  .footer-text-display {
    font-size: clamp(2rem, 7vw, 4rem);
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
  }

  /* Footer Disclaimer Section - Centered */
  .footer.leome-footer .py-3,
  .footer-layout > .py-3 {
    text-align: center;
  }

  .footer.leome-footer .py-3 p,
  .footer-layout > .py-3 p {
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
  }

  /* Footer Bottom Grid (Copyright & Policy Links) - Centered */
  .footer-bottom-grid {
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    justify-content: center !important;
    gap: 1.25rem;
  }

  .footer-bottom-grid > div:first-child {
    text-align: center;
    width: 100%;
  }

  .footer-bottom-links {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .footer__ul {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .footer__link {
    font-size: 0.92rem;
  }

  .footer-text-display {
    font-size: clamp(2rem, 11.5vw, 5rem);
  }

  .footer-bottom-links {
    gap: 0.85rem 1.25rem;
  }
}

@media (max-width: 420px) {
  .footer__ul {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   20. NEWSLETTER SECTION (HOMEPAGE / ALL PAGES)
   ============================================================ */
@media (max-width: 768px) {
  /* Newsletter form — stack input and button */
  .newsletter-form-leome,
  .section [class*="newsletter"] form,
  .section form.d-flex {
    flex-direction: column !important;
    gap: 0.75rem;
  }

  .section [class*="newsletter"] input[type="email"],
  .section input[type="email"]#email {
    width: 100% !important;
    border-radius: 999px !important;
  }

  .section [class*="newsletter"] button[type="submit"],
  .section .btn-animate-chars[type="submit"] {
    width: 100% !important;
    border-radius: 999px !important;
    text-align: center;
    justify-content: center;
  }
}


/* ============================================================
   21. TESTIMONIALS / SWIPER
   ============================================================ */
@media (max-width: 768px) {
  /* Swiper navigation arrows — hide on mobile (swipe available) */
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  /* Give pagination some breathing room */
  .swiper-pagination {
    bottom: 0.5rem !important;
  }
}


/* ============================================================
   22. SECTION HEADINGS — EDITORIAL TYPOGRAPHY
   ============================================================ */
@media (max-width: 768px) {
  /* All large editorial headings */
  .heading-editorial {
    font-size: clamp(1.5rem, 5.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  /* horizontal flex between — stack on mobile */
  .horizontal_flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  /* Bolt-wrap — keep compact */
  .bolt-wrap {
    margin-bottom: 1.25rem;
  }
}


/* ============================================================
   23. PARALLAX BILLBOARD HERO SECTIONS (CAREER / ABOUT ETC.)
   ============================================================ */
@media (max-width: 768px) {
  .parallax-billboard-title {
    font-size: clamp(1.5rem, 6vw, 2.4rem);
  }
}


/* ============================================================
   24. PROCESS / GOVERNANCE / HIRING GRIDS
   ============================================================ */
@media (max-width: 768px) {
  .process-governance-grid {
    grid-template-columns: 1fr !important;
  }

  .process-roadmap-grid {
    grid-template-columns: 1fr !important;
  }

  .partners-ecosystem-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .partners-ecosystem-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   25. BLOG LIST PAGE / CARDS
   ============================================================ */
@media (max-width: 768px) {
  /* Blog grid — stacks on mobile */
  .row.blog-posts-grid > [class*="col-md"] {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}


/* ============================================================
   26. FINANCIAL HEALTH CALCULATOR (test.html)
   ============================================================ */
@media (max-width: 768px) {
  /* Multi-step form — full width steps */
  .calculator-step,
  .fhc-step,
  [class*="calc-step"] {
    padding: 1.25rem !important;
  }

  /* Result cards — stack */
  .result-grid,
  [class*="result-card"] {
    grid-template-columns: 1fr !important;
  }
}


/* ============================================================
   27. MODAL / SLIDE-OVER DRAWER
   ============================================================ */
@media (max-width: 576px) {
  .modal__card {
    max-width: 100% !important;
    padding: 1rem 0.85rem;
    border-radius: 0;
  }

  .modal__h2 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }
}


/* ============================================================
   28. BREADCRUMB
   ============================================================ */
@media (max-width: 576px) {
  .breadcrumb-leome {
    font-size: 0.78rem;
    gap: 0.4rem;
    flex-wrap: wrap;
  }
}


/* ============================================================
   29. MVV / CHARTER GRIDS (ABOUT PAGE)
   ============================================================ */
@media (max-width: 768px) {
  .charter-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .mvv-grid-leome {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}


/* ============================================================
   30. DC CARD CROSSHAIR PINS — DISABLE 3D TILT ON TOUCH DEVICES
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  /* Disable 3D tilt on touch — only JS-driven on desktop */
  .expertise_item,
  .calc-card-leome {
    transform-style: flat;
    will-change: auto;
  }

  /* Glow overlay — always visible on touch (no hover) */
  .dc-card-glow {
    display: none;
  }

  /* Pins — always show at reduced opacity */
  .dc-card-pin {
    opacity: 0.4;
  }
}


/* ============================================================
   31. MISC — OVERFLOW / UTILITY FIXES
   ============================================================ */
@media (max-width: 768px) {
  /* Marquee rails — keep them contained */
  .cerebrium-marquee-rail {
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }

  /* Service ticker */
  .ticker-rail {
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }

  /* Horizontal flex — wrap on mobile */
  .d-flex.gap-4,
  .d-flex.gap-3 {
    flex-wrap: wrap;
  }

  /* Dossier / editorial side frames — remove fixed widths */
  .dossier-frame,
  .editorial-dossier {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 576px) {
  /* SIP / Tax calculator — compact inputs */
  .sip-form-group,
  .calculator-form-group {
    margin-bottom: 1rem;
  }

  /* Result numbers — smaller on very small screens */
  .sip-result-value,
  .calc-result-value {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
  }
}

/* ============================================================
   32. MAIL ENGINE CHOOSER MODAL (GMAIL, OUTLOOK, YAHOO, NATIVE)
   ============================================================ */
.mail-engine-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(2, 29, 26, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mail-engine-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mail-engine-modal {
  background: #ffffff;
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(5, 40, 36, 0.12);
  overflow: hidden;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mail-engine-backdrop.is-open .mail-engine-modal {
  transform: translateY(0) scale(1);
}

.mail-engine-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 1.5rem 1rem;
}

.mail-engine-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mail-engine-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(177, 249, 225, 0.4);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mail-engine-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--green-main);
  margin: 0 0 0.15rem;
}

.mail-engine-sub {
  font-size: 0.82rem;
  color: var(--color-neutral-600);
  margin: 0;
  line-height: 1.4;
}

.mail-engine-close-btn {
  background: transparent;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-neutral-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.18s, color 0.18s;
}

.mail-engine-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--color-neutral-800);
}

/* Recipient info bar */
.mail-engine-recipient-bar {
  margin: 0 1.5rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mail-engine-recip-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  overflow: hidden;
}

.mail-engine-recip-lbl {
  color: var(--color-neutral-500);
  font-weight: 600;
}

.mail-engine-recip-email {
  font-family: monospace;
  font-weight: 700;
  color: var(--green-main);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.mail-engine-copy-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-neutral-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mail-engine-copy-btn:hover {
  background: #fff;
  border-color: var(--green-main);
  color: var(--green-main);
}

.mail-engine-copy-btn.is-copied {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

/* Options Grid */
.mail-engine-options-grid {
  padding: 0 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mail-engine-opt-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 9px;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s, background 0.18s, transform 0.15s;
}

.mail-engine-opt-card:hover {
  border-color: var(--green-main);
  background: rgba(177, 249, 225, 0.12);
  transform: translateX(2px);
  color: inherit;
}

.mail-engine-opt-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.mail-engine-opt-text {
  flex: 1;
  min-width: 0;
}

.mail-engine-opt-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 2px;
}

.mail-engine-opt-desc {
  font-size: 0.78rem;
  color: var(--color-neutral-600);
  line-height: 1.3;
}

.mail-engine-opt-arrow {
  color: var(--color-neutral-400);
  font-size: 0.85rem;
  transition: transform 0.2s, color 0.2s;
}

.mail-engine-opt-card:hover .mail-engine-opt-arrow {
  color: var(--green-main);
  transform: translateX(2px);
}

.mail-engine-footer {
  padding: 0.85rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--color-neutral-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mail-engine-tip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

@media (max-width: 576px) {
  .mail-engine-modal {
    margin: 0;
    max-width: 100%;
    border-radius: 12px;
  }
  .mail-engine-header {
    padding: 1.25rem 1.15rem 0.85rem;
  }
  .mail-engine-title {
    font-size: 1.15rem;
  }
  .mail-engine-recipient-bar {
    margin: 0 1.15rem 0.85rem;
  }
  .mail-engine-options-grid {
    padding: 0 1.15rem 1rem;
    gap: 0.55rem;
  }
  .mail-engine-opt-card {
    padding: 0.65rem 0.85rem;
  }
}


