:root {
  /* Paleta corporativa Playa Flamenca Sport Club */
  --white-primary: #fff;
  --blue-primary: #003b73;
  --blue-secondary: #0067b1;
  --blue-light: #2aa8df;
  --yellow-primary: #f5b400;
  --yellow-light: #ffd65a;
  --cream: #fff7dc;
  --blue-primary-rgb: 0, 59, 115;
  --blue-light-rgb: 42, 168, 223;
  --yellow-primary-rgb: 245, 180, 0;
  --cream-rgb: 255, 247, 220;

  /* Alias conservados para no alterar componentes ni animaciones */
  --blue-900: var(--blue-primary);
  --blue-800: var(--blue-secondary);
  --pool: var(--blue-light);
  --orange: var(--yellow-primary);
  --sand: var(--yellow-light);
  --sand-100: var(--cream);
  --white: #ffffff;
  --ink: #08233f;
  --muted: #526579;
  --line: rgba(var(--blue-primary-rgb), 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(8, 35, 63, 0.16);
  --max: 1180px;
  --nav-height: 76px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 22px);
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(var(--cream-rgb), 0.42), rgba(255, 255, 255, 0) 520px),
    var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

img,
iframe,
video,
embed,
object {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}
button,
input,
select,
textarea::placeholder {
  color: var(--white); /* Cambia este valor por tu color favorito */
  opacity: 1;    /* Necesario en Firefox, ya que por defecto le aplica transparencia */
}
button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--blue-900);
}


.gt_selector{
background-color: #333 !important;
  font-size: 13px !important;
  color: #fff;
  max-width: 80px;
  border-radius: 8px;
  padding: 2px 5px;
	}
.gt_selector option{
background-color: #333 !important;
  font-size: 13px !important;
  color: #fff;	
	}


.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 12px 14px;
  color: var(--white);
  background: var(--blue-900);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /*  width: min(calc(100% - 24px), var(--max));*/
  width: 100%;
  margin-inline: auto;
  color: var(--white);
  transition: color 220ms ease, transform 220ms ease;
  padding: 6px 0;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
}

.nav-shell {
  width: min(calc(100% - 24px), var(--max));
	margin: 0 auto;
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border:0;
/*
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(13, 30, 48, 0.16);
  backdrop-filter: blur(18px);
*/
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}


.site-header.is-scrolled {
  background: var(--blue-primary);
}

.site-header.is-scrolled .nav-shell,
.site-header.menu-active .nav-shell {
  background: var(--blue-primary);
  border-color: rgba(var(--blue-primary-rgb), 0.13);
  box-shadow: 0 12px 40px rgba(8, 35, 63, 0.14);
}
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    min-width: 0;
    flex: 0 1 auto;
}

.brand-logo {
    height: 65px;
    width: auto;
    max-width: 100%;
    display: block;
   /* transition: transform .3s ease;*/
}

.gTranslatebox {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
/*
.brand:hover .brand-logo {
    transform: scale(1.03);
}
*/
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(var(--yellow-primary-rgb), 0.95), rgba(var(--blue-light-rgb), 0.95)),
    var(--blue-900);
  font-weight: 900;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.93rem;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-copy span {
  font-size: 0.78rem;
  color: currentColor;
  opacity: 0.78;
}

.desktop-nav,
.footer-inner nav {
  display: none;
}

.desktop-nav a,
.mobile-nav a,
.footer-inner nav a {
  text-decoration: none;
  font-weight: 800;
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--white-primary);
  opacity: 0.82;
  transition: opacity 180ms ease, background 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .desktop-nav a:hover,
.site-header.is-scrolled .desktop-nav a:focus-visible,
.site-header.is-scrolled .desktop-nav a.is-active {
  background: rgba(var(--blue-primary-rgb), 0.08);
}

.nav-cta {
  display: none;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--blue-primary);
  background: var(--orange);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(var(--yellow-primary-rgb), 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(var(--yellow-primary-rgb), 0.26);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 13px;
  border: 0;
  border-radius: 8px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.16);
  flex: 0 0 auto;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 6px;
  max-height: 0;
  margin-top: 8px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(16, 32, 51, 0.16);
  transition: max-height 240ms ease, padding 240ms ease, border-color 240ms ease;
}

.mobile-nav.is-open {
  max-height: 480px;
  padding-block: 10px;
  border-color: rgba(var(--blue-primary-rgb), 0.12);
}

.mobile-nav a {
  padding: 14px 9px;
  border-radius: 6px;
  color: var(--blue-900);
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(var(--blue-light-rgb), 0.12);
}

.hero {
  position: relative;
  min-height: 80svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-900);
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.04);
}

.hero-scrim {
  background:
    linear-gradient(180deg, rgba(10, 28, 47, 0.18), rgba(10, 28, 47, 0.66)),
    linear-gradient(90deg, rgba(10, 28, 47, 0.88), rgba(10, 28, 47, 0.45) 56%, rgba(10, 28, 47, 0.16));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
  padding-block: calc(var(--nav-height));
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.kicker {
  margin: 0;
  color: var(--orange);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.4;
}

.kicker {
  color: var(--blue-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  /*border: 1px solid rgba(255, 255, 255, 0.18);*/
  border:0;
  border-radius: 999px;
  color: var(--sand);
  margin-top: 15px;
/*
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
*/
}

.glink {
margin-right: 5px;	
	}

.hero h1,
.section-copy h2,
.section-intro h2,
.ocio-content h2,
.benefits-section h2,
.contact-copy h2 {
  margin: 0;
  color: inherit;
  font-weight: 900;
  line-height: 0.98;
}

.hero h1 {
  max-width: 11ch;
  margin-top: 18px;
  font-size: clamp(2.35rem, 13vw, 5.4rem);
/*  font-size: clamp(3.35rem, 16vw, 8.4rem);*/
}

.hero-lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2.2vw, 1.26rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--blue-primary);
  background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-light));
  box-shadow: 0 18px 42px rgba(var(--yellow-primary-rgb), 0.26);
}

.button-primary:hover {
  box-shadow: 0 24px 52px rgba(var(--yellow-primary-rgb), 0.32);
}

.button-glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: min(100%, 720px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-proof strong {
  color: var(--sand);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 28px;
  height: 44px;
  display: none;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  margin: 8px auto;
  display: block;
  border-radius: 999px;
  background: var(--white);
  animation: scrollCue 1.6s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(12px);
    opacity: 1;
  }
}

.section {
  padding-block: clamp(74px, 10vw, 80px);
}

.split-layout,
.contact-layout {
  display: grid;
  gap: 38px;
}

.section-copy,
.section-intro,
.contact-copy {
  display: grid;
  gap: 18px;
}

.section-copy h2,
.section-intro h2,
.contact-copy h2 {
  font-size: clamp(2.35rem, 8vw, 5rem);
  color: var(--blue-900);
}

.section-copy p,
.section-intro p,
.contact-copy p,
.ocio-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.section-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-intro.compact {
  max-width: 760px;
}

.section-intro.centered {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}

.signature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.signature-row span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--blue-900);
  background: rgba(var(--blue-light-rgb), 0.1);
  font-size: 0.9rem;
  font-weight: 900;
}

.club-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.club-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.visual-note {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: rgba(11, 36, 61, 0.62);
  backdrop-filter: blur(16px);
}

.visual-note strong {
  font-size: 1rem;
}

.visual-note span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.activities-section {
  background:
    linear-gradient(180deg, rgba(var(--cream-rgb), 0.58), rgba(255, 255, 255, 0.82)),
    var(--sand-100);
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.activity-card {
  position: relative;
  min-height: 410px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-900);
  box-shadow: 0 16px 54px rgba(16, 32, 51, 0.12);
  isolation: isolate;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 30, 48, 0.05), rgba(13, 30, 48, 0.86));
}

.activity-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.activity-card:hover img,
.activity-card:focus-within img {
  transform: scale(1.055);
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: var(--white);
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-900);
  background: var(--sand);
}

.icon-badge svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.activity-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.activity-card p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

.activity-card a {
  width: fit-content;
  color: var(--sand);
  text-decoration: none;
  font-weight: 900;
}

.activity-card a::after {
  content: "";
  width: 100%;
  height: 2px;
  display: block;
  margin-top: 5px;
  background: currentColor;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 180ms ease;
}

.activity-card a:hover::after,
.activity-card a:focus-visible::after {
  transform: scaleX(1);
}

.gallery-section {
  overflow: hidden;
  background: var(--white);
}

.gallery-strip {
  width: min(calc(100% - 32px), 1360px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--blue-900);
  box-shadow: 0 14px 46px rgba(16, 32, 51, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 620ms ease, filter 220ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 30, 48, 0.02), rgba(13, 30, 48, 0.72));
}

.gallery-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  text-align: left;
  font-size: 1rem;
  font-weight: 900;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.ocio-band {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-900);
}

.ocio-media,
.ocio-media img,
.ocio-overlay {
  position: absolute;
  inset: 0;
}

.ocio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ocio-overlay {
  background:
    linear-gradient(180deg, rgba(12, 31, 52, 0.12), rgba(12, 31, 52, 0.72)),
    linear-gradient(90deg, rgba(12, 31, 52, 0.86), rgba(12, 31, 52, 0.22));
}

.ocio-content {
  position: relative;
  z-index: 1;
  padding-block: 96px;
}

.ocio-content h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(2.55rem, 10vw, 5.9rem);
}

.ocio-content p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.ocio-content .button {
  margin-top: 30px;
}

.benefits-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(var(--blue-light-rgb), 0.08)),
    var(--white);
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
}

.benefit-grid article {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 34px rgba(16, 32, 51, 0.06);
}

.benefit-grid span {
  width: 42px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-900);
  background: rgba(var(--blue-light-rgb), 0.13);
  font-size: 0.78rem;
  font-weight: 900;
}

.benefit-grid h3 {
  margin: 0;
  color: var(--blue-900);
  font-size: 1.16rem;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(var(--blue-primary-rgb), 0.98), rgba(0, 103, 177, 0.94)),
    var(--blue-900);
  color: var(--white);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.contact-methods a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.contact-methods strong {
  color: var(--sand);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-methods span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

.map-frame {
  aspect-ratio: 16 / 10;
  min-height: 240px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 0;
  max-width: 100%;
}

/* Impide que iframes o campos con ancho intrínseco (p. ej. el mapa 600px o el
   select de opciones largas) ensanchen los grids por su min-width:auto */
.contact-layout,
.contact-copy,
.contact-form,
.form-grid,
.contact-form label {
  min-width: 0;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.88) contrast(1.02);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(var(--cream-rgb), 0.85);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(var(--cream-rgb), 0.12);
}

/* Campo trampa anti-spam: oculto para usuarios, visible para bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mensaje de estado del envío del formulario */
.form-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  color: #eafff2;
  border: 1px solid rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.16);
}

.form-status.is-error {
  color: #ffecec;
  border: 1px solid rgba(255, 99, 99, 0.5);
  background: rgba(255, 99, 99, 0.16);
}

.button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  padding-block: 36px;
  color: rgba(255, 255, 255, 0.76);
  background: #00294f;
}

.footer-inner {
  display: grid;
  gap: 20px;
}

.footer-brand {
  color: var(--white);
}

.footer-inner nav {
  gap: 14px;
}

.footer-inner nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.floating-whatsapp {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.38);
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 72px 16px 24px;
  background: rgba(8, 20, 33, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  width: min(100%, 1040px);
  margin: 0;
  display: grid;
  gap: 14px;
}

.lightbox img {
  width: 100%;
  max-height: 74svh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.32);
}

.lightbox figcaption {
  color: var(--white);
  text-align: center;
  font-weight: 800;
}

.lightbox-close,
.lightbox-control {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.lightbox-close {
  top: 16px;
  right: 16px;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-control {
  top: 50%;
  display: none;
  transform: translateY(-50%);
}

.lightbox-control.prev {
  left: 16px;
}

.lightbox-control.next {
  right: 16px;
}

.lightbox-control::before {
  content: "";
  width: 12px;
  height: 12px;
  display: block;
  margin: auto;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.lightbox-control.prev::before {
  transform: rotate(-45deg);
}

.lightbox-control.next::before {
  transform: rotate(135deg);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(var(--yellow-primary-rgb), 0.92);
  outline-offset: 3px;
}
/* ===========================
   Back To Top
=========================== */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 90px; /* encima del WhatsApp */

    width: 56px;
    height: 56px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white);

    background: rgba(23, 59, 102, .88);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 18px 40px rgba(16,32,51,.28);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        background .25s ease,
        box-shadow .25s ease;

    z-index: 999;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{

    background:var(--orange);

    transform:translateY(-4px);

    box-shadow:0 22px 45px rgba(229,140,44,.35);
}

.back-to-top:active{
    transform:scale(.95);
}

.back-to-top svg{
    width:24px;
    height:24px;
}

@media(max-width:768px){

    .back-to-top{

        right:16px;
        bottom:84px;

        width:52px;
        height:52px;

    }

}
@media (min-width: 560px) {
  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-proof li {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .nav-cta {
    display: inline-flex;
  }

  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-card.featured {
    grid-column: span 2;
    min-height: 500px;
  }

  .gallery-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .gallery-item {
    min-height: auto;
  }

  .gallery-item.tall {
    grid-row: span 2;
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .lightbox-control {
    display: block;
  }
}

@media (min-width: 940px) {
  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof li {
    grid-template-columns: auto 1fr;
  }

  .scroll-indicator {
    display: block;
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
    align-items: center;
    gap: 72px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.78fr);
    align-items: start;
    gap: 70px;
  }

  .activity-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .activity-card {
    min-height: 430px;
  }

  .activity-card.featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: auto;
  }

  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .footer-inner nav {
    display: flex;
  }

  .footer-inner p {
    text-align: right;
  }
}

@media (min-width: 1180px) {
  .card-body {
    padding: 24px;
  }

  .activity-card h3 {
    font-size: 1.62rem;
  }
}


@media (max-width: 860px) {
.hero {
  min-height: 159svh;
  align-items: start;
}

.hero-inner {
  padding-top: calc(var(--nav-height) + 42px);
}

}

@media (max-width: 420px) {
  .container,
  .gallery-strip {
    width: min(calc(100% - 24px), var(--max));
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
.hero {
  min-height: 134svh;
}
  .hero h1 {
    font-size: clamp(2.85rem, 15vw, 4rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .section-copy h2,
  .section-intro h2,
  .contact-copy h2 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
/* Selector de idioma (banderas) reubicado por JS al final del menú móvil */
.mobile-lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--blue-primary-rgb), 0.12);
}

.mobile-lang:empty {
  display: none;
}

.mobile-lang .gTranslatebox {
  width: 100%;
  justify-content: center;
}

/* Cabecera móvil (<940px): sin banderas, logo grande y burger a la derecha */
@media (max-width: 939px) {
  .nav-shell {
    gap: 12px;
    padding: 10px 6px;
    flex-wrap: nowrap;
  }

  /* Mientras el selector siga en la cabecera (antes de moverlo con JS) se oculta */
  .nav-shell > .gTranslatebox {
    display: none;
  }

  .brand-logo {
    height: 62px;
  }
}
