/* ============================================================
   VIANA · bio.viana.com.ar
   Hoja compartida por index.html y faqs.html
   ============================================================ */

:root {

  /* ═══════════════════════════════════════════════════
     FONDO DE TEMPORADA — lo único que se cambia acá.
     Subí la foto a Cloudflare Images (1600px de ancho
     como mínimo), copiá el ID y reemplazalo abajo.
     Ver TEMPORADA.md
     ═══════════════════════════════════════════════════ */

  --fondo: url('https://imagedelivery.net/ESR9hdibo--NKJ3hCMDbng/c50ed206-21e3-4338-aa50-81decdd5a600/public');

  /* Paleta VIANA */
  --vino:      #62152d;
  --frambuesa: #952f57;
  --tinta:     #111111;
  --blanco:    #ffffff;

  --radio: 8px;
  --transicion: .18s ease;
}

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

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  /* Respaldo: si Cloudflare Images no responde, los botones
     blancos siguen siendo legibles sobre este color. */
  background-color: var(--tinta);
}

/* ===== VELO SOBRE LA FOTO =====
   Denso arriba y abajo, casi transparente en el medio.
   Garantiza que el logo blanco y los botones se lean
   sea cual sea la foto de temporada. */
.velo {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(17, 17, 17, .50)   0%,
      rgba(17, 17, 17, .04)  45%,
      rgba(17, 17, 17, .58) 100%),
    var(--fondo);
  background-size: cover, cover;
  background-position: center, center 30%;
  background-repeat: no-repeat, no-repeat;
}

/* ===== ESTRUCTURA ===== */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  width: 150px;
  height: auto;
  display: block;
}

.contenido {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
}

.botonera {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== BOTONES ===== */
.btn {
  display: block;
  width: 100%;
  padding: 17px 24px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  background-color: var(--blanco);
  color: var(--tinta);
  border: none;
  border-radius: var(--radio);
  cursor: pointer;
  transition:
    background-color var(--transicion),
    color var(--transicion),
    transform var(--transicion);
}

.btn:hover,
.btn:active {
  background-color: var(--frambuesa);
  color: var(--blanco);
  transform: translateY(-2px);
}

/* ===== ACORDEÓN (faqs.html) =====
   Usa <details>/<summary> nativos: sin JavaScript. */
details { width: 100%; }

summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }

details[open] > summary {
  background-color: var(--frambuesa);
  color: var(--blanco);
  margin-bottom: 12px;
}

.panel {
  padding: 20px;
  background-color: var(--blanco);
  border-radius: var(--radio);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2px;
}

.panel p {
  color: var(--tinta);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

/* Botón interno del panel: en vino, para que no se
   confunda con el botón blanco que lo abrió. */
.sub-btn {
  display: block;
  width: 100%;
  padding: 13px 20px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background-color: var(--vino);
  color: var(--blanco);
  border-radius: var(--radio);
  transition:
    background-color var(--transicion),
    transform var(--transicion);
}

.sub-btn:hover,
.sub-btn:active {
  background-color: var(--frambuesa);
  transform: translateY(-1px);
}

/* ===== REDES ===== */
.redes {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.red {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--vino);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transicion),
    transform var(--transicion);
}

.red:hover {
  background-color: var(--frambuesa);
  transform: translateY(-2px);
}

.red svg {
  width: 20px;
  height: 20px;
}

/* ===== ACCESIBILIDAD ===== */
.btn:focus-visible,
.sub-btn:focus-visible,
.red:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--frambuesa);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
