/*
 * ================================================================
 * EDITAR AQUÍ: SISTEMA VISUAL
 * Los colores y tipografías principales están agrupados en estas variables.
 * ================================================================
 */
:root {
  --brand-blue: #004e78;
  --brand-blue-dark: #00324d;
  --brand-green: #13dfb6;
  --brand-gradient-blue: #1b36a5;
  --ink: #123347;
  --muted: #56707e;
  --surface: #f4f9f8;
  --white: #ffffff;
  --line: #cbdcdf;
  --shadow: 0 22px 60px rgba(0, 50, 77, 0.14);

  /* La Visby CF es la tipografía corporativa. Arial funciona como alternativa segura. */
  --font-brand: "Visby CF", Arial, sans-serif;

  --container: 1180px;
  --radius-large: 28px;
  --radius-medium: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--font-brand);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 4px solid #ffcc40;
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--brand-blue-dark);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(0, 50, 77, 0.94);
  color: var(--white);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-brand {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.header-brand span:first-child {
  letter-spacing: 0.14em;
}

.header-brand span:last-child {
  color: var(--brand-green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 15px;
  font-weight: 700;
}

.main-nav > a:not(.button) {
  padding-block: 10px;
  text-decoration: none;
  text-underline-offset: 6px;
}

.main-nav > a:not(.button):hover {
  color: var(--brand-green);
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 3px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary,
.button-small {
  background: var(--brand-green);
  color: var(--brand-blue-dark);
  box-shadow: 0 10px 28px rgba(19, 223, 182, 0.22);
}

.button-primary:hover,
.button-small:hover {
  background: #55efcf;
  box-shadow: 0 14px 34px rgba(19, 223, 182, 0.3);
}

.button-small {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
}

.button-secondary {
  border-color: var(--brand-blue);
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(0, 82, 118, 0.1);
}

.button-secondary:hover {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 82, 118, 0.2);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(72px, 8vw, 122px) 0;
  background: linear-gradient(133deg, var(--brand-blue-dark) 0%, var(--brand-blue) 57%, #075c78 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -220px;
  width: 720px;
  height: 400px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.26;
  pointer-events: none;
}

.hero-glow-one {
  top: -180px;
  right: 12%;
  width: 430px;
  height: 430px;
  background: var(--brand-green);
}

.hero-glow-two {
  bottom: -280px;
  left: -160px;
  width: 620px;
  height: 620px;
  background: var(--brand-gradient-blue);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.explorer-wordmark {
  display: block;
  width: min(100%, 570px);
  margin-bottom: 30px;
  border-radius: 10px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.explorer-wordmark img {
  width: 100%;
  height: auto;
}

.explorer-wordmark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--brand-green);
}

.section-kicker {
  color: var(--brand-blue);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(52px, 7vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.45;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 16px 34px;
  width: fit-content;
  margin: 36px 0 0;
}

.hero-facts div {
  position: relative;
}

.hero-facts div + div::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -17px;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.28);
}

.hero-facts dt {
  color: var(--brand-green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}

.text-link {
  color: var(--white);
  font-weight: 750;
  text-underline-offset: 6px;
}

.text-link:hover {
  color: var(--brand-green);
}

.reservation-status {
  min-height: 1.6em;
  margin: 12px 0 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.hero-media {
  margin: 0;
}

.media-placeholder,
.hero-media-asset {
  width: 100%;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.media-placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 520px;
  align-content: end;
  gap: 8px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, transparent 20%, rgba(0, 50, 77, 0.92) 100%),
    linear-gradient(145deg, rgba(19, 223, 182, 0.3), rgba(27, 54, 165, 0.72));
}

.media-placeholder::before,
.media-placeholder::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.media-placeholder::before {
  top: 13%;
  right: 12%;
  width: 210px;
  height: 210px;
}

.media-placeholder::after {
  top: 28%;
  right: 27%;
  width: 120px;
  height: 120px;
}

.media-placeholder > * {
  position: relative;
  z-index: 1;
}

.media-placeholder strong {
  max-width: 380px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.media-placeholder code {
  color: var(--brand-green);
  font-family: Consolas, monospace;
}

.placeholder-tag {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-media-asset {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section h2,
.final-cta h2 {
  margin: 0;
  color: var(--brand-blue-dark);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 52px;
}

.section-intro {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 9vw, 132px);
}

.intro-copy {
  padding-left: clamp(0px, 3vw, 44px);
  border-left: 3px solid var(--brand-green);
}

.intro-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.intro-copy p + p {
  margin-top: 28px;
}

.intro-copy .intro-highlight {
  color: var(--brand-blue-dark);
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 750;
  line-height: 1.42;
}

.event-section {
  background: var(--surface);
}

.event-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 320px;
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.event-date-panel {
  display: grid;
  place-content: center;
  text-align: center;
  background: linear-gradient(145deg, var(--brand-green), #0abfa9 52%, #0a9ba3);
  color: var(--brand-blue-dark);
  text-transform: uppercase;
}

.event-date-panel span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.event-date-panel strong {
  margin-block: 2px -2px;
  font-size: 112px;
  line-height: 1;
  letter-spacing: -0.08em;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 30px 52px;
  margin: 0;
  padding: 52px 60px;
}

.event-details div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.event-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-details dd {
  margin: 4px 0 0;
  color: var(--brand-blue-dark);
  font-size: 20px;
  font-weight: 750;
}

.future-note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 30px;
  color: var(--brand-blue);
  font-weight: 800;
  text-align: center;
}

.future-note-message {
  display: flex;
  align-items: center;
  gap: 16px;
}

.future-note-message p {
  margin: 0;
}

.future-note-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-content: center;
  border: 2px solid var(--brand-green);
  border-radius: 50%;
  color: var(--brand-blue-dark);
  font-size: 24px;
  line-height: 1;
}

.process-section {
  overflow: hidden;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 37px;
  left: 5%;
  right: 5%;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue), var(--brand-green));
  border-radius: 999px;
}

.process-card {
  position: relative;
  z-index: 1;
  min-height: 270px;
  padding: 84px 28px 30px;
  background: var(--surface);
  border: 1px solid #dce8e9;
  border-radius: var(--radius-medium);
}

.process-card:nth-child(even) {
  background: #f0f7fb;
}

.process-marker {
  position: absolute;
  top: 12px;
  left: 28px;
  display: grid;
  width: 58px;
  height: 58px;
  place-content: center;
  background: var(--brand-green);
  color: var(--brand-blue-dark);
  border: 7px solid var(--white);
  border-radius: 50% 50% 50% 10%;
  box-shadow: 0 8px 22px rgba(0, 78, 120, 0.18);
  font-size: 20px;
  font-weight: 900;
}

.process-card h3,
.process-card p {
  position: relative;
  z-index: 2;
}

.process-card h3 {
  margin: 0 0 12px;
  color: var(--brand-blue-dark);
  font-size: 23px;
  line-height: 1.15;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 20px 26px;
  background: var(--brand-blue-dark);
  color: var(--white);
  border-radius: 16px;
}

.notice strong {
  padding: 5px 12px;
  background: var(--brand-green);
  color: var(--brand-blue-dark);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
}

.faq-section {
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 128px);
}

.faq-heading {
  position: sticky;
  top: 120px;
  height: fit-content;
}

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

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
  color: var(--brand-blue-dark);
  font-size: 19px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--brand-blue);
}

.faq-item p {
  max-width: 720px;
  margin: -6px 58px 25px 0;
  color: var(--muted);
}

.faq-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-blue);
  font-size: 24px;
  font-weight: 500;
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item[open] .faq-icon {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--brand-blue-dark);
  transform: rotate(45deg);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) 0;
  background: linear-gradient(120deg, var(--brand-gradient-blue), var(--brand-blue));
  color: var(--white);
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.final-cta::before {
  top: -190px;
  left: -160px;
  width: 480px;
  height: 480px;
}

.final-cta::after {
  right: -100px;
  bottom: -260px;
  width: 580px;
  height: 580px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta .section-kicker {
  color: var(--brand-green);
}

.final-cta p:not(.section-kicker, .reservation-status) {
  margin: 20px auto 30px;
  font-size: 22px;
}

.site-footer {
  padding: 46px 0;
  background: #00283e;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px 44px;
}

.footer-grid p {
  margin: 0;
}

.footer-brand {
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 28px;
}

.footer-links a {
  color: var(--white);
  text-underline-offset: 5px;
}

.footer-links a:hover {
  color: var(--brand-green);
}

.footer-links a[aria-disabled="true"] {
  color: rgba(255, 255, 255, 0.52);
  cursor: not-allowed;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.noscript-message {
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 20px;
  left: 20px;
  margin: 0;
  padding: 16px;
  background: #8a2c14;
  color: var(--white);
  text-align: center;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
    padding: 18px 20px 24px;
    background: var(--brand-blue-dark);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.2);
  }

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

  .main-nav > a:not(.button) {
    padding: 11px 8px;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .media-placeholder {
    min-height: 440px;
  }

  .intro-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 4px;
    padding-left: 28px;
  }

  .faq-heading {
    position: static;
  }

  .event-card {
    grid-template-columns: 220px 1fr;
  }

  .event-details {
    padding: 44px;
  }

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

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .hero {
    padding: 60px 0 74px;
  }

  .explorer-wordmark {
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(50px, 16vw, 68px);
  }

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

  .hero-facts {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-facts div + div::before {
    display: none;
  }

  .hero-facts dd {
    margin: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .text-link {
    text-align: center;
  }

  .media-placeholder {
    min-height: 370px;
  }

  .media-placeholder {
    padding: 26px;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date-panel {
    min-height: 210px;
  }

  .event-date-panel strong {
    font-size: 92px;
  }

  .event-details {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 34px 26px;
  }

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

  .process-card {
    min-height: 0;
  }

  .notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .faq-item summary {
    font-size: 17px;
  }

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

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
