/* ============================================================
   Valentina Mestre — hoja unica.
   Paleta: carbon de fondo, texto hueso, un solo acento calido.
   Sin dependencias externas: las fuentes son las del sistema para
   que el sitio cargue igual de rapido con o sin conexion a un CDN.
   ============================================================ */

:root {
  --fondo: #12100f;
  --fondo-alt: #1b1817;
  --tinta: #f3ede4;
  --tinta-suave: #b3a99d;
  --acento: #d98d4a;
  --borde: #2e2926;
  --ancho: 1100px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--acento); }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }

.saltar {
  position: absolute; left: -9999px;
  background: var(--acento); color: #17120d; padding: .6rem 1rem;
}
.saltar:focus { left: 1rem; top: 1rem; z-index: 50; }

/* --- barra --- */
.barra {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(18, 16, 15, .82);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.barra.pegada { border-bottom-color: var(--borde); }
.marca {
  font-family: var(--serif); font-size: 1.15rem; color: var(--tinta);
  text-decoration: none; letter-spacing: .02em;
}
.barra nav { display: flex; gap: clamp(.7rem, 2vw, 1.6rem); flex-wrap: wrap; }
.barra nav a {
  color: var(--tinta-suave); text-decoration: none; font-size: .92rem;
  padding: .2rem 0; border-bottom: 1px solid transparent;
}
.barra nav a:hover { color: var(--tinta); border-bottom-color: var(--acento); }

/* --- hero --- */
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; overflow: hidden; }
.hero-fondo {
  position: absolute; inset: 0;
  background: #0d0b0a center/cover no-repeat;
  /* el degradado deja el texto legible aunque la foto sea clara abajo */
  box-shadow: inset 0 -180px 200px -60px var(--fondo), inset 0 90px 120px -60px var(--fondo);
}
.hero-texto {
  position: relative; width: 100%; max-width: var(--ancho);
  margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
.bajada { color: var(--tinta-suave); font-size: clamp(1rem, 2.2vw, 1.25rem); margin: 0 0 1.6rem; max-width: 46ch; }

.boton {
  display: inline-block; padding: .8rem 2rem;
  background: var(--acento); color: #17120d; text-decoration: none;
  font-weight: 600; letter-spacing: .02em;
  border: 1px solid var(--acento);
}
.boton:hover { background: transparent; color: var(--acento); }

/* --- secciones --- */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 4vw, 2.5rem); }
.seccion.oscura { max-width: none; background: var(--fondo-alt); }
.seccion.oscura > * { max-width: var(--ancho); margin-left: auto; margin-right: auto; }
.intro { color: var(--tinta-suave); max-width: 62ch; margin-top: 0; }

.embeds { display: grid; gap: 1.2rem; }
.embeds iframe { width: 100%; border: 0; border-radius: 10px; }

.marco-video { position: relative; padding-top: 56.25%; background: #0d0b0a; border-radius: 10px; overflow: hidden; }
.marco-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pie { color: var(--tinta-suave); font-size: .93rem; margin-top: .8rem; }

.sobre-grilla { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 780px) { .sobre-grilla { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.sobre-retrato img { width: 100%; border-radius: 10px; filter: saturate(.9) contrast(1.05); }
.sobre-texto p { color: var(--tinta-suave); }

.fechas-lista { list-style: none; margin: 0; padding: 0; }
.fechas-lista li {
  display: grid; gap: .2rem 1.5rem; padding: 1.1rem 0;
  border-top: 1px solid var(--borde);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .fechas-lista li { grid-template-columns: 10rem 1fr auto; align-items: baseline; } }
.fechas-lista li:last-child { border-bottom: 1px solid var(--borde); }
.fecha-dia { color: var(--acento); font-variant-numeric: tabular-nums; }
.fecha-lugar { font-size: 1.05rem; }
.fecha-ciudad { color: var(--tinta-suave); font-size: .93rem; }
.vacio { color: var(--tinta-suave); }

/* --- formulario --- */
.correo a { font-size: 1.1rem; }
#formulario { display: grid; gap: 1.1rem; max-width: 34rem; margin-top: 2rem; }
#formulario label { display: grid; gap: .35rem; font-size: .9rem; color: var(--tinta-suave); }
#formulario input, #formulario textarea {
  font: inherit; color: var(--tinta);
  background: var(--fondo-alt); border: 1px solid var(--borde);
  border-radius: 6px; padding: .7rem .85rem;
}
#formulario input:focus, #formulario textarea:focus { outline: 2px solid var(--acento); outline-offset: 1px; }
#formulario button {
  justify-self: start; font: inherit; font-weight: 600; cursor: pointer;
  padding: .8rem 2rem; background: var(--acento); color: #17120d;
  border: 1px solid var(--acento); border-radius: 0;
}
#formulario button:hover { background: transparent; color: var(--acento); }
#formulario button[disabled] { opacity: .55; cursor: progress; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso { min-height: 1.4em; font-size: .93rem; margin: 0; }
.aviso.bien { color: var(--acento); }
.aviso.mal { color: #e08a7d; }

/* --- pie --- */
.pie-sitio {
  border-top: 1px solid var(--borde);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
  text-align: center;
}
.redes { list-style: none; display: flex; gap: 1.5rem; justify-content: center; padding: 0; margin: 0 0 1.2rem; flex-wrap: wrap; }
.redes a { color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--borde); padding-bottom: .15rem; }
.redes a:hover { border-bottom-color: var(--acento); }
.copy { color: var(--tinta-suave); font-size: .85rem; margin: 0; }

/* Quien pide menos movimiento, no lo recibe */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html { scroll-behavior: smooth; }
