/* Hípica Oropesa — design system.
   Palette from the place: Mediterranean off Oropesa (sea), whitewashed walls (lime),
   the orange groves between club and sierra (orange), pine of the sierra, trail dust (sand).
   One family: Archivo, using its width axis — expanded for headlines, condensed for small labels. */

@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-italic-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --sea: #123B4A;
  --sea-deep: #0B2530;
  --lime: #EEF1EF;
  --white: #FBFCFB;
  --orange: #E8751A;
  --orange-deep: #C65F0E;
  --pine: #2E4A3B;
  --sand: #D8CBAE;
  --ink: #16232A;
  --muted: #56666D;
  --line: rgba(18, 59, 74, .16);
  --line-light: rgba(238, 241, 239, .22);

  --wrap: 1320px;
  --pad: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 11vw, 150px);
  --r-sm: 6px;
  --r-md: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  --fs-small: .875rem;
  --fs-body: 1.125rem;
  --fs-lead: clamp(1.15rem, 1.1rem + .35vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 3vw, 4.1rem);
  --fs-hero: clamp(2.7rem, .9rem + 5.6vw, 6.3rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--lime); color: var(--ink); font: 400 var(--fs-body)/1.6 "Archivo", system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--orange); }
button { font: inherit; color: inherit; }
a, button, input, select, textarea, label, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; background: var(--white); padding: 10px 16px; border-radius: var(--r-sm); }
.ico { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 64px); }
.h2 { font-size: var(--fs-h2); font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; max-width: 20ch; }
h3 { font-size: var(--fs-h3); font-weight: 700; font-stretch: 108%; line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 38em; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns:empty { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 650; font-stretch: 105%; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 56px; font-size: 1.0625rem; padding-inline: 1.6em; }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); }
.btn-sea { background: var(--sea); color: var(--lime); }
.btn-sea:hover { background: var(--sea-deep); }
.btn-line { border-color: currentColor; color: var(--sea); }
.btn-line:hover { background: var(--sea); color: var(--lime); border-color: var(--sea); }
.btn-line-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--sea); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px var(--pad); color: #fff; transition: background .3s, color .3s, box-shadow .3s, padding .3s; }
.hdr.is-solid, body:not(.has-hero) .hdr { background: rgba(238, 241, 239, .94); backdrop-filter: blur(10px); color: var(--sea); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark, .ftr-mark { display: block; background: currentColor; -webkit-mask: url("img/horse-sketch.svg") center / contain no-repeat; mask: url("img/horse-sketch.svg") center / contain no-repeat; }
.brand-mark { width: 46px; height: 51px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; font-stretch: 80%; font-weight: 500; font-size: .8125rem; letter-spacing: .02em; }
.brand-name b { font-size: 1.45rem; font-weight: 800; font-stretch: 122%; letter-spacing: -.01em; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: .975rem; }
.nav-list a:hover, .nav-list [aria-current="page"], .nav-list .current-menu-item a { background: rgba(255, 255, 255, .16); }
.hdr.is-solid .nav-list a:hover, body:not(.has-hero) .nav-list a:hover, .hdr.is-solid .nav-list [aria-current="page"], body:not(.has-hero) .nav-list [aria-current="page"] { background: rgba(18, 59, 74, .08); }
.nav-foot { display: none; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .875rem; font-stretch: 90%; opacity: .9; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--white); color: var(--ink); border-radius: var(--r-md); box-shadow: 0 18px 40px -12px rgba(11, 37, 48, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease); }
.lang.is-open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: block; padding: 9px 12px; border-radius: 8px; text-decoration: none; }
.lang-list a:hover { background: var(--lime); }
.lang-list [aria-current="true"] { font-weight: 700; color: var(--orange-deep); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: .25s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; padding: 110px var(--pad) 36px; background: var(--sea); color: var(--lime); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 800; font-stretch: 118%; padding: 6px 0; border-radius: 0; }
  .nav-list a:hover { background: none !important; color: var(--orange); }
  .nav-foot { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; opacity: .85; }
  .hdr.menu-open { color: var(--lime); background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
}
@media (max-width: 560px) {
  .hdr-actions .btn-sm { display: none; }
  .brand-name span { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: stretch; color: #fff; overflow: hidden; background: var(--sea-deep); }
.hero-media { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero-img { position: absolute; inset: -4% 0 0; width: 100%; height: 108%; object-fit: cover; transform: scale(1.06); animation: heroIn 2.2s var(--ease) forwards; }
.now { position: absolute; right: var(--pad); bottom: clamp(96px, 13vh, 140px); z-index: 3; width: 280px; padding: 16px 18px 14px; border-radius: var(--r-md); background: rgba(11, 37, 48, .52); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); color: #fff; opacity: 0; transform: translateY(10px); animation: nowIn .8s 1.2s var(--ease) forwards; }
.now-title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-stretch: 85%; font-weight: 600; font-size: .875rem; opacity: .9; }
.now-dot { width: 8px; height: 8px; border-radius: 50%; background: #5BE38A; box-shadow: 0 0 0 0 rgba(91, 227, 138, .6); animation: pulse 2.4s infinite; }
.now-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0; }
.now-grid dt { font-size: .75rem; font-stretch: 85%; opacity: .75; }
.now-grid dd { margin: 0; font-size: 1.85rem; font-weight: 800; font-stretch: 118%; line-height: 1.05; letter-spacing: -.02em; }
.now-grid dd small { font-size: .7rem; font-weight: 600; letter-spacing: 0; opacity: .8; }
.now-line { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .875rem; line-height: 1.4; opacity: .92; }
@keyframes nowIn { to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(91, 227, 138, .55); } 70% { box-shadow: 0 0 0 9px rgba(91, 227, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 138, 0); } }
@media (max-width: 1000px) { .now { position: relative; right: auto; bottom: auto; width: 100%; max-width: 420px; margin-top: 4px; } .hero-bottom { order: 0; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 37, 48, .62) 0%, rgba(11, 37, 48, .18) 36%, rgba(11, 37, 48, 0) 50%, rgba(11, 37, 48, .25) 64%, rgba(11, 37, 48, .86) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(104px, 14vh, 136px) var(--pad) clamp(96px, 13vh, 140px); }
.hero-place { display: inline-flex; align-items: center; gap: 8px; font-stretch: 85%; font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; opacity: .92; }
.hero-h { font-size: var(--fs-hero); font-weight: 850; font-stretch: 125%; line-height: .92; letter-spacing: -.035em; margin: 0; max-width: 13em; text-wrap: balance; text-shadow: 0 2px 30px rgba(11, 37, 48, .25); }
.hero-lead { font-size: var(--fs-lead); max-width: 34em; margin: 0; color: rgba(255, 255, 255, .9); }
.hero-facts { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0; margin: 0 auto; max-width: var(--wrap); padding: 0 var(--pad) 22px; list-style: none; font-stretch: 85%; font-weight: 600; font-size: .9375rem; }
.hero-facts li { padding: 10px 22px 0 0; margin-right: 22px; border-top: 2px solid rgba(255, 255, 255, .5); }
.hero-facts li:first-child { border-top-color: var(--orange); }
@keyframes heroIn { to { transform: scale(1); } }
@media (max-width: 700px) {
  .hero-facts { display: none; }
  .hero-in { padding-bottom: 40px; }
  .hero::after { background: linear-gradient(180deg, rgba(11, 37, 48, .66) 0%, rgba(11, 37, 48, .15) 34%, rgba(11, 37, 48, .35) 52%, rgba(11, 37, 48, .92) 78%); }
  .hero .btn { width: 100%; }
}


/* ---------- Inner page hero ---------- */
.phero { position: relative; min-height: min(64svh, 580px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--sea-deep); }
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 37, 48, .5), rgba(11, 37, 48, .1) 35%, rgba(11, 37, 48, .8)); }
.phero-in { position: relative; z-index: 1; padding-top: 140px; padding-bottom: clamp(40px, 7vw, 80px); }
.phero-h { font-size: clamp(2.8rem, 1rem + 6vw, 6.4rem); font-weight: 850; font-stretch: 125%; line-height: .92; letter-spacing: -.03em; margin: 0 0 .25em; max-width: 14ch; }
.phero-lead { font-size: var(--fs-lead); max-width: 36em; margin: 0; color: rgba(255, 255, 255, .9); }

/* ---------- Transit ---------- */
.transit-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.transit-price { display: flex; align-items: baseline; gap: 12px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.transit-price b { font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 850; font-stretch: 125%; color: var(--orange-deep); line-height: 1; letter-spacing: -.03em; }
.transit-price span { font-stretch: 85%; font-weight: 600; color: var(--muted); }
.transit-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-md); }
.transit-photo img { width: 100%; height: 100%; object-fit: cover; }
.corridor { margin-top: clamp(56px, 8vw, 100px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.corridor-line { position: relative; display: flex; justify-content: space-between; align-items: flex-start; margin-top: 44px; padding-top: 20px; border-top: 2px dashed var(--sea); font-stretch: 85%; font-weight: 600; font-size: .9375rem; }
.corridor-line span { position: relative; }
.corridor-line span::before { content: ""; position: absolute; left: 50%; top: -27px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--sea); }
.corridor-line .c-end:first-child::before { left: 0; margin-left: 0; }
.corridor-line .c-end:last-of-type { text-align: right; }
.corridor-line .c-end:last-of-type::before { left: auto; right: 0; margin-left: 0; }
.corridor-line .c-mid { color: var(--orange-deep); font-weight: 800; font-size: 1.05rem; }
.corridor-line .c-mid::before { width: 18px; height: 18px; margin-left: -9px; top: -30px; background: var(--orange); box-shadow: 0 0 0 6px rgba(232, 117, 26, .2); }
.c-horse { position: absolute; top: -46px; left: 0; color: var(--sea); font-size: 1.7rem; line-height: 1; transition: left 2.4s var(--ease); }
.corridor.is-in .c-horse { left: calc(50% - 2.4em); }
.corridor-story { border-left: 3px solid var(--orange); padding-left: 22px; }
.corridor-story p { margin: 0; color: var(--muted); }

/* ---------- Services ---------- */
.svc { background: var(--sea); color: var(--lime); }
.svc .muted { color: rgba(238, 241, 239, .7); }
.svc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.svc-item { border-bottom: 1px solid var(--line-light); }
.svc-link { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 0; text-decoration: none; }
.svc-name { font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem); font-weight: 750; font-stretch: 115%; line-height: 1.15; letter-spacing: -.015em; transition: color .2s, transform .35s var(--ease); }
.svc-price { font-stretch: 85%; font-weight: 650; align-self: center; white-space: nowrap; color: var(--sand); }
.svc-text { grid-column: 1 / -1; max-width: 36em; color: rgba(238, 241, 239, .78); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease), opacity .3s, padding .3s; }
.svc-thumb { display: none; }
.svc-item.is-on .svc-name { color: var(--orange); transform: translateX(6px); }
.svc-item.is-on .svc-text { max-height: 14em; opacity: 1; padding-top: 6px; }
.svc-stage { position: sticky; top: 110px; margin: 0; aspect-ratio: 1 / 1; border-radius: var(--r-md); overflow: hidden; background: var(--sea-deep); }
.svc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .9s var(--ease); }
.svc-stage img.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-stage { display: none; }
  .svc-text { max-height: none; opacity: 1; }
  .svc-thumb { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); margin-top: 12px; }
  .svc-item.is-on .svc-name { transform: none; }
}

/* ---------- Calculator ---------- */
.calc { background: var(--white); }
.calc-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--lime); margin: 12px 0 28px; }
.seg button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 650; cursor: pointer; min-height: 44px; }
.seg [aria-selected="true"] { background: var(--sea); color: var(--lime); }
.calc-panel { display: grid; gap: 16px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper > span:first-child { min-width: 90px; font-weight: 650; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { border-color: var(--sea); }
.stepper output { min-width: 2.2ch; text-align: center; font-size: 1.5rem; font-weight: 800; font-stretch: 115%; font-variant-numeric: tabular-nums; }
.stepper-sm button { width: 36px; height: 36px; }
.stepper-sm output { font-size: 1.15rem; }
.extras { border: 0; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.extras legend { font-weight: 700; margin-bottom: 8px; }
.extra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.extra em { font-style: normal; font-weight: 700; color: var(--orange-deep); white-space: nowrap; }
.extra-name { flex: 1 1 260px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.calc-ticket { position: sticky; top: 110px; background: var(--sea); color: var(--lime); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); }
.calc-ticket .muted { color: rgba(238, 241, 239, .65); margin: 14px 0 0; }
.ticket-label { font-stretch: 85%; font-weight: 600; margin: 0; opacity: .8; }
.ticket-total { margin: 6px 0 18px; font-size: clamp(3.2rem, 2rem + 3vw, 4.8rem); font-weight: 850; font-stretch: 125%; line-height: 1; letter-spacing: -.03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .15em; }
.ticket-total small { flex-basis: 100%; font-size: .95rem; font-weight: 500; font-stretch: 90%; letter-spacing: 0; opacity: .8; margin-top: 8px; }
.ticket-lines { list-style: none; margin: 0 0 22px; padding: 14px 0 0; border-top: 1px dashed var(--line-light); display: grid; gap: 8px; font-size: .9375rem; }
.ticket-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ticket-lines b { white-space: nowrap; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-ticket { position: static; } }

/* ---------- Route map ---------- */
.route { background: var(--sand); }
.route-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.route-stops { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 2px; }
.route-stops button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 0; border-radius: var(--r-sm); background: transparent; text-align: left; cursor: pointer; font-weight: 600; font-size: 1.05rem; min-height: 48px; }
.route-stops button:hover { background: rgba(255, 255, 255, .35); }
.route-stops [aria-current="true"] { background: var(--white); }
.rs-n, .pin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sea); color: var(--lime); font-size: .875rem; font-weight: 800; flex: none; font-variant-numeric: tabular-nums; }
.route-stops [aria-current="true"] .rs-n { background: var(--orange); }
.route-map { position: relative; aspect-ratio: 1000 / 1188; max-height: 88vh; border-radius: var(--r-md); overflow: hidden; background: #DCD6C3; --map-land: #E6E0CF; --map-sea: #1B4A5A; --map-coast: #fff; --map-route: #E8751A; }
.map-canvas { position: absolute; inset: 0; }
.map-svg, .map-svg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-route { stroke-dasharray: 8 9; }
.pin { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; background: none; cursor: pointer; z-index: 2; }
.pin span { box-shadow: 0 0 0 4px rgba(255, 255, 255, .85); transition: transform .25s var(--ease), background .2s; }
.pin:hover span { transform: scale(1.15); }
.pin.is-on span { background: var(--orange); transform: scale(1.25); box-shadow: 0 0 0 4px #fff, 0 0 0 12px rgba(232, 117, 26, .28); }
.map-label { position: absolute; font-stretch: 85%; font-weight: 600; font-size: .8125rem; pointer-events: none; }
.map-sea { right: 7%; top: 44%; color: rgba(255, 255, 255, .75); font-size: 1rem; font-style: italic; }
.map-north { right: 6%; top: 3%; color: rgba(255, 255, 255, .8); }
.map-south { left: 4%; bottom: 3%; color: var(--sea); }
.stop-card { position: absolute; left: 4%; top: 4%; width: min(300px, 60%); background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 20px 40px -18px rgba(11, 37, 48, .5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .3s var(--ease); z-index: 3; }
.stop-card.is-on { opacity: 1; visibility: visible; transform: none; }
.stop-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stop-card div { padding: 14px 16px 16px; }
.stop-card h3 { font-size: 1.1rem; }
.stop-card p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.map-note { position: absolute; right: 4%; bottom: 2%; margin: 0; color: rgba(255, 255, 255, .8); }
@media (max-width: 900px) {
  .route-grid { grid-template-columns: 1fr; }
  .route-map { max-height: none; }
  .stop-card { position: relative; left: auto; top: auto; width: auto; margin: 0; display: none; box-shadow: none; border-radius: 0; }
  .stop-card.is-on { display: block; }
  .route-map { aspect-ratio: auto; }
  .map-canvas { position: relative; aspect-ratio: 1000 / 1188; }
  .map-note { position: static; color: var(--muted); padding: 10px 16px; background: var(--white); }
  .map-sea { top: 30%; }
}

/* ---------- Facilities ---------- */
.fac-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-bottom: clamp(40px, 6vw, 72px); }
.fac-photos img { width: 100%; height: clamp(220px, 28vw, 380px); object-fit: cover; border-radius: var(--r-md); }
.fac-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); margin: 0; }
.fac-item { padding: 22px 0 24px; border-top: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr; }
.fac-item dt { font-weight: 650; font-stretch: 90%; color: var(--muted); font-size: .9375rem; }
.fac-spec { margin: 2px 0 6px; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 800; font-stretch: 120%; letter-spacing: -.02em; line-height: 1.1; color: var(--sea); }
.fac-text { margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .fac-list { grid-template-columns: 1fr 1fr; } .fac-photos { grid-template-columns: 1fr 1fr; } .fac-photos img:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .fac-list { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.tl { background: var(--white); }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: t; }
.tl-list li { padding: 0 20px 0 0; position: relative; }
.tl-list li::before { content: ""; display: block; height: 2px; background: var(--sea); margin: 18px 0 20px; }
.tl-list li::after { content: ""; position: absolute; top: 12px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); border: 2px solid var(--sea); }
.tl-list li:last-child::after { background: var(--orange); border-color: var(--orange); }
.tl-year { display: block; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; color: var(--sea); }
.tl-list p { font-size: 1rem; margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .tl-list { grid-template-columns: repeat(3, 1fr); row-gap: 36px; } }
@media (max-width: 600px) { .tl-list { grid-template-columns: 1fr; } .tl-list li { padding: 0 0 0 28px; border-left: 2px solid var(--sea); } .tl-list li::before { display: none; } .tl-list li::after { left: -8px; top: 4px; } }

/* ---------- Club ---------- */
.club-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.club-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); }
.club-photo img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { color: var(--orange); margin-top: .2em; }
@media (max-width: 900px) { .club-grid { grid-template-columns: 1fr; } .club-photo { aspect-ratio: 16 / 10; } }

/* ---------- Calendar ---------- */
.cal { background: var(--sea); color: var(--lime); }
.cal .lead { color: rgba(238, 241, 239, .8); }
.cal-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-bottom: 28px; }
.cal-m { border: 0; border-radius: var(--r-sm); padding: 14px 0 12px; background: rgba(238, 241, 239, .06); color: rgba(238, 241, 239, .38); font-weight: 700; font-stretch: 85%; font-size: 1rem; cursor: default; position: relative; min-height: 48px; }
.cal-m.has { color: var(--lime); background: rgba(238, 241, 239, .12); cursor: pointer; }
.cal-m.has::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--orange); }
.cal-m.has:hover { background: rgba(238, 241, 239, .2); }
.cal-m[aria-selected="true"] { background: var(--orange); color: #fff; }
.cal-m[aria-selected="true"]::after { background: #fff; }
.cal-panel { display: grid; gap: 16px; }
.cal-ev { display: grid; grid-template-columns: minmax(200px, 38%) 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; background: rgba(238, 241, 239, .06); border-radius: var(--r-md); overflow: hidden; }
.cal-ev img { width: 100%; height: 100%; min-height: 220px; max-height: 320px; object-fit: cover; }
.cal-ev > div { padding: 24px 28px 24px 0; }
.cal-ev h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-stretch: 118%; font-weight: 800; }
.cal-ev p { margin: 0; max-width: 36em; color: rgba(238, 241, 239, .82); }
.cal-when { color: var(--sand) !important; font-weight: 650; font-stretch: 85%; margin-bottom: 6px !important; }
@media (max-width: 760px) { .cal-strip { grid-template-columns: repeat(6, 1fr); } .cal-ev { grid-template-columns: 1fr; } .cal-ev > div { padding: 0 20px 22px; } .cal-ev img { max-height: 240px; } }

/* ---------- Gallery ---------- */
.gal { background: var(--ink); color: var(--lime); }
.gal-grid { columns: 3 280px; column-gap: 12px; }
.gal-item { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: #0f191e; }
.gal-item img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.gal-item:hover img { transform: scale(1.03); }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 20, 26, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; color: #fff; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: grid; place-items: center; height: 100vh; padding: 60px 0; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb button { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.4rem; margin: auto; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb-x { position: absolute; top: 18px; right: 18px; margin: 0 !important; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 700; font-size: 1.15rem; font-stretch: 105%; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { transition: transform .3s var(--ease); color: var(--orange); margin-top: .15em; }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 24px; max-width: 40em; color: var(--muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; color: #fff; overflow: hidden; background: var(--sea-deep); }
.cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cta-in { position: relative; padding-block: clamp(90px, 14vw, 180px); }
.cta-h { font-size: clamp(2.6rem, 1rem + 5.5vw, 6rem); font-weight: 850; font-stretch: 125%; line-height: .95; letter-spacing: -.03em; margin: 0 0 .35em; max-width: 13ch; }
.cta .lead { color: rgba(255, 255, 255, .9); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 28px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9375rem; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; min-height: 50px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(18, 59, 74, .15); }
.form-err { grid-column: 1 / -1; margin: 0; color: #A33A0B; font-weight: 600; }
.hp-trap { position: absolute; left: -9999px; }
.contact-map { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--sand); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.contact-list { margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list dt { font-weight: 650; font-stretch: 90%; color: var(--muted); font-size: .9375rem; }
.contact-list dd { margin: 2px 0 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Text + media, price list, partners ---------- */
.tm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.is-rev .tm-photo { order: -1; }
.tm-photo { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; }
.tone-sea { background: var(--sea); color: var(--lime); }
.tone-sea .btn-line { color: var(--lime); }
.tone-sand { background: var(--sand); }
.prose { max-width: 38em; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--orange); }
.prose strong { font-weight: 700; }
@media (max-width: 900px) { .tm-grid { grid-template-columns: 1fr; } .is-rev .tm-photo { order: 0; } }

.pl { background: var(--white); }
.pl-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.pl-list { list-style: none; margin: 0 0 20px; padding: 0; }
.pl-list li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pl-name { font-weight: 600; }
.pl-name small { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; }
.pl-dots { flex: 1; border-bottom: 1.5px dotted rgba(18, 59, 74, .3); transform: translateY(-4px); min-width: 20px; }
.pl-price { font-weight: 800; font-stretch: 115%; font-size: 1.25rem; color: var(--sea); white-space: nowrap; }
.pl-wrap > .small { grid-column: 2; }
@media (max-width: 900px) { .pl-wrap { grid-template-columns: 1fr; } .pl-wrap > .small { grid-column: 1; } }

.partners-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(24px, 4vw, 64px); }
.partners-list li { padding: 24px 0; border-top: 1px solid var(--line); }
.partners-list p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .partners-list { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 56px); }
.trust-in { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(28px, 5vw, 72px); }
.trust-group { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.trust-wide { flex: 1 1 360px; }
.trust-label { margin: 0; font-stretch: 85%; font-weight: 600; font-size: .875rem; color: var(--muted); }
.trust-note { margin: 0; font-size: .8125rem; color: var(--muted); }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; min-height: 80px; }
.trust-logo { display: inline-flex; align-items: center; }
.trust-logo img { height: 80px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.trust-row .trust-logo img { height: 46px; }
.trust-row .trust-logo:first-child img { height: 34px; }
.trust-logo:hover img, a.trust-logo:focus-visible img { filter: none; opacity: 1; }
@media (hover: none) { .trust-logo img { filter: none; opacity: 1; } }

/* ---------- Footer ---------- */
.ftr { background: var(--sea-deep); color: rgba(238, 241, 239, .86); padding: clamp(64px, 8vw, 110px) var(--pad) 28px; }
.ftr-top { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.ftr-mark { width: 110px; height: 122px; color: var(--lime); }
.ftr-claim { font-size: 1.35rem; font-weight: 700; font-stretch: 112%; line-height: 1.25; color: var(--lime); margin-top: 18px; max-width: 16ch; }
.ftr h2 { font-size: .9375rem; font-weight: 700; font-stretch: 90%; color: var(--sand); margin: 0 0 14px; }
.ftr p { font-size: .975rem; }
.ftr .muted { color: rgba(238, 241, 239, .6); }
.ftr a { color: var(--lime); }
.ftr-bottom { max-width: var(--wrap); margin: 56px auto 0; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8125rem; color: rgba(238, 241, 239, .55); }
.ftr-bottom p { margin: 0; font-size: inherit; }
@media (max-width: 1000px) { .ftr-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-top { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); }

/* Generic page (page.php) */
.page-plain { padding: 150px 0 var(--sec); }
.page-plain .prose { max-width: 44em; }

@media (max-width: 900px) {
  .transit-grid, .corridor { grid-template-columns: 1fr; }
  .transit-photo { aspect-ratio: 4 / 3; }
}
.trp-floating-switcher { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-img { transform: none; }
}
