/* ============================================================
   Braces & Smiles — Olive Architecture
   Uniform Plus Jakarta Sans, stable rem scale (no viewport
   inflation), sharp edges, numbered sections.
   ============================================================ */

:root {
  --olive: #656C4D;
  --olive-deep: #3f4430;
  --olive-soft: #8b9278;
  --olive-mist: #dfe3d4;
  --ink: #141611;
  --ink-muted: #4a4e43;
  --paper: #eef1ea;
  --paper-deep: #e2e6db;
  --snow: #fbfcf9;
  --line: rgba(20, 22, 17, 0.12);
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-soft: 0 14px 40px rgba(20, 22, 17, 0.09);
  --shadow-nav: 0 8px 22px rgba(20, 22, 17, 0.07);
  --container: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Single UI family + elegant display for hero/slider titles */
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --topbar-h: 32px;
  --header-h: 52px;
  --chrome-h: calc(var(--topbar-h) + var(--header-h));
  /* Density scale: keeps rem sizing identical across hosts */
  --fs-root: 15px;
}

@media (max-width: 767.98px) {
  :root {
    --topbar-h: 0px;
    --header-h: 50px;
    --chrome-h: 50px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --header-h: 52px;
    --chrome-h: calc(var(--topbar-h) + var(--header-h));
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

/*
  Lock root font-size in px so rem-based UI does not grow with
  viewport width or browser default differences between hosts.
*/
html {
  font-size: var(--fs-root);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  background:
    linear-gradient(180deg, #f6f8f3 0%, var(--paper) 40%, #e8ecdf 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Diagonal atelier stripe (unique atmosphere, not flat/cream) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 72px,
      rgba(101, 108, 77, 0.035) 72px,
      rgba(101, 108, 77, 0.035) 73px
    );
}

body > * { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 0;
  text-wrap: balance;
}

a {
  color: var(--olive);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--olive-deep); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container-editorial {
  width: min(100% - 2.25rem, var(--container));
  margin-inline: auto;
}

/* ---------- Buttons: sharp studio chips ---------- */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--olive);
  background: var(--olive);
  color: var(--snow) !important;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-editorial:hover {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--snow) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-editorial--ghost {
  background: transparent;
  border-color: rgba(251, 252, 249, 0.7);
  color: var(--snow) !important;
}

.btn-editorial--ghost:hover {
  background: rgba(251, 252, 249, 0.12);
}

.btn-editorial--outline {
  background: transparent;
  border-color: var(--olive);
  color: var(--olive) !important;
}

.btn-editorial--outline:hover {
  background: var(--olive);
  color: var(--snow) !important;
}

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--olive-deep);
  color: rgba(251, 252, 249, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar__contact,
.top-bar__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar__contact span,
.top-bar__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
}

.top-bar__social a:hover { color: #fff; }

@media (max-width: 767.98px) {
  .top-bar { display: none; }
}

/* ---------- Header / logo ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 241, 234, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

body.scrolled .site-header {
  background: rgba(251, 252, 249, 0.96);
  box-shadow: var(--shadow-nav);
  border-bottom-color: var(--olive-mist);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding-block: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}

.site-logo img,
.header .logo img,
.site-header .site-logo img {
  height: 40px !important;
  max-height: none !important;
  width: auto !important;
  max-width: min(38vw, 150px) !important;
  object-fit: contain;
  transition: height 0.3s var(--ease);
}

@media (max-width: 991.98px) {
  .site-header__inner { min-height: 50px; }
  .site-logo img,
  .header .logo img,
  .site-header .site-logo img {
    height: 36px !important;
  }
}

@media (max-width: 575.98px) {
  .site-header__inner { min-height: 48px; }
  .site-logo img,
  .header .logo img,
  .site-header .site-logo img {
    height: 34px !important;
    max-width: 46vw !important;
  }
}

.navmenu { margin-left: auto; }

.navmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.05rem 0.95rem;
}

.navmenu a {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.2rem 0;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.navmenu a:hover,
.navmenu .active > a,
.navmenu a.active { color: var(--olive); }

.navmenu .dropdown { position: relative; }

.navmenu .dropdown ul {
  display: none;
  position: absolute;
  min-width: 230px;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
  left: 0 !important;
  right: auto !important;
  text-align: left;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.navmenu .dropdown:hover > ul,
.navmenu .dropdown.active > ul,
.navmenu .dropdown .dropdown-active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.navmenu .dropdown ul li {
  width: 100%;
  text-align: left;
}

.navmenu .dropdown ul a {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-align: left !important;
  justify-content: flex-start !important;
}

.navmenu .dropdown ul a:hover { background: var(--olive-mist); }

.mobile-nav-toggle {
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--ink);
  margin-left: 0.35rem;
  z-index: 1001;
  position: relative;
}

.header-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
  padding: 0.45rem 0.8rem;
  font-size: 0.68rem;
}

@media (min-width: 1200px) {
  .mobile-nav-toggle { display: none !important; }

  .site-header .navmenu ul {
    display: flex !important;
    position: static !important;
    flex-direction: row;
    align-items: center;
    gap: 0.05rem 0.95rem;
    background: transparent !important;
    box-shadow: none !important;
    inset: auto !important;
  }

  .site-header .navmenu .dropdown ul {
    display: none !important;
    position: absolute !important;
    min-width: 240px;
    top: 100%;
    left: 0 !important;
    right: auto !important;
    margin: 0 !important;
    background: var(--snow) !important;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 0.5rem !important;
    flex-direction: column;
    text-align: left;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
  }

  .site-header .navmenu .dropdown:hover > ul {
    display: flex !important;
    top: 100% !important;
    left: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  .site-header .navmenu .dropdown ul a {
    text-align: left !important;
    justify-content: flex-start !important;
  }
}

@media (max-width: 1199.98px) {
  .navmenu {
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(88vw, 360px) !important;
    height: 100vh !important;
    background: var(--snow) !important;
    padding: 5.5rem 1.5rem 2rem !important;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease) !important;
    box-shadow: var(--shadow-soft);
    overflow-y: auto !important;
    z-index: 999 !important;
  }

  body.mobile-nav-active .navmenu { transform: translateX(0) !important; }
  body.mobile-nav-active { overflow: hidden; }

  body.mobile-nav-active .mobile-nav-toggle {
    color: var(--ink) !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    font-size: 1.7rem !important;
    z-index: 1001 !important;
  }

  .navmenu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.25rem !important;
    position: static !important;
    inset: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .navmenu a,
  .navmenu a:focus {
    padding: 0.7rem 0.25rem !important;
    justify-content: flex-start !important;
  }

  .navmenu .dropdown ul {
    position: static !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0.25rem 0 0.25rem 0.75rem !important;
    display: none !important;
    margin: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .navmenu .dropdown .dropdown-active,
  .navmenu .dropdown > .dropdown-active {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.mobile-nav-active::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 17, 0.45);
    z-index: 998;
  }

  .header-cta { display: none !important; }
}

/* ---------- Consultation modal ---------- */
.consult-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(20, 22, 17, 0.58);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.consult-modal.is-open { display: flex; }

.consult-modal__panel {
  background: var(--snow);
  width: min(100%, 440px);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem 1.35rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  max-height: 90vh;
  overflow-y: auto;
  border-top: 4px solid var(--olive);
}

.consult-modal__panel h2 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.consult-modal__panel p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.consult-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
}

.consult-modal input,
.consult-modal textarea,
.form-editorial input,
.form-editorial textarea,
.form-editorial select {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.consult-modal input:focus,
.consult-modal textarea:focus,
.form-editorial input:focus,
.form-editorial textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(101, 108, 77, 0.16);
}

.form-editorial .row input,
.form-editorial .row textarea { margin-bottom: 0; }

/* ---------- Page masthead ---------- */
.page-masthead {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.25rem, 4vw, 3.25rem);
  background:
    linear-gradient(115deg, var(--olive-deep) 0%, var(--olive) 52%, #7a8260 100%);
  color: rgba(251, 252, 249, 0.9);
  overflow: hidden;
}

.page-masthead::before {
  content: "B&S";
  position: absolute;
  right: -2%;
  bottom: -18%;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.8;
  color: rgba(251, 252, 249, 0.07);
  letter-spacing: -0.06em;
  pointer-events: none;
}

.page-masthead__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251, 252, 249, 0.75);
  margin-bottom: 0.9rem;
}

.page-masthead__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: rgba(251, 252, 249, 0.65);
}

.page-masthead h1 {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(2.1rem, 1.5rem + 1.8vw, 3.1rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.page-masthead p {
  max-width: 42ch;
  margin: 0;
  font-size: 0.95rem;
  color: rgba(251, 252, 249, 0.82);
}

.page-masthead a { color: inherit; }

/* ---------- Sections ---------- */
.section-editorial {
  padding: clamp(2.75rem, 5vw, 4.5rem) 0;
  position: relative;
}

.section-editorial--sage {
  background: linear-gradient(180deg, var(--olive-mist) 0%, var(--paper) 100%);
}

.section-editorial--olive {
  background:
    linear-gradient(135deg, var(--olive-deep) 0%, var(--olive) 55%, #73805a 100%);
  color: rgba(251, 252, 249, 0.88);
}

.section-editorial--olive h2,
.section-editorial--olive h3,
.section-editorial--olive .section-kicker { color: #fff; }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.85rem;
}

.section-kicker::before {
  content: attr(data-index);
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 1.35rem + 1.3vw, 2.55rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
}

.section-lead {
  max-width: 48ch;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.section-heading-row .section-lead { margin-bottom: 0; }

/* ---------- Hero: green left panel + full-bleed image (no top/bottom green bars) ---------- */
section.hero-editorial,
.hero-editorial {
  position: relative;
  height: calc(100svh - var(--chrome-h));
  min-height: calc(100svh - var(--chrome-h));
  max-height: calc(100svh - var(--chrome-h));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  color: #fff;
  /* Kill Presento section padding/bg that created white gaps */
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  scroll-margin-top: 0 !important;
}

.hero-editorial__media {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  order: 2;
  background: #111;
}

.hero-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  animation: heroKenBurns 24s var(--ease) infinite alternate;
  transform-origin: center center;
}

.hero-editorial__veil {
  display: none;
}

.hero-editorial__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  height: 100%;
  padding: clamp(1.25rem, 3.2vh, 2.5rem) clamp(1.15rem, 2.8vw, 2.5rem);
  background:
    linear-gradient(160deg, var(--olive-deep) 0%, var(--olive) 70%, #7a8460 100%);
  order: 1;
  overflow: hidden;
}

.hero-editorial__content::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  width: 3px;
  height: 28%;
  background: rgba(251, 252, 249, 0.35);
}

.hero-brand {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  opacity: 0.88;
}

.hero-editorial h1 {
  font-family: var(--serif);
  color: #fff;
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.35rem);
  font-weight: 600;
  max-width: 14ch;
  margin-bottom: 0.75rem;
  animation: heroFadeUp 0.85s var(--ease) both;
  text-shadow: none;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-style: normal;
}

.hero-editorial__text {
  font-family: var(--body);
  color: rgba(251, 252, 249, 0.88);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  max-width: 36ch;
  margin-bottom: 1.25rem;
  animation: heroFadeUp 0.85s 0.1s var(--ease) both;
}

.hero-editorial__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: heroFadeUp 0.85s 0.18s var(--ease) both;
}

.hero-mark {
  position: absolute;
  top: 5%;
  left: 5%;
  right: auto;
  font-family: var(--serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(251, 252, 249, 0.09);
  pointer-events: none;
  z-index: 1;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-editorial__media img,
  .hero-editorial h1,
  .hero-editorial__text,
  .hero-editorial__actions { animation: none; }
}

@media (max-width: 991.98px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .hero-editorial__media {
    order: 1;
    height: 100%;
    min-height: 0;
  }

  .hero-editorial__content {
    order: 2;
    height: 100%;
    justify-content: center;
    padding: clamp(1.15rem, 3vh, 1.85rem) 1.25rem;
  }

  .hero-editorial__content::after { display: none; }

  .hero-editorial h1 {
    font-size: clamp(1.85rem, 1.3rem + 2vw, 2.45rem);
    max-width: 16ch;
  }
}

/* ---------- Intro / About split ---------- */
.intro-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: center;
}

.intro-split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  background: var(--olive-mist);
  box-shadow: var(--shadow-soft);
}

.intro-split__media::before {
  content: "";
  position: absolute;
  inset: 14px -12px -12px 14px;
  border: 1.5px solid var(--olive);
  z-index: 0;
  pointer-events: none;
}

.intro-split__media::after {
  content: "Est. care";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(63, 68, 48, 0.72);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.intro-split__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-split__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
}

.intro-split__body .section-kicker {
  margin-bottom: 0.65rem;
}

.intro-split__body h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.45rem + 1.4vw, 2.85rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 16ch;
}

.intro-split__copy {
  position: relative;
  padding-left: 1.15rem;
  border-left: 2px solid var(--olive);
}

.intro-split__body p,
.intro-split__copy p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.intro-split__body p:last-child,
.intro-split__copy p:last-child {
  margin-bottom: 0;
}

.intro-split__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.intro-split__highlight {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.75rem;
}

.intro-split__highlight strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.intro-split__highlight span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.intro-split__cta {
  margin-top: 1.5rem;
}

#intro.section-editorial {
  padding-top: clamp(2.75rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
  margin-top: 0 !important;
  margin-bottom: 0;
  background:
    linear-gradient(180deg, #f7f9f3 0%, var(--paper) 55%, #e9ede2 100%) !important;
}

@media (max-width: 991.98px) {
  .intro-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-split__media {
    aspect-ratio: 16 / 10;
    max-height: 340px;
  }
  .intro-split__media::before {
    inset: 12px -10px -10px 12px;
  }
  .intro-split__body h2 { max-width: none; }
  .intro-split__highlights { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575.98px) {
  .intro-split__highlights { grid-template-columns: 1fr; }
  .intro-split__copy { padding-left: 0.9rem; }
}

.main {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.index-page .site-header {
  margin-bottom: 0 !important;
  border-bottom-width: 0;
}

.index-page main.main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.index-page main > section {
  scroll-margin-top: 0;
}

.index-page main > section.section-editorial {
  padding-left: 0;
  padding-right: 0;
}

/* ---------- Services mosaic ---------- */
.services-editorial {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-auto-rows: minmax(180px, 22vw);
  gap: 0.7rem;
}

.service-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff !important;
  isolation: isolate;
  min-height: 180px;
}

.service-tile:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 22, 17, 0.88) 100%);
  z-index: 1;
}

.service-tile__label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.35rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
}

.service-tile:hover img { transform: scale(1.05); }

@media (max-width: 991.98px) {
  .services-editorial {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(170px, 30vw);
  }
  .service-tile:first-child {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  .services-editorial {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px;
  }
  .service-tile:first-child {
    grid-column: auto;
  }
}

/* ---------- Stats rail ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-item {
  padding: 1.35rem 0.85rem;
  text-align: left;
  border-right: 1px solid var(--line);
}

.stat-item:last-child { border-right: 0; }

.stat-item__num {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.65rem);
  font-weight: 800;
  color: var(--olive);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
  max-width: 14ch;
}

@media (max-width: 991.98px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 400px) {
  .stats-band { grid-template-columns: 1fr; }
  .stat-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat-item:last-child { border-bottom: 0; }
}

/* ---------- Partners ---------- */
.partners-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem 2rem;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.partner-logo img {
  max-width: 140px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.42;
  transition: filter 0.35s, opacity 0.35s, transform 0.35s;
}

.partner-logo:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}

/* ---------- FAQ ---------- */
.faq-editorial {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
}

.faq-editorial > li { border-bottom: 1px solid var(--line); }

.faq-editorial a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.faq-editorial a i {
  color: var(--olive);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.faq-editorial .collapse p,
.faq-editorial .faq-content p {
  padding: 0 0 1.25rem;
  margin: 0;
  color: var(--ink-muted);
}

.faq-item-editorial {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  cursor: pointer;
  position: relative;
}

.faq-item-editorial h3 {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  padding-right: 2rem;
  margin: 0;
  letter-spacing: 0;
}

.faq-item-editorial .faq-content {
  display: none;
  padding-top: 0.75rem;
}

.faq-item-editorial.faq-active .faq-content { display: block; }

.faq-item-editorial .faq-toggle {
  position: absolute;
  right: 0;
  top: 1.25rem;
  color: var(--olive);
  transition: transform 0.3s;
}

.faq-item-editorial.faq-active .faq-toggle { transform: rotate(90deg); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--snow);
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  height: 100%;
}

.testimonial-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.55rem 0 0.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.testimonial-card h4 {
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin: 0 0 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testimonial-card .stars {
  color: var(--olive);
  margin-bottom: 0.7rem;
}

.testimonial-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-muted);
}

.testimonial-avatar {
  font-size: 2.1rem;
  color: var(--olive-soft);
}

.swiper-pagination-bullet-active { background: var(--olive) !important; }

/* ---------- About blocks ---------- */
.editorial-blocks {
  display: grid;
  gap: 1.15rem;
}

.editorial-block {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: 1.5rem;
  padding: 1.5rem 1.35rem;
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--olive);
  box-shadow: var(--shadow-soft);
}

.editorial-block__label {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--olive);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.editorial-block p,
.editorial-block div,
.editorial-block__body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.editorial-block__body p { margin: 0 0 0.75rem; }
.editorial-block__body p:last-child { margin-bottom: 0; }
.editorial-block p + p { margin-top: 0.75rem; }

@media (max-width: 767.98px) {
  .editorial-block {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 1.2rem 1.05rem;
  }
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card { margin: 0; }

.team-card__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.team-card__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--olive-mist);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 88% 100%, 0 100%);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.35s;
}

.team-card__hint {
  position: absolute;
  right: 0.9rem;
  bottom: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}

.team-card__trigger:hover .team-card__photo img,
.team-card__trigger:focus-visible .team-card__photo img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

.team-card__trigger:hover .team-card__hint,
.team-card__trigger:focus-visible .team-card__hint {
  opacity: 1;
  transform: translateY(0);
}

.team-card__meta {
  padding-top: 0.15rem;
}

.team-card__meta h3 {
  font-size: 1.3rem;
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.team-card__role {
  color: var(--olive);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  line-height: 1.4;
}

.team-card__cta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--olive);
  padding-bottom: 0.15rem;
  margin-top: 0.15rem;
}

body.team-modal-open { overflow: hidden; }

.team-modal[hidden] { display: none !important; }

.team-modal {
  position: fixed;
  inset: 0;
  z-index: 10080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

#team-modals {
  position: relative;
  z-index: 10080;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 17, 0.62);
}

.team-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  background: var(--snow);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--olive);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-height: 90vh;
  overflow: auto;
  animation: heroFadeUp 0.35s var(--ease) both;
}

.team-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: 0;
  background: transparent;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
}

.team-modal__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.team-modal__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--olive-mist);
}

.team-modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-modal__body {
  padding: 0.35rem 0.25rem 0.35rem 0.15rem;
}

.team-modal__body .team-card__role {
  margin: 0 0 0.65rem;
}

.team-modal__body h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  margin: 0 0 1.15rem;
  line-height: 1.15;
}

.team-modal__bio {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.team-modal__bio p {
  margin: 0 0 1rem;
}

.team-modal__bio p:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 767.98px) {
  .team-modal__layout { grid-template-columns: 1fr; }
  .team-modal__photo {
    aspect-ratio: 16 / 11;
    max-height: 280px;
  }
}

@media (max-width: 575.98px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.portfolio-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--olive-mist);
}

.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.portfolio-tile__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(20, 22, 17, 0.88));
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.35s var(--ease);
}

.portfolio-tile__info h4 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.25rem;
}

.portfolio-tile__info p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-tile:hover img { transform: scale(1.05); }
.portfolio-tile:hover .portfolio-tile__info { transform: translateY(0); }

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

@media (max-width: 575.98px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-soft);
}

.gallery-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--olive-mist);
}

.gallery-tile img {
  height: 240px;
  margin: 0;
}

.gallery-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(20, 22, 17, 0.78));
  pointer-events: none;
}

.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(20, 22, 17, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 1.25rem;
}

.gallery-modal.is-open { display: flex; }

.gallery-modal img {
  max-width: min(95vw, 1100px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
}

.gallery-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: #fff;
  font-size: 2rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.gallery-modal__controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card { display: flex; flex-direction: column; }

.blog-card__img {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--olive-mist);
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card__img img { transform: scale(1.04); }

.blog-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.blog-card h2 a { color: var(--ink); }
.blog-card h2 a:hover { color: var(--olive); }

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  list-style: none;
  padding: 0;
}

.blog-meta a { color: inherit; }
.blog-card__excerpt { flex-grow: 1; margin-bottom: 0.75rem; }

.blog-article { max-width: 760px; margin: 0 auto; }

.blog-article__hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
  background: var(--olive-mist);
}

.blog-article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article h1 {
  font-size: clamp(1.65rem, 1.25rem + 1.1vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.blog-article .content {
  font-size: 1rem;
  line-height: 1.75;
}

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

@media (max-width: 575.98px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-facts { display: grid; gap: 0; }

.contact-fact {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-fact:last-child { border-bottom: 0; }

.contact-fact i {
  color: var(--olive);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-fact h3 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-fact p { margin: 0; color: var(--ink); }

.form-panel {
  background: var(--snow);
  border: 1px solid var(--line);
  border-top: 4px solid var(--olive);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 991.98px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- Service detail ---------- */
.service-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
}

/* Never show program/service images on details pages */
.service-details-page .service-hero-img,
.service-details-content img,
.service-details-page .blog-article .content img {
  display: none !important;
}

.subservice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.service-details-content .blog-article {
  margin-bottom: 0;
}

.service-details-content .blog-article .content {
  margin-bottom: 0;
}

.service-details-content .blog-article .content > *:last-child {
  margin-bottom: 0;
}

.service-details-page .section-editorial {
  padding-top: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.subservice-item {
  border: 1px solid var(--line);
  border-top: 3px solid var(--olive);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--snow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.subservice-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.subservice-item h3 {
  font-size: 1.1rem;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.subservice-item p { margin: 0; font-size: 0.95rem; }

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

@media (max-width: 575.98px) {
  .subservice-grid { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.review-summary {
  text-align: center;
  margin-bottom: 2.5rem;
}

.review-summary__score {
  font-family: var(--display);
  font-size: clamp(2.2rem, 1.7rem + 1.4vw, 3rem);
  font-weight: 800;
  color: var(--olive);
  line-height: 1;
  letter-spacing: -0.03em;
}

.star { color: #c9cdc0; font-size: 1.25rem; }
.star.filled,
.star.half { color: var(--olive); }

.review-list {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.review-item {
  background: var(--snow);
  border: 1px solid var(--line);
  border-left: 4px solid var(--olive);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.review-item__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.review-item h3 {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0;
}

.review-form-wrap { max-width: 560px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    linear-gradient(160deg, #23261c 0%, var(--olive-deep) 48%, #3f4630 100%);
  color: rgba(251, 252, 249, 0.82);
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.35rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive-soft), rgba(251, 252, 249, 0.55), var(--olive-soft));
}

.site-footer::after {
  content: "Smile";
  position: absolute;
  right: -2%;
  bottom: -12%;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.8;
  color: rgba(251, 252, 249, 0.04);
  pointer-events: none;
  letter-spacing: -0.02em;
}

.site-footer .container-editorial { position: relative; z-index: 1; }

.site-footer a {
  color: rgba(251, 252, 249, 0.78);
  transition: color 0.25s var(--ease);
}

.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.85fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2.25rem;
  align-items: start;
}

.footer-brand__logo {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.footer-brand__logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

.footer-brand h3 {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.footer-brand p {
  max-width: 34ch;
  margin: 0 0 1.15rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(251, 252, 249, 0.72);
}

.footer-col h4 {
  color: #fff;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(251, 252, 249, 0.14);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.5rem; }

.footer-col li a {
  font-size: 0.9rem;
  display: inline-block;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem !important;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(251, 252, 249, 0.78);
}

.footer-contact-item i {
  color: var(--olive-soft);
  margin-top: 0.2rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 0.55rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(251, 252, 249, 0.04);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-social a:hover {
  background: rgba(251, 252, 249, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
  color: rgba(251, 252, 249, 0.62);
}

.footer-bottom p { margin: 0; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(251, 252, 249, 0.62);
}

.footer-legal a:hover { color: #fff; }

@media (max-width: 991.98px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 575.98px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- WhatsApp above scroll-top (never behind) ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 4.65rem; /* sits above the scroll-up button */
  z-index: 100050;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25D366;
  color: #fff !important;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.whatsapp-float i {
  font-size: 1.2rem;
  line-height: 1;
}

.whatsapp-float:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

#scroll-top.scroll-top,
.scroll-top {
  position: fixed !important;
  right: 1.15rem !important;
  bottom: 1.15rem !important;
  z-index: 100040 !important;
  width: 42px !important;
  height: 42px !important;
  background: var(--olive) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 8px 22px rgba(20, 22, 17, 0.22);
}

.scroll-top:hover { background: var(--olive-deep) !important; }

@media (max-width: 575.98px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    bottom: 4.85rem;
  }

  #scroll-top.scroll-top,
  .scroll-top {
    width: 40px !important;
    height: 40px !important;
  }
}

.section-title h2 {
  font-family: var(--display);
  color: var(--ink);
}

.section-title h2::after { background: var(--olive) !important; }

body.index-page,
body.service-details-page,
body.blog-page { background: transparent; }

.main {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Presento applies padding/bg to every <section> — strip from hero */
body.index-page section#hero,
body.index-page section.hero-editorial {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Keep Presento from inflating density on editorial layouts */
section.section-editorial,
.section-editorial {
  padding-top: clamp(2.75rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem) !important;
  scroll-margin-top: var(--chrome-h);
}

/* Stable type inheritance — never fall back to mismatched system metrics */
button,
input,
textarea,
select {
  font-family: inherit;
}
