/* ================================================
   GALICIA EVENTOS Y OCIO — Stylesheet
   Wild Premium · Naturaleza · Astroturismo
   ================================================ */

/* ── Variables ─────────────────────────────────── */
:root {
  --green:        #4CAF50;
  --green-dark:   #1B5E20;
  --green-mid:    #2E7D32;
  --green-hover:  #43A047;
  --gold:         #F5A623;
  --gold-dark:    #E0951A;
  --carbon:       #1C1C1E;
  --carbon-light: #2A2A2E;
  --slate:        #4A4A4A;
  --off-white:    #F8F5F0;
  --off-white-2:  #F0EDE8;
  --white:        #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-label: 'Montserrat', sans-serif;

  --radius:   12px;
  --radius-sm: 6px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 12px 48px rgba(0,0,0,0.14);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--carbon);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility ───────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.label--light { color: rgba(255,255,255,0.75); }
.label--gold  { color: var(--gold); }
.label--green { color: var(--green); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--carbon);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--green-mid); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76,175,80,0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn--gold {
  background: var(--gold);
  color: var(--carbon);
}
.btn--gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.4);
}
.btn--full { width: 100%; justify-content: center; }

/* ================================================
   NAVIGATION
   ================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(28,28,30,0.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo-icon img {
  height: 52px;
  width: auto;
  display: block;
  filter: url(#remove-white) brightness(1.08);
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
}
.nav__logo-sub {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav__links a:hover { color: white; background: rgba(255,255,255,0.08); }
.nav__cta {
  background: var(--green) !important;
  color: white !important;
  margin-left: 8px;
}
.nav__cta:hover { background: var(--green-hover) !important; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Language switch ───────────────────────────── */
.nav__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 18px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px 6px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
}
.lang-btn {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  padding: 4px 9px;
  border-radius: 100px;
  transition: var(--transition);
  line-height: 1;
}
.lang-btn:hover { color: white; }
.lang-btn--active {
  background: var(--green);
  color: white;
}
.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.7rem; }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg-gradient {
  width: 100%;
  height: 100%;
  background-image: url('images/hero.jpg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.45) 50%,
      rgba(0,0,0,0.15) 100%),
    linear-gradient(to top,
      rgba(0,0,0,0.5) 0%,
      transparent 50%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
  max-width: 700px;
  padding-left: clamp(24px, 6vw, 80px);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: italic;
  color: #a8e6aa;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ================================================
   INTRO STRIP
   ================================================ */
.intro {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid var(--off-white-2);
}
.intro__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.intro__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  font-size: 0.92rem;
  color: var(--slate);
}
.intro__item strong { color: var(--carbon); }
.intro__icon { flex-shrink: 0; }
.intro__divider {
  width: 1px;
  height: 40px;
  background: var(--off-white-2);
}

/* ================================================
   SERVICES
   ================================================ */
.services {
  padding: 100px 0;
  background: var(--off-white);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card--featured {
  grid-column: span 1;
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, var(--gold), var(--green)) border-box;
}
.service-card__image {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
}
/* Placeholder gradients — replace with real photos */
.service-card__image--rutas {
  background-image: url('images/galeria/rutas/Imagen%20de%20WhatsApp%202025-10-15%20a%20las%2013.55.14_66d02fad.jpg');
  background-size: cover;
  background-position: center;
}
.service-card__image--astro {
  background-image: url('images/galeria/astroturismo/4f8c5e67-7bc7-4ed9-b1bb-19b908920851.jpg');
  background-size: cover;
  background-position: center 18%;
}
.service-card__image--colegios {
  background-image: url('images/galeria/colexios/WhatsApp%20Image%202026-03-06%20at%2015.58.01.jpeg');
  background-size: cover;
  background-position: center;
}
.service-card__image--admin {
  background-image: url('images/galeria/concellos/GOPR1238.JPG');
  background-size: cover;
  background-position: center;
}
.service-card__image--camp {
  background-image: url('images/galeria/campamentos/4d16e76a-5d82-418e-8d11-f24935e0588d.jpg');
  background-size: cover;
  background-position: center;
}
.service-card__image--eventos {
  background-image: url('images/galeria/eventos/f8106112-de52-430e-9f88-907c3514fa1a.jpg');
  background-size: cover;
  background-position: center 20%;
}
.service-card__body {
  padding: 24px;
}
.service-card__body .label { margin-bottom: 8px; }
.service-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--carbon);
}
.service-card__body p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 16px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-mid);
  transition: gap var(--transition), color var(--transition);
}
.service-card__link:hover { gap: 10px; color: var(--green); }

/* ================================================
   RUTAS INTERPRETADAS
   ================================================ */
.rutas {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.rutas__image {
  position: absolute;
  inset: 0;
  background-image: url('images/galeria/rutas/Imagen%20de%20WhatsApp%202025-10-15%20a%20las%2013.55.14_66d02fad.jpg');
  background-size: cover;
  background-position: center;
}
.rutas__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27,94,32,0.88) 0%, rgba(27,94,32,0.7) 50%, rgba(0,0,0,0.3) 100%);
}
.rutas__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
}
.rutas__text {
  max-width: 560px;
}
.rutas__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}
.rutas__text h2 em { font-style: italic; color: #a8e6aa; }
.rutas__text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.rutas__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.rutas__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

/* ================================================
   ASTROTURISMO
   ================================================ */
.astro {
  position: relative;
  padding: 110px 0;
  background: #06061a;
  overflow: hidden;
}
.astro__stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.astro__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.astro__text .label { margin-bottom: 14px; }
.astro__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}
.astro__title em { font-style: italic; color: var(--gold); }
.astro__text p {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.astro__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}
.astro__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
}
.astro__highlight-number {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 24px;
}
.astro__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.astro__circle {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background-image: url('images/luna.jpg');
  background-size: 260%;
  background-position: 85% 24%;
  position: relative;
  border: 1px solid rgba(220,215,185,0.25);
  box-shadow:
    0 0 70px rgba(220,215,185,0.18),
    0 0 30px rgba(245,166,35,0.08),
    inset 0 0 40px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.astro__circle::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.08);
}
.astro__circle::after { content: none; }
.astro__star-deco {
  position: absolute;
  top: 16%;
  right: 18%;
  z-index: 2;
  animation: twinkle 3.5s ease-in-out infinite;
}
.astro__circle-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.astro__moon { display: none; }
.astro__circle-inner { display: none; }
@keyframes moonFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

/* ================================================
   EDUCATION / COLEGIOS
   ================================================ */
.edu {
  padding: 100px 0;
  background: var(--white);
}
.edu__tabs {
  display: flex;
  gap: 4px;
  background: var(--off-white);
  padding: 6px;
  border-radius: var(--radius);
  max-width: 520px;
  margin: 0 auto 48px;
}
.edu__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  transition: var(--transition);
}
.edu__tab--active {
  background: white;
  color: var(--carbon);
  box-shadow: var(--shadow);
}
.edu__tab:hover:not(.edu__tab--active) {
  color: var(--carbon);
  background: rgba(255,255,255,0.5);
}
.edu__content { position: relative; }
.edu__panel { display: none; }
.edu__panel--active { display: block; }
.edu__panel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.edu__panel-text h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--carbon);
  margin-bottom: 16px;
}
.edu__panel-text > p {
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.edu__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.edu__item {
  display: flex;
  gap: 16px;
}
.edu__item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 36px;
}
.edu__item strong {
  display: block;
  font-weight: 600;
  color: var(--carbon);
  margin-bottom: 4px;
}
.edu__item p {
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
}
.edu__panel-image {
  height: 460px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Placeholder gradients */
.edu__panel-image--colegios {
  background-image: url('images/galeria/colexios/WhatsApp%20Image%202026-03-06%20at%2015.58.01.jpeg');
  background-size: cover;
  background-position: center;
}
.edu__panel-image--admin {
  background-image: url('images/galeria/concellos/GOPR1238.JPG');
  background-size: cover;
  background-position: center;
}

/* ================================================
   CAMPAMENTOS
   ================================================ */
.camps {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.camps__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/campamentos.jpg.png');
  background-size: cover;
  background-position: center 30%;
}
.camps__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
}
.camps__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.camps__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: white;
  line-height: 1.25;
  margin-bottom: 16px;
}
.camps__content h2 em { font-style: italic; color: var(--gold); }
.camps__content p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.75;
}
.camps__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.camps__card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.camps__card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(76,175,80,0.4);
  transform: translateY(-4px);
}
.camps__card-icon { font-size: 2rem; margin-bottom: 12px; }
.camps__card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.camps__card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

/* ================================================
   EVENTOS ESPECIALES
   ================================================ */
.eventos {
  padding: 100px 0;
  background: var(--off-white);
}
.eventos__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.eventos__image {
  height: 480px;
  border-radius: var(--radius);
  background-image: url('images/galeria/eventos/f8106112-de52-430e-9f88-907c3514fa1a.jpg');
  background-size: cover;
  background-position: center 20%;
  box-shadow: var(--shadow-lg);
}
.eventos__text .label { margin-bottom: 14px; }
.eventos__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--carbon);
  line-height: 1.2;
  margin-bottom: 18px;
}
.eventos__title em { font-style: italic; color: var(--gold-dark); }
.eventos__text > p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.eventos__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.eventos__tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--carbon);
  background: white;
  border: 1px solid var(--off-white-2);
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.eventos__tag:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}
.eventos__tag--more {
  background: var(--gold);
  color: var(--carbon);
  border-color: var(--gold);
  font-weight: 600;
}
.eventos__tag--more:hover { color: var(--carbon); }

/* ================================================
   RESERVA DE LA BIOSFERA
   ================================================ */
.biosfera {
  padding: 100px 0;
  background: var(--green-dark);
  position: relative;
}
.biosfera__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.biosfera__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin-bottom: 24px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}
.biosfera__seal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.biosfera__header .label { margin-bottom: 12px; }
.biosfera__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 18px;
}
.biosfera__title em { font-style: italic; color: #a8e6aa; }
.biosfera__header > p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.75;
}
.biosfera__experiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.biosfera__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}
.biosfera__card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(245,166,35,0.4);
  transform: translateY(-4px);
}
.biosfera__card-img {
  height: 190px;
  width: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
}
.biosfera__card-img--catamaran {
  background-image: url('images/catamaran.png');
}
.biosfera__card-img--pazo {
  background-image: url('images/pazo.png');
}
.biosfera__card-img--starlight {
  background-image: url('images/starlight.png');
  background-position: 78% center;
  transform: scale(1.22);
}
.biosfera__card-body {
  padding: 28px 26px;
}
.biosfera__card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
}
.biosfera__card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin: 0;
}
.biosfera__cta {
  text-align: center;
}
.biosfera__logos {
  margin-top: 56px;
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px 40px;
  box-shadow: var(--shadow);
}
.biosfera__logos img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--off-white);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--off-white-2);
  line-height: 1;
}
.testimonial__stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial p {
  font-size: 0.93rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-mid);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--carbon);
}
.testimonial__author span {
  font-size: 0.8rem;
  color: var(--slate);
}

/* ================================================
   CLIENTES
   ================================================ */
.clientes {
  padding: 100px 0;
  background: var(--white);
}
.clientes__group {
  margin-bottom: 48px;
}
.clientes__group:last-child {
  margin-bottom: 0;
}
.clientes__group-title {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.clientes__group-title::before,
.clientes__group-title::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--off-white-2);
  flex-shrink: 0;
}
.clientes__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.clientes__grid--4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.clientes__grid--6 {
  grid-template-columns: repeat(6, 1fr);
}
.clientes__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--off-white-2);
  border-radius: var(--radius);
  transition: var(--transition);
}
.clientes__logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(76,175,80,0.3);
}
.clientes__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
  position: relative;
  padding: 110px 0;
  background: var(--green-dark);
  overflow: hidden;
}
.contact__owl-bg {
  position: absolute;
  right: -40px;
  bottom: -40px;
  pointer-events: none;
  z-index: 0;
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: white;
  line-height: 1.25;
  margin-bottom: 18px;
}
.contact__info h2 em { font-style: italic; color: #a8e6aa; }
.contact__info > p {
  color: rgba(255,255,255,0.75);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 32px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.contact__detail a { transition: color var(--transition); }
.contact__detail a:hover { color: white; }
.contact__social {
  display: flex;
  gap: 12px;
}
.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.contact__social-link:hover {
  color: white;
  border-color: var(--green);
  background: rgba(76,175,80,0.15);
}
.contact__form-wrap {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(8px);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: white;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.12);
}
.form-group select option { background: var(--green-dark); color: white; }
.form-group--error input,
.form-group--error textarea {
  border-color: #ff8a80;
  background: rgba(255,138,128,0.08);
}
.form-error {
  font-size: 0.78rem;
  color: #ff8a80;
  font-weight: 500;
}
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ================================================
   LEGAL PAGES (privacidad, aviso legal, cookies)
   ================================================ */
.nav--solid {
  position: sticky;
  background: rgba(28,28,30,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav__back:hover { color: white; background: rgba(255,255,255,0.08); }

.legal {
  background: var(--off-white);
  padding: 70px 0 90px;
}
.legal__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal__label {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.legal__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--carbon);
  line-height: 1.2;
  margin-bottom: 12px;
}
.legal__updated {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 8px;
}
.legal__intro {
  font-size: 1.02rem;
  color: var(--slate);
  line-height: 1.8;
  margin: 28px 0 8px;
}
.legal__card {
  background: white;
  border: 1px solid var(--off-white-2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 24px 0;
  box-shadow: var(--shadow);
}
.legal__card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.legal__card ul { margin: 6px 0 0; }
.legal__card li {
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 6px;
}
.legal h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--carbon);
  margin: 44px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--off-white-2);
}
.legal h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--carbon);
  margin: 22px 0 10px;
}
.legal p {
  font-size: 0.96rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal ul {
  list-style: none;
  margin-bottom: 16px;
}
.legal section > ul > li,
.legal__body > ul > li {
  position: relative;
  padding-left: 22px;
  font-size: 0.96rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal section > ul > li::before,
.legal__body > ul > li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.legal a { color: var(--green-mid); font-weight: 500; }
.legal a:hover { color: var(--green); text-decoration: underline; }
.legal strong { color: var(--carbon); }

/* ================================================
   GALLERY PAGE
   ================================================ */
.nav__link--active { color: white !important; }
.nav__link--active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  margin-top: 2px;
}

.gallery-hero {
  background: linear-gradient(135deg, #0d2318 0%, #1B5E20 55%, #2E7D32 100%);
  padding: 150px 0 70px;
  text-align: center;
}
.gallery-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.gallery-hero__subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.gallery {
  background: var(--off-white);
  padding: 50px 0 90px;
}
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.gallery__filter {
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  background: white;
  border: 1px solid var(--off-white-2);
  padding: 10px 20px;
  border-radius: 100px;
  transition: var(--transition);
}
.gallery__filter:hover {
  color: var(--carbon);
  border-color: rgba(76,175,80,0.4);
}
.gallery__filter--active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.gallery__grid {
  column-count: 3;
  column-gap: 16px;
}
.gallery__item {
  display: block;
  position: relative;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: var(--off-white-2);
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,94,32,0.45), transparent 55%);
  opacity: 0;
  transition: var(--transition);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item::before {
  content: '+';
  position: absolute;
  z-index: 2;
  bottom: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: white;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition);
}
.gallery__item:hover::before { opacity: 1; transform: scale(1); }

.gallery__empty {
  text-align: center;
  color: var(--slate);
  font-size: 1rem;
  padding: 40px 0;
}

/* ── Lightbox ──────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,12,14,0.94);
  backdrop-filter: blur(6px);
}
.lightbox--open { display: flex; }
.lightbox__figure {
  margin: 0;
  max-width: 88vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 28px;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.lightbox__close:hover { color: white; transform: rotate(90deg); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: var(--transition);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.18); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .gallery__grid { column-count: 2; }
}
@media (max-width: 768px) {
  .gallery-hero { padding: 120px 0 56px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}
@media (max-width: 520px) {
  .gallery__grid { column-count: 1; }
}

/* ================================================
   COOKIE BANNER
   ================================================ */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(28,28,30,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.4);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
}
.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner__text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-btn--accept {
  background: var(--green);
  color: white;
}
.cookie-btn--accept:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}
.cookie-btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}
.cookie-btn--reject:hover {
  color: white;
  border-color: rgba(255,255,255,0.5);
}
@media (max-width: 620px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 18px 20px;
  }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: #111111;
  padding: 60px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer__brand .nav__logo-name { color: white; }
.footer__brand > p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__col h5 {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col li a,
.footer__col li span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__col li a:hover { color: rgba(255,255,255,0.9); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }
.footer__credit {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}
.footer__credit a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer__credit a:hover { color: rgba(255,255,255,0.9); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .astro__layout { grid-template-columns: 1fr; gap: 48px; }
  .astro__visual { display: none; }
  .edu__panel-layout { grid-template-columns: 1fr; }
  .edu__panel-image { height: 280px; }
  .camps__cards { grid-template-columns: repeat(3, 1fr); }
  .eventos__layout { grid-template-columns: 1fr; gap: 40px; }
  .eventos__image { height: 320px; }
  .biosfera__experiences { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
  .clientes__grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__layout { grid-template-columns: 1fr; gap: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--carbon);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    z-index: 999;
  }
  .nav__links.open { display: flex; }
  .nav__links a { width: 100%; padding: 12px 16px; font-size: 1rem; }
  .nav__cta { margin-left: 0; margin-top: 12px; }
  .nav__hamburger { display: flex; z-index: 1001; position: relative; }

  .hero__content { padding-left: 24px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .intro__grid { flex-direction: column; }
  .intro__divider { width: 80px; height: 1px; }
  .intro__item { padding: 12px 0; }

  .services__grid { grid-template-columns: 1fr; }
  .edu__tabs { max-width: 100%; flex-direction: column; }
  .camps__cards { grid-template-columns: 1fr 1fr; }
  .clientes__grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 24px; }
  .astro__highlights { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .camps__cards { grid-template-columns: 1fr; }
  .clientes__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__links { grid-template-columns: 1fr; }
  .astro__circle { width: 260px; height: 260px; }
  .section-header { margin-bottom: 40px; }
}
