/*
Theme Name: Esprit Forme Luxury
Theme URI: https://esprit-forme.com/
Author: Esprit Forme
Description: Consolidated luxury, local-SEO and conversion-focused WordPress theme for Esprit Forme Marrakech.
Version: 3.4.0
Text Domain: esprit-forme
*/

:root {
  --ef-ink: #24251f;
  --ef-ink-soft: #5c5c53;
  --ef-forest: #394632;
  --ef-forest-deep: #1d281f;
  --ef-forest-black: #111812;
  --ef-ivory: #f5f0e7;
  --ef-paper: #fbf8f2;
  --ef-white: #fffdfa;
  --ef-gold: #b99762;
  --ef-clay: #765139;
  --ef-line: rgba(36, 37, 31, .14);
  --ef-line-light: rgba(255, 255, 255, .18);
  --ef-shadow-sm: 0 12px 38px rgba(32, 28, 22, .08);
  --ef-shadow: 0 24px 70px rgba(32, 28, 22, .12);
  --ef-radius-sm: 12px;
  --ef-radius: 22px;
  --ef-radius-lg: 34px;
  --ef-serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --ef-sans: Inter, Aptos, "Helvetica Neue", Arial, sans-serif;
  --ef-container: 1360px;
  --ef-header-height: 72px;
  --ef-section-y: clamp(56px, 5vw, 82px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ef-ivory); }
body {
  margin: 0;
  color: var(--ef-ink);
  background:
    linear-gradient(rgba(255, 253, 249, .94), rgba(248, 243, 234, .94)),
    var(--ef-ivory);
  font-family: var(--ef-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.ef-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 { overflow-wrap: normal; word-break: normal; hyphens: none; }
p { overflow-wrap: break-word; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ef-ink);
  font-family: var(--ef-serif);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(3.15rem, 5.9vw, 6.5rem); }
h2 { font-size: clamp(2.35rem, 4.2vw, 4.75rem); }
h3 { font-size: clamp(1.55rem, 2.1vw, 2.35rem); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin-top: 0; }

.screen-reader-text,
.ef-skip-link:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ef-skip-link:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ef-forest-deep);
  border-radius: 999px;
}

/* Shared layout */
.ef-main { min-height: 65vh; }
.ef-section {
  width: min(var(--ef-container), calc(100% - 64px));
  margin-inline: auto;
  padding-block: var(--ef-section-y);
}
.ef-section + .ef-section { border-top: 1px solid rgba(36, 37, 31, .06); }
.ef-kicker {
  color: var(--ef-clay);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.ef-section__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 52px);
}
.ef-section__intro > .ef-kicker { grid-column: 1 / -1; }
.ef-section__intro h2 { max-width: 790px; }
.ef-section__intro > p,
.ef-section__intro > div + p { max-width: 520px; color: var(--ef-ink-soft); font-size: 1.05rem; }
.ef-section__intro--center {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.ef-section__intro--center .ef-kicker { margin-bottom: 12px; }
.ef-section__intro--center h2 { margin-bottom: 18px; }
.ef-section__intro--center > p { margin-inline: auto; }
.ef-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ef-actions--center { justify-content: center; }
.ef-button,
.ef-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ef-button:hover,
.ef-header__cta:hover { transform: translateY(-2px); }
.ef-button--primary,
.ef-header__cta { color: #fff; background: var(--ef-forest); border-color: var(--ef-forest); box-shadow: 0 12px 28px rgba(36, 55, 38, .18); }
.ef-button--primary:hover,
.ef-header__cta:hover { background: var(--ef-forest-deep); border-color: var(--ef-forest-deep); }
.ef-button--quiet { color: var(--ef-ink); background: transparent; border-color: rgba(36, 37, 31, .3); }
.ef-button--quiet:hover { color: #fff; background: var(--ef-ink); }
.ef-button--light { color: var(--ef-forest-deep); background: #fff; border-color: #fff; }
.ef-button--on-dark { color: #fff; border-color: rgba(255,255,255,.35); }
.ef-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ef-forest-deep);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}
.ef-text-link span { transition: transform .2s ease; }
.ef-text-link:hover span { transform: translateX(4px); }

/* Header: one navigation and one language selector */
.ef-header {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 50%;
  width: min(1440px, calc(100% - 28px));
  height: var(--ef-header-height);
  transform: translateX(-50%);
  color: #fff;
  background: rgba(17, 24, 18, .84);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(14, 16, 13, .18);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}
.admin-bar .ef-header { top: 44px; }
.ef-header.is-scrolled { background: rgba(17, 24, 18, .95); box-shadow: 0 16px 50px rgba(14, 16, 13, .25); }
.ef-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  height: 100%;
  padding: 0 12px 0 26px;
}
.ef-brand { display: inline-flex; align-items: center; min-width: 155px; color: #fff; text-decoration: none; white-space: nowrap; }
.ef-brand__logo { width: auto; max-width: 172px; max-height: 44px; object-fit: contain; }
.ef-brand__fallback { font-size: 1.08rem; letter-spacing: -.03em; }
.ef-brand__fallback strong { color: #d5a96c; }
.ef-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 18px;
}
.ef-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: clamp(13px, 1.7vw, 24px);
  list-style: none;
}
.ef-nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255,255,255,.92);
  font-size: clamp(.61rem, .72vw, .7rem);
  font-weight: 800;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.ef-nav__links a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: #d5a96c;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.ef-nav__links a:hover::after,
.ef-nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.ef-nav__tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
/* Hide any controls left by old headers/plugins. */
.ef-header .ef-header__actions,
.ef-header .ef-language,
.ef-header .wpml-ls,
.ef-header .wpml-ls-item { display: none !important; }
.ef-language-menu { position: relative; }
.ef-language-menu > summary { list-style: none; }
.ef-language-menu > summary::-webkit-details-marker { display: none; }
.ef-language-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 64px;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  cursor: pointer;
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.ef-language-menu__toggle svg { width: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s ease; }
.ef-language-menu[open] .ef-language-menu__toggle svg { transform: rotate(180deg); }
.ef-language-menu__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 196px;
  padding: 8px;
  color: var(--ef-ink);
  background: rgba(255,253,249,.98);
  border: 1px solid var(--ef-line);
  border-radius: 16px;
  box-shadow: var(--ef-shadow);
}
.ef-language-menu__option {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}
.ef-language-menu__option strong { font-size: .7rem; letter-spacing: .08em; }
.ef-language-menu__option small { color: var(--ef-ink-soft); font-size: .82rem; }
.ef-language-menu__option:hover { background: var(--ef-ivory); }
.ef-language-menu__option.is-active { color: #fff; background: var(--ef-forest); }
.ef-language-menu__option.is-active small { color: rgba(255,255,255,.72); }
.ef-header__cta { min-height: 46px; padding-inline: 21px; color: var(--ef-forest-deep); background: #fff; border-color: #fff; box-shadow: none; }
.ef-header__cta:hover { color: #fff; }
.ef-menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
}
.ef-menu-toggle__lines,
.ef-menu-toggle__lines::before,
.ef-menu-toggle__lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.ef-menu-toggle__lines { position: relative; }
.ef-menu-toggle__lines::before { position: absolute; top: -6px; }
.ef-menu-toggle__lines::after { position: absolute; top: 6px; }
.ef-menu-toggle[aria-expanded="true"] .ef-menu-toggle__lines { background: transparent; }
.ef-menu-toggle[aria-expanded="true"] .ef-menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.ef-menu-toggle[aria-expanded="true"] .ef-menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.ef-luxe-hero {
  display: grid;
  grid-template-columns: minmax(590px, 46%) minmax(0, 1fr);
  min-height: 690px;
  color: #fff;
  background: var(--ef-forest-black);
  overflow: hidden;
}
.ef-luxe-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 118px clamp(32px, 5vw, 76px) 74px max(32px, calc((100vw - var(--ef-container)) / 2));
  background: linear-gradient(90deg, rgba(17,24,18,1), rgba(17,24,18,.9) 72%, rgba(17,24,18,.28));
}
.ef-luxe-hero .ef-kicker { color: #d6ad73; }
.ef-luxe-hero h1 {
  max-width: 650px;
  margin-top: 16px;
  color: #fff;
  font-size: clamp(3.45rem, 5vw, 5.8rem);
  line-height: .96;
}
.ef-luxe-hero__copy > p:not(.ef-kicker):not(.ef-hero-note) {
  max-width: 590px;
  margin-top: 22px;
  color: rgba(255,255,255,.79);
  font-size: clamp(1rem, 1.15vw, 1.14rem);
  line-height: 1.72;
}
.ef-luxe-hero .ef-button--quiet { color: #fff; border-color: rgba(255,255,255,.42); }
.ef-luxe-hero .ef-button--quiet:hover { color: var(--ef-forest-deep); background: #fff; }
.ef-luxe-hero figure { position: relative; min-height: 100%; overflow: hidden; }
.ef-luxe-hero figure::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(17,24,18,.34), transparent 32%), linear-gradient(0deg, rgba(17,24,18,.13), transparent 45%);
}
.ef-luxe-hero figure img { width: 100%; height: 100%; min-height: 690px; object-fit: cover; object-position: center; filter: saturate(.88) contrast(1.03) brightness(.93); }
.ef-luxe-hero--compact { min-height: 560px; }
.ef-luxe-hero--compact figure img { min-height: 560px; }
.ef-hero-note { margin-top: 18px; color: rgba(255,255,255,.6); font-size: .82rem; }

/* Proof bar */
.ef-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--ef-container), calc(100% - 64px));
  margin: -24px auto 0;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
}
.ef-proof--bright {
  position: relative;
  z-index: 5;
  color: var(--ef-ink);
  background: rgba(255,253,249,.97);
  border: 1px solid rgba(185,151,98,.22);
  box-shadow: var(--ef-shadow-sm);
}
.ef-proof span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 16px;
  border-right: 1px solid var(--ef-line);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}
.ef-proof span:last-child { border-right: 0; }

/* Homepage universes */
.ef-card-grid { display: grid; gap: 18px; }
.ef-card-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ef-experience-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(255,253,249,.94);
  border: 1px solid var(--ef-line);
  border-radius: 18px;
  box-shadow: var(--ef-shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ef-experience-card:hover { transform: translateY(-5px); box-shadow: var(--ef-shadow); }
.ef-experience-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ded4c6; }
.ef-experience-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.ef-experience-card:hover .ef-experience-card__media img { transform: scale(1.035); }
.ef-experience-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 238px;
  padding: 25px 27px 27px;
}
.ef-experience-card__body h3 { font-size: clamp(1.95rem, 2.55vw, 2.8rem); }
.ef-experience-card__body p { margin: 14px 0 24px; color: var(--ef-ink-soft); }
.ef-experience-card__body .ef-text-link { margin-top: auto; }

/* Rituals */
.ef-rituals__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ef-line);
  border-left: 1px solid var(--ef-line);
}
.ef-rituals__grid article {
  display: flex;
  flex-direction: column;
  min-height: 275px;
  padding: 28px;
  background: rgba(255,253,249,.72);
  border-right: 1px solid var(--ef-line);
  border-bottom: 1px solid var(--ef-line);
}
.ef-rituals__grid article > span { color: var(--ef-clay); font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ef-rituals__grid h3 { margin: 54px 0 13px; font-size: 2rem; }
.ef-rituals__grid p { color: var(--ef-ink-soft); }
.ef-rituals__grid .ef-text-link { margin-top: auto; padding-top: 24px; }

/* Split modules */
.ef-split-luxe {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, .97fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.ef-split-luxe--reverse figure { order: 1; }
.ef-split-luxe--reverse > div { order: 2; }
.ef-split-luxe figure { min-height: 430px; overflow: hidden; background: #ddd2c4; border-radius: var(--ef-radius); box-shadow: var(--ef-shadow-sm); }
.ef-split-luxe figure img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.ef-split-luxe > div { max-width: 560px; }
.ef-split-luxe h2 { margin: 14px 0 22px; }
.ef-split-luxe > div > p:not(.ef-kicker):not(.ef-safety-note) { color: var(--ef-ink-soft); font-size: 1.05rem; }
.ef-split-luxe .ef-button { margin-top: 26px; }
.ef-safety-note { margin-top: 18px; padding: 14px 16px; color: var(--ef-ink-soft); background: rgba(185,151,98,.09); border-left: 3px solid var(--ef-gold); font-size: .9rem; }

/* Useful links */
.ef-feature-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ef-line);
  border-left: 1px solid var(--ef-line);
}
.ef-feature-links__grid > a {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 27px;
  background: rgba(255,253,249,.68);
  border-right: 1px solid var(--ef-line);
  border-bottom: 1px solid var(--ef-line);
  text-decoration: none;
  transition: background .25s ease;
}
.ef-feature-links__grid > a:hover { background: #fff; }
.ef-feature-links__grid span { color: var(--ef-clay); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.ef-feature-links__grid h3 { margin: 50px 0 13px; font-size: 1.95rem; }
.ef-feature-links__grid p { margin-top: auto; color: var(--ef-ink-soft); }

/* Reviews */
.ef-reviews-v2 { width: min(var(--ef-container), calc(100% - 64px)); }
.ef-reviews-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ef-reviews-summary strong { color: var(--ef-forest); font-family: var(--ef-serif); font-size: 3rem; font-weight: 400; line-height: 1; }
.ef-reviews-summary span { max-width: 250px; color: var(--ef-ink-soft); font-size: .86rem; }
.ef-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ef-review-grid--1 { grid-template-columns: minmax(0, 1fr); }
.ef-review-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ef-review-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: 18px;
  box-shadow: var(--ef-shadow-sm);
}
.ef-stars { color: #a97b37; letter-spacing: .08em; }
.ef-review-card blockquote { margin: 20px 0 26px; color: var(--ef-ink); font-family: var(--ef-serif); font-size: 1.28rem; line-height: 1.43; }
.ef-review-card footer { display: grid; gap: 4px; margin-top: auto; }
.ef-review-card footer strong { font-size: .9rem; }
.ef-review-card footer span { color: var(--ef-ink-soft); font-size: .78rem; }

/* Booking and map */
.ef-booking-map-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.ef-map-section,
.ef-form-shell,
.ef-booking-map-v2 > div {
  min-width: 0;
}
.ef-map-section {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  box-shadow: var(--ef-shadow-sm);
}
.ef-map-copy { padding: clamp(28px, 3.5vw, 42px); }
.ef-map-copy h2 { margin: 12px 0 18px; font-size: clamp(2.25rem, 3.7vw, 3.7rem); }
.ef-map-copy > p:not(.ef-kicker) { color: var(--ef-ink-soft); }
.ef-contact-facts { display: grid; gap: 10px; margin: 24px 0 0; }
.ef-contact-facts div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding-top: 10px; border-top: 1px solid var(--ef-line); }
.ef-contact-facts dt { color: var(--ef-clay); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ef-contact-facts dd { margin: 0; color: var(--ef-ink-soft); }
.ef-map-frame { min-height: 310px; background: #ddd4c8; }
.ef-map-frame iframe { width: 100%; height: 100%; min-height: 310px; border: 0; filter: saturate(.82) contrast(.96); }
.ef-booking-form {
  display: grid;
  gap: 15px;
  height: 100%;
  padding: clamp(28px, 3.5vw, 42px);
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: var(--ef-radius);
  box-shadow: var(--ef-shadow-sm);
}
.ef-form-heading { margin-bottom: 4px; }
.ef-form-heading h2 { margin: 12px 0 14px; font-size: clamp(2.25rem, 3.5vw, 3.65rem); }
.ef-form-heading > p:last-child,
.ef-form-note { color: var(--ef-ink-soft); font-size: .9rem; }
.ef-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ef-form-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ef-booking-form label { display: grid; gap: 7px; color: var(--ef-ink); font-size: .82rem; font-weight: 650; }
.ef-booking-form input,
.ef-booking-form select,
.ef-booking-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ef-ink);
  background: var(--ef-paper);
  border: 1px solid var(--ef-line);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ef-booking-form input:focus,
.ef-booking-form select:focus,
.ef-booking-form textarea:focus { border-color: var(--ef-forest); box-shadow: 0 0 0 3px rgba(57,70,50,.11); }
.ef-booking-form textarea { resize: vertical; }
.ef-form-submit-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 4px; }
.ef-form-status { min-height: 22px; color: var(--ef-forest); font-size: .9rem; }
.ef-form-status.is-error { color: #9c2f24; }
.ef-form-status a { margin-left: 6px; font-weight: 700; }
.ef-honeypot { position: absolute !important; left: -9999px !important; }
.ef-turnstile-wrap { min-height: 65px; }

/* Page intro and cards */
.ef-breadcrumbs {
  width: min(var(--ef-container), calc(100% - 64px));
  margin-inline: auto;
  padding-top: 104px;
  padding-bottom: 18px;
}
.ef-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ef-breadcrumbs li { color: var(--ef-ink-soft); font-size: .74rem; }
.ef-breadcrumbs li + li::before { margin-right: 7px; content: "/"; opacity: .55; }
.ef-breadcrumbs a { text-decoration: none; }
.ef-page-intro { max-width: 880px; text-align: center; }
.ef-page-intro .ef-kicker { margin-bottom: 13px; }
.ef-page-intro h2 { margin-bottom: 19px; }
.ef-page-intro > p:last-child { max-width: 720px; margin-inline: auto; color: var(--ef-ink-soft); font-size: 1.05rem; }
.ef-service-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ef-service-card-grid > article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: 18px;
  box-shadow: var(--ef-shadow-sm);
}
.ef-service-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ded4c7; }
.ef-service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ef-service-card-grid > article:hover .ef-service-card__media img { transform: scale(1.035); }
.ef-service-card__body { display: flex; flex: 1; flex-direction: column; min-height: 280px; padding: 25px; }
.ef-service-card__number { color: var(--ef-gold); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.ef-service-card__kicker { margin-top: 10px; color: var(--ef-clay); font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.ef-service-card__body h3 { margin: 18px 0 13px; font-size: clamp(1.8rem, 2.3vw, 2.5rem); }
.ef-service-card__body > p:not(.ef-service-card__kicker) { color: var(--ef-ink-soft); }
.ef-service-card__body .ef-text-link { margin-top: auto; padding-top: 23px; }
.ef-service-card-section--massage .ef-service-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Benefits, duration and related */
.ef-benefit-band { display: grid; gap: 34px; }
.ef-benefit-band > header { max-width: 760px; }
.ef-benefit-band > header .ef-kicker { margin-bottom: 12px; }
.ef-benefit-band > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ef-line); border-left: 1px solid var(--ef-line); }
.ef-benefit-band article { min-height: 210px; padding: 28px; background: rgba(255,253,249,.74); border-right: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); }
.ef-benefit-band article > span { color: var(--ef-clay); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.ef-benefit-band h3 { margin: 44px 0 12px; font-size: 1.95rem; }
.ef-benefit-band article p { color: var(--ef-ink-soft); }
.ef-duration-strip { text-align: center; }
.ef-duration-strip > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 14px; }
.ef-duration-strip span { display: inline-flex; min-height: 46px; align-items: center; padding: 10px 24px; background: #fff; border: 1px solid var(--ef-line); border-radius: 999px; font-weight: 750; }
.ef-duration-strip > p:last-child { color: var(--ef-ink-soft); }
.ef-related-massages > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ef-line); border-left: 1px solid var(--ef-line); }
.ef-related-massages > div > a { display: grid; gap: 9px; min-height: 115px; padding: 24px; border-right: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); text-decoration: none; }
.ef-related-massages > div > a:hover { background: #fff; }
.ef-related-massages strong { font-family: var(--ef-serif); font-size: 1.45rem; font-weight: 400; }
.ef-related-massages span { color: var(--ef-ink-soft); font-size: .78rem; }

/* FAQ */
.ef-faq { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: 48px 80px; align-items: start; }
.ef-faq > div:first-child { position: sticky; top: 110px; }
.ef-faq > div:first-child .ef-kicker { margin-bottom: 12px; }
.ef-faq__list { border-top: 1px solid var(--ef-line); }
.ef-faq details { border-bottom: 1px solid var(--ef-line); }
.ef-faq summary { position: relative; padding: 24px 46px 24px 0; cursor: pointer; font-family: var(--ef-serif); font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.25; list-style: none; }
.ef-faq summary::-webkit-details-marker { display: none; }
.ef-faq summary::after { position: absolute; top: 23px; right: 3px; content: "+"; color: var(--ef-clay); font-family: var(--ef-sans); }
.ef-faq details[open] summary::after { content: "−"; }
.ef-faq details p { max-width: 680px; padding: 0 46px 24px 0; color: var(--ef-ink-soft); }

/* Contact */
.ef-contact-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ef-contact-options article { min-height: 210px; padding: 28px; background: #fff; border: 1px solid var(--ef-line); border-radius: 16px; }
.ef-contact-options h2 { margin-bottom: 18px; font-size: 2.15rem; }
.ef-contact-options p { color: var(--ef-ink-soft); }
.ef-contact-options p + p { margin-top: 10px; }
.ef-contact-options article > a { display: inline-flex; margin-top: 22px; font-weight: 750; }

/* Blog */
.ef-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 390px;
  padding: 122px max(24px, calc((100vw - var(--ef-container)) / 2)) 64px;
  background: linear-gradient(135deg, #1b271d, #33412e);
  color: #fff;
}
.ef-page-hero > div { display: flex; flex-direction: column; justify-content: flex-end; max-width: 900px; }
.ef-page-hero .ef-kicker { color: #d8b178; }
.ef-page-hero h1 { margin-top: 14px; color: #fff; }
.ef-page-hero p:not(.ef-kicker) { max-width: 650px; margin-top: 20px; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.ef-journal-filters { display: flex; flex-wrap: wrap; gap: 8px; width: min(var(--ef-container), calc(100% - 64px)); margin: 30px auto 0; }
.ef-journal-filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; background: #fff; border: 1px solid var(--ef-line); border-radius: 999px; font-size: .74rem; text-decoration: none; }
.ef-journal-filters a.is-active,
.ef-journal-filters a:hover { color: #fff; background: var(--ef-forest); border-color: var(--ef-forest); }
.ef-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: min(var(--ef-container), calc(100% - 64px)); margin-inline: auto; }
.ef-journal-preview .ef-post-grid { width: 100%; }
.ef-post-grid--archive { padding-block: 54px; }
.ef-post-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ef-line);
  border-radius: 17px;
  box-shadow: var(--ef-shadow-sm);
}
.ef-post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #ded3c5; }
.ef-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ef-post-card:hover .ef-post-card__media img { transform: scale(1.035); }
.ef-post-card > div { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.ef-post-card h2,
.ef-post-card h3 { margin: 12px 0 14px; font-size: clamp(1.75rem, 2.2vw, 2.35rem); }
.ef-post-card h2 a,
.ef-post-card h3 a { text-decoration: none; }
.ef-post-card > div > p:not(.ef-kicker) { color: var(--ef-ink-soft); }
.ef-post-card .ef-text-link { margin-top: auto; padding-top: 22px; }
.ef-post-card--featured { grid-column: span 2; display: grid; grid-template-columns: 1.08fr .92fr; }
.ef-post-card--featured .ef-post-card__media { aspect-ratio: auto; min-height: 100%; }
.ef-pagination { width: min(var(--ef-container), calc(100% - 64px)); margin: 0 auto 64px; }
.ef-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.ef-pagination a,
.ef-pagination span { display: grid; place-items: center; width: 42px; height: 42px; background: #fff; border: 1px solid var(--ef-line); border-radius: 999px; text-decoration: none; }
.ef-pagination .current { color: #fff; background: var(--ef-forest); }

/* Article */
.ef-article { width: min(var(--ef-container), calc(100% - 64px)); margin-inline: auto; padding: 42px 0 var(--ef-section-y); }
.ef-article__header { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: 42px; align-items: center; }
.ef-article__header > div { padding: 34px 0; }
.ef-article__header h1 { margin-top: 14px; font-size: clamp(3rem, 5.2vw, 5.8rem); }
.ef-article__excerpt { margin-top: 22px; color: var(--ef-ink-soft); font-size: 1.08rem; }
.ef-article__header figure { min-height: 480px; overflow: hidden; border-radius: var(--ef-radius); }
.ef-article__header figure img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.ef-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 62px; align-items: start; max-width: 980px; margin: 54px auto 0; }
.ef-article__content { min-width: 0; font-size: 1.05rem; line-height: 1.8; }
.ef-article__content > * + * { margin-top: 1.25em; }
.ef-article__content h2 { margin-top: 1.25em; font-size: clamp(2.25rem, 3.8vw, 3.7rem); }
.ef-article__content h3 { margin-top: 1.3em; }
.ef-article__content img { border-radius: 14px; }
.ef-article-sidebar { position: sticky; top: 105px; }
.ef-article-sidebar > div { padding: 25px; background: #fff; border: 1px solid var(--ef-line); border-radius: 16px; box-shadow: var(--ef-shadow-sm); }
.ef-article-sidebar h2 { margin: 11px 0 14px; font-size: 2rem; }
.ef-article-sidebar p { color: var(--ef-ink-soft); }
.ef-article-sidebar .ef-button { margin-top: 20px; }
.ef-related-guides .ef-post-grid { width: 100%; }

/* B2B homepage: compact, secondary, premium */
.ef-partner-strip {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  width: min(var(--ef-container), calc(100% - 64px));
  margin: 0 auto var(--ef-section-y);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #1b261d 0%, #2f3d2c 100%);
  border: 1px solid rgba(185,151,98,.2);
  border-radius: 28px;
  box-shadow: var(--ef-shadow);
}
.ef-partner-strip__media { min-height: 340px; }
.ef-partner-strip__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; filter: saturate(.84) brightness(.87); }
.ef-partner-strip__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 4.5vw, 58px); }
.ef-partner-strip__content .ef-kicker { color: #d7b176; }
.ef-partner-strip__content h2 { max-width: 620px; margin: 13px 0 18px; color: #fff; font-size: clamp(2.35rem, 3.7vw, 3.9rem); }
.ef-partner-strip__content > p:not(.ef-kicker) { max-width: 610px; color: rgba(255,255,255,.75); }
.ef-partner-strip__benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 25px; padding: 0; list-style: none; }
.ef-partner-strip__benefits li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.84); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ef-partner-strip__content .ef-button { align-self: flex-start; }

/* Final CTA */
.ef-final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(68px, 7vw, 105px) 24px;
  color: rgba(255,255,255,.78);
  background: linear-gradient(135deg, #172119, #34422f);
  text-align: center;
}
.ef-final-cta .ef-kicker { color: #d8b178; }
.ef-final-cta h2 { max-width: 830px; margin: 14px auto 20px; color: #fff; }
.ef-final-cta > p:not(.ef-kicker) { max-width: 580px; }
.ef-final-cta .ef-button { margin-top: 26px; }

/* Footer */
.ef-footer {
  color: rgba(255,255,255,.74);
  background: #101611;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ef-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1.2fr .82fr .82fr 1.12fr;
  gap: 32px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: 64px 0 48px;
}
.ef-footer h2 { margin-bottom: 17px; color: #fff; font-family: var(--ef-sans); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ef-footer p { font-size: .88rem; }
.ef-footer a { color: inherit; text-decoration: none; }
.ef-footer a:hover { color: #fff; }
.ef-brand--footer { margin-bottom: 18px; }
.ef-footer__brand > p { max-width: 280px; }
.ef-footer__social { display: flex; gap: 16px; margin-top: 20px; font-size: .8rem; }
.ef-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .85rem; }
.ef-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .72rem;
}
.ef-footer__bottom > span { margin-right: auto; }
.ef-footer__languages { display: none !important; }

/* WhatsApp */
.ef-whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 17px 10px 13px;
  color: #fff;
  background: #168448;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(12, 71, 39, .32);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity .25s ease, transform .25s ease;
}
.ef-whatsapp-float svg { width: 26px; height: 26px; fill: currentColor; }
.ef-whatsapp-float:hover { transform: translateY(-3px); }
.ef-whatsapp-float.is-hidden-near-footer,
.ef-footer-in-view .ef-whatsapp-float { opacity: 0; pointer-events: none; transform: translateY(16px); }
.ef-mobile-booking { display: none; }

/* Translated and generic WP content */
.ef-page-content {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  padding: var(--ef-section-y) 0;
}
.ef-page-content > * + * { margin-top: 1.1em; }
.ef-page-content h2 { margin-top: 1.25em; }
.ef-page-content h3 { margin-top: 1.2em; }
.ef-page-content ul,
.ef-page-content ol { padding-left: 1.3em; }
.ef-page-content img { border-radius: 14px; }
.ef-page-content--translated { padding-top: 120px; }
.ef-page-content--translated .elementor { width: 100vw; margin-left: calc(50% - 50vw); }
.ef-404 { display: grid; place-items: center; min-height: 80vh; padding: 120px 24px 70px; }
.ef-404__panel { max-width: 700px; padding: 48px; background: #fff; border: 1px solid var(--ef-line); border-radius: var(--ef-radius); text-align: center; box-shadow: var(--ef-shadow); }

/* Responsive */
@media (max-width: 1180px) {
  :root { --ef-container: 1040px; }
  .ef-header { width: calc(100% - 20px); }
  .ef-header__inner { gap: 15px; padding-left: 20px; }
  .ef-brand { min-width: 136px; }
  .ef-nav__links { gap: 12px; }
  .ef-nav__links a { font-size: .6rem; letter-spacing: .08em; }
  .ef-header__cta { padding-inline: 17px; }
  .ef-card-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-rituals__grid,
  .ef-feature-links__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-service-card-grid,
  .ef-service-card-section--massage .ef-service-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-related-massages > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-footer__grid { grid-template-columns: 1.3fr 1.1fr 1fr 1fr; }
  .ef-footer__grid > div:last-child { grid-column: span 2; }
}

@media (max-width: 1100px) {
  :root { --ef-header-height: 62px; --ef-section-y: clamp(56px, 8vw, 78px); }
  .ef-header { top: 8px; height: var(--ef-header-height); border-radius: 18px; }
  .admin-bar .ef-header { top: 54px; }
  .ef-header__inner { grid-template-columns: 1fr auto; padding: 0 8px 0 18px; }
  .ef-menu-toggle { display: grid; }
  .ef-nav {
    position: fixed;
    z-index: 1001;
    top: 72px;
    right: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-height: calc(100dvh - 88px);
    padding: 22px;
    overflow: auto;
    color: var(--ef-ink);
    background: rgba(255,253,249,.99);
    border: 1px solid var(--ef-line);
    border-radius: 20px;
    box-shadow: var(--ef-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .admin-bar .ef-nav { top: 118px; max-height: calc(100dvh - 132px); }
  .ef-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .ef-nav__links { display: grid; gap: 0; }
  .ef-nav__links li { border-bottom: 1px solid var(--ef-line); }
  .ef-nav__links a { min-height: 54px; color: var(--ef-ink); font-family: var(--ef-serif); font-size: 1.75rem; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .ef-nav__links a::after { display: none; }
  .ef-nav__tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-top: 14px; }
  .ef-language-menu { min-width: 0; }
  .ef-language-menu__toggle { width: 100%; min-height: 48px; justify-content: space-between; color: var(--ef-ink); background: var(--ef-ivory); border-color: var(--ef-line); }
  .ef-language-menu__panel { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
  .ef-header__cta { min-height: 48px; color: #fff; background: var(--ef-forest); border-color: var(--ef-forest); }
  .ef-luxe-hero { grid-template-columns: 1fr; min-height: 0; }
  .ef-luxe-hero figure { order: 1; min-height: 460px; }
  .ef-luxe-hero figure img,
  .ef-luxe-hero--compact figure img { min-height: 460px; }
  .ef-luxe-hero__copy { order: 2; padding: 46px 28px 52px; background: var(--ef-forest-black); }
  .ef-luxe-hero h1 { font-size: clamp(3.25rem, 9vw, 5.4rem); }
  .ef-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; border-radius: 0; width: 100%; }
  .ef-proof span { min-height: 58px; border-bottom: 1px solid var(--ef-line); }
  .ef-proof span:nth-child(2) { border-right: 0; }
  .ef-proof span:nth-last-child(-n+2) { border-bottom: 0; }
  .ef-section__intro { grid-template-columns: 1fr; gap: 18px; }
  .ef-section__intro > p,
  .ef-section__intro > div + p { max-width: 680px; }
  .ef-split-luxe { grid-template-columns: 1fr; }
  .ef-split-luxe > div { max-width: 100%; }
  .ef-split-luxe figure,
  .ef-split-luxe figure img { min-height: 390px; }
  .ef-booking-map-v2 { grid-template-columns: 1fr; }
  .ef-faq { grid-template-columns: 1fr; gap: 30px; }
  .ef-faq > div:first-child { position: static; }
  .ef-review-grid { grid-template-columns: 1fr; }
  .ef-contact-options { grid-template-columns: 1fr; }
  .ef-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-post-card--featured { grid-column: span 2; }
  .ef-article__header { grid-template-columns: 1fr; }
  .ef-article__header figure,
  .ef-article__header figure img { min-height: 410px; }
  .ef-article-layout { grid-template-columns: 1fr; gap: 34px; }
  .ef-article-sidebar { position: static; }
  .ef-partner-strip { grid-template-columns: 1fr; }
  .ef-partner-strip__media,
  .ef-partner-strip__media img { min-height: 300px; }
  .ef-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ef-footer__grid > div:last-child { grid-column: auto; }
  .ef-whatsapp-float { display: none; }
  .ef-mobile-booking {
    position: fixed;
    z-index: 950;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,253,249,.96);
    border-top: 1px solid var(--ef-line);
    box-shadow: 0 -10px 30px rgba(25, 24, 20, .12);
    backdrop-filter: blur(16px);
  }
  .ef-mobile-booking a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; color: #fff; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
  .ef-mobile-booking__wa { background: #117b42; }
  .ef-mobile-booking__call { background: #1c251d; }
  .ef-mobile-booking svg { width: 22px; height: 22px; fill: currentColor; }
  .ef-footer { padding-bottom: 76px; }
}

@media (max-width: 720px) {
  .ef-section,
  .ef-reviews-v2,
  .ef-post-grid,
  .ef-journal-filters,
  .ef-article,
  .ef-breadcrumbs,
  .ef-page-content,
  .ef-footer__grid,
  .ef-footer__bottom,
  .ef-partner-strip { width: min(100% - 32px, var(--ef-container)); }
  .ef-luxe-hero figure,
  .ef-luxe-hero figure img,
  .ef-luxe-hero--compact figure img { min-height: 360px; }
  .ef-luxe-hero__copy { padding: 38px 20px 44px; }
  .ef-luxe-hero h1 { font-size: clamp(2.7rem, 11vw, 4.1rem); line-height: 1; }
  .ef-card-grid--four,
  .ef-rituals__grid,
  .ef-feature-links__grid,
  .ef-service-card-grid,
  .ef-service-card-section--massage .ef-service-card-grid,
  .ef-benefit-band > div,
  .ef-related-massages > div,
  .ef-post-grid { grid-template-columns: 1fr; }
  .ef-post-card--featured { grid-column: auto; display: flex; }
  .ef-experience-card__body { min-height: 215px; }
  .ef-split-luxe figure,
  .ef-split-luxe figure img { min-height: 300px; }
  .ef-form-row,
  .ef-form-row--three { grid-template-columns: 1fr; }
  .ef-form-submit-row { grid-template-columns: 1fr; }
  .ef-form-submit-row .ef-button { width: 100%; }
  .ef-contact-facts div { grid-template-columns: 1fr; gap: 4px; }
  .ef-page-hero { min-height: 340px; padding-top: 105px; }
  .ef-article__header figure,
  .ef-article__header figure img { min-height: 300px; }
  .ef-partner-strip__media,
  .ef-partner-strip__media img { min-height: 245px; }
  .ef-partner-strip__content { padding: 31px 23px 36px; }
  .ef-partner-strip__content h2 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .ef-footer__grid { grid-template-columns: 1fr; padding-top: 48px; }
  .ef-footer__bottom { align-items: flex-start; flex-direction: column; }
  .ef-footer__bottom > span { margin-right: 0; }
}

@media (max-width: 420px) {
  .ef-header { width: calc(100% - 14px); }
  .ef-brand { min-width: 0; }
  .ef-brand__fallback { font-size: .98rem; }
  .ef-header__inner { padding-left: 14px; }
  .ef-nav { right: 7px; left: 7px; padding: 18px; }
  .ef-nav__links a { font-size: 1.55rem; }
  .ef-proof span { padding-inline: 8px; font-size: .61rem; }
  .ef-review-card,
  .ef-service-card__body,
  .ef-experience-card__body,
  .ef-booking-form,
  .ef-map-copy { padding: 22px; }
  .ef-mobile-booking { grid-template-columns: 1fr 1fr; }
}


/* 3.4.0 consolidated premium, multilingual and conversion fixes */
/* WPML may print a second language selector after wp_footer(). Keep language choice in the header only. */
.wpml-ls-statics-footer,
body > .wpml-ls-statics-footer,
.ef-footer ~ .wpml-ls-statics-footer,
.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.wpml-ls img,
img.wpml-ls-flag {
  display: inline-block !important;
  width: 18px !important;
  max-width: 18px !important;
  height: auto !important;
}

/* Long hero titles must wrap only between words, never inside Hammam or Marrakech. */
.ef-luxe-hero h1,
.ef-page-hero h1 {
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}
.ef-home-luxe-hero .ef-luxe-hero__copy {
  min-width: 0;
}

/* Every massage card can use a different crop and a WordPress featured image when available. */
.ef-service-card-grid > article[class*="ef-service-card--massage-"] .ef-service-card__media img {
  object-position: center;
}
.ef-service-card--massage-relaxant-marrakech .ef-service-card__media img { object-position: 50% 42%; }
.ef-service-card--massage-tonique-marrakech .ef-service-card__media img { object-position: 52% 54%; }
.ef-service-card--massage-deep-tissue-marrakech .ef-service-card__media img { object-position: 44% 48%; }
.ef-service-card--massage-californien-marrakech .ef-service-card__media img { object-position: 50% 58%; }
.ef-service-card--massage-oriental-marrakech .ef-service-card__media img { object-position: 46% 52%; }
.ef-service-card--massage-sportif-marrakech .ef-service-card__media img { object-position: 58% 48%; }
.ef-service-card--massage-thai-marrakech .ef-service-card__media img { object-position: 38% 52%; }
.ef-service-card--massage-pierres-chaudes-marrakech .ef-service-card__media img { object-position: 50% 60%; }
.ef-service-card--massage-femme-enceinte-marrakech .ef-service-card__media img { object-position: 60% 48%; }
.ef-service-card--massage-couple-marrakech .ef-service-card__media img { object-position: 50% 55%; }

@media (min-width: 1101px) {
  .ef-luxe-hero__copy {
    padding-right: clamp(42px, 4vw, 68px);
  }
  .ef-home-luxe-hero h1 {
    max-width: 650px;
  }
}

@media (max-width: 1100px) {
  .ef-luxe-hero {
    grid-template-columns: 1fr;
  }
  .ef-luxe-hero figure {
    order: 1;
    min-height: clamp(390px, 58vw, 560px);
  }
  .ef-luxe-hero figure img,
  .ef-luxe-hero--compact figure img {
    min-height: clamp(390px, 58vw, 560px);
    object-position: center;
  }
  .ef-luxe-hero__copy {
    order: 2;
  }
}

@media (max-width: 720px) {
  .ef-luxe-hero figure,
  .ef-luxe-hero figure img,
  .ef-luxe-hero--compact figure img {
    min-height: clamp(300px, 82vw, 410px);
  }
  .ef-luxe-hero__copy > p:not(.ef-kicker):not(.ef-hero-note) {
    font-size: .98rem;
    line-height: 1.65;
  }
}

/* RTL */
body.ef-lang-ar { direction: rtl; }
body.ef-lang-ar .ef-header__inner,
body.ef-lang-ar .ef-nav,
body.ef-lang-ar .ef-actions,
body.ef-lang-ar .ef-footer__bottom { direction: rtl; }
body.ef-lang-ar .ef-language-menu__panel { right: auto; left: 0; }
body.ef-lang-ar .ef-luxe-hero__copy { padding-right: max(32px, calc((100vw - var(--ef-container)) / 2)); padding-left: clamp(32px, 5vw, 76px); background: linear-gradient(270deg, rgba(17,24,18,1), rgba(17,24,18,.9) 72%, rgba(17,24,18,.28)); }
body.ef-lang-ar .ef-faq summary { padding-right: 0; padding-left: 46px; }
body.ef-lang-ar .ef-faq summary::after { right: auto; left: 3px; }
body.ef-lang-ar .ef-faq details p { padding-right: 0; padding-left: 46px; }
body.ef-lang-ar .ef-safety-note { border-right: 3px solid var(--ef-gold); border-left: 0; }
@media (max-width: 1100px) {
}
/* Component-specific reset: the partner strip is a contained card, not a padded generic section. */
.ef-section.ef-partner-strip {
  padding: 0;
  border-top: 0;
}

/* 3.1 multilingual mobile navigation and device theme */
.ef-header__mobile-tools { display: none; align-items: center; gap: 8px; }
.ef-language-menu--mobile { display: none; }
.ef-brand { position: relative; z-index: 3; pointer-events: auto; }
.ef-brand img,
.ef-brand span { pointer-events: none; }

@media (max-width: 1100px) {
  .ef-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .ef-header__mobile-tools {
    position: relative;
    z-index: 5;
    display: flex;
  }
  .ef-language-menu--desktop { display: none !important; }
  .ef-language-menu--mobile { display: block; position: relative; }
  .ef-language-menu--mobile .ef-language-menu__toggle {
    width: 48px;
    min-width: 48px;
    min-height: 46px;
    padding: 0 9px;
    justify-content: center;
    gap: 5px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.28);
  }
  .ef-language-menu--mobile .ef-language-menu__toggle svg { width: 8px; }
  .ef-language-menu--mobile .ef-language-menu__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(230px, calc(100vw - 28px));
    margin: 0;
    padding: 8px;
    color: var(--ef-ink);
    background: rgba(255,253,249,.99);
    border: 1px solid var(--ef-line);
    border-radius: 16px;
    box-shadow: var(--ef-shadow);
  }
  .ef-nav__tools {
    grid-template-columns: 1fr;
  }
  .ef-nav__tools .ef-header__cta { width: 100%; }
  .ef-menu-toggle { display: grid; flex: 0 0 46px; }
  body.ef-lang-ar .ef-language-menu--mobile .ef-language-menu__panel {
    right: auto;
    left: 0;
  }
}

/* Default remains light. Phones following the system dark preference receive
   the same layout with a darker, calmer palette rather than a different theme. */
@media (max-width: 1100px) and (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ef-ink: #f5f1e8;
    --ef-ink-soft: #c4bfb5;
    --ef-ivory: #111812;
    --ef-paper: #172019;
    --ef-white: #1b251d;
    --ef-line: rgba(255,255,255,.13);
    --ef-shadow-sm: 0 12px 38px rgba(0,0,0,.22);
    --ef-shadow: 0 24px 70px rgba(0,0,0,.34);
  }
  html,
  body {
    background: #111812;
    color: var(--ef-ink);
  }
  body {
    background: linear-gradient(rgba(17,24,18,.97), rgba(22,31,24,.97)), #111812;
  }
  h1, h2, h3, h4,
  .ef-nav__links a,
  .ef-language-menu__panel,
  .ef-language-menu__option,
  .ef-button--quiet,
  .ef-form-shell label,
  .ef-booking-form label { color: var(--ef-ink); }
  .ef-nav,
  .ef-language-menu--mobile .ef-language-menu__panel,
  .ef-review-card,
  .ef-post-card,
  .ef-service-card-grid > article,
  .ef-experience-card,
  .ef-feature-links__grid > a,
  .ef-booking-form,
  .ef-map-card,
  .ef-contact-option,
  .ef-faq details,
  .ef-article-sidebar > div,
  .ef-404__panel {
    background: #1a231c;
    border-color: rgba(255,255,255,.13);
  }
  .ef-nav__links li,
  .ef-section + .ef-section,
  .ef-proof span,
  .ef-footer__bottom,
  input, select, textarea {
    border-color: rgba(255,255,255,.13);
  }
  input, select, textarea {
    color: #f7f3eb;
    background: #121a14;
  }
  input::placeholder,
  textarea::placeholder { color: #aaa69e; }
  .ef-button--quiet {
    border-color: rgba(255,255,255,.35);
  }
  .ef-button--quiet:hover { background: #f5f1e8; color: #111812; }
  .ef-language-menu__option:hover { background: #243027; }
  .ef-language-menu__option.is-active { background: #46573f; }
  .ef-page-intro > p,
  .ef-section__intro > p,
  .ef-section__intro > div + p,
  .ef-post-card p,
  .ef-service-card__body > p,
  .ef-experience-card__body > p,
  .ef-footer p { color: var(--ef-ink-soft); }
  .ef-proof--bright { background: #172019; }
  .ef-footer { background: #0c120e; }
}


/* 3.2 premium products, expertise and desktop-width system */
.ef-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ef-footer__booking-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #fff !important;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ef-quality-block {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr);
  gap: clamp(38px, 5vw, 78px);
  align-items: center;
}
.ef-quality-block__visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #d8cdbf;
  border-radius: var(--ef-radius-lg);
  box-shadow: var(--ef-shadow);
}
.ef-quality-block__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(17,24,18,.72) 100%);
}
.ef-quality-block__visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(.9) contrast(1.02);
}
.ef-quality-block__visual figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ef-quality-block__visual figcaption span {
  padding: 8px 12px;
  color: #fff;
  background: rgba(17,24,18,.66);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ef-quality-block__content h2 {
  max-width: 680px;
  margin: 14px 0 20px;
  font-size: clamp(2.55rem, 4vw, 4.5rem);
}
.ef-quality-block__lead {
  max-width: 650px;
  color: var(--ef-ink-soft);
  font-size: 1.05rem;
}
.ef-quality-block__points {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--ef-line);
}
.ef-quality-block__points article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 5px 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ef-line);
}
.ef-quality-block__points article > span {
  grid-row: 1 / span 2;
  color: var(--ef-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.ef-quality-block__points h3 {
  font-family: var(--ef-sans);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.ef-quality-block__points p {
  color: var(--ef-ink-soft);
  font-size: .94rem;
}
.ef-quality-block__link { margin-top: 24px; }

.ef-article-authority {
  margin-top: 42px;
  padding: 28px;
  background: rgba(185,151,98,.08);
  border: 1px solid rgba(185,151,98,.24);
  border-radius: 18px;
}
.ef-article-authority h2 {
  margin: 10px 0 13px;
  font-size: clamp(1.8rem, 2.6vw, 2.55rem);
}
.ef-article-authority > p:last-child { color: var(--ef-ink-soft); }

/* Large desktops: immersive imagery, generous contained content, never edge-to-edge text. */
@media (min-width: 1500px) {
  :root { --ef-container: 1400px; }
  .ef-luxe-hero { grid-template-columns: minmax(620px, 43%) minmax(0, 1fr); }
  .ef-luxe-hero__copy { padding-left: max(48px, calc((100vw - 1400px) / 2)); }
  .ef-card-grid--four { gap: 22px; }
  .ef-service-card-grid { gap: 20px; }
}

@media (max-width: 1450px) and (min-width: 1181px) {
  :root { --ef-container: 1240px; }
}

@media (max-width: 1100px) {
  .ef-quality-block { grid-template-columns: 1fr; }
  .ef-quality-block__visual,
  .ef-quality-block__visual img { min-height: 430px; }
  .ef-quality-block__content h2 { max-width: 800px; }
}

@media (max-width: 720px) {
  .ef-section,
  .ef-reviews-v2,
  .ef-post-grid,
  .ef-article,
  .ef-partner-strip { width: min(100% - 32px, var(--ef-container)); }
  .ef-quality-block { gap: 28px; }
  .ef-quality-block__visual,
  .ef-quality-block__visual img { min-height: 320px; }
  .ef-quality-block__visual { border-radius: 20px; }
  .ef-quality-block__visual figcaption { right: 14px; bottom: 14px; left: 14px; gap: 6px; }
  .ef-quality-block__visual figcaption span { padding: 6px 9px; font-size: .58rem; }
  .ef-quality-block__content h2 { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .ef-quality-block__points article { grid-template-columns: 34px minmax(0, 1fr); padding: 18px 0; }
}

@media (max-width: 1100px) and (prefers-color-scheme: dark) {
  .ef-quality-block__points article,
  .ef-article-authority { border-color: rgba(255,255,255,.13); }
  .ef-article-authority { background: rgba(185,151,98,.09); }
}


/* 3.4.0 targeted service-page corrections */
.ef-luxe-page .ef-luxe-hero--compact { min-height: 440px; }
.ef-luxe-page .ef-luxe-hero--compact figure img { min-height: 440px; max-height: 520px; }
.ef-luxe-page .ef-luxe-hero--compact .ef-luxe-hero__copy { padding-top: 72px; padding-bottom: 72px; }
.ef-luxe-page .ef-luxe-hero--compact h1 { font-size: clamp(3.1rem, 5.2vw, 6rem); line-height: .96; }
.ef-service-card-section--massage .ef-service-card__body { min-height: 330px; }
.ef-service-card-section--massage .ef-service-card__body > p:not(.ef-service-card__kicker) { font-size: .98rem; line-height: 1.72; }
.ef-page-soins .ef-service-card-grid > article:nth-child(1) .ef-service-card__media img { object-position: 50% 42%; }
.ef-page-soins .ef-service-card-grid > article:nth-child(2) .ef-service-card__media img { object-position: 52% 38%; }
.ef-page-soins .ef-service-card-grid > article:nth-child(3) .ef-service-card__media img { object-position: 50% 50%; }
@media (max-width: 1100px) {
  .ef-luxe-page .ef-luxe-hero--compact { min-height: 0; }
  .ef-luxe-page .ef-luxe-hero--compact figure,
  .ef-luxe-page .ef-luxe-hero--compact figure img { min-height: 360px; max-height: 430px; }
  .ef-luxe-page .ef-luxe-hero--compact .ef-luxe-hero__copy { padding-top: 44px; padding-bottom: 48px; }
}
@media (max-width: 640px) {
  .ef-luxe-page .ef-luxe-hero--compact figure,
  .ef-luxe-page .ef-luxe-hero--compact figure img { min-height: 285px; max-height: 340px; }
  .ef-luxe-page .ef-luxe-hero--compact h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .ef-service-card-section--massage .ef-service-card__body { min-height: auto; }
}
