@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&family=Noto+Sans+Hebrew:wght@300;400;500;600;700&family=Marcellus&display=swap');

/* Dr. Alon Liran MD — Main Stylesheet
   All design tokens are in style.css (parent)
*/

/* =========================================================
   Dr. Alon Liran — refined design system
   Olive-monochrome · warm off-white · Heebo + Noto Sans Hebrew + Marcellus
   ========================================================= */

:root {
  /* Surfaces */
  --bg: #FBFAF4;
  --surface: #F2F1E6;
  --sand: #E7E4D2;
  --sand-deep: #D4D1BA;
  /* Olives */
  --olive: #6E6F49;
  --olive-deep: #474A2D;
  --olive-ink: #2F311C;
  /* Ink + text */
  --ink: #1C1C16;
  --muted: #6E6C5C;
  --muted2: #8C8A78;
  --line: #DEDBC8;
  --line-strong: #CDC9B2;
  /* on dark */
  --cream: #EEECDA;
  --cream-muted: #B9B89C;

  --maxw: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --radius: 4px;

  --ff-body: '80kb', "Noto Sans Hebrew", system-ui, sans-serif;
  --ff-display: '80kb', "Heebo", "Noto Sans Hebrew", sans-serif;
  --ff-latin: 'ABC Diatype Mono', "Marcellus", Georgia, serif;

  /*
  --ff-body: "Noto Sans Hebrew", system-ui, sans-serif;
  --ff-display: "Heebo", "Noto Sans Hebrew", sans-serif;
  --ff-latin: "Marcellus", Georgia, serif;
  */
}

@font-face {
  font-family: '80kb';
  src: url('../fonts/80KB-Regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Diatype Mono';
  src: url('../fonts/ABCDiatypeMono-Light.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Favorit Extended';
  src: url('../fonts/ABCFavoritExtended-Bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .22em;
  color: var(--olive);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--olive);
  opacity: .55;
}

.eyebrow.center {
  justify-content: center;
}

.contact-eyebrow::before {
  background: var(--cream-muted);
  opacity: .5;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

.display {
  font-family: var(--ff-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.h3 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
}

.muted {
  color: var(--muted);
}

.latin {
  font-family: var(--ff-latin);
  letter-spacing: .04em;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

.prose p {
  color: #34342A;
}

.prose h2 {
  margin: 0 0 .5em;
}

.prose ul,
.t-main .prose ul {
  padding-inline-start: 22px;
  padding-inline-end: 0;
  margin: 0 0 1.1em;
}

.prose li,
.t-main .prose li {
  margin-bottom: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--muted2);
}

.btn-primary:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--olive);
  color: var(--olive);
}

.btn-light {
  background: var(--cream);
  color: var(--olive-ink);
}

.btn-light:hover {
  background: #fff;
}

.btn-lime {
  background: linear-gradient(90deg, #9CF85C 0%, #BCF38E 46%, #E6F4CA 100%);
  color: #1E2A10;
  font-weight: 700;
  box-shadow: 0 2px 22px -6px rgba(140, 240, 80, .55);
}

.btn-lime:hover {
  background: linear-gradient(90deg, #93F74B 0%, #B2F07E 46%, #DFF2BC 100%);
  box-shadow: 0 5px 28px -6px rgba(140, 240, 80, .72);
  transform: translateY(-1px);
}

.btn .ar {
  transition: transform .25s ease;
}

.btn:hover .ar {
  transform: translateX(4px);
}

/* ---------- Top bar + Nav ---------- */
.topbar {
  display: none;
}

.topbar-orig {
  background: var(--olive-ink);
  color: var(--cream-muted);
  font-size: 12.5px;
  letter-spacing: .04em;
}

.topbar .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 38px;
  gap: 20px;
}

.topbar .tagline {
  text-align: center;
}

.topbar .tline-addr {
  justify-self: end;
}

.topbar a {
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar .num,
.nav-phone .lbl {
  direction: ltr;
  unicode-bidi: isolate;
}

.topbar .tline {
  display: flex;
  gap: 22px;
  align-items: center;
}

.topbar .tagline {
  font-family: var(--ff-latin);
  letter-spacing: .18em;
  font-size: 11.5px;
  color: var(--cream-muted);
  white-space: nowrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #eeeddb;
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 30px;
  max-width: none;
  padding-inline: clamp(24px, 3vw, 56px);
  padding: 0px 30px;
}

.topbar .wrap {
  max-width: none;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  gap: 3px;
}

.brand .logo-img {
  width: clamp(175px, 15vw, 260px);
  height: auto;
  display: block;
}

.fcol.brand-col .logo-img {
  width: 230px;
  height: auto;
  display: block;
}

.brand .br-top {
  font-family: var(--ff-latin);
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--olive);
}

.brand .br-main {
  font-family: var(--ff-latin);
  font-size: 21px;
  letter-spacing: .26em;
  color: var(--ink);
  display: flex;
  gap: 12px;
  direction: ltr;
}

.brand .br-sub {
  font-size: 10.5px;
  letter-spacing: .3em;
  color: var(--muted2);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-item {
  position: relative;
}

.nav-top {
  position: relative;
  padding: 28px 0;
  color: #2A2A22;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-top:hover,
.nav-item:hover .nav-top {
  color: var(--olive);
}

.nav-top.active {
  color: var(--olive);
}

.nav-top.active {
  color: var(--olive);
}

.subnav a.active {
  background: var(--surface);
  color: var(--olive);
}

.nav-top .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .25s ease;
  opacity: .7;
}

.nav-item:hover .nav-top .chev {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-top::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 0;
  left: auto;
  width: 0;
  height: 1.5px;
  background: var(--olive);
  transition: width .25s ease;
}

.nav-top:hover::after,
.nav-item:hover .nav-top::after,
.nav-top.active::after {
  width: 100%;
}

.nav-top.has-sub:hover::after,
.nav-item:hover .nav-top.has-sub::after {
  width: 0;
}

/* dropdown panel */
.subnav {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 26px 50px -26px rgba(47, 49, 28, .45);
  padding: 12px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rows, 8), auto);
  gap: 2px 4px;
  min-width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  pointer-events: none;
  max-width: calc(100vw - 48px);
  left: auto;
}

.nav-item:hover .subnav,
.nav-item:focus-within .subnav {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity .22s ease, transform .22s ease;
}

.subnav a {
  display: block;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14.5px;
  font-weight: 500;
  color: #2A2A22;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}

.subnav a:hover {
  background: var(--surface);
  color: var(--olive);
}

.subnav a.sub-all {
  color: var(--olive);
  font-weight: 600;
}

.subnav .sub-sep {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
  margin: 6px 4px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav .nav-cta .nav-phone {
  display: inline-flex;
}

/* phone shown in header, right of the CTA */
.nav-phone {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}

.nav-phone .lbl {
  direction: ltr;
  unicode-bidi: isolate;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .3s ease, opacity .2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(.4);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile menu (side drawer from the right, RTL) ---------- */
/* Opaque panel sliding in horizontally; a scrim dims the uncovered strip.
   No opacity fade on the panel itself — text never blends. */
.mobile-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: min(86vw, 360px);
  background: var(--bg);
  z-index: 999;
  padding: 10px 0 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .32s ease, visibility 0s linear .32s;
  box-shadow: -22px 0 44px -22px rgba(28, 28, 22, .4);
}

.mobile-menu.open {
  transform: none;
  visibility: visible;
  transition: transform .32s ease;
}

body:has(.mobile-menu.open) {
  overflow: hidden;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu-close {
  position: fixed;
  top: 20px;
  left: 10px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #fbfaf4;
  transform-origin: center;
}

.mobile-menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.m-link,
.m-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  font-size: 18px;
  font-family: var(--ff-display);
  font-weight: 400;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: none;
  border-right: 0;
  border-left: 0;
  border-top: 0;
  text-align: start;
  cursor: pointer;
  font-family: var(--ff-body);
}

.m-parent .chev {
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 1.7px solid var(--olive);
  border-bottom: 1.7px solid var(--olive);
  transform: rotate(45deg);
  transition: transform .28s ease;
}

.m-group.open .m-parent .chev {
  transform: rotate(-135deg);
}

.toc h4 .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .25s ease;
  opacity: .7;
}

.toc.open h4 .chev {
  transform: rotate(-135deg) translateY(-1px);
}

.m-group.open .m-parent {
  color: var(--olive);
}

.m-sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s ease;
  background: var(--surface);
}

.m-sub a.active {
  color: var(--olive);
  font-weight: 600;
  background: rgba(110, 111, 73, .08);
}

.m-group.open .m-sub {
  max-height: 640px;
}

.m-sub a {
  display: block;
  padding: 13px 26px 13px 26px;
  font-size: 15.5px;
  color: #34342A;
  border-bottom: 1px solid var(--line);
}

.m-sub a:last-child {
  border-bottom: 1px solid var(--line);
}

.m-sub a.sub-all {
  color: var(--olive);
  font-weight: 600;
}

.mobile-menu .m-cta {
  margin: 22px 26px 0;
}

.mobile-menu .btn {
  width: 100%;
}

.menu-scrim {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 28, 22, .75);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.menu-scrim.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease;
}

@media (min-width: 1300px) {

  .mobile-menu,
  .menu-scrim {
    display: none;
  }
}

/* ---------- Section scaffolding ---------- */
section {
  position: relative;
}

.sec {
  padding-block: clamp(64px, 9vw, 130px);
}

.sec-cream {
  background: var(--surface);
}

.sec-sand {
  background: var(--sand);
}

.sec-olive {
  background: #535434;
  color: var(--cream);
}

.sec-ink {
  background: var(--olive-ink);
  color: var(--cream);
}

.sec-head {
  max-width: 640px;
}

.sec-head.center {
  margin-inline: auto;
  text-align: center;
}

.sec-head .h2 {
  margin-bottom: 18px;
}

.sec-head p {
  color: var(--muted);
}

.sec-olive .sec-head p,
.sec-ink .sec-head p {
  color: var(--cream-muted);
}

.row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.link-arrow {
  font-weight: 600;
  font-size: 15px;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.link-arrow:hover {
  border-color: var(--olive);
}

.link-arrow .la-ar {
  width: 22px;
  height: 11px;
  flex: none;
  transition: transform .25s ease;
}

.link-arrow:hover .la-ar {
  transform: translateX(-5px);
}

/* ---------- Image placeholder ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--sand-deep);
  background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, .045) 0 1px, transparent 1px 11px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(47, 49, 28, .5);
  text-align: center;
  padding: 8px 14px;
  border: 1px dashed rgba(47, 49, 28, .28);
  border-radius: 3px;
  background: rgba(251, 250, 244, .35);
}

.ph.dark {
  background: #3A3C26;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 11px);
}

.ph>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph.dark span {
  color: rgba(238, 236, 218, .55);
  border-color: rgba(238, 236, 218, .3);
  background: rgba(0, 0, 0, .12);
}

/* ---------- Service / project cards ---------- */
.cards {
  display: grid;
  gap: 28px;
}

.cards.c3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards.c4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -28px rgba(47, 49, 28, .4);
}

.card .ph {
  aspect-ratio: 4/3;
}

.card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.card-body h3 {
  font-size: 20px;
  font-weight: 600;
}

.card-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.card-body .more {
  color: var(--olive);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.card:hover .card-body .more {
  gap: 12px;
}

/* ---------- Footer ---------- */
.footer {
  background: #525433;
  color: var(--cream-muted);
  padding-top: 84px;
}

.footer .tagband {
  text-align: center;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(238, 236, 218, .13);
  margin-bottom: 56px;
}

.footer .tagband .latin {
  font-size: clamp(26px, 4vw, 46px);
  letter-spacing: .14em;
  color: var(--cream);
  font-weight: 400;
}

.footer .tagband .sub {
  font-size: 13px;
  letter-spacing: .2em;
  margin-top: 14px;
  color: var(--cream-muted);
}

.fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
}

.fcol h4 {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--cream);
  margin-bottom: 22px;
  font-weight: 600;
}

.fcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fcol a,
.fcol li {
  font-size: 14px;
  color: var(--cream-muted);
  line-height: 1.5;
}

.fcol a:hover {
  color: var(--cream);
}

.fcol.brand-col .br-main {
  font-family: var(--ff-latin);
  font-size: 22px;
  letter-spacing: .24em;
  color: var(--cream);
  display: flex;
  gap: 12px;
  direction: ltr;
}

.fcol.brand-col .br-top {
  font-family: var(--ff-latin);
  font-size: 9px;
  letter-spacing: .35em;
  color: var(--cream-muted);
  margin-bottom: 4px;
}

.fcol.brand-col p {
  font-size: 14px;
  color: var(--cream-muted);
  margin-top: 18px;
  max-width: 280px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(238, 236, 218, .22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  transition: .25s;
}

.socials a:hover {
  background: var(--cream);
  color: var(--olive-ink);
  border-color: var(--cream);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.fbar {
  border-top: 1px solid rgba(238, 236, 218, .13);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.fbar .links {
  display: flex;
  gap: 24px;
}

.fbar a:hover {
  color: var(--cream);
}

/* ---------- Contact form ---------- */
.field {
  position: relative;
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 8px;
  color: inherit;
  opacity: .85;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(238, 236, 218, .28);
  color: var(--cream);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(238, 236, 218, .4);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cream);
  background: rgba(255, 255, 255, .1);
}

.form-light .field input,
.form-light .field textarea {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.form-light .field input::placeholder,
.form-light .field textarea::placeholder {
  color: var(--muted2);
}

.form-light .field label {
  color: var(--ink);
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

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

.crumbs .sep {
  opacity: .5;
}

.crumbs .cur {
  color: var(--olive);
  font-weight: 600;
}

.crumbs a,
.crumbs span {
  white-space: nowrap;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- Contact band (shared across pages) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.contact-info .h2 {
  color: var(--cream);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--cream-muted);
}

.contact-info .det {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}

.contact-info .det li {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 16px;
  color: var(--cream);
}

.contact-info .det svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--cream-muted);
}

.contact-info .det a {
  color: var(--cream);
}

/* minimal underline contact form */
.form-line {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px) clamp(26px, 3vw, 38px) clamp(26px, 3vw, 34px);
  direction: rtl;
  border: 1px solid rgba(238, 236, 218, .22);
  border-radius: 8px;
  text-align: left;
}

.form-line input.wpcf7-text:-webkit-autofill,
.form-line input.wpcf7-tel:-webkit-autofill,
.form-line input.wpcf7-email:-webkit-autofill,
.form-line textarea.wpcf7-textarea:-webkit-autofill,
.side-form-line input.wpcf7-text:-webkit-autofill,
.side-form-line input.wpcf7-tel:-webkit-autofill,
.side-form-line input.wpcf7-email:-webkit-autofill,
.side-form-line textarea.wpcf7-textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--cream) !important;
  -webkit-box-shadow: 0 0 0px 1000px #525433 inset !important;
  box-shadow: 0 0 0px 1000px #525433 inset !important;
  caret-color: var(--cream);
  transition: background-color 9999s ease-in-out 0s;
}

.lfield {
  position: relative;
}

.lfield input,
.lfield textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(238, 236, 218, .34);
  color: var(--cream);
  font-family: inherit;
  font-size: 16px;
  padding: 26px 0 12px;
  resize: none;
  transition: border-color .25s ease;
  direction: rtl;
  text-align: right;
}

.lfield textarea {
  line-height: 1.6;
}

.lfield input:focus,
.lfield textarea:focus {
  outline: none;
  border-bottom-color: var(--cream);
}

.lfield label {
  position: absolute;
  right: 0;
  left: auto;
  top: 26px;
  color: var(--cream-muted);
  font-size: 16px;
  pointer-events: none;
  transition: all .22s ease;
  transform-origin: right top;
  text-align: right;
}

.lfield input:focus+label,
.lfield input:not(:placeholder-shown)+label,
.lfield textarea:focus+label,
.lfield textarea:not(:placeholder-shown)+label {
  top: 4px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cream-muted);
  opacity: .8;
}

.submit-arrow {
  margin-top: 26px;
  align-self: flex-end;
  width: 48px;
  height: 48px;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .28s ease;
}

.submit-arrow svg {
  display: none;
}

.submit-arrow::before {
  content: "";
  width: 40px;
  height: 40px;
  background: currentColor;
  -webkit-mask: url("assets/send-icon.png") center / contain no-repeat;
  mask: url("assets/send-icon.png") center / contain no-repeat;
  transition: transform .3s ease;
}

.submit-arrow:hover::before {
  transform: translate(3px, -3px);
}

.form-sent {
  align-self: flex-end;
  margin-top: 22px;
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg);
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.pill.active,
.pill:hover {
  background: var(--olive-deep);
  color: var(--cream);
  border-color: var(--olive-deep);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.cat-head h3 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(23px, 2.5vw, 31px);
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ---------- Mobile bottom action bar (hidden above mobile widths) ---------- */
.actionbar {
  display: none;
}

/* ---------- Responsive ---------- */
/* nav collapses to hamburger below 1300px (dense multi-item nav needs room) */
@media (max-width: 1299px) {
  .nav .wrap {
    flex-direction: row-reverse;
    justify-content: space-between;
    min-height: 64px;
  }

  .nav .wrap {
    padding-inline: 16px;
  }

  .nav-cta {
    width: 40px;
    justify-content: flex-end;
  }

  .nav-cta {
    flex-direction: row-reverse;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  /* hamburger mode: CTA + phone live in the drawer, not the bar */
  .nav .nav-cta .btn {
    display: none;
  }

  .nav .nav-cta .nav-phone {
    display: none;
  }

  .brand {
    margin-inline-end: 0;
  }

  .hamburger {
    display: flex;
  }
}

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

  .cards.c3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .fgrid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .cards.c3,
  .cards.c4 {
    grid-template-columns: 1fr;
  }

  .fgrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fcol {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    text-align: center;
  }

  .fcol.brand-col p {
    max-width: 100%;
  }

  .fcol.brand-col .logo-img {
    margin-inline: auto;
  }

  .fcol.brand-col .br-main {
    justify-content: center;
  }

  .socials {
    justify-content: center;
  }

  .fcol ul {
    align-items: center;
  }

  .footer .fbar {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer .fbar .links {
    justify-content: center;
  }

  .topbar {
    display: none;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .actionbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: var(--olive-ink);
    border-top: 1px solid rgba(238, 236, 218, .16);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .5);
  }

  .actionbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 64px;
    color: var(--cream);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .02em;
  }

  .actionbar a:active {
    background: rgba(238, 236, 218, .08);
  }

  .actionbar a+a {
    border-inline-start: 1px solid rgba(238, 236, 218, .12);
  }

  .actionbar svg {
    width: 21px;
    height: 21px;
  }

  .nav-phone span.lbl {
    display: none;
  }

  .row-head {
    margin-bottom: 32px;
  }

  .nav .wrap {
    min-height: 64px;
  }

  .about-logos {
    grid-template-columns: repeat(3, 1fr);
    max-width: 360px;
    gap: 14px 16px;
    justify-items: center;
    margin-inline: auto;
  }

  .about-logos .lgo,
  .about-logos .lgo-ph {
    height: 50px;
  }

  .about-logos .lgo img {
    max-height: 44px;
  }

  .cards.c4.is-slider {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    gap: 16px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .cards.c4.is-slider::-webkit-scrollbar {
    display: none;
  }

  .cards.c4.is-slider>.card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .cat-head {
    margin-bottom: 18px;
  }

  .mobile-menu {
    padding-bottom: calc(28px + 64px + env(safe-area-inset-bottom));
  }
}

/* reveal — DISABLED hiding. Content is always fully visible (opacity:1)
   so it renders correctly in every environment. (Entrance animation removed
   to avoid any dependency on JS/observer timing.) */
.reveal {
  opacity: 1 !important;
  transform: none !important;
}


/* ── Before/After composite grid ──────────────────────────── */
.ba-composite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ba-comp-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sand-deep);
}

.ba-comp-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}

.ba-comp-card:hover img {
  transform: scale(1.03);
}

.ba-comp-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(47, 49, 28, .7);
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}

.ba-cat-group {
  margin-top: 56px;
}

.ba-cat-group:first-of-type {
  margin-top: 0;
}

.ba-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.ba-cat-head h2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 29px);
  color: var(--ink);
  white-space: nowrap;
}

.ba-proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ba-proc-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: inherit;
  text-decoration: none;
  background: var(--sand-deep);
  transition: transform .3s ease, box-shadow .3s ease;
}

.ba-proc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -26px rgba(47, 49, 28, .4);
}

.ba-proc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}

.ba-proc-card:hover img {
  transform: scale(1.06);
}

.ba-proc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 20, 12, .82) 0%, rgba(20, 20, 12, .1) 55%, rgba(20, 20, 12, 0) 78%);
}

.ba-proc-card span {
  position: relative;
  z-index: 2;
  display: block;
  padding: 14px 14px 12px;
  color: var(--cream);
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ba-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--sand-deep);
  color: inherit;
  display: block;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  cursor: zoom-in;
  border: none;
  padding: 0;
  text-align: right;
  font-family: inherit;
}

.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -26px rgba(47, 49, 28, .38);
}

.ba-card .frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.ba-card .frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ba-card .tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  color: var(--cream);
  background: rgba(47, 49, 28, .62);
  border-radius: 3px;
  padding: 4px 10px;
  backdrop-filter: blur(4px);
}

.ba-card .cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(20, 20, 12, .86) 0%, rgba(20, 20, 12, .0) 100%);
}

.ba-card .cap .proc {
  font-size: 15px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 2px;
}

.ba-card-cap {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}

.ba-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(20, 20, 14, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.ba-lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}

.ba-lightbox img {
  max-width: min(900px, 92vw);
  max-height: 84vh;
  border-radius: 6px;
  display: block;
}

.ba-lightbox .lb-cap {
  color: var(--cream);
  text-align: center;
  margin-top: 16px;
  font-size: 14.5px;
}

.ba-lightbox .lb-close {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(238, 236, 218, .12);
  border-radius: 50%;
  cursor: pointer;
  color: var(--cream);
  font-size: 20px;
}

@media (max-width: 900px) {
  .ba-proc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ba-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .ba-proc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ba-proc-card span {
    font-size: 13px;
    padding: 10px;
  }

  .ba-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ba-card .cap {
    padding: 30px 12px 10px;
  }

  .ba-card .cap .proc {
    font-size: 13px;
  }
}


@media (max-width: 900px) {
  .ba-composite-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ba-composite-grid {
    grid-template-columns: 1fr;
  }
}


/* WordPress nav menu wrapper fix */
.nav-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}

.nav-menu-list>li {
  display: contents;
}

/* ── Mobile drawer nav ─────────────────────────────────────── */
.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg);
  z-index: 999;
  overflow-y: auto;
  padding: 24px 28px 100px 28px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 40px rgba(47, 49, 28, .18);
}

.menu-drawer nav {
  padding-top: 24px;
}


.menu-drawer.is-open {
  transform: translateX(0);
}

.nav {
  z-index: 50 !important;
}

.mob-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mob-nav li {
  margin: 0;
  padding: 0;
}

.mob-nav a,
.mob-acc {
  display: block;
  width: 100%;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: right;
  cursor: pointer;
  font-family: inherit;
}

.mob-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
}

.mob-sub.is-open {
  display: block;
}

.mob-sub a {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.mob-footer {
  margin-top: 32px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ── Editorial surgery/treatment cards (homepage) ──────────── */
#surgeries .card,
#treatments .card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--sand-deep);
  aspect-ratio: 1 / 1;
  display: block;
  color: inherit;
  text-decoration: none;
}

#surgeries .card .ph,
#treatments .card .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: none;
  border: none;
}

#surgeries .card .ph>img,
#treatments .card .ph>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}

#surgeries .card:hover .ph>img,
#treatments .card:hover .ph>img {
  transform: scale(1.06);
}

#surgeries .card .ph>span,
#treatments .card .ph>span {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 16px;
  font-family: var(--ff-display);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 600;
  color: var(--cream);
  text-align: right;
  background: linear-gradient(to top, rgba(30, 28, 18, .82) 0%, rgba(30, 28, 18, .0) 100%);
  line-height: 1.35;
}

/* Hide old card-body in editorial layout */
#surgeries .card .card-body,
#treatments .card .card-body {
  display: none;
}

/* ── Cat group header ──────────────────────────────────────── */
.cat-group {
  margin-top: 52px;
}

.cat-group:first-of-type {
  margin-top: 0;
}

.cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.cat-name {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  font-family: var(--ff-display);
  color: var(--ink);
  white-space: nowrap;
}

.cat-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--olive);
  white-space: nowrap;
}


/* ── Override default card styles for editorial homepage cards ── */
body #surgeries .card,
body #treatments .card {
  border: none !important;
  box-shadow: none !important;
  border-radius: 4px !important;
  background: var(--sand-deep);
  outline: none !important;
}

body #surgeries .card *,
body #treatments .card * {
  box-sizing: border-box;
}

#surgeries .card .ph>span,
#treatments .card .ph>span {
  background: linear-gradient(to top, rgba(28, 26, 14, .85) 0%, rgba(28, 26, 14, .55) 30%, rgba(28, 26, 14, .2) 55%, rgba(28, 26, 14, 0) 75%) !important;
  color: var(--cream) !important;
  font-size: clamp(14px, 1.3vw, 17px) !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  padding: 20px 14px 12px !important;
  min-height: 70px;
  display: flex;
  align-items: flex-end;
}

/* ── Remove placeholder border from editorial card spans ── */
#surgeries .card .ph>span,
#treatments .card .ph>span {
  border: none !important;
  font-family: var(--ff-display) !important;
  font-size: clamp(14px, 1.3vw, 17px) !important;
  color: var(--cream) !important;
  letter-spacing: .01em !important;
  padding: 20px 14px 12px !important;
}

/* ── Gradient overlay via pseudo-element ─────────────────── */
#surgeries .card .ph,
#treatments .card .ph {
  position: relative;
}

#surgeries .card .ph::after,
#treatments .card .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 26, 14, .85) 0%, rgba(28, 26, 14, .55) 30%, rgba(28, 26, 14, .2) 55%, rgba(28, 26, 14, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

#surgeries .card .ph>span,
#treatments .card .ph>span {
  position: relative;
  z-index: 2;
}

/* ── Mobile accordion fixes ─────────────────────────────── */
.mob-acc {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.mob-acc svg {
  flex: none;
  transition: transform .3s ease;
  color: var(--ink) !important;
  stroke: var(--ink) !important;
}

.mob-acc[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mob-sub {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}

.mob-sub.is-open {
  max-height: 600px;
}

/* ── Mobile menu colors (match HTML design) ─────────────── */
.menu-drawer {
  background: var(--bg) !important;
}

.mob-nav a,
.mob-acc {
  color: var(--ink) !important;
  font-family: var(--ff-display) !important;
  font-weight: 500 !important;
}

.mob-sub a {
  color: var(--ink) !important;
  font-weight: 400 !important;
  font-family: var(--ff-body) !important;
  font-size: 15px !important;
}

.mob-acc svg,
.mob-acc svg path {
  stroke: var(--olive) !important;
}

.mob-footer .btn-lime {
  background: linear-gradient(90deg, #9CF85C 0%, #BCF38E 46%, #E6F4CA 100%) !important;
  color: #1E2A10 !important;
}

/* ── Mobile accordion active state ─────────────────────── */
.mob-acc[aria-expanded="true"] {
  color: var(--olive-deep) !important;
}

.mob-acc[aria-expanded="true"] svg {
  transform: rotate(180deg);
  stroke: var(--olive-deep) !important;
}

/* ── HOME HERO (was missing from theme CSS) ─────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: min(1100px, 98vh);
}

.hero-text-col {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(32px, 5vw, 72px);
}

.hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: clamp(36px, 5vw, 72px);
}

.hero-media {
  position: relative;
  background: var(--sand);
}

.hero-media img,
.hero-media .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(280deg, rgba(71, 74, 45, .0) 60%, rgba(71, 74, 45, .10));
}

.hero-logo {
  width: clamp(320px, 38vw, 500px);
  height: auto;
  display: block;
  margin: 0 auto 28px;
}

.hero-name-m {
  display: none;
}

.hero-text .h1 {
  margin-bottom: 26px;
  font-size: clamp(34px, 3.6vw, 50px);
  text-align: center;
}

.hero-text .lead {
  max-width: 36em;
  color: #3A3A2E;
  margin-bottom: 32px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.75;
  text-align: center;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 32px 0;
}

.hero-pillars span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--olive);
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
}

.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
}

.chip-icon svg {
  width: 28px;
  height: 28px;
}

.chip-icon {
  flex: none;
  color: var(--olive);
  opacity: .8;
}

.chip-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

.chip-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid #8C8A78;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  background: rgba(43, 45, 26, .03);
  transition: background .25s ease, border-color .25s ease;
}

.btn-outline:hover {
  background: rgba(43, 45, 26, .08);
  border-color: var(--ink);
}

.reviewed {
  display: flex;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  color: var(--muted);
  margin-top: 20px;
  max-width: 100%;
  overflow-wrap: break-word;
}

.reviewed {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.reviewed .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
  opacity: .6;
}

.reviewed b {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-media {
    height: 56vh;
    max-height: 460px;
  }

  .hero-text-col {
    padding-inline: var(--gutter);
  }

  .hero-logo {
    display: block;
    width: clamp(240px, 70vw, 340px);
    margin: 0 auto 18px;
  }

  .hero-text .h1 {
    text-align: center !important;
  }

  .hero-text {
    max-width: none;
    padding-top: 40px;
    padding-bottom: 36px;
    align-items: center;
    text-align: center;
  }
}

/* ── Header logo size (match design) ──────────────────────── */
.nav-logo img,
.logo-img {
  width: clamp(175px, 15vw, 212px) !important;
  height: auto !important;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Fix: plain nav-link items need same treatment as nav-top ── */
.nav-link {
  position: relative;
  padding: 28px 0;
  color: #2A2A22;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
  color: var(--olive);
}

/* ── Header logo — ensure it doesn't get compressed ─────────── */
.nav-logo {
  flex: none;
}

.nav-logo img {
  width: clamp(175px, 15vw, 212px) !important;
  min-width: 140px;
  height: auto !important;
}

/* ── ABOUT SECTION (missing from theme CSS) ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  border-radius: 4px;
}

.about-photo .frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--olive);
  border-radius: 4px;
  z-index: -1;
}

.about-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: .01em;
  margin-top: 10px;
}

.about-quote {
  margin: 26px 0 0;
  position: relative;
  padding-inline-start: 22px;
}

.about-quote::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--olive);
  border-radius: 2px;
}

.about-quote p {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.about-memberships {
  margin: 30px 0 40px;
}

.about-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 16px 22px;
  max-width: 560px;
}

.about-logos .lgo,
.about-logos .lgo-ph {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logos .lgo img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  opacity: .55;
}

.about-logos .lgo img[src$=".svg"] {
  height: 40px;
}

.about-logos .lgo-ph {
  border: 1px dashed var(--line-strong);
  border-radius: 4px;
}

.about-logos .lgo-ph span {
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--muted2);
  text-align: center;
  line-height: 1.3;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.about-creds {
  list-style: none;
  padding: 0;
  margin: 28px 0 34px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.about-creds li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 16px;
  color: #34342A;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-strong);
}

.about-creds li svg {
  display: none;
}

.about-creds li::before {
  content: "";
  flex: none;
  width: 2px;
  height: 17px;
  background: var(--olive);
  border-radius: 2px;
}

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

  .about-photo {
    max-width: 440px;
    margin-inline: auto;
  }
}

#surgeries .card .ph>span,
#treatments .card .ph>span {
  font-weight: 300 !important;
  font-size: clamp(17px, 1.3vw, 21px) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg);
  z-index: 200;
  overflow-y: auto;
  padding: 77px 28px 100px 28px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -8px 0 40px rgba(47, 49, 28, .18);
}

.menu-drawer.is-open {
  transform: translateX(0);
}

.mob-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mob-nav li {
  margin: 0;
  padding: 0;
}

.mob-acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: right;
  cursor: pointer;
  font-family: var(--ff-display);
}

.mob-acc svg {
  flex: none;
  transition: transform .3s ease;
  stroke: var(--ink);
}

.mob-acc[aria-expanded="true"] {
  color: var(--olive-deep);
}

.mob-acc[aria-expanded="true"] svg {
  transform: rotate(180deg);
  stroke: var(--olive-deep);
}

.mob-sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}

.mob-sub.is-open {
  max-height: 600px;
}

.mob-sub a {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.mob-sub a.sub-all {
  color: var(--olive);
  font-weight: 600;
}

.statement {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--olive-ink);
}

.statement .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  z-index: 0;
}

.statement .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 37, 20, .66), rgba(34, 37, 20, .5) 45%, rgba(34, 37, 20, .72));
}

.statement .wrap {
  position: relative;
  z-index: 1;
}

.statement .latin {
  font-size: clamp(34px, 6vw, 78px);
  letter-spacing: .12em;
  line-height: 1.12;
  color: var(--cream);
  display: block;
}

.statement .he {
  margin-top: 22px;
  color: var(--cream-muted);
  letter-spacing: .04em;
  font-size: clamp(16px, 2vw, 20px);
}


.ba-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none;
}

.ba-banner-media {
  position: relative;
  background: #DEDCCE;
}

.ba-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-banner-inner {
  padding: clamp(36px, 5vw, 70px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ba-banner-inner .h2 {
  color: var(--ink);
  margin-bottom: 16px;
}

.ba-banner-inner p {
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 40ch;
}

.ba-banner .btn {
  transition: all .25s ease;
}

.ba-banner:hover .btn {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

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

  .ba-banner {
    grid-template-columns: 1fr;
  }

  .ba-teaser {
    grid-template-columns: 1fr;
  }


  .ba-banner-media {
    min-height: 240px;
    order: -1;
  }
}

.media-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mcard {
  display: flex;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  transition: transform .35s ease;
}

.mcard:hover {
  transform: translateY(-5px);
}

.mthumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: #1A1C10;
}

.mthumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: opacity .4s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

.mcard:hover .mthumb img {
  opacity: .65;
  transform: scale(1.04);
}

.mthumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 12, .88) 0%, rgba(20, 22, 12, .1) 55%, transparent 100%);
  z-index: 1;
}

.mthumb-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  z-index: 2;
}

.moutlet {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(238, 236, 218, .6);
  display: block;
  margin-bottom: 6px;
}

.mthumb-body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cream);
  margin: 0;
}

.mthumb .pbtn {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(238, 236, 218, .18);
  border: 1.5px solid rgba(238, 236, 218, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: all .3s ease;
  backdrop-filter: blur(4px);
}

.mthumb .pbtn::after {
  content: "";
  border-left: 13px solid var(--cream);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-right: -3px;
}

.mcard:hover .mthumb .pbtn {
  background: rgba(238, 236, 218, .3);
  transform: translate(-50%, -50%) scale(1.08);
}

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

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: all .3s ease;
  color: inherit;
}

.bcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px -24px rgba(47, 49, 28, .3);
}

.bcard-img {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--sand-deep);
}

.bcard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcard-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bcat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
}

.bcard-body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  margin: 0;
}

.bcard-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.bdate {
  font-size: 13px;
  color: var(--olive);
  margin-top: auto;
  padding-top: 6px;
}

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

.mr-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.mr-badge {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 30px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all .25s ease;
}

.mr-badge:not(:hover) {
  box-shadow: 0 10px 30px -22px rgba(47, 49, 28, .5);
}

.mr-badge:hover {
  border-color: var(--olive);
  transform: translateY(-2px);
}

.mr-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-inline-end: 22px;
  border-inline-end: 1px solid var(--line);
}

.mr-num {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: 38px;
  color: var(--olive-deep);
  line-height: 1;
}

.mr-stars {
  color: var(--olive);
  font-size: 16px;
  letter-spacing: 2px;
}

.mr-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: start;
}

.mr-count {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

.mr-src {
  font-size: 13px;
  color: var(--olive);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ext-ar {
  display: inline-block;
  width: 1.55em;
  height: 1.55em;
  background: currentColor;
  -webkit-mask: url("../images/send-icon.png") center / contain no-repeat;
  mask: url("../images/send-icon.png") center / contain no-repeat;
  flex: none;
  transition: transform .25s ease;
}

.mr-badge:hover .mr-src .ext-ar {
  transform: translate(2px, -2px);
}

.tcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.tcard .stars {
  color: var(--olive);
  letter-spacing: 3px;
  font-size: 14px;
}

.tcard p {
  font-size: 16px;
  color: #34342A;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.tcard .who,
.tcard .tname {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

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

.tname {
  font-size: 14px;
  color: var(--muted);
}

/*.form-line .fl-field { position: relative; margin-bottom: 30px; }
.form-line .fl-field input, .form-line .fl-field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(238,236,218,.35);
  padding: 8px 0 10px; font-family: var(--ff-body); font-size: 16px; color: var(--cream); outline: none;
  transition: border-color .25s ease;
}
.form-line .fl-field textarea { resize: none; min-height: 46px; }
.form-line .fl-field input:focus, .form-line .fl-field textarea:focus { border-color: var(--cream); }
.form-line .fl-field label {
  position: absolute; right: 0; top: 8px; font-size: 16px; color: rgba(238,236,218,.55);
  pointer-events: none; transition: all .2s ease;
}
.form-line .fl-field input:focus + label,
.form-line .fl-field input:not(:placeholder-shown) + label,
.form-line .fl-field textarea:focus + label,
.form-line .fl-field textarea:not(:placeholder-shown) + label {
  top: -14px; font-size: 12px; color: var(--olive-deep);
}
.form-send { align-self: flex-end; background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }*/
.sec-olive {
  background: #535434;
}

.form-line .wpcf7-form-control-wrap {
  display: block;
}

.form-line input.wpcf7-text,
.form-line input.wpcf7-tel,
.form-line input.wpcf7-email,
.form-line textarea.wpcf7-textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(238, 236, 218, .35) !important;
  padding: 26px 0 12px !important;
  font-family: inherit;
  font-size: 16px;
  color: var(--cream) !important;
  outline: none;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: border-color .25s ease;
  direction: rtl;
  text-align: right !important;
  -webkit-text-fill-color: var(--cream) !important;
  resize: none !important;
  overflow: hidden !important;
  appearance: none !important;
}

.form-line textarea.wpcf7-textarea {
  height: 68px !important;
  min-height: 68px !important;
}

.form-line input.wpcf7-text:focus,
.form-line input.wpcf7-tel:focus,
.form-line input.wpcf7-email:focus,
.form-line textarea.wpcf7-textarea:focus {
  border-color: var(--cream) !important;
  box-shadow: none;
}

.form-line input.wpcf7-submit {
  margin-top: 26px !important;
  align-self: flex-start !important;
  width: 40px !important;
  height: 40px !important;
  cursor: pointer;
  background: var(--cream) !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-mask: url('../images/send-icon.png') center / contain no-repeat !important;
  mask: url('../images/send-icon.png') center / contain no-repeat !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  padding: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.form-line {
  position: relative;
  padding-bottom: 80px;
}

.form-line form.wpcf7-form>p:last-of-type {
  position: static !important;
  margin: 30px auto 0 0 !important;
  text-align: left !important;
  width: 40px !important;
  overflow: hidden !important;
}

.wpcf7-not-valid-tip {
  color: #B5654A !important;
}

span.wpcf7-not-valid-tip {
  font-size: 13px !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
  color: #B5654A !important;
  border-color: #B5654A !important;
}

.wpcf7-not-valid {
  border-bottom-color: #B5654A !important;
}

.form-line .wpcf7-response-output {
  text-align: center !important;
  border: none !important;
}

.wpcf7-spinner {
  display: none !important;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
}

.footer-logo {
  width: 230px;
  height: auto;
}

.footer-desc {
  font-size: 14px;
  color: var(--cream-muted);
  margin-top: 18px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(238, 236, 218, .22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  transition: .25s;
}

.footer-social a:hover {
  background: var(--cream);
  color: var(--olive-ink);
  border-color: var(--cream);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--cream);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 14px;
  color: var(--cream-muted);
  line-height: 1.5;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(238, 236, 218, .13);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--cream-muted);
}

.footer-copy,
.footer-latin,
.footer-legal {
  margin: 0;
}

.footer-latin {
  font-family: var(--ff-body);
  letter-spacing: normal;
  letter-spacing: .14em
}

.footer-latin a {
  color: inherit;
}

.footer-latin a:hover {
  color: var(--cream);
}

.footer-nav {
  display: contents;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo {
    margin-inline: auto;
  }

  .footer-desc {
    max-width: 100%;
    margin-inline: auto;
  }

  .mr-badge-wrap {
    margin-bottom: 34px;
    padding-inline: 4px;
  }

  .mr-badge {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 20px;
    max-width: 100%;
    text-align: center;
    border-radius: 20px;
  }

  .mr-score {
    padding-inline-end: 0;
    border-inline-end: none;
    flex-direction: row-reverse;
    gap: 8px;
  }

  .mr-num {
    font-size: 26px;
  }

  .mr-stars {
    font-size: 15px;
  }

  .mr-meta {
    align-items: center;
  }

  .mr-count {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .mr-src {
    font-size: 11px;
  }

  .mr-src .ext-ar {
    display: none;
  }
}

.footer .tagband {
  text-align: center;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(238, 236, 218, .13);
  margin-bottom: 56px;
}

.footer .tagband .latin {
  font-size: clamp(26px, 4vw, 46px);
  letter-spacing: .14em;
  color: var(--cream);
  font-weight: 400;
  font-family: var(--ff-latin);
}

.footer .tagband .sub {
  font-size: 13px;
  letter-spacing: .2em;
  margin-top: 14px;
  color: var(--cream-muted);
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.acards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.acard {
  position: relative;
  border: none;
  border-radius: 7px;
  overflow: hidden;
  background: #DEDCCE;
  aspect-ratio: 1/1;
  display: block;
  transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease;
}

.acard:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 56px -34px rgba(31, 33, 19, .62);
}

.acard .ph {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: 100%;
  width: 100%;
  border-radius: 0;
}

.acard .ph>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
  object-position: center;
}

.acard:hover .ph>img {
  transform: scale(1.06);
}

.acard .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(22, 22, 18, .9) 0%, rgba(22, 22, 18, .6) 26%, rgba(22, 22, 18, .05) 52%, rgba(22, 22, 18, 0) 70%);
}

.acard .ab {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 26px 26px;
}

.acard .ab h3 {
  color: var(--cream);
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(21px, 1.7vw, 26px);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.acard.is-hidden {
  display: none;
}

.docbox {
  background: var(--sand-deep);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 52px);
}

.docbox .dphoto {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1/1.1;
}

.docbox .dphoto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docbox h2 {
  margin-bottom: 8px;
}

.docbox .role {
  color: var(--olive);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  margin-bottom: 18px;
}

.docbox p {
  color: #34342A;
  margin: 0 0 14px;
  max-width: 60ch;
}

.docbox .btn {
  margin-top: 10px;
}

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

.faq-q {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}


.faq-q .ic {
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: relative;
  transition: .25s;
}

.faq-q .ic::before,
.faq-q .ic::after {
  content: "";
  position: absolute;
  background: var(--olive);
  inset: 50% 6px auto 6px;
  height: 1.5px;
  transform: translateY(-50%);
  transition: .25s;
}

.faq-q .ic::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item.open .faq-q .ic {
  background: var(--olive);
  border-color: var(--olive);
}

.faq-item.open .faq-q .ic::before,
.faq-item.open .faq-q .ic::after {
  background: var(--cream);
}

.faq-item.open .faq-q .ic::after {
  transform: translateY(-50%) rotate(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.faq-item.open .faq-a {
  max-height: 420px;
}

.faq-a p {
  padding: 0 4px 24px;
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

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

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

  .docbox .dphoto {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .acards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .acard .ab {
    padding: 0 16px 16px;
  }

  .acard .ab h3 {
    font-size: 17px;
  }
}

.arc-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 80px);
}

.arc-hero .h1 {
  margin-bottom: 18px;
  max-width: 16em;
}

.arc-hero .crumbs {
  margin-bottom: 22px;
}

.arc-hero .lead {
  max-width: 46em;
  color: #3A3A2E;
}

.overview p {
  color: #34342A;
  margin: 0 0 1.1em;
}

.ov-faq {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.prose {
  max-width: none;
}

.prose.reveal {
  max-width: 62ch;
}

.prose iframe,
.prose .wp-block-embed {
  width: 100% !important;
  max-width: 100%;
}

.prose .wp-block-embed__wrapper {
  position: relative;
  padding-top: 56.25%;
  height: 0;
}

.prose .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100% !important;
}


.t-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 80px);
  text-align: right;
}

.t-hero .h1 {
  margin-bottom: 18px;
}

.t-hero .lead {
  max-width: 44em;
  color: #3A3A2E;
  margin-inline-end: auto;
  margin-bottom: 30px;
  text-align: right;
}


.t-hero .crumbs {
  justify-content: flex-start;
  margin-bottom: 22px;
}

.t-body {
  padding-top: clamp(50px, 6vw, 80px);
}

.t-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
}

.t-main .block {
  margin-top: 60px;
}

.t-main .prose p {
  color: #34342A;
  margin: 0 0 1.1em;
}

.article-body a:not(.btn),
.prose a:not(.btn),
.t-main a:not(.btn) {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-color: rgba(110, 111, 73, .35);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.article-body a:not(.btn):hover,
.prose a:not(.btn):hover,
.t-main a:not(.btn):hover {
  color: var(--olive-deep);
  text-decoration-color: currentColor;
}

.ba-teaser,
.ba-teaser h3,
.ba-teaser .btn {
  text-decoration: none !important;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 40px;
}

.toc h4 {
  margin: 0 0 10px;
  font-size: 14.5px;
  letter-spacing: .1em;
  color: var(--olive);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc ol {
  margin: 0;
  padding-inline-start: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.toc ol li {
  padding-inline-start: 2px;
}

.toc a {
  color: var(--ink) !important;
  text-decoration: none !important;
}

.toc a:hover {
  color: var(--olive) !important;
  ;
}

.toc.open ol {
  max-height: 500px;
}

.toc.open h4 .ic {
  transform: rotate(180deg);
}

.keybox {
  background: var(--sand);
  border-radius: 8px;
  padding: 26px 28px;
  margin-bottom: 20px;
}

.keybox h3 {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--olive);
}

.keybox ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.keybox li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.keybox li svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--olive);
  margin-top: 2px;
}

.ph.fig {
  background: var(--sand-deep);
  border-radius: 6px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.ph.fig span {
  font-size: 13px;
  color: var(--muted);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14.5px;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  background: #525433;
  color: var(--cream);
  font-weight: 600;
}

.compare tbody th {
  font-weight: 700;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 18px;
}

.step .num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step .sc h4 {
  margin: 0 0 6px;
  font-size: 17px;
}

.step .sc p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.tl {
  background: var(--surface);
  border-radius: 6px;
  padding: 18px;
}

.tl .t {
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 8px;
  font-size: 14px;
}

.tl p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.ba-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow .3s ease, transform .3s ease;
  text-decoration: none;
}

.ba-teaser:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -30px rgba(31, 33, 19, .5);
}

.ba-teaser-media {
  position: relative;
  min-height: 220px;
  background: #DEDCCE;
}


.ba-teaser-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.ba-teaser-body {
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ba-teaser-body h3 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(21px, 2vw, 27px);
  color: var(--ink);
  margin-bottom: 10px;
}

.ba-teaser-body p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 22px;
}

.ba-teaser:hover .btn {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}


.tside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.side-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.doc-mini {
  background: var(--surface);
  padding: 26px;
  text-align: center;
}

.doc-mini .ring {
  width: 218px;
  height: 218px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--bg);
}

.doc-mini .ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doc-mini h3 {
  margin: 0 0 4px;
}

.doc-mini .role {
  color: var(--olive);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.doc-mini p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.side-card-dark {
  background: #535434;
  border-color: #535434;
}

.side-form-line {
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  direction: rtl;
}

.side-form-line h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}

.side-form-line .sub {
  font-size: 14.5px;
  color: rgba(238, 236, 218, .65);
  margin-bottom: 22px;
}

.side-form-line .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 22px;
}

.side-form-line input.wpcf7-text,
.side-form-line input.wpcf7-tel,
.side-form-line input.wpcf7-email,
.side-form-line textarea.wpcf7-textarea {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(238, 236, 218, .35) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 0 10px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--cream) !important;
  outline: none;
  direction: rtl !important;
  text-align: right !important;
}

.side-form-line textarea.wpcf7-textarea {
  resize: none;
  height: 46px !important;
  min-height: 46px !important;
  overflow: hidden;
}


.side-form-line textarea.wpcf7-textarea {
  resize: none;
  min-height: 46px;
}

.side-form-line input.wpcf7-text:focus,
.side-form-line input.wpcf7-tel:focus,
.side-form-line input.wpcf7-email:focus,
.side-form-line textarea.wpcf7-textarea:focus {
  border-color: var(--cream) !important;
}

.side-form-line input.wpcf7-text::placeholder,
.side-form-line input.wpcf7-tel::placeholder,
.side-form-line input.wpcf7-email::placeholder,
.side-form-line textarea.wpcf7-textarea::placeholder {
  color: rgba(238, 236, 218, .85);
}

.side-form-line form.wpcf7-form>p:last-of-type {
  position: static !important;
  margin: 30px auto 0 0 !important;
  text-align: left !important;
  width: 50px !important;
  overflow: hidden !important;
}

.side-form-line input.wpcf7-submit {
  width: 58px !important;
  height: 58px !important;
  background: var(--cream) !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-mask: url('../images/send-icon.png') center / 60% no-repeat !important;
  mask: url('../images/send-icon.png') center / 60% no-repeat !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  padding: 0 !important;
  cursor: pointer;
}

.side-form-line .wpcf7-spinner {
  display: none !important;
}

.side-form-line input:-webkit-autofill,
.side-form-line input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

.related {
  padding: 26px;
}

.related h3 {
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--olive);
  margin-bottom: 16px;
  font-weight: 600;
}

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

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

.related li:last-child {
  border-bottom: none;
}

.related a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: #2A2A22;
}

.related a .ar {
  color: var(--olive);
}

@media (max-width: 1024px) {
  .t-wrap {
    grid-template-columns: 1fr;
  }

  .tside {
    position: static;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-teaser {
    grid-template-columns: 1fr;
  }
}

.side-form-line input:-webkit-autofill,
.side-form-line input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--cream);
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

.side-form-line .submit-arrow svg {
  display: none;
}

.side-form-line .submit-arrow {
  -webkit-mask: url('../images/send-icon.png') center / 60% no-repeat;
  mask: url('../images/send-icon.png') center / 60% no-repeat;
  background: var(--cream);
}

.ba-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 80px);
}

.disclaimer-bar {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
}

.disclaimer-bar span {
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--olive);
  margin-top: 2px;
}

.disclaimer-bar p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.ba-card .tag,
.ba-card .cap {
  display: none;
}

.ba-proc-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand-deep);
}

.form-line-dark {
  background: var(--olive-deep);
  border-radius: 8px;
  padding: clamp(28px, 3vw, 40px);
}

.contact-info .det li a,
.contact-info .det li span {
  color: var(--ink);
}

.con-hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 28px;
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.con-hours .hday {
  color: var(--muted);
}

.con-hours .htime {
  font-weight: 500;
}

.vg-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 6vw, 80px);
}

.vg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vcard {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  color: inherit;
  transition: transform .3s, box-shadow .3s;
}

.vcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(47, 49, 28, .3);
}

.vcard-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--sand-deep);
  overflow: hidden;
}

.vcard-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcard-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 49, 28, .28);
  transition: background .3s;
}

.vcard:hover .vcard-play {
  background: rgba(47, 49, 28, .42);
}

.vcard-play svg {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, .92);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4));
}

.vcard-type {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--cream);
  background: rgba(47, 49, 28, .65);
  border-radius: 3px;
  padding: 3px 9px;
  backdrop-filter: blur(4px);
}

.vcard-body {
  padding: 18px 20px 22px;
}

.vcard-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 8px;
}

.vcard-body h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 8px;
}

.vcard-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

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

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