/* LUMORA SWISS — publicar-8
   Colours and type from the v1.4 brand kit / v7 Golondrina.
   Burdeos #5B2229 · Marfil #F6F0E6 · Piedra #D8CCB8 · Tinta #1E1A19
   Do not recolour logos. Logical properties are used so a future
   Arabic version can set dir="rtl" without rewriting the layout. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-Italic-500.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-300.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/Jost-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --burdeos: #5B2229;
  --marfil: #F6F0E6;
  --piedra: #D8CCB8;
  --tinta: #1E1A19;
  --max: 1180px;
  --gap: 24px;
}

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

html {
  scroll-behavior: smooth;
}
html:focus-within { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--marfil);
}

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

a {
  color: var(--burdeos);
  text-underline-offset: 0.15em;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--burdeos);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  z-index: 20;
  background: var(--burdeos);
  color: var(--marfil);
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.skip:focus { top: 12px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--piedra);
  background: var(--marfil);
  color: var(--burdeos);
}
.logo {
  color: inherit;
  display: flex;
  align-items: center;
  padding-block: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img { display: none; background: transparent; }
.logo .n1h { display: block; width: 282px; height: auto; }
.logo .n2h,
.logo .n3 { display: none; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-nav a {
  color: var(--tinta);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--burdeos);
  text-decoration: underline;
}

@media (max-width: 1023.98px) {
  .site-header { min-height: 72px; }
  .logo .n1h { display: none; }
  .logo .n2h { display: block; width: 217px; height: auto; }
}
@media (max-width: 599.98px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav";
    align-items: center;
    row-gap: 8px;
    min-height: 0;
    padding: 10px 16px 12px;
  }
  .logo { grid-area: logo; padding: 0; }
  .logo .n2h { width: 152px; }
  .header-tools { display: contents; }
  .site-nav {
    grid-area: nav;
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
  }
  .site-nav a { font-size: 13px; }
}
@media (max-width: 359.98px) {
  .logo .n2h { display: none; }
  .logo .n3 { display: block; height: 36px; width: auto; }
}

/* Hero: photo kept; type smaller and pinned to the bottom start (left in LTR). */
.hero {
  position: relative;
  min-height: min(80vh, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: var(--marfil);
  background: var(--burdeos);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(30, 26, 25, 0.82) 0%, rgba(30, 26, 25, 0.35) 34%, rgba(30, 26, 25, 0) 58%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 0 40px;
  text-align: start;
}
.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem); /* ~30–44px */
  line-height: 1.15;
  letter-spacing: -0.003em;
  margin: 0;
  max-width: 16em;
  color: var(--marfil);
}
.hero .lead {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.15vw, 1.125rem); /* 16–18px */
  line-height: 1.45;
  max-width: 34em;
  margin: 10px 0 0;
  color: var(--marfil);
}
@media (max-width: 599.98px) {
  .hero { min-height: 72vh; }
  .hero-content { padding-block: 0 28px; }
}

.btn {
  display: inline-block;
  margin-top: 28px;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  padding: 12px 22px;
  background: var(--marfil);
  color: var(--burdeos);
  border: 1px solid var(--marfil);
}
.btn:hover {
  background: transparent;
  color: var(--marfil);
  text-decoration: none;
}
.btn-solid {
  background: var(--burdeos);
  color: var(--marfil);
  border-color: var(--burdeos);
}
.btn-solid:hover {
  background: transparent;
  color: var(--burdeos);
}

/* Sections */
.section { padding-block: 80px; }
.section + .section { border-top: 1px solid var(--piedra); }

.kicker,
h2.kicker {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--burdeos);
  margin: 0 0 16px;
}

.section h2:not(.kicker) {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--burdeos);
  margin: 0 0 20px;
}
.section p { margin: 0 0 1em; }
.section p:last-child { margin-bottom: 0; }
.measure { max-width: 40em; }
.measure p { max-width: none; }
.purpose-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--tinta);
  margin: 0;
}

/* How it works */
.facts-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 28px;
  margin-top: 8px;
}
.facts-row h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--burdeos);
  margin: 0 0 8px;
}
.facts-row p { margin: 0; max-width: none; }
@media (max-width: 759.98px) {
  .facts-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Programme cards */
.programmes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
  margin-top: 40px;
  align-items: start;
}
.programme {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: transparent;
}
.programme figure { margin: 0 0 20px; }
.programme img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.programme--landscape img { aspect-ratio: 4 / 3; }
.programme--portrait img { aspect-ratio: 3 / 4; }
.programme h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.15;
  color: var(--burdeos);
  margin: 0 0 12px;
}
.programme .facts {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  font-size: 16px;
}
.programme .facts li { margin: 0 0 0.2em; }
.price {
  margin: 0 0 1em;
  color: var(--tinta);
  font-size: 16px;
}
.price strong {
  display: block;
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.05em;
  color: var(--burdeos);
  margin-bottom: 0.35em;
}
.guiding-only {
  font-size: 14px;
  line-height: 1.5;
}

.programme--no-media {
  background: var(--burdeos);
  color: var(--marfil);
  padding: 32px 28px;
  min-height: 100%;
}
.programme--no-media h3 { color: var(--marfil); }
.programme--no-media .price strong { color: var(--marfil); }
.programme--no-media a { color: var(--marfil); }
.programme--no-media .details-block {
  border-color: rgba(246, 240, 230, 0.35);
}
.programme--no-media summary { color: var(--marfil); }
.programme--no-media .health-note,
.programme--no-media .details-block p { color: var(--marfil); }

@media (max-width: 759.98px) {
  .programmes { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .programme--portrait img { aspect-ratio: 3 / 4; max-height: 70vh; }
}

/* Foldable practical details and FAQ */
.details-block,
#faq details {
  border-top: 1px solid var(--piedra);
  padding-block: 10px 4px;
}
.details-block summary,
#faq details summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  color: var(--burdeos);
}
.details-block summary::-webkit-details-marker,
#faq details summary::-webkit-details-marker { display: none; }
.details-block summary::before,
#faq details summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  font-weight: 500;
}
.details-block[open] summary::before,
#faq details[open] summary::before { content: "–"; }
.details-block .details-body,
#faq details p {
  margin: 10px 0 8px;
  font-size: 14px;
  line-height: 1.55;
}
.details-block .details-body p { margin: 0 0 0.85em; font-size: 14px; }
.details-block .details-body p:last-child { margin-bottom: 0; }

.measure-faq { max-width: 44em; }
#faq details { margin: 0; }
#faq .faq-kicker { margin-bottom: 8px; }

/* How to book */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  min-width: 0;
  padding-top: 8px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  color: var(--burdeos);
  margin-bottom: 12px;
}
.steps p { margin: 0; max-width: none; }
@media (max-width: 759.98px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

.booking-notes {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--piedra);
  max-width: 42em;
}
.booking-notes p { margin: 0 0 0.7em; max-width: none; }
.booking-notes p:last-child { margin-bottom: 0; }


.contact-block {
  padding-block: 80px;
  border-top: 1px solid var(--piedra);
}
.contact-block h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2rem);
  color: var(--burdeos);
  margin: 0 0 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--piedra);
  padding: 40px 0 48px;
  font-size: 14px;
}
.site-footer .n2h {
  width: 180px;
  height: auto;
  margin-bottom: 16px;
}
.site-footer p { margin: 0 0 0.6em; max-width: 40em; }
.footer-tagline { font-weight: 400; }
.role-line { font-weight: 500; }
.footer-legal a { color: var(--burdeos); }

/* Legal pages */
.legal-page { padding-bottom: 48px; }
.legal-page h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  color: var(--burdeos);
  margin: 0 0 24px;
}
.measure-legal { max-width: 44em; }
.legal-page h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 1.4em 0 0.4em;
}
.legal-page p, .legal-page li { max-width: 42em; }
.legal-page .address { line-height: 1.5; }
.legal-page ul { margin: 0 0 1em; padding-inline-start: 1.2em; }

/* Future RTL: set dir="rtl" and lang="ar" on html when an Arabic version exists.
   Layout already uses logical properties (margin-inline, padding-inline, inset-inline). */
[dir="rtl"] .site-nav { justify-content: flex-start; }
[dir="rtl"] .hero-media img { object-position: center 22%; }
[dir="rtl"] .hero-content { text-align: start; }
[dir="rtl"] .hero { justify-content: flex-start; }
[dir="rtl"] .steps li::before { font-variant-numeric: lining-nums; }


/* Photo row: already-used experience photos, integrated between sections */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  background: var(--tinta);
}
.photo-row figure { margin: 0; }
.photo-row img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
@media (max-width: 759.98px) {
  .photo-row { grid-template-columns: minmax(0, 1fr); }
  .photo-row img { height: 200px; }
}

.transfer-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--piedra);
  max-width: 42em;
}
.transfer-note p { margin: 0; max-width: none; }
.transfer-note strong {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 500;
  color: var(--burdeos);
}

.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}
.contact-photo { margin: 0; }
.contact-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
@media (max-width: 759.98px) {
  .contact-split { grid-template-columns: minmax(0, 1fr); }
  .contact-photo { order: -1; }
  .contact-photo img { max-height: 42vh; }
}

.legal-page {
  background: var(--marfil);
}
.legal-page .kicker { margin-top: 8px; }

@media print {
  .site-header { position: static; }
  .hero { min-height: 0; }
  .hero-media { position: relative; height: 180px; }
  .programmes { display: block; }
  .programme { break-inside: avoid; margin-bottom: 16px; }
  .programme img { height: 120px; aspect-ratio: auto; }
  .btn { margin-top: 8px; padding: 4px 12px; font-size: 8pt; }
  .legal-page { font-size: 9pt; }
}
