/* ============================================================
   Cuarta Generación — Vinoteca en Junín
   Estilo: minimalista, moderno, flat. Sin degradados.
   Inspirado en el feed de @cuartageneracionvinoss:
   bloques planos que alternan crema y rojo vino, titulares
   sans bold en mayúsculas, mucho aire.
   ------------------------------------------------------------
   Paleta base:  vino #940F15  ·  crema #EEE4CF
   ============================================================ */

:root {
  /* Colores de marca */
  --wine: #940F15;
  --wine-deep: #6E0B10;   /* base oscura (footer) */
  --wine-ink: #3A0A0D;    /* texto sobre crema */
  --cream: #EEE4CF;

  /* Tipografía */
  --font-display: "Archivo Black", system-ui, sans-serif;  /* titulares punchy */
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-script: "Great Vibes", cursive;                   /* solo un acento decorativo */

  --maxw: 1140px;
  --radius: 3px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--wine-ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400; /* Archivo Black ya es pesada */
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--fg);
}

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.center { text-align: center; }

/* Etiqueta pequeña sobre los títulos */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .7rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.eyebrow.center { text-align: center; }

/* Único acento manuscrito de todo el sitio */
.script-accent {
  font-family: var(--font-script);
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
  margin: 0 0 .4rem;
}

/* ============================================================
   Temas de sección (alternan crema / vino, planos)
   ============================================================ */
.theme-cream {
  background: var(--cream);
  color: var(--wine-ink);
  --fg: var(--wine);
  --muted: rgba(58, 10, 13, .66);
  --line: rgba(58, 10, 13, .16);
  --btn-bg: var(--wine);
  --btn-fg: var(--cream);
}
.theme-wine {
  background: var(--wine);
  color: var(--cream);
  --fg: var(--cream);
  --muted: rgba(238, 228, 207, .72);
  --line: rgba(238, 228, 207, .22);
  --btn-bg: var(--cream);
  --btn-fg: var(--wine);
}
.theme-wine-deep { background: var(--wine-deep); }

/* ---------- Botones (flat, sin sombras ni degradés) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .03em;
  text-decoration: none;
  padding: .95rem 2.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.btn:hover { background: transparent; color: var(--btn-bg); }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg, var(--cream)); }
.theme-wine .btn--ghost:hover { color: var(--wine); }
.theme-cream .btn--ghost:hover { color: var(--cream); }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}
.hero__inner { max-width: 720px; }

.hero__logo {
  width: 130px;
  height: auto;
  margin: 0 auto 1.6rem;
}

.hero__title {
  font-size: clamp(2.8rem, 11vw, 6.5rem);
  letter-spacing: -.02em;
  margin: .1rem 0 .6rem;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: .02em;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  color: var(--muted);
  margin: 0 0 2.4rem;
}

/* Franja de foto entre el hero y "Sobre la vinoteca" (full-bleed) */
.hero-band { display: block; }
.hero-band img {
  width: 100%;
  height: clamp(260px, 46vh, 560px);
  object-fit: cover;
  display: block;
}

/* ============================================================
   2. SOBRE LA VINOTECA
   ============================================================ */
.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about__text h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
.about__text p { color: var(--muted); max-width: 46ch; }

.about__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   3. GALERÍA
   ============================================================ */
.gallery h2 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 2.5rem; }

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* Placeholder de foto — plano y minimalista (se reemplaza por <img>) */
.photo-placeholder {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--muted);
  background: rgba(238, 228, 207, .07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.gallery__grid img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ============================================================
   4. CATÁLOGO (CTA)
   ============================================================ */
.catalog { text-align: center; }
.catalog__inner { max-width: 640px; margin: 0 auto; }
.catalog h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.catalog__lead { color: var(--muted); margin: 0 auto 2.2rem; max-width: 48ch; }

/* ============================================================
   5. VISITANOS
   ============================================================ */
.visit__grid { display: grid; gap: 2.5rem; align-items: stretch; }
.visit h2 { font-size: clamp(1.9rem, 5vw, 3rem); }

.visit__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.visit__list li {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.visit__label {
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--muted);
  margin-bottom: .25rem;
}
.visit__list a { text-decoration: none; }
.visit__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.visit__map {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.visit__map iframe { display: block; height: 100%; min-height: 340px; width: 100%; border: 0; }

/* ============================================================
   6. FOOTER
   ============================================================ */
.footer { color: var(--cream); padding: 4rem 0 0; --muted: rgba(238,228,207,.6); --line: rgba(238,228,207,.16); }
.footer__grid {
  display: grid;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}
.footer__logo { width: 54px; height: auto; margin-bottom: 1rem; }
.footer__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: 1.5rem;
  color: var(--cream);
  margin: 0;
}
.footer__tag { color: var(--muted); margin: .35rem 0 0; font-size: .95rem; }

.footer__col h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .7rem;
  color: var(--muted);
  margin-bottom: .8rem;
}
.footer__col p { color: var(--muted); margin: .3rem 0; font-size: .95rem; }

.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__links li { margin: .45rem 0; }
.footer__links a { text-decoration: none; font-size: .95rem; transition: opacity .18s; }
.footer__links a:hover { opacity: .65; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
  text-align: center;
}
.footer__bottom p { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: transform .18s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); }

/* ============================================================
   Responsive — tablet / desktop
   ============================================================ */
@media (min-width: 700px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (min-width: 900px) {
  .section { padding: 7rem 0; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .visit__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

/* Respeta reduce-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .whatsapp-fab { transition: none; }
}
