:root {
    --header-h: 72px;
    /* altura del header fijo */
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    /* Fondo */
    background: url('../img/fondo2.jpg') no-repeat center center / cover fixed;
    /* Layout en columna para empujar el footer al fondo */
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Overlay oscuro del fondo */
.background-image {
    background-color: rgba(51, 51, 51, 0.4);
    position: fixed;
    inset: 0;
    z-index: -1;
    /* detrás del contenido */
}

/* =========================================
   HEADER PRINCIPAL (main-header)
   ========================================= */
.main-header {
    color: #fff;
    padding: 16px 20px;
    font-family: "Jost", sans-serif;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    height: var(--header-h);
    z-index: 10;
    transition: background-color .3s ease, backdrop-filter .3s ease;
    background-color: transparent;
    /* inicia transparente */
    backdrop-filter: none;
}

.main-header.scrolled {
    background-color: rgba(17, 17, 17, 0.35);
    backdrop-filter: blur(6px);
}

/* Floats del logo y nav */
.main-header__logo {
    float: left;
    font-size: 24px;
}

.main-header__nav {
    float: right;
}

.main-header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-header__item {
    display: inline-block;
    margin-left: 20px;
}

.main-header__item a {
    color: #fff;
    text-decoration: none;
    transition: opacity .3s ease;
}

.main-header__item a:hover {
    opacity: .7;
}

/* Limpieza de floats */
.main-header.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== Main que compensa el header y ocupa el alto disponible ===== */

main#content {
    box-sizing: border-box;
    width: 100%;
    max-width: 980px;
    /* cambia si prefieres 720px */
    margin: 0 auto;
    padding: calc(var(--header-h) + 16px) 16px 24px;
    /* deja espacio bajo el header fijo */
    flex: 1;
    /* empuja el footer al final si hay poco contenido */
}


/* =========================================
   Content Acordeón
   ========================================= */
.accordion {
    max-width: 720px;
    margin: 16px auto;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.acc {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    margin: 10px 0;
    overflow: clip;
}

.acc__summary {
    color: white;
    list-style: none;
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 600;
    position: relative;
    background: linear-gradient(135deg, #6a00f4, #00c6ff);
}

.acc__summary::-webkit-details-marker {
    display: none;
}

.chev {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transition: transform .2s ease;
}

.acc[open] .chev {
    transform: translateY(-50%) rotate(45deg);
}

.acc__panel {
    padding: 14px 18px;
}

/* Politica */

.policy {
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.policy__header h1 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.policy__header p {
    margin: 0 0 12px;
    color: #4b5563;
}

.policy__sections {
    padding-left: 1.1rem;
}

.policy__sections>li {
    margin: 14px 0;
}

.policy h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.policy p,
.policy li {
    color: #111827;
    line-height: 1.6;
}

.policy ul {
    margin: 8px 0 0 0;
}

/* Terminos y Condiciones */

.terms {
    max-width: 720px;
    margin: 0 auto 32px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.terms__header h1 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.terms__header p {
    margin: 0 0 10px;
    color: #374151;
}

.terms__update {
    color: #6b7280;
}

.terms__sections {
    padding-left: 1.1rem;
}

.terms__sections>li {
    margin: 14px 0;
}

.terms h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
}

.terms p,
.terms li {
    color: #111827;
    line-height: 1.6;
}

.terms ul {
    margin: 8px 0 0 0;
}

.terms address {
    font-style: normal;
}


/* =========================================
    Footer
   ========================================= */

:root {
  --bg: #151515;
  --text: #a8a8a8;
  --muted: #8d8d8d;
  --white: #ffffff;

  /* Paleta acento */
  --accent-color: #00c6ff;
  /* cian sólido para bordes y color */
  --accent-color-2: #6a00f4;
  /* violeta (segunda referencia) */
  --accent-gradient: linear-gradient(135deg, #6a00f4, #00c6ff);
}

.site-footer {
  font-family: 'Birthstone', cursive;
  /* font-family: "Jost", sans-serif; */
  background: var(--bg);
  color: var(--text);
  padding: 70px 16px 40px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.brand-footer {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 26px;
  letter-spacing: 0.3px;
  /* Texto con degradado violeta→cian */
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-nav-footer a {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 20px;
  /* Texto con degradado */
  background: #a8a8a8;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-nav-footer a:hover {
  color: var(--white);
  /* fallback visual en hover */
  -webkit-text-fill-color: var(--white);
}

.social-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 22px 0 34px;
}

.social-btn-footer {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  z-index: 1;
}

/* Capa que simula el borde degradado */
.social-btn-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  /* grosor del borde */
  background: linear-gradient(135deg, #6a00f4, #00c6ff);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}



/* Fondo degradado al pasar el mouse */
.social-btn-footer:hover {
  background: var(--accent-gradient);
  color: #111;
  transform: translateY(-2px);
}



.copy-footer {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.copy-footer {
  font-family: "Jost", sans-serif;
  display: inline-block;
  margin: 0 0.35em;
  color: #7b7b7b;
  font-size: 13px;
}

/* Enlaces de copy con degradado */
.copy-footer a {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.copy-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .brand-footer {
    font-size: 26px;
  }

  .social-footer {
    gap: 16px;
  }
}