:root {
  --color-teal: #0e6e67;
  --color-teal-dark: #073b37;
  --color-teal-light: #12857c;
  --color-turquoise: #21b8d6;
  --color-turquoise-deep: #0b7b93;
  --color-jungle: #237a3e;
  --color-gold: #e3a72f;
  --color-white: #ffffff;
  --color-offwhite: #f2faf8;
  --color-text: #163430;
  --color-text-muted: #52706a;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(7, 59, 55, 0.14);
  --shadow-lift: 0 16px 34px rgba(7, 59, 55, 0.2);
  --max-width: 1140px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: rgba(14, 110, 103, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--color-gold);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  background: var(--color-white);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 1rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.88rem;
  opacity: 0.85;
  padding: 7px 8px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.main-nav a.active,
.main-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.16);
}

.main-nav a.active {
  background: rgba(255, 255, 255, 0.22);
}

.main-nav .btn {
  margin-left: 8px;
}

.lang-switch {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-primary {
  background: var(--color-turquoise-deep);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-jungle);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  padding: 56px 0 112px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 340px;
  height: 340px;
  background: var(--color-turquoise);
  opacity: 0.3;
  top: -130px;
  right: -90px;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: var(--color-jungle);
  opacity: 0.22;
  bottom: 20px;
  left: -70px;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.eyebrow--on-dark {
  color: var(--color-turquoise);
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding-bottom: 50.6%; /* 900/900*16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: -12px;
}

.video-hero {
  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.video-hero iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0;
}

.hero p.subtitle {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin: 0;
}

/* Sections */
section {
  padding: 56px 0;
}

section.alt {
  background: var(--color-offwhite);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
  color: var(--color-teal);
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: 32px;
}

/* Scroll-reveal (progressive enhancement, see main.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-grid--overlap {
  position: relative;
  z-index: 2;
  margin-top: -96px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 4px solid var(--color-jungle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.card h3 {
  margin: 0;
  color: var(--color-teal);
}

.card p {
  color: var(--color-text-muted);
  margin: 0;
  flex-grow: 1;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}

/* Package cards (lessons/rentals/tours) */
.package-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  border-top: 4px solid var(--color-turquoise);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.package-card h3 {
  color: var(--color-teal);
  margin: 0 0 4px;
}

.package-duration {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.package-card ul {
  padding-left: 18px;
  color: var(--color-text-muted);
  margin: 12px 0;
}

.price-label {
  font-weight: 700;
  color: var(--color-teal);
  margin-top: 8px;
}

/* Why points */
.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.point-list li {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  font-weight: 600;
  color: var(--color-teal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.point-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.point-list li::before {
  content: "\2713";
  color: var(--color-gold);
  margin-right: 8px;
  font-weight: 700;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}

.placeholder-note {
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 16px;
}

/* CTA band */
.cta-band {
  background: var(--color-turquoise-deep);
  color: var(--color-white);
  text-align: center;
  padding: 56px 0;
}

.cta-band h2 {
  margin-top: 0;
}

/* Forms */
form.stacked {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-teal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.alert {
  padding: 14px 18px;
  border-radius: 8px;
  background: #e7f6ec;
  color: #1c6b3c;
  font-weight: 600;
}

/* Contact details */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.contact-details .item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-details .item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.contact-details .item strong {
  display: block;
  color: var(--color-teal);
  margin-bottom: 4px;
}

.map-embed {
  position: relative;
  margin-top: 24px;
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--color-teal);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--color-teal-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0 24px;
  margin-top: 40px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.site-footer .brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 700;
}

.site-footer .brand-row img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  background: var(--color-white);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive nav — 1180px comfortably fits brand + 8 nav links + Reservar +
   English on one line; below that, a moderate-width window (e.g. a
   non-maximized MacBook Chrome window around 1150-1250px) would otherwise
   have just the last item (English) wrap onto its own line. */
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 12px;
    gap: 6px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav .btn {
    margin-left: 0;
  }

  .site-header .container {
    flex-wrap: wrap;
  }

  .card-grid--overlap {
    margin-top: -48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .package-card:hover,
  .point-list li:hover,
  .gallery-grid img:hover,
  .contact-details .item:hover {
    transform: none;
  }
}
