:root {
  --ink: #0b1533;          /* azul noche (del logo, oscurecido) */
  --navy: #0a2373;         /* azul del logo */
  --wine: #a3142f;         /* rojo del logo, llevado a borravino */
  --wine-soft: #f6e6e6;
  --ivory: #f7f3ec;
  --paper: #fffdf9;
  --line: #e7e0d3;
  --text: #1d1f29;
  --muted: #736d63;
  --ok: #1f7a46;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Lobster", "Brush Script MT", cursive;
  --top-h: 68px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font: 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; color: var(--ink); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--wine); }

.envoltura { max-width: 1160px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { margin: 0 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #c9b48e; }
.eyebrow.oscuro { color: var(--wine); }

/* ---------- barra superior ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top-in {
  max-width: 1160px; margin: 0 auto; height: var(--top-h);
  display: flex; align-items: center; gap: 28px;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.marca-sitio { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.marca-sitio img { width: 44px; height: 44px; }
.marca-sitio .script { display: block; font-family: var(--script); font-size: 24px; line-height: 1; }
.marca-sitio .caps { display: block; font-size: 10px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: #c9b48e; margin-top: 3px; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { font-size: 13px; letter-spacing: .04em; text-decoration: none; color: rgba(255, 255, 255, .78); transition: color .2s; }
.menu a:hover { color: #fff; }
.btn-mayorista {
  padding: 10px 16px; border: 1px solid #c9b48e; border-radius: 2px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: #fff;
  transition: background .2s, color .2s;
}
.btn-mayorista:hover { background: #c9b48e; color: var(--ink); }

/* ---------- portada ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 78% 60%, rgba(163, 20, 47, .32), transparent 70%),
    linear-gradient(180deg, var(--ink), #0e1a40);
  color: #fff;
  overflow: hidden;
}
.hero-in {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 84px max(20px, env(safe-area-inset-right, 0px)) 72px max(20px, env(safe-area-inset-left, 0px));
}
.hero h1 { color: #fff; font-size: clamp(44px, 6.4vw, 78px); font-weight: 500; }
.hero h1 em { color: #e7c9a0; }
.hero-sub { max-width: 52ch; margin: 22px 0 0; font-size: 16px; color: rgba(255, 255, 255, .78); }
.estados { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px;
  font-size: 12.5px; color: rgba(255, 255, 255, .8);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8b857a; }
.chip.abierto::before { background: #43c47b; box-shadow: 0 0 0 4px rgba(67, 196, 123, .18); }
.chip b { font-weight: 600; color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-claro, .btn-borde {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-claro { background: #fff; color: var(--ink); }
.btn-claro:hover { background: #e7c9a0; }
.btn-borde { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-borde:hover { border-color: #fff; }
.btn-claro.grande { height: 54px; padding: 0 30px; flex: none; }

/* botellas sobre un "estante" de luz */
.hero-botellas {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  height: 440px;
}
.hero-botellas::after {
  content: ""; position: absolute; left: 6%; right: 6%; bottom: 4px; height: 26px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .45), transparent 70%);
}
.hero-botellas img {
  position: relative; z-index: 1;
  width: 30%; max-width: 190px; height: 360px; object-fit: cover;
  margin: 0 -7%;
  background: #fff;
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}
.hero-botellas img:nth-child(2), .hero-botellas img:nth-child(4) { height: 330px; z-index: 2; }
.hero-botellas img:nth-child(3) { height: 410px; z-index: 3; }

/* ---------- secciones ---------- */
.seccion { padding: 96px 0; }
.titulo h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 500; }
.titulo.centro { text-align: center; margin-bottom: 48px; }
.dos-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.texto p { margin: 0 0 16px; font-size: 16.5px; max-width: 62ch; }
.puntos { list-style: none; margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.puntos strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--wine); line-height: 1.1; }
.puntos span { font-size: 13px; color: var(--muted); }

.ofrecemos { background: var(--paper); border-block: 1px solid var(--line); }
.categorias { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.cat:hover { box-shadow: 0 12px 30px rgba(11, 21, 51, .08); transform: translateY(-2px); }
.cat img { width: 100%; height: 220px; object-fit: contain; padding: 16px 0 6px; background: #fff; }
.cat div { padding: 14px 18px 20px; border-top: 1px solid var(--line); }
.cat h3 { font-size: 23px; }
.cat p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.marcas {
  margin: 44px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px;
  font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--muted);
}
.marcas span + span::before { content: "·"; margin-right: 26px; font-style: normal; color: #c9b48e; }

.mayorista { background: var(--wine); color: #fff; }
.mayorista-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 64px; }
.mayorista .eyebrow { color: #f3d2d8; }
.mayorista h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 500; }
.mayorista p { margin: 12px 0 0; max-width: 58ch; color: rgba(255, 255, 255, .85); }

.lugares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lugar { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.lugar iframe { display: block; width: 100%; height: 240px; border: 0; background: var(--line); }
.lugar-txt { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.lugar h3 { font-size: 30px; }
.dir { margin: 4px 0 0; color: var(--muted); }
.estado { margin: 14px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9b2a5; }
.estado.abierto { color: var(--ok); }
.estado.abierto::before { background: #2fa463; }
.tabla-horarios { width: 100%; margin: 14px 0 18px; border-collapse: collapse; font-size: 14px; }
.tabla-horarios th, .tabla-horarios td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tabla-horarios th { font-weight: 500; width: 46%; }
.tabla-horarios td { color: var(--muted); font-variant-numeric: tabular-nums; }
.tabla-horarios tr.hoy th, .tabla-horarios tr.hoy td { color: var(--ink); font-weight: 600; }
.tabla-horarios tr.hoy th::after { content: " · hoy"; font-weight: 500; color: var(--wine); }
.links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.link { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--wine); }
.link:hover { text-decoration: underline; }

.contacto { padding-top: 0; }
.canales { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.canal {
  display: flex; align-items: center; gap: 16px; min-width: min(100%, 300px);
  padding: 20px 26px; background: #fff; border: 1px solid var(--line); border-radius: 3px; text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.canal:hover { border-color: #d9cfbf; box-shadow: 0 10px 30px rgba(11, 21, 51, .08); }
.canal svg { width: 34px; height: 34px; fill: var(--wine); flex: none; }
.canal strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.1; }
.canal span { color: var(--muted); font-size: 14px; }

.pie { background: var(--ink); color: rgba(255, 255, 255, .7); }
.pie-in { padding-block: 40px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; }
.pie .marca-sitio { color: #fff; margin-bottom: 6px; }
.pie p { margin: 0; }
.legal { font-size: 11.5px; color: rgba(255, 255, 255, .5); }

/* ---------- pantallas chicas ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .btn-mayorista { margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 40px; }
  .hero-botellas { height: 320px; }
  .hero-botellas img { height: 260px; }
  .hero-botellas img:nth-child(2), .hero-botellas img:nth-child(4) { height: 240px; }
  .hero-botellas img:nth-child(3) { height: 300px; }
  .dos-col { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .categorias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lugares { grid-template-columns: minmax(0, 1fr); }
  .mayorista-in { flex-direction: column; align-items: flex-start; }
  .seccion { padding: 68px 0; }
}
@media (max-width: 560px) {
  :root { --top-h: 60px; }
  .marca-sitio img { width: 36px; height: 36px; }
  .marca-sitio .script { font-size: 20px; }
  .btn-mayorista { padding: 8px 10px; font-size: 10px; letter-spacing: .1em; }
  .puntos { grid-template-columns: minmax(0, 1fr); }
  .puntos li { display: flex; align-items: baseline; gap: 12px; }
  .puntos strong { font-size: 26px; flex: none; min-width: 110px; }
  .cat img { height: 160px; }
  .cat div { padding: 12px 14px 16px; }
  .cat h3 { font-size: 20px; }
  .marcas { font-size: 18px; gap: 4px 14px; }
  .marcas span + span::before { margin-right: 14px; }
  .hero-cta a { flex: 1 1 100%; }
}
