/* ================================================================
   DEPORTICK — Hoja de estilos editable, sin frameworks.
   1. Fuentes y variables  2. Base  3. Header  4. Contenido
   5. Redes y footer  6. Responsive  7. Accesibilidad
   ================================================================ */

@font-face {
  font-family: "Geogrotesque";
  src: url("../assets/fonts/GeogrotesqueCyr-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geogrotesque";
  src: url("../assets/fonts/GeogrotesqueCyr-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

@font-face {
  font-family: "Steelfish";
  src: url("../assets/fonts/steelfish_eb_it-webfont.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}

:root {
  --brand: #6f0050;
  --page: #e9ecee;
  --ink: #222;
  --footer: #03101d;
  --white: #fff;
  --content-width: 1260px;
  --gap: 20px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1rem/1.5 "Geogrotesque", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.container { width: 100%; max-width: var(--content-width); margin-inline: auto; padding: 20px 15px; }

/* Cabecera superpuesta a la portada, como en la referencia. */
.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  min-height: 80px;
  padding: 15px 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--white);
  background: linear-gradient(180deg, #350026 0%, #35002600 100%);
}
.brand { flex: 0 0 auto; }
.brand img { width: 200px; }
.main-nav { display: flex; align-items: center; gap: 40px; padding-right: 25px; }
.main-nav a { font-size: 1rem; padding-block: 8px; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }

/* Los textos de los banners originales forman parte de sus imágenes.
   Editá el HTML para sustituirlas o agregar contenido de texto propio. */
.hero img { width: 100%; }

/* Aviso emergente al ingresar a la portada. */
.availability-notice { width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; overflow-y: auto; background: var(--white); color: #24202a; border: 0; border-top: 5px solid var(--brand); border-radius: 22px; box-shadow: 0 32px 100px #0000004d; }
.availability-notice::backdrop { background: #03101da6; backdrop-filter: blur(4px); }
.availability-notice[open] { animation: availability-notice-enter 220ms ease-out; }
html:has(.availability-notice[open]) { overflow: hidden; }
.availability-notice__intro { padding: 26px 32px 0; text-align: center; }
.availability-notice__badge { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 30px; color: var(--brand); background: #f6eaf3; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.availability-notice__illustration { display: block; margin: 14px auto 12px; }
.availability-notice h2 { max-width: 24ch; margin: 0 auto; font-size: 1.875rem; font-weight: 600; line-height: 1.15; text-wrap: balance; }
.availability-notice__payment { display: flex; align-items: flex-start; gap: 12px; margin: 24px 32px 0; padding: 16px; border: 1px solid #eadce7; border-radius: 12px; background: #fcf9fc; }
.availability-notice__payment-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 10px; color: var(--brand); background: #f3e5ef; }
.availability-notice__payment > div { min-width: 0; }
.availability-notice h3 { margin: 0; color: var(--brand); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.availability-notice__payment p { margin: 5px 0 0; color: #5d5260; font-size: .9375rem; line-height: 1.45; }
.availability-notice__actions { margin: 24px 32px 28px; }
.availability-notice__actions button { width: 100%; min-height: 48px; padding: 12px 24px; color: var(--white); background: var(--brand); border: 0; border-radius: 10px; font-size: 1.0625rem; font-weight: 600; transition: background 160ms ease, box-shadow 160ms ease; }
.availability-notice__actions button:hover { background: #50003a; box-shadow: 0 5px 16px #6f005026; }
@keyframes availability-notice-enter {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.content-block:nth-of-type(even) { background: linear-gradient(180deg, #dfe3e9, #f4f6f9 5px, transparent 5px); }
.events .container { padding-top: 50px; }
.event-list, .gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--gap); }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-card, .gallery-card { min-width: 0; border-radius: var(--radius); box-shadow: 0 40px 50px -20px #0000001f; }
.event-card a, .image-link { display: block; border-radius: var(--radius); }
.event-card img, .gallery-card img { width: 100%; border-radius: var(--radius); }
.event-card a { transition: transform 180ms ease, box-shadow 180ms ease; }
.event-card a:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -18px #6f005066; }
.banner img { width: 100%; }
.intro h2 { font-family: Arial, sans-serif; font-weight: 400; font-size: calc(1rem + 1vw); line-height: 1.35; text-align: center; margin: 20px 0 60px; }

/* Redes sociales: tipografía condensada y fotografías originales. */
.social-section { padding-top: 100px; }
.social-heading { position: relative; text-align: center; padding-inline: 15px; }
.social-heading h2 { position: absolute; inset: 50% 15px auto; transform: translateY(-50%); z-index: 1; color: var(--brand); font: italic 800 40px/1.2 "Steelfish", Impact, sans-serif; text-transform: uppercase; margin: 0; }
.social-heading p { color: var(--white); font: italic 800 clamp(60px, 10.4vw, 130px)/1.15 "Steelfish", Impact, sans-serif; text-transform: uppercase; margin: 0; }
.social-grid { width: 90%; max-width: 1360px; padding-inline: 15px; margin: -8px auto 80px; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.social-card { min-height: 180px; display: flex; justify-content: center; align-items: center; border-radius: 14px; color: var(--white); background-color: var(--brand); background-size: cover; background-position: center; font-size: 1.125rem; text-transform: uppercase; transition: transform 200ms ease, box-shadow 200ms ease; }
.social-card--facebook { background-image: url("../assets/images/social-facebook.png"); }
.social-card--instagram { background-image: url("../assets/images/social-instagram.png"); }
.social-card--twitter { background-image: url("../assets/images/social-twitter.png"); }
.social-card:hover { transform: scale(1.03); box-shadow: 0 20px 50px -10px #5e2e4b; }
.about { padding: 70px 20px; color: var(--white); background: var(--brand); text-align: center; }
.about h2 { font: italic 800 50px/1.1 "Steelfish", Impact, sans-serif; margin: 0; text-transform: uppercase; }
.about a:hover { text-decoration: underline; text-underline-offset: 8px; }

.site-footer { background: var(--footer); color: var(--white); }
.footer-main { max-width: 1360px; width: 90%; margin: auto; padding: 80px 15px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-logo { flex-shrink: 0; }
.footer-logo img { width: 120px; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 20px; text-transform: uppercase; font-size: .875rem; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a { display: grid; place-items: center; width: 28px; min-height: 36px; }
.footer-social svg { width: 18px; height: 20px; fill: currentColor; }
.footer-bottom { border-top: 1px solid #ffffff12; padding: 14px 25px; background: #020a12; }
.languages { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px; }
.languages button { background: none; border: 0; color: #aeb7c0; min-height: 36px; padding: 5px 0; font-size: .875rem; }
.languages button:hover, .languages button[aria-pressed="true"] { color: var(--white); }
.languages button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { width: 100%; gap: 24px; }
  .footer-links { gap: 10px 16px; }
}

@media (max-width: 767px) {
  .site-header { position: relative; min-height: 60px; padding: 12px 20px; background: var(--brand); gap: 16px; flex-wrap: wrap; }
  .brand img { width: 145px; }
  .hero { padding-top: 0; }
  .main-nav { padding: 0; gap: 20px; }
  .main-nav a { font-size: .875rem; }
  .js-enabled .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: white; }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: currentColor; }
  .js-enabled .main-nav { display: none; width: 100%; padding: 8px 0 10px; flex-direction: column; align-items: flex-start; }
  .js-enabled .main-nav.is-open { display: flex; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .container { padding: 15px; }
  .availability-notice__intro { padding: 22px 22px 0; }
  .availability-notice h2 { font-size: 1.625rem; }
  .availability-notice__payment { margin: 22px 20px 0; padding: 14px; gap: 10px; }
  .availability-notice__payment-icon { flex-basis: 34px; height: 34px; border-radius: 8px; }
  .availability-notice__actions { margin: 22px 20px 24px; }
  .events .container { padding-top: 25px; }
  .gallery { grid-template-columns: 1fr; }
  .intro h2 { font-size: clamp(1rem, 3.7vw, 1.5rem); margin: 20px 0 30px; }
  .social-section { padding-top: 55px; }
  .social-heading h2 { font-size: 30px; }
  .social-grid { width: 100%; grid-template-columns: 1fr; gap: 15px; margin-top: 12px; margin-bottom: 50px; }
  .social-card { min-height: 180px; }
  .about { padding: 55px 20px; }
  .footer-main { flex-direction: column; padding: 50px 20px; gap: 28px; }
  .footer-links { flex-direction: column; }
  .footer-social a { width: 44px; min-height: 44px; }
  .languages { justify-content: center; }
}

/* En pantallas horizontales bajas, priorizar el mensaje y el botón. */
@media (max-height: 520px) and (min-width: 480px) {
  .availability-notice__intro { padding: 16px 24px 0; }
  .availability-notice__badge { margin-bottom: 14px; }
  .availability-notice__illustration { display: none; }
  .availability-notice h2 { font-size: 1.5rem; }
  .availability-notice__payment { margin: 16px 24px 0; padding: 12px; }
  .availability-notice__actions { margin: 16px 24px 20px; }
}

/* Foco visible, enlace de salto y movimiento reducido. */
:focus-visible { outline: 3px solid #bf568f; outline-offset: 5px; }
.site-header :focus-visible, .about :focus-visible { outline-color: white; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 12px 20px; background: white; color: var(--brand); border-radius: 4px; }
.skip-link:focus { top: 10px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .availability-notice[open] { animation: none; }
}
