/* === GLOBAL BASE STYLES (FORCED) === */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

main {
  max-width: 1600px;
  margin-inline: auto;
  width: 100%;
}

.container {
  margin-inline: auto;
}

body {
  overflow-x: hidden;
}

section {
  width: 100%;
}

.utility-shell {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.utility-page--with-header .utility-shell {
  padding-top: calc(28px + var(--utility-chrome-offset,
        calc(var(--spacing-6, 48px) + var(--spacing-4, 32px))));
}

@media (max-width: 720px) {
  .utility-shell {
    width: min(100% - 16px, 980px);
    padding-top: 16px;
    padding-bottom: 36px;
  }

  .utility-page--with-header .utility-shell {
    padding-top: calc(16px + var(--utility-chrome-offset-mobile,
          calc(var(--spacing-4, 32px) + var(--spacing-3, 24px))));
  }
}

/* --- SVG icons (local sprite) --- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* g2 palette ssot start */
:root {
  --g2-palette-dark: #172033;
  --g2-palette-light: #f5efe5;
  --g2-palette-accent: #1d6b62;
  --g2-palette-text: #172033;
  --g2-color-primary: var(--g2-palette-accent);
  --g2-color-accent: var(--g2-palette-accent);
  --g2-color-text: var(--g2-palette-text);
}

/* g2 palette ssot end */

/* --- Cookie consent bar --- */
body.cookie-consent--open {
  padding-bottom: var(--cookie-consent-pad, 0);
}

@media (max-width: 640px) {
  body.cookie-consent--open {
    --cookie-consent-pad: 200px;
  }
}



.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  padding: 14px 16px;
  padding-bottom: max(14px, env(safe-area-inset-bottom, 14px));
  background: rgba(23, 32, 51, 0.97);
  color: var(--g2-palette-light);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(245, 239, 229, 0.12);
  animation: cookie-consent-in 0.35s ease-out;
}

.cookie-consent--leaving {
  animation: cookie-consent-out 0.22s ease-in forwards;
}

@keyframes cookie-consent-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cookie-consent-out {
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
}

.cookie-consent__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(245, 239, 229, 0.92);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-consent__btn--primary {
  background: var(--g2-palette-accent);
  color: #fff;
  border-color: var(--g2-palette-accent);
}

.cookie-consent__btn--primary:hover {
  filter: brightness(1.08);
}

.cookie-consent__btn--secondary {
  background: transparent;
  color: var(--g2-palette-light);
  border-color: rgba(245, 239, 229, 0.45);
}

.cookie-consent__btn--secondary:hover {
  border-color: var(--g2-palette-light);
  background: rgba(245, 239, 229, 0.08);
}

@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
  }
}

/* Nav: página actual (clase `activ_link` en cada HTML; sin script) */
.site-nav__link.activ_link {
  color: #d4af37;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.site-nav__link.activ_link:hover {
  color: #e6c555;
}

.site-mobileNav__link.activ_link {
  color: #d4af37;
  font-weight: 800;
  border-left: 4px solid #d4af37;
  padding-left: 12px;
  margin-left: -4px;
}

.site-mobileNav__link.activ_link:hover {
  color: #e6c555;
}

/* --- Modal verificación de edad (18+) --- */
body.age-gate--open {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.age-gate--leaving {
  animation: age-gate-fade-out 0.2s ease forwards;
}

@keyframes age-gate-fade-out {
  to {
    opacity: 0;
  }
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 41, 34, 0.88);
  backdrop-filter: blur(4px);
}

.age-gate__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 28px 24px 24px;
  border-radius: 14px;
  background: linear-gradient(165deg, #143d35 0%, #0f2922 100%);
  color: #f5efe5;
  border: 2px solid #d4af37;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.age-gate__icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 12px;
  text-align: center;
}

.age-gate__title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  color: #d4af37;
  letter-spacing: 0.02em;
}

.age-gate__text {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 239, 229, 0.92);
  text-align: center;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.age-gate__btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.age-gate__btn:active {
  transform: scale(0.99);
}

.age-gate__btn--confirm {
  background: #d4af37;
  color: #0f2922;
  border-color: #d4af37;
}

.age-gate__btn--confirm:hover {
  background: #e6c555;
  border-color: #e6c555;
}

.age-gate__btn--decline {
  background: transparent;
  color: #f5efe5;
  border-color: rgba(245, 239, 229, 0.4);
}

.age-gate__btn--decline:hover {
  border-color: #f5efe5;
  background: rgba(245, 239, 229, 0.08);
}

@media (min-width: 480px) {
  .age-gate__dialog {
    padding: 32px 28px 26px;
  }

  .age-gate__title {
    font-size: 1.45rem;
  }
}

