/* Mediterra — colores tomados del logo */
:root {
  --azul-noche: #182541;
  --azul: #0f67b0;
  --oro: #a0823a;
  --arena: #d4c49e;
  --crema: #f7f3ea;
  --crema-2: #efe8d8;
  --texto: #2a2f3a;
  --texto-suave: #5b6170;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ancho: 1160px;
  --radio: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--azul-noche); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; color: var(--azul); }
p { margin: 0 0 1em; }

.contenedor { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; }
.seccion { padding: clamp(4rem, 9vw, 7rem) 0; }
.centrado { text-align: center; }
.eyebrow {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--oro); margin-bottom: .9rem;
}
.eyebrow::before { content: "◆"; font-size: .6rem; margin-right: .6em; color: var(--azul); vertical-align: 2px; }

/* Botones */
.btn {
  display: inline-block; padding: .9rem 1.6rem; border-radius: var(--radio);
  font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--lleno { background: var(--azul-noche); color: #fff; border: 1.5px solid var(--azul-noche); }
.btn--lleno:hover { background: var(--azul); border-color: var(--azul); }
.btn--linea { color: var(--azul-noche); border: 1.5px solid var(--azul-noche); }
.btn--linea:hover { background: var(--azul-noche); color: #fff; }

/* Navegación */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.con-sombra { border-bottom-color: var(--crema-2); }
.nav__in { width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__marca img { height: 58px; width: auto; }
.nav__menu { display: flex; gap: 2rem; align-items: center; }
.nav__menu a { color: var(--azul-noche); text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.nav__menu a:hover { color: var(--azul); }
.nav__menu .nav__cta { border: 1.5px solid var(--oro); padding: .5rem 1rem; border-radius: var(--radio); }
.nav__boton { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav__boton span { display: block; width: 24px; height: 2px; background: var(--azul-noche); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - 76px);
  width: min(100% - 2.5rem, var(--ancho)); margin-inline: auto; gap: 3.5rem; align-items: center;
  padding: 2.5rem 0 4rem;
}
.hero__lema { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--oro); margin-bottom: 1.2rem; }
.hero__bajada { font-size: 1.05rem; color: var(--texto-suave); max-width: 34rem; }
.hero__acciones { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 2.2rem; }
.sellos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sellos li { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--azul-noche); border: 1px solid var(--arena); padding: .35rem .8rem; border-radius: 99px; background: #fff; }
.hero__foto { margin: 0; position: relative; }
.hero__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radio) var(--radio); }
.hero__foto::before {
  content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--arena);
  border-radius: 214px 214px 8px 8px; pointer-events: none;
}

/* Origen */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.dos-col--invertido > :first-child { order: 0; }
.foto-marco { margin: 0; }
.foto-marco img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); box-shadow: 18px 18px 0 var(--crema-2); }
.foto-marco figcaption { font-size: .8rem; color: var(--texto-suave); margin-top: 1.4rem; font-style: italic; }
.nombre { border-left: 3px solid var(--oro); padding-left: 1rem; color: var(--texto-suave); }
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--crema-2); }
.cifras div { display: flex; flex-direction: column; }
.cifra { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--azul); line-height: 1.1; }
.cifras span:last-child { font-size: .9rem; color: var(--texto-suave); }

/* Banda */
.banda { position: relative; height: clamp(320px, 50vw, 560px); overflow: hidden; }
.banda img { width: 100%; height: 100%; object-fit: cover; }
.banda::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,37,65,.75), rgba(24,37,65,.1) 60%); }
.banda__texto {
  position: absolute; z-index: 1; left: 50%; bottom: 2.5rem; transform: translateX(-50%);
  width: min(100% - 2.5rem, 760px); text-align: center; color: #fff;
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0;
}

/* Planta */
.planta { background: #fff; }
.planta__grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.planta__grilla article { padding: 2rem 1.5rem; border-top: 2px solid var(--oro); background: var(--crema); }
.planta__num { font-family: var(--serif); font-size: 1.1rem; color: var(--oro); }
.planta__grilla p { color: var(--texto-suave); font-size: .95rem; margin: 0; }

/* Productos */
.prod-grilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.prod { background: #fff; border-radius: var(--radio); overflow: hidden; display: grid; grid-template-columns: 42% 1fr; box-shadow: 0 1px 0 var(--crema-2); }
.prod picture, .prod img { height: 100%; }
.prod img { width: 100%; object-fit: cover; min-height: 300px; }
.prod__cuerpo { padding: 1.8rem 1.8rem 1.6rem; }
.prod__cuerpo p { color: var(--texto-suave); font-size: .93rem; }
.prod dl { margin: 1rem 0 0; font-size: .85rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.prod dt { font-weight: 600; color: var(--azul-noche); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; padding-top: .2rem; }
.prod dd { margin: 0; }
.prod .nota { font-size: .78rem; font-style: italic; margin: 1rem 0 0; }
.prod--simple { grid-template-columns: 1fr; border-top: 3px solid var(--azul); }
.etiqueta { display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: #fff; background: var(--oro); padding: .25rem .65rem; border-radius: 99px; margin-bottom: .8rem; }

/* Proceso */
.proceso { background: var(--azul-noche); color: #e8e4da; }
.proceso h2 { color: #fff; }
.proceso .eyebrow { color: var(--arena); }
.proceso .foto-marco img { box-shadow: 18px 18px 0 rgba(255,255,255,.07); }
.pasos { list-style: none; counter-reset: paso; padding: 0; margin: 1.6rem 0; }
.pasos li { counter-increment: paso; position: relative; padding: 0 0 1.1rem 3.2rem; }
/* rombo dorado (como el del logo) con el número encima, sin rotar */
.pasos li::before {
  content: ""; position: absolute; left: .3rem; top: .2rem;
  width: 1.5rem; height: 1.5rem; border: 1.5px solid var(--oro); transform: rotate(45deg);
}
.pasos li::after {
  content: counter(paso); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; font-size: .8rem; font-weight: 600; color: var(--arena);
}
.pasos strong { color: #fff; }
.ingredientes { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; color: var(--arena); }
.ingredientes strong { color: #fff; }

/* Por qué */
.porque__grilla { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; margin-top: 3rem; }
.porque__grilla div { text-align: center; padding: 0 .5rem; }
.porque__grilla h3 { font-size: 1.35rem; }
.porque__grilla h3::before { content: "◆"; display: block; color: var(--azul); font-size: .8rem; margin-bottom: .8rem; }
.porque__grilla p { font-size: .9rem; color: var(--texto-suave); }

/* Gastronomía */
.gastro { background: #fff; }
.formatos { list-style: none; padding: 0; margin: 1.5rem 0; }
.formatos li { padding: .9rem 0; border-bottom: 1px solid var(--crema-2); color: var(--texto-suave); font-size: .95rem; }
.formatos span { display: inline-block; min-width: 10rem; font-weight: 600; color: var(--azul-noche); }

/* Contacto */
.contacto { background: var(--crema-2); text-align: center; }
.contacto__in { max-width: 760px; }
.contacto__logo { width: 170px; margin: 0 auto 1.5rem; }
.contacto__vias { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; margin: 2.2rem 0; }
.via {
  display: flex; align-items: center; gap: .9rem; text-align: left; text-decoration: none;
  background: #fff; padding: 1rem 1.4rem; border-radius: var(--radio); color: var(--texto); min-width: 280px;
  border: 1px solid transparent; transition: border-color .2s, transform .2s;
}
.via:hover { border-color: var(--oro); transform: translateY(-2px); }
.via svg { width: 30px; height: 30px; fill: var(--azul); flex: none; }
.via span { display: flex; flex-direction: column; font-size: .9rem; }
.via strong { color: var(--azul-noche); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.contacto__lugar { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--texto-suave); }

/* Pie */
.pie { background: var(--azul-noche); color: #c9cdd8; padding: 2.5rem 0; font-size: .85rem; }
.pie__in { text-align: center; }
.pie strong { color: #fff; }
.pie__legal { font-size: .75rem; color: #8d93a3; margin: .3rem 0 0; }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* Aparición suave */
.revelar { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .porque__grilla { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .planta__grilla { grid-template-columns: repeat(2, 1fr); }
  .prod-grilla { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav__boton { display: block; }
  .nav__menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--crema); border-bottom: 1px solid var(--crema-2);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__menu.abierto { max-height: 400px; }
  .nav__menu a { padding: 1rem; width: 100%; text-align: center; }
  .nav__menu .nav__cta { border: 0; }
  .nav__boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; min-height: auto; gap: 2.5rem; padding-top: 1.5rem; }
  .hero__foto { order: -1; max-width: 420px; margin: 14px auto 0; width: calc(100% - 28px); }
  .dos-col { grid-template-columns: 1fr; }
  .dos-col .foto-marco { max-width: 460px; }
  .dos-col--invertido .foto-marco { order: 2; }
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .prod { grid-template-columns: 1fr; }
  .prod img { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 560px) {
  .porque__grilla, .planta__grilla { grid-template-columns: 1fr; }
  .via { min-width: 0; width: 100%; }
  .formatos span { display: block; }
}

/* Presentaciones */
.presentaciones { background: #fff; }
.presentaciones__bajada { color: var(--texto-suave); margin-top: -.3rem; }
.presentaciones__nota { font-size: .85rem; color: var(--texto-suave); margin: 1.4rem auto 1.8rem; max-width: 46rem; }
.tabla-envoltura { overflow-x: auto; margin-top: 2.2rem; }
.tabla-pres { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px; }
.tabla-pres thead th {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--oro); text-align: left; padding: .8rem 1rem; border-bottom: 2px solid var(--azul-noche);
}
.tabla-pres tbody th { text-align: left; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--azul-noche); padding: 1.1rem 1rem; width: 30%; }
.tabla-pres td { padding: 1.1rem 1rem; vertical-align: top; color: var(--texto); }
.tabla-pres tbody tr { border-bottom: 1px solid var(--crema-2); }
.tabla-pres tbody tr:nth-child(odd) { background: var(--crema); }
.tabla-pres small { color: var(--texto-suave); }
.calibre { display: block; font-weight: 600; color: var(--azul-noche); }
.calibre-det { display: block; font-size: .8rem; color: var(--texto-suave); margin-bottom: .4rem; }

@media (max-width: 640px) {
  .tabla-pres { min-width: 0; }
  .tabla-pres thead { display: none; }
  .tabla-pres, .tabla-pres tbody, .tabla-pres tr, .tabla-pres th, .tabla-pres td { display: block; width: 100%; }
  .tabla-pres tbody tr { padding: .6rem 0 1rem; }
  .tabla-pres tbody th { padding: .6rem 1rem .3rem; }
  .tabla-pres td { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 1rem; text-align: right; }
  .tabla-pres td::before { content: attr(data-label); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--oro); text-align: left; padding-top: .15rem; }
  .tabla-pres td:empty, .tabla-pres td.vacio { display: none; }
}
@media (max-width: 640px) {
  .tabla-pres tbody th { width: 100%; }
  .tabla-pres td { align-items: baseline; }
  .tabla-pres td::before { flex: none; }
  .tabla-pres .v { text-align: right; }
  .tabla-pres .calibre { display: inline; }
  .tabla-pres .calibre-det { display: inline; margin: 0 0 0 .3rem; }
  .tabla-pres .calibre-det::after { content: ""; display: block; margin-bottom: .2rem; }
}

/* Selector de idioma */
.idiomas { display: flex; gap: .15rem; margin-left: .5rem; padding-left: 1.2rem; border-left: 1px solid var(--arena); }
.nav__menu .idiomas a { font-size: .72rem; letter-spacing: .1em; padding: .25rem .4rem; color: var(--texto-suave); border-radius: var(--radio); }
.nav__menu .idiomas a.activo { color: var(--azul-noche); font-weight: 600; background: var(--crema-2); }
@media (max-width: 1100px) { .nav__menu { gap: 1.3rem; } }
@media (max-width: 820px) {
  .idiomas { justify-content: center; border-left: 0; margin: 0; padding: .6rem 0 1rem; gap: .5rem; }
  .nav__menu .idiomas a { width: auto; padding: .4rem .8rem; }
}

/* Ajustes: menú móvil completo y 3 vías de contacto en una fila */
@media (max-width: 820px) { .nav__menu.abierto { max-height: 640px; } }
.contacto__in { max-width: 980px; }
.contacto__in > p { max-width: 680px; margin-inline: auto; }
.via { min-width: 0; flex: 0 1 290px; }
