/*
 * Es Turó de França — official identity, visual layer for public booking and
 * legal pages. No business logic or document text is modified here.
 * Branding: Verde Oliva #5C5A3E · Tierra Suave #BCA686
 * Heading: Cormorant Garamond · Body: Raleway
 */
.etf-legal,
.etf-booking,
.etf-guests,
.etf-result {
  --etf-black: #303326;
  --etf-gold: #BCA686;
  --etf-gold-dark: #5C5A3E;
  --etf-gold-soft: #F1EADF;
  --etf-gray: #F6F3ED;
  --etf-line: #DED6C9;
  --etf-muted: #625F55;
  --etf-brand-olive: #5C5A3E;
  --etf-brand-deep: #41442F;
  --etf-brand-earth: #BCA686;
  --etf-brand-paper: #F9F7F2;
  --etf-success: #3F7050;
  --etf-error: #A33A35;
  color: #303326;
  font-family: 'Raleway', Arial, sans-serif;
}

/* Legal pages: shared identity on all 6 [etf_legal_page] types and 5 locales. */
.etf-legal {
  max-width: 1260px;
  width: min(1260px, calc(100% - 48px));
  margin: clamp(24px, 3.2vw, 48px) auto 76px;
  background: #fff;
  box-shadow: 0 13px 55px rgba(53, 55, 42, .05);
  overflow-wrap: break-word;
}
.etf-legal *,
.etf-legal *::before,
.etf-legal *::after { box-sizing: border-box; }

.etf-legal .etf-legal__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(245px, 25vw, 350px);
  padding: clamp(42px, 5vw, 78px);
  border: 0;
  background: #5C5A3E;
  color: #fff;
  overflow: hidden;
}
.etf-legal .etf-legal__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 98% 15%, rgba(188,166,134,.29), transparent 46%),
    linear-gradient(90deg, rgba(44,48,34,.19), rgba(44,48,34,0) 70%);
  pointer-events: none;
  z-index: -1;
}
.etf-legal .etf-legal__hero::after {
  content: '';
  position: absolute;
  right: clamp(28px, 4vw, 70px);
  top: 50%;
  width: clamp(75px, 13vw, 175px);
  height: clamp(75px, 13vw, 175px);
  border: 1px solid rgba(239,231,213,.18);
  border-radius: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}
.etf-legal .etf-legal__eyebrow {
  margin: 0 0 13px !important;
  color: #E3D3BA !important;
  font: 700 11px/1.5 'Raleway', Arial, sans-serif !important;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.etf-legal .etf-legal__hero h1 {
  max-width: 850px;
  margin: 0 !important;
  color: #fff !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(47px, 5.2vw, 82px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.etf-legal .etf-legal__intro {
  max-width: 730px;
  margin: 16px 0 0 !important;
  color: #F0EBE1 !important;
  font: 400 14px/1.65 'Raleway', Arial, sans-serif !important;
}

.etf-legal .etf-legal__identity {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(110px, .55fr) minmax(0, 1.55fr);
  border: 1px solid #DED6C9;
  border-top: 0;
  background: #F6F3ED;
}
.etf-legal .etf-legal__identity > div {
  min-height: 112px;
  min-width: 0;
  padding: 22px clamp(18px, 2.25vw, 32px);
  border-color: #DED6C9;
}
.etf-legal .etf-legal__identity span {
  color: #676653 !important;
  font: 700 10px/1.4 'Raleway', Arial, sans-serif !important;
  letter-spacing: .12em;
}
.etf-legal .etf-legal__identity strong {
  color: #303326 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(20px, 2.1vw, 27px) !important;
  font-weight: 600 !important;
  line-height: 1.24 !important;
}
.etf-legal .etf-legal__identity > div:last-child strong {
  font: 600 13px/1.65 'Raleway', Arial, sans-serif !important;
}
.etf-legal .etf-legal__identity a {
  color: #525739 !important;
  text-decoration-color: #BCA686 !important;
  font: 600 12px/1.6 'Raleway', Arial, sans-serif;
  overflow-wrap: anywhere;
}
.etf-legal .etf-legal__identity a:hover { color: #303326 !important; }

.etf-legal .etf-legal__main {
  padding: clamp(35px, 5vw, 78px) clamp(22px, 5.2vw, 80px);
  border: 1px solid #E6DFD4;
  border-top: 0;
  background: #fff;
}
.etf-legal .etf-legal__content { width: 100%; max-width: 1080px; margin: 0 auto; }
.etf-legal .etf-legal__content > p,
.etf-legal .etf-legal__clause > p {
  color: #414339 !important;
  font: 400 clamp(14px, 1.08vw, 15px)/1.95 'Raleway', Arial, sans-serif !important;
  letter-spacing: .002em;
  overflow-wrap: anywhere;
}
.etf-legal .etf-legal__clause {
  display: grid;
  grid-template-columns: minmax(210px, .67fr) minmax(0, 1.33fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(27px, 3.4vw, 48px) 0;
  border-color: #E5DED2;
}
.etf-legal .etf-legal__clause h2,
.etf-legal .etf-legal__more-head h2 {
  margin: 0 !important;
  color: #444931 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -.015em !important;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.etf-legal .etf-legal__clause h2 {
  font-size: clamp(25px, 2.5vw, 35px) !important;
  line-height: 1.14 !important;
}
.etf-legal .etf-legal__clause h2 span {
  margin-bottom: 11px;
  color: #8D785B !important;
  font: 700 12px/1.4 'Raleway', Arial, sans-serif !important;
}

.etf-legal .etf-legal__more {
  border: 1px solid #DED6C9;
  border-top: 0;
  background: #F7F4EE;
}
.etf-legal .etf-legal__more-head {
  padding: clamp(28px, 3.5vw, 46px) clamp(22px, 4.6vw, 66px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 12px 38px;
}
.etf-legal .etf-legal__more-head p { color: #686950 !important; }
.etf-legal .etf-legal__more-head h2 {
  font-size: clamp(29px, 3.2vw, 43px) !important;
  line-height: 1.08 !important;
}
.etf-legal .etf-legal__more-head > span {
  color: #626054 !important;
  font: 400 13px/1.7 'Raleway', Arial, sans-serif;
}
.etf-legal .etf-legal__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-color: #DED6C9;
}
.etf-legal .etf-legal__nav a {
  min-width: 0;
  min-height: 99px;
  gap: 12px;
  padding: 18px clamp(12px, 1.5vw, 21px);
  border-color: #DED6C9;
  background: #FFF;
  color: #303326 !important;
  transition: background-color .16s ease, color .16s ease;
}
.etf-legal .etf-legal__nav a > span,
.etf-legal .etf-legal__nav a > i { color: #797358 !important; }
.etf-legal .etf-legal__nav a > strong {
  font: 700 11px/1.5 'Raleway', Arial, sans-serif !important;
  overflow-wrap: normal;
  word-break: normal;
}
.etf-legal .etf-legal__nav a > small { color: #8F7957 !important; }
.etf-legal .etf-legal__nav a:hover,
.etf-legal .etf-legal__nav a:focus-visible,
.etf-legal .etf-legal__nav a.is-active {
  background: #5C5A3E;
  color: #FFF !important;
}
.etf-legal .etf-legal__nav a:hover > span,
.etf-legal .etf-legal__nav a:hover > i,
.etf-legal .etf-legal__nav a:focus-visible > span,
.etf-legal .etf-legal__nav a:focus-visible > i,
.etf-legal .etf-legal__nav a.is-active > span,
.etf-legal .etf-legal__nav a.is-active > i,
.etf-legal .etf-legal__nav a.is-active > small { color: #EDE2CF !important; }
.etf-legal .etf-legal__footer { padding-top: 24px; }
.etf-legal .etf-legal__footer a {
  min-height: 52px;
  padding: 13px 24px;
  border-color: #5C5A3E;
  background: #5C5A3E;
  color: #fff !important;
  font: 700 11px/1.4 'Raleway', Arial, sans-serif;
}
.etf-legal .etf-legal__footer a:hover,
.etf-legal .etf-legal__footer a:focus-visible {
  border-color: #BCA686;
  background: #BCA686;
  color: #303326 !important;
}

/* The associated legal consent box and other booking-related screens. */
.etf-booking .etf-booking__header,
.etf-guests .etf-guests__header {
  background: #5C5A3E;
  color: #FFF;
}
.etf-booking .etf-booking__header h2,
.etf-guests .etf-guests__header h2,
.etf-result h2,
.etf-booking h2,
.etf-booking h3,
.etf-booking h4,
.etf-guests h2,
.etf-guests h3,
.etf-guests h4,
.etf-result h3 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
}
.etf-booking .etf-booking__header h2,
.etf-guests .etf-guests__header h2 { color: #fff !important; }
.etf-booking .etf-booking__header p:not(.etf-eyebrow),
.etf-guests .etf-guests__header p:not(.etf-eyebrow) { color: #F1EADF !important; }
.etf-booking .etf-eyebrow,
.etf-guests .etf-eyebrow,
.etf-result .etf-eyebrow { color: #EDE2CF !important; }
.etf-booking .etf-contact,
.etf-booking .etf-progress,
.etf-guests .etf-progress { background: #F6F3ED; }
.etf-booking .etf-policy-page-links a {
  color: #41442F !important;
  border-color: #DED6C9;
  font-family: 'Raleway', Arial, sans-serif !important;
}
.etf-booking .etf-policy-page-links a > span { color: #797358 !important; }
.etf-booking .etf-policy-page-links a:hover,
.etf-booking .etf-policy-page-links a:focus-visible {
  background: #5C5A3E;
  color: #fff !important;
}
.etf-booking .etf-policy-page-links a:hover > span,
.etf-booking .etf-policy-page-links a:focus-visible > span { color: #EDE2CF !important; }
.etf-booking .etf-inline-legal { color: #5C5A3E !important; text-decoration-color: #BCA686 !important; }
.etf-booking .etf-contact .etf-payment-security,
.etf-booking .etf-contact .etf-payment-security__text {
  color: #5E5C52 !important;
  font-family: 'Raleway', Arial, sans-serif;
}
.etf-booking .etf-contact .etf-payment-security { width: 100%; min-width: 0; max-width: 100%; }
.etf-booking .etf-contact .etf-payment-security__text { display: block; flex: 1 1 auto; min-width: 0; }
.etf-booking .etf-check input[type='checkbox'] { accent-color: #5C5A3E; }
.etf-booking .etf-button,
.etf-guests .etf-button,
.etf-result .etf-button {
  background: #5C5A3E !important;
  border-color: #5C5A3E !important;
  color: #fff !important;
  font-family: 'Raleway', Arial, sans-serif !important;
}
.etf-booking .etf-button:hover,
.etf-guests .etf-button:hover,
.etf-result .etf-button:hover {
  background: #41442F !important;
  border-color: #41442F !important;
}
.etf-booking .etf-button--ghost,
.etf-guests .etf-button--ghost { background: transparent !important; color: #5C5A3E !important; }
.etf-booking .etf-button--ghost:hover,
.etf-guests .etf-button--ghost:hover { background: #EEE9DF !important; color: #41442F !important; }
.etf-booking input:focus-visible,
.etf-booking select:focus-visible,
.etf-booking button:focus-visible,
.etf-guests input:focus-visible,
.etf-guests button:focus-visible,
.etf-legal a:focus-visible {
  outline: 2px solid #BCA686 !important;
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .etf-legal { width: calc(100% - 28px); margin: 24px auto 55px; }
  .etf-legal .etf-legal__hero { padding: 42px 34px; min-height: 245px; }
  .etf-legal .etf-legal__identity { grid-template-columns: minmax(0,1fr) minmax(90px,.6fr); }
  .etf-legal .etf-legal__identity > div:last-child { grid-column: 1 / -1; border-right: 0; border-top: 1px solid #DED6C9; }
  .etf-legal .etf-legal__main { padding: 43px 34px; }
  .etf-legal .etf-legal__clause { grid-template-columns: minmax(175px,.7fr) minmax(0,1.3fr); gap: 26px; }
  .etf-legal .etf-legal__more-head { grid-template-columns: 1fr; padding: 32px 34px; }
  .etf-legal .etf-legal__nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .etf-legal { width: 100%; margin: 0 auto 38px; }
  .etf-legal .etf-legal__hero { padding: 35px 22px 40px; min-height: 0; }
  .etf-legal .etf-legal__hero::after { display: none; }
  .etf-legal .etf-legal__hero h1 { font-size: clamp(39px,11vw,56px) !important; }
  .etf-legal .etf-legal__identity { grid-template-columns: 1fr; }
  .etf-legal .etf-legal__identity > div,
  .etf-legal .etf-legal__identity > div:last-child { grid-column: auto; min-height: 0; padding: 18px 22px; border-right: 0; border-top: 1px solid #DED6C9; }
  .etf-legal .etf-legal__identity > div:first-child { border-top: 0; }
  .etf-legal .etf-legal__main { padding: 32px 22px 38px; }
  .etf-legal .etf-legal__content > p,
  .etf-legal .etf-legal__clause > p { font-size: 14px !important; line-height: 1.82 !important; }
  .etf-legal .etf-legal__clause { display: block; padding: 25px 0; }
  .etf-legal .etf-legal__clause h2 { margin-bottom: 12px !important; font-size: 28px !important; }
  .etf-legal .etf-legal__more-head { padding: 30px 22px; }
  .etf-legal .etf-legal__nav { grid-template-columns: 1fr; }
  .etf-legal .etf-legal__nav a { min-height: 72px; padding: 14px 18px; }
  .etf-legal .etf-legal__footer { padding: 22px; }
  .etf-legal .etf-legal__footer a { width: 100%; }
}
