:root {
  font-family: Inter, system-ui, sans-serif;
  color: #14242c;
  background: #f4f1eb;
  --red: #c93347;
  --red-dark: #ad293b;
  --navy: #102b38;
  --navy-2: #173d4b;
  --ink: #14242c;
  --cream: #f4f1eb;
  --paper: #fffdf9;
  --line: #dcd8cf;
  --muted: #66747a;
  --gold: #d6a151;
  --site-gutter: clamp(24px, 5.5vw, 88px);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef3f4;
  --cream: #0d171c;
  --paper: #15242b;
  --line: #2a3d46;
  --muted: #a7b2b6;
  --navy-2: #73a9ba;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.public-theme-transition *, html.public-theme-transition *::before, html.public-theme-transition *::after { transition: color .22s ease, background-color .22s ease, border-color .22s ease, filter .22s ease, box-shadow .22s ease!important; }
body { margin: 0; color: var(--ink); background: var(--cream); }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; letter-spacing: -.045em; }
[data-content$=".title"] { white-space: pre-line; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--site-gutter); color: white;
  background: rgba(16, 43, 56, .96); border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.public-brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; letter-spacing: .12em; }
.public-brand span {
  width: 39px; height: 39px; display: grid; place-items: center;
  color: white; background: var(--red); border-radius: 10px 10px 3px 10px;
  font-size: .75rem; font-weight: 900;
}
.public-brand strong { font-size: .83rem; }
.site-header nav { display: flex; gap: 30px; height: 100%; }
.site-header nav a {
  display: flex; align-items: center; color: rgba(255,255,255,.7);
  border-bottom: 3px solid transparent; text-decoration: none; font-size: .79rem; font-weight: 750;
}
.site-header nav a:hover, .site-header nav a.active { color: white; border-color: var(--red); }
.menu-toggle { display: none; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: white; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; cursor: pointer; }
.theme-toggle:hover { background: var(--red); border-color: var(--red); }

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(760px, calc(100vh - 76px)); display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .67fr); align-items: end;
  padding: clamp(62px, 8vw, 116px) var(--site-gutter); color: white; background: var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 45%; z-index: -2;
  background: url("/img/gallery/1.jpg") center 42% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(16,43,56,.98) 39%, rgba(16,43,56,.57) 69%, rgba(16,43,56,.15));
}
.hero-copy { max-width: 780px; }
.kicker { display: block; margin-bottom: 15px; color: var(--red); font-size: .67rem; font-weight: 900; letter-spacing: .18em; }
.hero .kicker, .page-hero .kicker { color: #f0b566; }
.hero h1 { max-width: 760px; font-size: clamp(3rem, 6.4vw, 6.5rem); line-height: .96; }
.hero p { max-width: 660px; margin-top: 27px; color: rgba(255,255,255,.73); font-size: clamp(1rem, 1.5vw, 1.18rem); line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  min-height: 49px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; border: 1px solid transparent; border-radius: 9px;
  text-decoration: none; font-weight: 800; cursor: pointer;
}
.button.primary { color: white; background: var(--red); box-shadow: 0 10px 28px rgba(123,18,34,.24); }
.button.primary:hover { background: var(--red-dark); }
.button.ghost { color: white; border-color: rgba(255,255,255,.33); background: rgba(16,43,56,.18); backdrop-filter: blur(8px); }
.button.light { color: var(--navy); background: white; }
.hero-facts {
  align-self: end; display: grid; gap: 1px; margin-left: auto;
  width: min(420px, 100%); border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.15); box-shadow: 0 28px 70px rgba(0,0,0,.2);
}
.hero-facts article {
  min-height: 74px; display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px; background: rgba(16,43,56,.76); backdrop-filter: blur(12px);
}
.hero-facts strong { font-size: 1.45rem; }
.hero-facts span { color: rgba(255,255,255,.62); font-size: .72rem; }

.story {
  max-width: 1320px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center;
  gap: clamp(50px, 8vw, 115px); padding: clamp(80px, 10vw, 145px) var(--site-gutter); margin: auto;
}
.story-copy h2, .features h2, .page-hero h1 { font-size: clamp(2.5rem, 4.8vw, 4.9rem); line-height: 1.02; }
.story-copy p { margin-top: 25px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.story-copy > a { display: inline-flex; gap: 12px; margin-top: 28px; color: var(--red); font-weight: 850; text-decoration: none; }
.story-copy > a span { transition: transform .2s; }
.story-copy > a:hover span { transform: translateX(5px); }
.story figure { position: relative; }
.story figure::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; z-index: -1; background: #ded7cb; }
.story img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.story figcaption {
  position: absolute; right: -18px; bottom: -18px; min-width: 250px;
  display: flex; flex-direction: column; padding: 20px 22px; color: white; background: var(--navy);
}
.story figcaption strong { font: 800 .9rem Manrope, sans-serif; }
.story figcaption span { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .71rem; }

.features { padding: clamp(70px, 9vw, 125px) var(--site-gutter); background: var(--paper); border-top: 1px solid var(--line); }
.features > header { max-width: 1220px; margin: 0 auto 50px; }
.features > header h2 { max-width: 760px; }
.feature-grid { max-width: 1220px; margin: auto; border-top: 1px solid var(--line); }
.feature-grid article {
  display: grid; grid-template-columns: 92px 1fr; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.feature-grid article > span {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: var(--red); border: 1px solid #e2b2b9; border-radius: 50%; font-size: .69rem; font-weight: 900;
}
.feature-grid h3 { font-size: 1.35rem; }
.feature-grid p { max-width: 760px; margin-top: 9px; color: var(--muted); font-size: .91rem; line-height: 1.72; }

.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 25px;
  padding: clamp(52px, 7vw, 86px) var(--site-gutter); color: white; background: var(--red);
}
.cta .kicker { color: #ffd5a2; }
.cta h2 { max-width: 800px; font-size: clamp(2rem, 4vw, 4rem); }

.page-hero { padding: clamp(72px, 9vw, 120px) var(--site-gutter) 58px; color: white; background: var(--navy); }
.page-hero h1 { font-size: clamp(2.3rem, 4.1vw, 4.2rem); }
.page-hero p { margin-top: 15px; color: rgba(255,255,255,.65); }
.gallery-hero { position: relative; overflow: hidden; }
.gallery-hero::after { content: "15"; position: absolute; right: var(--site-gutter); bottom: -35px; color: rgba(255,255,255,.06); font: 900 clamp(8rem,18vw,18rem) Manrope,sans-serif; line-height: .8; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 14px; padding: 55px var(--site-gutter) 105px; background: var(--cream); }
.gallery-item { position: relative; grid-column: span 4; min-height: 330px; overflow: hidden; background: var(--navy); }
.gallery-item:nth-child(5n + 1), .gallery-item:nth-child(5n + 4) { grid-column: span 7; }
.gallery-item:nth-child(5n + 2), .gallery-item:nth-child(5n + 5) { grid-column: span 5; }
.gallery-item:nth-child(5n + 1) { min-height: 500px; }
.gallery-item button { width: 100%; height: 100%; min-height: inherit; padding: 0; overflow: hidden; border: 0; background: #ddd; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: brightness(.8); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 13px; padding: 28px 24px 20px; color: white; background: linear-gradient(transparent,rgba(5,20,27,.8)); font-size: .77rem; opacity: 0; transform: translateY(8px); transition: .25s; pointer-events: none; }
.gallery-item:hover figcaption { opacity: 1; transform: none; }.gallery-item figcaption span { color: #f0b566; font-weight: 900; }
.gallery-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 0; overflow: hidden; border: 0; background: rgba(5,14,19,.98); }
.gallery-lightbox::backdrop { background: rgba(0,0,0,.94); }
.lightbox-viewport { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.gallery-lightbox figure { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.gallery-lightbox img { max-width: min(88vw,1500px); max-height: 86vh; display: block; user-select: none; transition: transform .12s ease-out; will-change: transform; }
.gallery-lightbox img:active { transition: none; }
.gallery-lightbox figcaption { position: absolute; left: 14vw; right: 14vw; bottom: 42px; padding: 38px 24px 18px; color: white; background: linear-gradient(transparent,rgba(0,0,0,.72)); text-align: center; pointer-events: none; }
.gallery-lightbox button { z-index: 3; display: grid; place-items: center; color: white; background: rgba(8,25,32,.78); border: 1px solid rgba(255,255,255,.36); cursor: pointer; backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.gallery-lightbox button:hover { background: var(--red); transform: scale(1.05); }
.lightbox-close { position: fixed; top: 22px; right: 25px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; }
.lightbox-nav { position: fixed; top: 50%; width: 62px; height: 82px; border-radius: 13px; font: 300 3.4rem/1 Manrope,sans-serif; transform: translateY(-50%); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.05)!important; }
.lightbox-prev { left: 25px; }.lightbox-next { right: 25px; }
.lightbox-tools { position: fixed; z-index: 3; left: 25px; top: 22px; display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.72); }
.lightbox-tools small { font-size: .68rem; }
.lightbox-counter { min-width: 55px; color: white; font-weight: 800; letter-spacing: .08em; }
.gallery-lightbox .lightbox-reset { min-width: 62px; height: 34px; padding: 0 10px; border-radius: 17px; font: 700 .68rem Inter,sans-serif; }

.links-grid, .contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 55px var(--site-gutter) 100px; }
.links-grid article, .contact-card, .contact-form { padding: 31px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.links-grid article > span { color: var(--red); font-size: .65rem; font-weight: 900; }
.links-grid h2 { margin: 25px 0 18px; }
.links-grid a, .contact-card a { display: block; margin: 10px 0; color: var(--navy-2); font-weight: 750; }
.links-grid p { margin-top: 20px; color: var(--muted); font-size: .82rem; }
.transport-overview { padding: clamp(65px,8vw,110px) var(--site-gutter); background: var(--cream); }
.transport-overview > header { max-width: 760px; }
.transport-overview h2 { font-size: clamp(2rem,3.35vw,3.35rem); line-height: 1.06; }
.transport-overview > header p { margin-top: 20px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.route-list { max-width: 1220px; display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line); }
.route-list article { display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.route-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.route-list article:nth-child(even) { padding-left: 28px; }
.route-list article > strong { width: 62px; height: 62px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; font: 850 1.3rem Manrope,sans-serif; }
.route-list .featured-route > strong { background: var(--red); }
.route-list h3 { margin: 3px 0 8px; font-size: 1.06rem; }
.route-list p { color: var(--muted); font-size: .83rem; line-height: 1.6; }
.transport-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stop-route-map { display: grid; grid-template-columns: 1.4fr .6fr; min-height: 430px; margin: 0 var(--site-gutter) clamp(65px,8vw,105px); overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }.stop-route-map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; filter: saturate(.85); transition: filter .22s ease; }.stop-route-map > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px,4vw,58px); }.stop-route-map h2 { font-size: clamp(1.75rem,2.8vw,2.8rem); }.stop-route-map p { margin: 17px 0 24px; color: var(--muted); line-height: 1.7; }.stop-route-map .kicker { color: var(--red); }
:root[data-theme="dark"] .stop-route-map iframe { filter: invert(.88) hue-rotate(180deg) brightness(.7) contrast(1.12) saturate(.7); }
.button.outline { color: var(--navy); background: transparent; border-color: var(--navy); }
:root[data-theme="dark"] .button.outline { color: var(--ink); border-color: var(--muted); }
.useful-links { background: var(--paper); }
.useful-links article { border-radius: 0; border-top: 3px solid var(--navy); }
.contact-grid { grid-template-columns: .8fr 1.2fr; }
.contact-card h2 { margin: 24px 0 28px; font-size: 1.6rem; line-height: 1.35; }
.contact-methods { display: grid; gap: 9px; }
.contact-methods a { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; min-width: 0; margin: 0; padding: 13px; color: var(--navy); background: color-mix(in srgb,var(--cream) 70%,transparent); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; transition: transform .2s,border-color .2s; }
.contact-methods a:hover { transform: translateX(4px); border-color: var(--red); }
.contact-methods a > span:last-child { min-width: 0; display: grid; gap: 3px; }
.contact-methods small { color: var(--muted); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-methods b { overflow: hidden; color: var(--text); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.contact-icon { width: 46px; height: 46px; display: grid; place-items: center; color: white; background: var(--navy); border-radius: 50%; font-size: 1.2rem; }
.contact-icon::before { content: "☎"; }.contact-icon[data-type="mobile"]::before { content: "▯"; font-size: 1.55rem; }.contact-icon[data-type="email"]::before { content: "@"; font-weight: 900; }.contact-icon[data-type="address"]::before { content: "⌖"; font-size: 1.45rem; }.contact-icon[data-type="website"]::before { content: "↗"; }.contact-icon[data-type="whatsapp"]::before { content: "◌"; font-size: 1.5rem; }
:root[data-theme="dark"] .contact-methods a { background: rgba(255,255,255,.035); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: .72rem; font-weight: 800; }
.contact-form input, .contact-form textarea { padding: 12px; color: inherit; background: #faf8f3; border: 1px solid #d7d3ca; border-radius: 8px; font: inherit; }
:root[data-theme="dark"] .contact-form input, :root[data-theme="dark"] .contact-form textarea { background: #0f1d23; border-color: var(--line); }
.validation { color: #aa3845; }
.success { padding: 12px; color: #216445; background: #e1f1e9; border-radius: 7px; }
.honeypot { position: absolute!important; left: -9999px!important; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 29px var(--site-gutter); color: rgba(255,255,255,.72); background: var(--navy); font-size: .72rem; }
footer strong { color: white; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero::before { inset: 0; opacity: .46; }
  .hero::after { background: linear-gradient(90deg, rgba(16,43,56,.97), rgba(16,43,56,.64)); }
  .hero-facts { margin-top: 46px; margin-left: 0; }
  .story { grid-template-columns: 1fr; }
  .story figure { max-width: 700px; }
}
@media (max-width: 800px) {
  .site-header { height: 65px; }
  .site-header nav { position: fixed; left: 0; right: 0; top: 65px; display: none; height: auto; flex-direction: column; gap: 0; padding: 15px; background: var(--navy); }
  .menu-open .site-header nav { display: flex; }
  .site-header nav a { padding: 15px; }
  .menu-toggle { display: block; padding: 8px 12px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: span 1; min-height: 320px; }
  .gallery-item:nth-child(4n + 1) { grid-column: 1 / -1; min-height: 430px; }
  .links-grid, .contact-grid { grid-template-columns: 1fr; }
  .stop-route-map { grid-template-columns: 1fr; }.stop-route-map iframe { min-height: 350px; }
  .route-list { grid-template-columns: 1fr; }
  .route-list article, .route-list article:nth-child(even) { padding: 24px 0; border-right: 0; }
  .cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .hero { min-height: calc(100vh - 65px); padding-top: 75px; }
  .hero h1 { font-size: 3.05rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-facts article { min-height: 62px; padding: 17px; }
  .story { padding-bottom: 100px; }
  .story figcaption { left: 16px; right: 16px; bottom: -55px; }
  .feature-grid article { grid-template-columns: 55px 1fr; gap: 18px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { grid-column: 1; min-height: 300px; }
  .gallery-item figcaption { opacity: 1; transform: none; }
  footer { flex-direction: column; }
}
