:root {
  --night: #071614;
  --deep: #0e2c28;
  --teal: #1a6b62;
  --aqua: #7ed9cf;
  --gold: #c9a36a;
  --gold-soft: #e8d3a8;
  --cream: #f3eee4;
  --paper: #faf7f1;
  --ink: #14211f;
  --muted: #5d6c68;
  --line: #e2d9c8;
  --white: #fff;
  --header: 4.75rem;
  --dock: 4.35rem;
  --shadow: 0 18px 50px rgb(7 22 20 / 0.12);
  --radius: 1.35rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, select { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(calc(100% - 1.6rem), 72rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(250 247 241 / 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgb(226 217 200 / 0.7);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgb(7 22 20 / 0.08);
}

.header-bar {
  width: min(calc(100% - 1.2rem), 72rem);
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}

.brand img {
  width: auto;
  height: 3.15rem;
  object-fit: contain;
  background: transparent;
}

.nav-sheet-logo {
  height: 3.2rem;
  width: auto;
  background: var(--white);
  border-radius: 0.7rem;
  padding: 0.3rem 0.55rem;
}

.footer-logo {
  display: inline-block;
  background: var(--cream);
  border-radius: 0.9rem;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 3.4rem;
  width: auto;
}

.nav-desktop { display: none; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-switch {
  position: relative;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.45rem;
  padding: 0.28rem 0.7rem 0.28rem 0.38rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.lang-switch-btn:hover,
.lang-switch.is-open .lang-switch-btn {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.12);
}

.lang-flag {
  width: 1.35rem;
  height: 1rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgb(20 33 31 / 0.14);
  background: #e8e4dc;
}

.lang-chevron {
  width: 0.65rem;
  height: 0.45rem;
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.lang-switch.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-switch-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 11.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  box-shadow: var(--shadow);
  z-index: 50;
}

.lang-switch-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 0.6rem;
  border-radius: 0.7rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
}

.lang-switch-menu a:hover,
.lang-switch-menu a.is-active {
  background: #ecfdf5;
  color: #0f766e;
}

.header-login {
  display: none;
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
}

.menu-toggle {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--white);
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--night);
  color: var(--cream);
  overflow: auto;
  padding: 1rem 1.2rem 6rem;
}

.nav-sheet-inner { width: min(100%, 34rem); margin-inline: auto; }

.nav-sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.nav-sheet-top p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
}

.nav-close {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.nav-kicker {
  margin: 1.4rem 0 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 700;
}

.nav-featured a,
.nav-secondary a {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.85rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.nav-featured a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
}

.nav-featured span {
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.nav-secondary a { font-weight: 500; color: rgb(243 238 228 / 0.82); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 1px solid transparent;
}

.btn-gold { background: var(--gold); color: var(--night); }
.btn-ghost {
  background: rgb(255 255 255 / 0.08);
  color: var(--cream);
  border-color: rgb(255 255 255 / 0.22);
}
.btn-dark { background: var(--deep); color: var(--cream); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-page { min-height: 42svh; }

.hero-slides,
.hero-slides img,
.hero-overlay { position: absolute; inset: 0; }

.hero-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 9s ease;
  z-index: 0;
}

.hero-slides img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgb(7 22 20 / 0.22) 0%, rgb(7 22 20 / 0.12) 42%, rgb(7 22 20 / 0.72) 100%),
    linear-gradient(90deg, rgb(7 22 20 / 0.38), transparent 62%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.2rem;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 9vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  max-width: 14ch;
}

.hero p {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: rgb(243 238 228 / 0.86);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  color: var(--paper);
}

.section { padding: 3.4rem 0; }

.section-head { max-width: 38rem; margin-bottom: 1.5rem; }

.section-head h2,
.prose h1,
.guide-card h2 {
  margin: 0.15rem 0 0.55rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
}

.lead, .section-head p { color: var(--muted); margin: 0; }

.access { padding: 2.2rem 0 1rem; }

.access-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.slide-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

.access-track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.2rem 0.8rem 1rem;
  margin-inline: -0.8rem;
  scrollbar-width: none;
}

.access-track::-webkit-scrollbar { display: none; }

.access-card {
  flex: 0 0 min(82vw, 19rem);
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
  text-decoration: none;
  box-shadow: var(--shadow);
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
}

.access-card span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
}

.access-card h3 {
  margin: 0.7rem 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.access-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.access-card em {
  margin-top: auto;
  padding-top: 1rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--teal);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.stat {
  background: var(--night);
  color: var(--cream);
  border-radius: 1.1rem;
  padding: 1rem 1rem 0.95rem;
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.stat span { font-size: 0.78rem; color: rgb(243 238 228 / 0.7); }

.cycle { display: grid; gap: 0.8rem; }

.cycle article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}

.cycle b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.cycle h3 { margin: 0 0 0.35rem; font-size: 1.2rem; }

.cycle p { margin: 0; color: var(--muted); }

.section-dark {
  background: var(--night);
  color: var(--cream);
}

.section-dark .lead,
.section-dark .section-head p { color: rgb(243 238 228 / 0.72); }

.facilities-track,
.gallery-grid,
.services-grid,
.perte-grid,
.contact-grid {
  display: grid;
  gap: 0.85rem;
}

.facilities-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0.85rem;
  padding-bottom: 0.6rem;
  scrollbar-width: none;
}

.facilities-track::-webkit-scrollbar { display: none; }

.facility-card {
  flex: 0 0 min(84vw, 20rem);
  scroll-snap-align: start;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.facility-card img { width: 100%; height: 11.5rem; object-fit: cover; }
.facility-card div { padding: 1rem 1.1rem 1.2rem; }
.facility-card h3 { margin: 0 0 0.35rem; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; }
.facility-card p, .facility-card li { color: rgb(243 238 228 / 0.78); }
.facility-card ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.service-card h3 { margin: 0 0 0.4rem; }
.service-card p { margin: 0; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  margin-bottom: 0.9rem;
  scrollbar-width: none;
}

.filter {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
}

.filter.active,
.filter:hover { background: var(--night); color: var(--cream); border-color: var(--night); }

.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gallery-item {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item img { width: 100%; height: 7.5rem; object-fit: cover; }
.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgb(7 22 20 / 0.92);
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.lightbox img { max-height: 82svh; max-width: 100%; border-radius: 0.8rem; }
.lightbox[hidden] { display: none; }

.perte-card {
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.perte-card h3, .perte-card h4 { margin: 0 0 0.55rem; }
.perte-card ul { margin: 0; padding-left: 1.1rem; }
.perte-amount {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.2rem);
  margin: 0.2rem 0;
  color: var(--gold-soft);
}

.progress {
  height: 0.45rem;
  background: rgb(255 255 255 / 0.1);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.7rem 0 0.4rem;
}

.progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--gold), var(--aqua));
  border-radius: inherit;
}

.eu-band {
  background: var(--white);
  padding: 1.4rem 0 1.8rem;
  border-top: 1px solid var(--line);
}

.eu-band img { width: min(100%, 58rem); margin-inline: auto; }

.map-stage {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  min-height: 28rem;
  border: 1px solid var(--line);
}

#map { height: min(72svh, 40rem); width: 100%; }

.map-legend {
  position: absolute;
  z-index: 500;
  left: 0.7rem;
  right: 0.7rem;
  top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.map-legend button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgb(250 247 241 / 0.94);
  font-weight: 650;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.map-legend button.is-on { background: var(--night); color: var(--cream); }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.contact-card a { color: var(--teal); font-weight: 700; text-decoration: none; }
.weather { margin-top: 1rem; overflow: auto; }

.site-footer {
  background: var(--night);
  color: rgb(243 238 228 / 0.78);
  padding: 2.2rem 0 1.4rem;
  font-size: 0.92rem;
}

.footer-grid { display: grid; gap: 1.3rem; }
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: var(--cream);
  margin: 0 0 0.4rem;
}
.footer-label {
  margin: 0 0 0.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.site-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgb(7 22 20 / 0.94);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  padding: 0.35rem 0.15rem calc(0.35rem + env(safe-area-inset-bottom));
}

.site-dock a {
  color: var(--cream);
  text-decoration: none;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 650;
  padding: 0.25rem 0.1rem;
}

.site-dock svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--gold-soft);
  display: block;
  margin: 0 auto 0.15rem;
}

.page-hero-copy { padding-bottom: 2.4rem; }

.prose, .guide-card, .form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.prose h2, .prose h3 { font-family: "Cormorant Garamond", Georgia, serif; }
.guide-card table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.guide-card th, .guide-card td, .prose th, .prose td {
  border: 1px solid var(--line);
  padding: 0.6rem;
  text-align: left;
}
.guide-card th, .prose th { background: var(--deep); color: var(--cream); }
.guide-card blockquote {
  margin: 0;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.table-wrap { overflow-x: auto; }

.field { margin-bottom: 0.9rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.3rem; font-size: 0.9rem; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem 0.85rem;
  background: var(--paper);
}

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cycle, .services-grid, .contact-grid, .perte-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-item img { height: 9rem; }
  .header-login { display: inline-flex; }
}

@media (min-width: 980px) {
  .access-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    width: min(calc(100% - 1.6rem), 72rem);
    margin-inline: auto;
    padding: 0;
  }
  .access-card { flex: none; min-height: 14.5rem; }
  .facilities-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  .facility-card { flex: none; }
  .perte-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .map-legend { left: auto; right: 0.9rem; width: min(22rem, 46%); }
}

@media (min-width: 1200px) {
  body { padding-bottom: 0; }
  .site-dock, .menu-toggle, .slide-hint { display: none; }
  .brand img { height: 4rem; }
  .nav-desktop {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem 0.85rem;
    flex: 1 1 auto;
  }
  .nav-desktop a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 650;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img { transition: none; }
}
