:root {
  --forest: #143b34;
  --forest-dark: #08241f;
  --gold: #bd9b60;
  --gold-dark: #97733c;
  --ink: #1f2523;
  --muted: #5f6762;
  --paper: #fbfaf7;
  --mist: #eef2ef;
  --stone: #d7d0c2;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

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

a {
  color: var(--forest);
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
}

h1,
h2,
h3,
.navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 24px;
}

h2 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 22px;
}

h3 {
  font-size: 25px;
  line-height: 1.25;
}

p {
  margin-bottom: 18px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(20, 59, 52, 0.12);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 16px 40px rgba(8, 36, 31, 0.08);
}

.navbar {
  min-height: 76px;
}

.navbar-brand img {
  width: 150px;
  height: 49px;
  object-fit: contain;
}

.brand-suffix {
  color: var(--forest);
  font-size: 18px;
  border-left: 1px solid var(--stone);
  padding-left: 16px;
}

.nav-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--gold-dark);
}

.navbar-toggler {
  border: 1px solid rgba(20, 59, 52, 0.24);
  border-radius: 8px;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  padding: 13px 20px;
  white-space: normal;
}

.btn-reserve,
.btn-gold {
  color: var(--forest-dark);
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn-reserve:hover,
.btn-gold:hover {
  color: var(--white);
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-dark-green {
  color: var(--white);
  background: var(--forest);
  border: 1px solid var(--forest);
}

.btn-dark-green:hover {
  color: var(--white);
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

.btn-outline-dark-green {
  color: var(--forest);
  background: transparent;
  border: 1px solid var(--forest);
}

.btn-outline-dark-green:hover {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  margin-top: 76px;
}

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

.hero-bg {
  background-image: url("../img/teleferic-spa-piscina.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 36, 31, 0.84), rgba(8, 36, 31, 0.45) 52%, rgba(8, 36, 31, 0.18)),
    linear-gradient(0deg, rgba(8, 36, 31, 0.35), rgba(8, 36, 31, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 56px;
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 660px;
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 820px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.quick-booking {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.quick-booking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(20, 59, 52, 0.12);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(8, 36, 31, 0.14);
}

.quick-booking p {
  color: var(--forest);
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.lead-copy {
  color: var(--forest);
  font-size: 21px;
}

.intro-section,
.treatments-section,
.faq-section {
  background: var(--paper);
}

.experience-section,
.seo-section {
  background: var(--white);
}

.facilities-section {
  color: var(--white);
  background:
    linear-gradient(rgba(8, 36, 31, 0.84), rgba(8, 36, 31, 0.84)),
    url("../img/teleferic-spa-exterior.jpg") center/cover;
}

.facilities-section .section-kicker,
.facilities-section a {
  color: var(--gold);
}

.facilities-section p {
  color: rgba(255, 255, 255, 0.82);
}

.inline-actions,
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
}

.text-link,
.download-links a {
  position: relative;
  color: var(--forest);
  font-weight: 800;
  padding-bottom: 6px;
}

.text-link::after,
.download-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

.image-panel {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(8, 36, 31, 0.18);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.image-panel figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 10px 14px;
  color: var(--white);
  background: rgba(8, 36, 31, 0.76);
  border-radius: 8px;
  font-size: 14px;
}

.image-panel-offset::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.experience-card {
  display: grid;
  min-height: 100%;
  background: var(--paper);
  border: 1px solid rgba(20, 59, 52, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(8, 36, 31, 0.07);
}

.experience-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.experience-card div {
  padding: 24px;
}

.experience-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.facility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.facility-item {
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.facility-mark {
  display: block;
  width: 38px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--gold);
}

.facility-item p {
  margin-bottom: 0;
}

.note-box {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--mist);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.booking-section {
  padding-top: 28px;
  background: var(--white);
}

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 44px;
  color: var(--white);
  background: var(--forest);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(8, 36, 31, 0.18);
}

.booking-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.booking-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.booking-panel .btn-outline-dark-green {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.booking-panel .btn-outline-dark-green:hover {
  color: var(--forest);
  background: var(--white);
  border-color: var(--white);
}

.seo-section h2 {
  color: var(--forest);
}

.accordion {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid rgba(20, 59, 52, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.accordion-button {
  color: var(--forest);
  font-weight: 800;
  font-size: 18px;
  padding: 22px 24px;
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  color: var(--forest-dark);
  background: var(--mist);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(189, 155, 96, 0.2);
}

.accordion-body {
  padding: 24px;
  color: var(--muted);
}

.site-footer {
  padding: 64px 0 28px;
  background: #101815;
  color: rgba(255, 255, 255, 0.74);
}

.footer-logo {
  width: 150px;
  height: 49px;
  padding: 8px;
  margin-bottom: 18px;
  background: var(--paper);
  border-radius: 8px;
}

.site-footer h2 {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

@media (max-width: 991.98px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  .navbar-collapse {
    padding: 18px 0 24px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-lead {
    font-size: 20px;
  }

  .quick-booking-inner,
  .booking-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .quick-booking-inner {
    flex-direction: column;
    text-align: center;
  }

  .facility-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 575.98px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero-lead,
  .lead-copy {
    font-size: 18px;
  }

  .hero-actions,
  .hero-facts,
  .inline-actions,
  .download-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-facts span {
    justify-content: center;
    text-align: center;
  }

  .section {
    padding: 68px 0;
  }

  .quick-booking {
    margin-top: 0;
  }

  .quick-booking-inner,
  .booking-panel {
    padding: 24px;
  }

  .quick-booking p {
    font-size: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item-large {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-item img {
    min-height: 260px;
  }

  .image-panel figcaption {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
