/* ---------------------------------------------------------------------------
   Laguna del Cisne · Reservas del club
   Identidad tomada del sitio: vino #70424C sobre blanco, Reckless Neue para los
   títulos, Switzer para el texto, y líneas finas como recurso estructural.
--------------------------------------------------------------------------- */

@font-face {
  font-family: 'Reckless Neue';
  src: url('/fuentes/RecklessNeue-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Reckless Neue';
  src: url('/fuentes/RecklessNeue-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('/fuentes/Switzer-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --tinta: #70424C;
  --tinta-honda: #4C2C33;
  --tinta-media: #9B7078;
  --tinta-suave: #BFA1A6;
  --linea: #EAE0E1;
  --linea-fuerte: #CBB2B6;
  --papel: #FFFFFF;
  --papel-tenue: #FBF9F8;
  --papel-hondo: #F4EFEE;
  --monte: #55634B;          /* verde de los pinos: lo disponible y lo confirmado */
  --monte-tenue: #EFF2EC;

  --display: 'Reckless Neue', Georgia, 'Times New Roman', serif;
  --texto: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --t-display: clamp(2.4rem, 6.4vw, 4.4rem);
  --t-h1: clamp(1.75rem, 3.6vw, 2.6rem);
  --t-h2: clamp(1.25rem, 2.2vw, 1.6rem);
  --t-cuerpo: 1.0625rem;
  --t-chico: 0.875rem;
  --t-micro: 0.6875rem;

  --margen: clamp(1.25rem, 5vw, 5rem);
  --transicion: 180ms cubic-bezier(.2, .6, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: var(--t-cuerpo);
  line-height: 1.6;
  font-synthesis-weight: none;      /* la familia tiene un solo grosor: nada de negritas falsas */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.14; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--tinta); color: #fff; }

:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
  border-radius: 1px;
}

/* --- piezas de texto compartidas --------------------------------------- */

.rotulo {
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-media);
  margin: 0 0 0.9rem;
}

.display { font-size: var(--t-display); }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }

.bajada {
  color: var(--tinta-media);
  max-width: 46ch;
  font-size: 1.0625rem;
}

.chico { font-size: var(--t-chico); }
.tenue { color: var(--tinta-media); }
.numero { font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }

/* --- botones ------------------------------------------------------------ */

.boton {
  --fondo: var(--tinta);
  --frente: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--fondo); color: var(--frente);
  border: 1px solid var(--fondo);
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: var(--t-chico);
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transicion), color var(--transicion), border-color var(--transicion), transform var(--transicion);
}
.boton:hover { --fondo: var(--tinta-honda); }
.boton:active { transform: translateY(1px); }
.boton[disabled] { opacity: .38; cursor: not-allowed; }

.boton-linea { --fondo: transparent; --frente: var(--tinta); border-color: var(--linea-fuerte); }
.boton-linea:hover { --fondo: var(--papel-hondo); --frente: var(--tinta); border-color: var(--tinta); }

.boton-texto {
  background: none; border: none; padding: 0;
  color: var(--tinta-media); font-size: var(--t-chico); cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  text-decoration-color: var(--linea-fuerte);
}
.boton-texto:hover { color: var(--tinta); text-decoration-color: currentColor; }

/* --- formularios -------------------------------------------------------- */

.campo { display: flex; flex-direction: column; gap: .4rem; }
.campo > label { font-size: var(--t-micro); letter-spacing: .13em; text-transform: uppercase; color: var(--tinta-media); }
.campo input, .campo textarea, .campo select {
  background: var(--papel);
  border: 1px solid var(--linea-fuerte);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  transition: border-color var(--transicion), background var(--transicion);
  width: 100%;
}
.campo input::placeholder, .campo textarea::placeholder { color: var(--tinta-suave); }
.campo input:focus, .campo textarea:focus, .campo select:focus { border-color: var(--tinta); outline: none; }
.campo.error input, .campo.error textarea { border-color: #B3261E; }
.campo .ayuda { font-size: var(--t-micro); color: var(--tinta-suave); letter-spacing: .02em; text-transform: none; }
.campo .aviso-error { font-size: var(--t-chico); color: #B3261E; }

/* --- utilidades --------------------------------------------------------- */

.oculto { display: none !important; }
.solo-lectores {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.linea-fina { height: 1px; background: var(--linea); border: 0; margin: 0; }

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