/* ============ Doppio Project ============ */
:root {
  --rojo: #A32626;
  --rojo-hondo: #8E2321;
  --crema: #F5F0E5;
  --crema-2: #ECE4D4;
  --cafe: #231111;
  --cafe-2: #341B19;
  --celeste: #D4E4F2;
  --tinta: #231111;

  --peso-titulo: 600;   /* grosor de los títulos: 500 más fino · 700 más grueso */
  --f-titulo: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-texto: 'Instrument Sans', system-ui, sans-serif;
  --f-script: 'Pinyon Script', cursive;

  --ancho: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --curva: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }

.contenedor { width: min(100% - 2 * var(--gutter), var(--ancho)); margin-inline: auto; }

section { position: relative; padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; }
.oscuro { background: var(--cafe); color: var(--crema); }
.rojo   { background: var(--rojo); color: var(--crema); }

.antetitulo {
  margin: 0 0 18px;
  font-family: var(--f-titulo); font-weight: 600; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--rojo);
  display: flex; align-items: center; gap: 12px;
}
.antetitulo::before { content: ''; width: 34px; height: 6px; background: currentColor; transform: skewX(-12deg); }
.oscuro .antetitulo { color: var(--celeste); }

.titulo {
  font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo);
  font-size: clamp(46px, 8vw, 104px); line-height: .9;
  text-transform: uppercase; letter-spacing: -.01em;
}
.intro { max-width: 560px; margin: 24px 0 0; font-size: 19px; opacity: .85; }
.script-grande { font-family: var(--f-script); font-size: clamp(36px, 5vw, 54px); line-height: 1.1; margin: 10px 0 0; color: var(--rojo); }
.oscuro .script-grande { color: var(--celeste); }

.boton {
  display: inline-block; padding: 16px 34px;
  background: var(--rojo); color: var(--crema);
  font-family: var(--f-titulo); font-weight: 700; font-style: italic; font-size: 22px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  transition: background .25s, transform .25s var(--curva);
  cursor: pointer;
}
.boton:hover { background: var(--rojo-hondo); transform: translateY(-2px); }
.boton.claro { background: var(--crema); color: var(--cafe); }
.boton.claro:hover { background: var(--celeste); }

.enlace {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.enlace::after { content: '→'; transition: transform .25s var(--curva); }
.enlace:hover::after { transform: translateX(5px); }

/* entrada suave al hacer scroll */
.aparece { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--curva), transform .8s var(--curva); }
.aparece.visto { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .3s, box-shadow .3s, color .3s;
}
.nav.solido { background: rgba(245, 240, 229, .97); box-shadow: 0 1px 0 rgba(35, 17, 17, .08); }
.nav-marca { position: relative; z-index: 2; }
.nav-marca svg { height: 38px; width: auto; fill: var(--rojo); display: block; }
.nav-links { display: flex; gap: clamp(14px, 1.7vw, 26px); }
.nav-links a {
  font-family: var(--f-titulo); font-weight: 600; font-size: 16px; white-space: nowrap;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--rojo); transform: scaleX(0) skewX(-20deg); transform-origin: left; transition: transform .3s var(--curva);
}
.nav-links a:hover::after, .nav-links a.actual::after { transform: scaleX(1) skewX(-20deg); }
.nav-boton { display: none; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 110px var(--gutter) 90px; text-align: center;
}
.hero-marca { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 90px); }
.logo-anim { overflow: visible; fill: currentColor; }
.logo-anim .a-onda { stroke: currentColor; }
.logo-anim * { transform-box: fill-box; }
.logo-anim .a-linea { transform-origin: 0% 50%; }
.logo-anim .a-d { transform-origin: 0% 100%; }
.logo-anim .a-gota, .logo-anim .salpicon, .logo-anim .a-onda { transform-origin: 50% 50%; }
.logo-anim.esperando > * { opacity: 0; }
.hero-logo { width: clamp(120px, 17vw, 210px); color: var(--rojo); }

.wordmark {
  display: block; aspect-ratio: 746 / 376; background: currentColor;
  -webkit-mask: url(img/doppio3.png) center / contain no-repeat;
          mask: url(img/doppio3.png) center / contain no-repeat;
}
.hero-nombre { color: var(--rojo); width: clamp(220px, 34vw, 440px); }
.hero-nombre .wordmark { clip-path: inset(0 100% 0 0); transform: translateX(-30px) skewX(-8deg); }
.hero.listo .hero-nombre .wordmark {
  clip-path: inset(0 0 0 0); transform: none;
  transition: clip-path .7s cubic-bezier(.8, 0, .2, 1), transform .9s var(--curva);
}
.hero-frase {
  margin: clamp(40px, 7vh, 70px) 0 0; font-size: clamp(22px, 3vw, 34px); font-weight: 500; letter-spacing: -.01em;
}
.hero-frase em { font-family: var(--f-script); font-style: normal; font-weight: 400; color: var(--rojo); font-size: 1.5em; line-height: 0; padding: 0 .08em; }
.hero-temas {
  margin: 14px 0 0; font-family: var(--f-titulo); font-weight: 600; font-size: 15px;
  letter-spacing: .2em; text-transform: uppercase; opacity: .6;
}
.hero-frase, .hero-temas, .hero-bajar { opacity: 0; transform: translateY(14px); }
.hero.listo .hero-frase, .hero.listo .hero-temas, .hero.listo .hero-bajar { opacity: 1; transform: none; transition: opacity .9s var(--curva), transform .9s var(--curva); }
.hero.listo .hero-frase { transition-delay: .45s; }
.hero.listo .hero-temas { transition-delay: .65s; }
.hero.listo .hero-temas { opacity: .6; }
.hero.listo .hero-bajar { transition-delay: 1s; }
.hero-bajar { position: absolute; bottom: 28px; left: 50%; margin-left: -14px; width: 28px; height: 44px; border: 2px solid var(--tinta); border-radius: 14px; }
.hero-bajar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--rojo); animation: bajar 1.8s infinite; }
@keyframes bajar { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ============ NOSOTRAS ============ */
.fondo-d {
  position: absolute; width: min(52vw, 600px); left: -16vw; top: 50%; transform: translateY(-50%);
  fill: var(--rojo); opacity: .9; pointer-events: none;
}
.nosotras .contenedor { position: relative; }
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 6vw, 90px); margin-top: clamp(50px, 8vw, 90px); max-width: 980px; margin-left: auto; align-items: start; }
.persona img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 0 46% 0 0 / 0 34% 0 0;   /* la curva de la D */
}
.persona-nombre { font-family: var(--f-script); font-weight: 400; font-size: clamp(56px, 7vw, 88px); line-height: 1; margin: 18px 0 6px; }
.persona ul { list-style: none; margin: 0; padding: 0; }
.persona li {
  font-family: var(--f-titulo); font-weight: 600; font-size: 20px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 0; border-top: 1px solid rgba(245, 240, 229, .2);
}

/* ============ QUÉ HACEMOS ============ */
.bloque { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-top: clamp(60px, 9vw, 120px); }
.bloque:first-of-type { margin-top: 30px; }
.bloque.invertido .bloque-fotos { order: 2; }
.bloque-fotos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0 40% 0 0 / 0 40% 0 0; }
.bloque-fotos.dos { position: relative; padding: 0 12% 18% 0; }
.foto-texto { position: absolute; width: 58%; right: 0; bottom: 0; margin: 0; border: 8px solid var(--crema); container-type: inline-size; }
.foto-texto img { border-radius: 0; }
.foto-texto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(35, 17, 17, .72) 10%, rgba(35, 17, 17, .25) 55%, rgba(35, 17, 17, .6)); }
.foto-texto figcaption {
  position: absolute; inset: 0; z-index: 1; padding: 9% 9%;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--crema); font-size: 5.6cqw; line-height: 1.3;
}
.foto-texto strong {
  font-family: var(--f-titulo); font-weight: 500; font-size: 17cqw;
  line-height: .9; letter-spacing: -.005em;
}
.bloque-num { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: 22px; color: var(--rojo); }
.bloque h3 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(36px, 4.6vw, 60px); line-height: .95; text-transform: uppercase; margin-top: 8px; }
.bloque p { margin: 18px 0 0; font-size: 18px; max-width: 460px; }
.bloque .script-grande { font-size: clamp(38px, 4.5vw, 56px); }

/* ============ FRASE ============ */
.frase { padding: clamp(90px, 13vw, 170px) 0; }
.frase blockquote {
  margin: 0; max-width: 1000px;
  font-size: clamp(28px, 4.2vw, 54px); font-weight: 500; line-height: 1.18; letter-spacing: -.02em;
}
.frase em { font-family: var(--f-script); font-style: normal; font-weight: 400; font-size: 1.35em; color: var(--celeste); }

/* ============ CINTA ============ */
.cinta { background: var(--crema); border-block: 2px solid var(--tinta); overflow: hidden; padding: 16px 0; }
.cinta-pista { display: flex; width: max-content; animation: cinta 30s linear infinite; }
.cinta span {
  font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: 30px; text-transform: uppercase;
  padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.cinta span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--rojo); margin-left: 28px; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ============ CERTIFICACIONES ============ */
.cert-columnas { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(50px, 7vw, 80px); }
.cert-col { background: var(--cafe-2); }
.cert-cabeza { position: relative; height: 220px; overflow: hidden; }
.cert-cabeza img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.cert-cabeza::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%, var(--cafe-2)); }
.cert-cabeza h3 {
  position: absolute; left: 28px; bottom: 14px; z-index: 1;
  font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(40px, 4.5vw, 58px); text-transform: uppercase; line-height: .9;
}
.cert-cabeza small { display: block; font-family: var(--f-texto); font-style: normal; font-weight: 400; font-size: 15px; text-transform: none; opacity: .75; margin-top: 6px; }
.nivel { padding: 26px 28px; border-top: 1px solid rgba(245, 240, 229, .12); }
.nivel-cabeza { display: flex; align-items: baseline; gap: 14px; }
.nivel-num { font-family: var(--f-titulo); font-weight: var(--peso-titulo); font-style: italic; color: var(--rojo); font-size: 20px; }
.nivel h4 { font-family: var(--f-titulo); font-weight: var(--peso-titulo); font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.nivel p { margin: 6px 0 14px; font-size: 15.5px; opacity: .75; }
.fechas { display: flex; flex-wrap: wrap; gap: 8px; }
.fecha {
  display: inline-flex; flex-direction: column; padding: 9px 14px; text-decoration: none;
  border: 1px solid rgba(245, 240, 229, .25); font-size: 14px; line-height: 1.3; transition: background .2s, border-color .2s;
}
.fecha b { font-family: var(--f-titulo); font-size: 18px; font-weight: var(--peso-titulo); text-transform: uppercase; letter-spacing: .03em; }
.fecha i { font-style: normal; opacity: .7; font-size: 13px; }
a.fecha:hover { background: var(--rojo); border-color: var(--rojo); }
.fecha.pocas i { color: #F0B9A8; opacity: 1; }
.fecha.agotada { opacity: .45; text-decoration: line-through; }
.sin-fechas { font-size: 14px; font-style: italic; opacity: .6; }
.cert-reservar { margin-top: clamp(44px, 6vw, 70px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cert-reservar p { margin: 0; max-width: 340px; font-size: 15px; opacity: .7; }

/* ============ MAPA ============ */
.mapa-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.mapa-filtros button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px; border: 1.5px solid var(--tinta); background: transparent; color: var(--tinta);
  font: 600 14px var(--f-texto); border-radius: 999px; transition: background .2s, color .2s;
}
.mapa-filtros button.activo, .mapa-filtros button:hover { background: var(--tinta); color: var(--crema); }
.punto { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.punto.asesorada { background: var(--rojo); }
.punto.certificada { background: var(--cafe); box-shadow: 0 0 0 2px var(--crema), 0 0 0 3.5px var(--cafe); }
.punto.recomendada { background: #6F9BC4; }
.mapa-grilla { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0; margin-top: 26px; border: 2px solid var(--tinta); background: var(--crema-2); }
.mapa-lienzo { height: 520px; z-index: 0; }
.mapa-lienzo .leaflet-tile-pane { filter: grayscale(1) sepia(.3) contrast(.9) brightness(1.04); }
.mapa-lista { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; border-left: 2px solid var(--tinta); }
.mapa-lista li { padding: 18px 22px; border-bottom: 1px solid rgba(35, 17, 17, .15); cursor: pointer; transition: background .2s; }
.mapa-lista li:hover, .mapa-lista li.elegida { background: var(--crema); }
.mapa-lista strong { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: 25px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.mapa-lista span { font-size: 14.5px; opacity: .7; }
.mapa-lista em { display: block; font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; color: var(--rojo); }
.pin { width: 30px; height: 40px; }
.pin svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.leaflet-popup-content-wrapper { border-radius: 0; font-family: var(--f-texto); }
.leaflet-popup-content b { font-family: var(--f-titulo); font-style: italic; font-size: 20px; text-transform: uppercase; }
.leaflet-container a.leaflet-popup-close-button { color: var(--tinta); }

/* ============ CONSULTORÍA ============ */
.consultoria-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
/* la frase manuscrita termina justo donde termina el título */
.titulo-firma { display: inline-block; max-width: 100%; }
.titulo-firma .script-grande span { display: block; text-align: right; }
.consultoria-cabeza { position: sticky; top: 100px; align-self: start; }
.consultoria-fotos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; margin-top: 40px; }
.consultoria-fotos img { width: 100%; height: 240px; object-fit: cover; }
.consultoria-fotos img:first-child { border-radius: 0 0 0 40% / 0 0 0 40%; }
.consultoria-fotos img:last-child { border-radius: 0 50% 0 0 / 0 30% 0 0; }
.pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.pasos li { display: flex; gap: 22px; padding: 30px 0; border-top: 1px solid rgba(245, 240, 229, .18); }
.pasos li:first-child { border-top: none; padding-top: 6px; }
.pasos span { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: 52px; line-height: .9; color: var(--rojo); min-width: 64px; }
.pasos h3 { font-family: var(--f-titulo); font-weight: var(--peso-titulo); font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.pasos p { margin: 6px 0 0; opacity: .75; }
.consultoria-cta { grid-column: 2; }

/* ============ PRODUCTOS ============ */
.productos-grilla { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(44px, 6vw, 70px); }
.producto { display: flex; flex-direction: column; }
.producto-foto { overflow: hidden; aspect-ratio: 4 / 5; background: var(--crema-2); }
.producto-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--curva); }
.producto:hover .producto-foto img { transform: scale(1.05); }
.producto h3 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: 28px; text-transform: uppercase; margin-top: 16px; line-height: 1; }
.producto-detalle { font-size: 14.5px; opacity: .7; margin: 4px 0 0; }
.producto-notas { font-family: var(--f-script); font-size: 26px; color: var(--rojo); margin: 4px 0 0; line-height: 1.2; }
.producto-pie { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 2px solid var(--tinta); }
.producto-precio { font-family: var(--f-titulo); font-weight: var(--peso-titulo); font-size: 24px; }
.producto-pie a { font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid var(--rojo); }
.producto-cuerpo { display: flex; flex-direction: column; flex: 1; }
.producto-cuerpo .producto-notas { margin-bottom: 14px; }
.mayorista {
  display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(60px, 8vw, 100px); background: var(--cafe); color: var(--crema);
}
.mayorista img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.mayorista > div { padding: 32px 32px 32px 0; }
.mayorista h3 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(36px, 4.4vw, 56px); text-transform: uppercase; line-height: .95; }
.mayorista p { margin: 12px 0 24px; opacity: .8; }

/* ============ PIE ============ */
.pie { padding: clamp(70px, 9vw, 110px) 0 30px; }
.pie-grilla { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.pie-marca { display: flex; align-items: center; gap: 28px; color: var(--crema); }
.pie-marca .pie-logo { width: 90px; flex: none; }
.pie-marca .wordmark { width: min(100%, 260px); clip-path: inset(0 100% 0 0); transform: translateX(-24px) skewX(-8deg); }
.pie-marca.listo .wordmark { clip-path: inset(0 0 0 0); transform: none; transition: clip-path .7s cubic-bezier(.8, 0, .2, 1), transform .9s var(--curva); }
.firma { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 64px; }
.firma b { font-weight: 600; }
.firma a {
  text-decoration: none; padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(245, 240, 229, .25); background: rgba(245, 240, 229, .08);
  transition: background .2s, border-color .2s;
}
.firma a:hover { background: rgba(245, 240, 229, .18); border-color: rgba(245, 240, 229, .55); }
.pie h4 { font-family: var(--f-titulo); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--celeste); margin-bottom: 14px; }
.pie-col a { display: block; text-decoration: none; padding: 4px 0; opacity: .9; }
.pie-col a:hover { opacity: 1; text-decoration: underline; }
.pie-final { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(245, 240, 229, .3); font-size: 14px; opacity: .8; }

/* botón flotante de WhatsApp */
.flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: var(--rojo); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--crema), 0 8px 24px rgba(35, 17, 17, .3);
  transition: transform .25s var(--curva);
}
.flotante:hover { transform: scale(1.08); }
.flotante svg { width: 28px; fill: var(--crema); }

/* ============ CELULAR ============ */
@media (max-width: 1120px) {
  .nav-boton {
    display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 10px; z-index: 2;
  }
  .nav-boton span { height: 3px; background: var(--tinta); transform: skewX(-20deg); transition: transform .3s; }
  .nav-boton[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .nav-boton[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; background: var(--crema); flex-direction: column; justify-content: center;
    padding: 0 var(--gutter); gap: 6px; transform: translateY(-100%); visibility: hidden;
    transition: transform .5s var(--curva), visibility 0s .5s;
  }
  .nav-links.abierto { transform: none; visibility: visible; transition: transform .5s var(--curva); }
  .nav-links a { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(30px, 8vw, 44px); letter-spacing: 0; }
  .nav-links a::after { display: none; }
}
@media (max-width: 900px) {
  .duo, .bloque, .cert-columnas, .mapa-grilla, .consultoria-grilla, .pie-grilla { grid-template-columns: 1fr; }
  .bloque.invertido .bloque-fotos { order: 0; }
  .productos-grilla { grid-template-columns: repeat(2, 1fr); }
  .mapa-lista { border-left: 0; border-top: 2px solid var(--tinta); max-height: 340px; }
  .mapa-lienzo { height: 380px; }
  .consultoria-cabeza { position: static; }
  .consultoria-cta { grid-column: auto; }
  .mayorista { grid-template-columns: 1fr; }
  .mayorista img { min-height: 220px; max-height: 280px; }
  .mayorista > div { padding: 0 24px 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-marca { flex-direction: column; gap: 26px; }
  .hero-logo { width: 110px; }
  .hero-nombre { width: 230px; }
  .duo { gap: 50px; }
  .productos-grilla { grid-template-columns: 1fr; }
  .cert-cabeza { height: 170px; }
  .nivel { padding: 22px 20px; }
  .cinta span { font-size: 22px; }
  .pie-marca .pie-logo { width: 64px; }
  .firma { padding-right: 0; }
  .pie-final { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparece { opacity: 1; transform: none; transition: none; }
  .cinta-pista, .hero-bajar span { animation: none; }
}

/* ============================================================
   VERSIÓN 2: páginas por sección y contenido desde el panel
   ============================================================ */

/* ---------- Cabecera de cada página ---------- */
.cabecera { padding: clamp(130px, 16vw, 190px) 0 clamp(60px, 8vw, 100px); }
.cabecera-grilla { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.cabecera .intro { font-size: clamp(18px, 1.6vw, 21px); }
.cabecera-foto { position: relative; }
.cabecera-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0 46% 0 0 / 0 34% 0 0; }
.cabecera-foto::after {   /* el punto del logo */
  content: ''; position: absolute; width: 16%; aspect-ratio: 1; border-radius: 50%;
  background: var(--rojo); right: -4%; bottom: 6%;
}
.oscuro .cabecera-foto::after { background: var(--celeste); }

/* ---------- Fundadoras (mismo protagonismo) ---------- */
.about-texto { max-width: 720px; margin: 28px 0 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; opacity: .9; }
.persona-esp { font-family: var(--f-titulo); font-weight: 600; font-size: 15px; letter-spacing: .2em; text-transform: uppercase; color: var(--celeste); margin: 0 0 12px; }
.persona-recorrido { margin: 0 0 18px; opacity: .85; }

/* ---------- Mosaico de lo que hacemos (inicio) ---------- */
.mosaico { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 70px); }
.mosaico a {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5; color: var(--crema); text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
}
.mosaico a:first-child { border-radius: 0 40% 0 0 / 0 28% 0 0; }
.mosaico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--curva); }
.mosaico a::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 35%, rgba(35, 17, 17, .85)); }
.mosaico a:hover img { transform: scale(1.06); }
.mosaico span, .mosaico h3, .mosaico p { position: relative; z-index: 2; margin: 0; }
.mosaico span { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: 20px; color: var(--celeste); }
.mosaico h3 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(30px, 3vw, 42px); line-height: .95; text-transform: uppercase; }
.mosaico p { font-size: 15px; opacity: .85; margin-top: 8px; }

/* ---------- Testimonios ---------- */
.testimonios { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-top: clamp(36px, 5vw, 56px); }
.testimonio { margin: 0; scroll-snap-align: start; background: var(--crema-2); padding: 34px 30px 28px; display: flex; flex-direction: column; position: relative; }
.oscuro .testimonio { background: var(--cafe-2); }
.testimonio::before { content: '“'; font-family: var(--f-script); font-size: 110px; line-height: .6; color: var(--rojo); height: 44px; }
.testimonio blockquote { margin: 0 0 24px; font-size: 18px; line-height: 1.5; }
.testimonio footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(35, 17, 17, .15); }
.oscuro .testimonio footer { border-color: rgba(245, 240, 229, .15); }
.testimonio footer img, .testimonio .inicial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonio .inicial { display: grid; place-items: center; background: var(--rojo); color: var(--crema); font-family: var(--f-titulo); font-weight: 700; font-size: 22px; }
.testimonio b { display: block; font-family: var(--f-titulo); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.testimonio small { font-size: 13.5px; opacity: .7; }
.testimonio a { font-size: 13.5px; font-weight: 600; }

/* ---------- Filtros (chips) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips button {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 16px; border: 1.5px solid currentColor; background: transparent; color: inherit;
  font: 600 14px var(--f-texto); border-radius: 999px; transition: background .2s, color .2s;
}
.chips button.activo, .chips button:hover { background: var(--tinta); border-color: var(--tinta); color: var(--crema); }
.oscuro .chips button.activo, .oscuro .chips button:hover { background: var(--crema); border-color: var(--crema); color: var(--cafe); }

/* ---------- Desplegables (certificaciones y cursos) ---------- */
.desplegable { border-top: 1px solid rgba(245, 240, 229, .14); }
.desplegable > summary {
  list-style: none; cursor: pointer; padding: 24px 28px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline;
}
.desplegable > summary::-webkit-details-marker { display: none; }
.desplegable > summary::after {
  content: '+'; font-family: var(--f-titulo); font-size: 32px; line-height: .6; color: var(--rojo); transition: transform .3s var(--curva);
}
.desplegable[open] > summary::after { transform: rotate(45deg); }
.desplegable-cuerpo { padding: 0 28px 28px; }
.desplegable-cuerpo > p { margin: 0 0 16px; opacity: .8; }
.datos-ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 6px 0 22px; }
.datos-ficha div { font-size: 15px; }
.datos-ficha dt { font-family: var(--f-titulo); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--celeste); margin-bottom: 4px; }
.datos-ficha dd { margin: 0; opacity: .85; }
.datos-ficha ul { margin: 0; padding-left: 18px; }
.datos-ficha .ancho { grid-column: 1 / -1; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.boton.chico { padding: 11px 22px; font-size: 18px; }
.boton.borde { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; clip-path: none; }
.boton.borde:hover { background: var(--rojo); color: var(--crema); box-shadow: none; }

/* lista de cursos en fondo claro */
.cursos-lista { margin-top: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(35, 17, 17, .15); }
.cursos-lista .desplegable { border-top-color: rgba(35, 17, 17, .15); }
.cursos-lista .desplegable > summary { padding-inline: 0; grid-template-columns: 110px 1fr auto auto; }
.cursos-lista .desplegable-cuerpo { padding-inline: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); }
.cursos-lista .datos-ficha dt { color: var(--rojo); }
.curso-disc { white-space: nowrap; font-family: var(--f-titulo); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); }
.curso-titulo { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; line-height: 1; }
.curso-nivel { font-size: 14px; opacity: .65; }
.curso-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0 40% 0 0 / 0 30% 0 0; }
.cursos-lista .fecha { border-color: rgba(35, 17, 17, .25); }
.cursos-lista a.fecha:hover { color: var(--crema); }
.cursos-lista .fecha.pocas i { color: var(--rojo); }
.cursos-disciplina { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(34px, 4vw, 52px); text-transform: uppercase; margin: 46px 0 6px; color: var(--rojo); }

/* ---------- Tarjetas (servicios, proyectos, experiencias, destinos) ---------- */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(40px, 6vw, 64px); }
.tarjeta { display: flex; flex-direction: column; }
.tarjeta-foto { overflow: hidden; aspect-ratio: 4 / 3; background: var(--crema-2); position: relative; }
.tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--curva); }
.tarjeta:hover .tarjeta-foto img { transform: scale(1.05); }
.tarjeta h3 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(26px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; margin-top: 18px; }
.tarjeta p { margin: 10px 0 0; opacity: .85; font-size: 16px; }
.tarjeta ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 15px; }
.tarjeta li { padding: 7px 0; border-top: 1px solid rgba(35, 17, 17, .12); }
.oscuro .tarjeta li { border-color: rgba(245, 240, 229, .14); }
.tarjeta-meta { font-family: var(--f-titulo); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo); margin-top: 16px; }
.oscuro .tarjeta-meta { color: var(--celeste); }
.etiqueta {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 12px; background: var(--rojo); color: var(--crema);
  font-family: var(--f-titulo); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
}
.etiqueta.clara { background: var(--crema); color: var(--cafe); }
.etiqueta.celeste { background: var(--celeste); color: var(--cafe); }

/* servicios de consultoría separados por tipo */
.servicios-grupos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); margin-top: clamp(40px, 6vw, 64px); }
.servicios-grupos h3.grupo { font-family: var(--f-script); font-weight: 400; font-size: clamp(44px, 5vw, 64px); color: var(--rojo); margin-bottom: 4px; }
.servicios-grupos .tarjetas { margin-top: 0; grid-template-columns: 1fr; }
.servicio { display: grid; grid-template-columns: 160px 1fr; gap: 22px; padding: 24px 0; border-top: 2px solid var(--tinta); }
.servicio img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0 40% 0 0 / 0 40% 0 0; }
.servicio h4 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(26px, 2.6vw, 34px); text-transform: uppercase; line-height: 1; }
.servicio p { margin: 8px 0 0; opacity: .85; }
.servicio ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.servicio li { font-size: 13.5px; padding: 4px 10px; border: 1px solid rgba(35, 17, 17, .25); border-radius: 999px; }

/* ---------- Productos: café primero, merch aparte ---------- */
.aviso-tienda {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 14px 20px; background: var(--celeste); color: var(--cafe);
  font-size: 15px; max-width: 640px;
}
.aviso-tienda b { font-family: var(--f-titulo); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.linea-cafe { font-family: var(--f-script); font-size: clamp(44px, 5vw, 64px); color: var(--rojo); margin: clamp(40px, 6vw, 70px) 0 0; line-height: 1; }
.linea-cafe + .productos-grilla { margin-top: 20px; }
.producto.agotado .producto-foto img { filter: grayscale(.8); opacity: .7; }
.producto-origen { font-size: 14.5px; margin: 6px 0 0; }
.merch .tarjetas { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.merch .tarjeta-foto { aspect-ratio: 1; }

/* ---------- Experiencias ---------- */
.destacada { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.destacada + .destacada { margin-top: clamp(40px, 6vw, 70px); }
.destacada:nth-of-type(even) .destacada-foto { order: 2; }
.destacada-foto { position: relative; }
.destacada-foto img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0 40% 0 0 / 0 32% 0 0; }
.destacada h3 { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(38px, 4.6vw, 64px); text-transform: uppercase; line-height: .92; margin-top: 10px; }
.destacada p { margin: 16px 0 0; font-size: 18px; opacity: .85; }
.subtitulo-seccion { font-family: var(--f-titulo); font-style: italic; font-weight: var(--peso-titulo); font-size: clamp(32px, 3.6vw, 48px); text-transform: uppercase; margin-top: clamp(60px, 8vw, 100px); }

/* ---------- Doppio por el mundo ---------- */
.mundo-mapa { height: 560px; margin-top: 26px; border: 2px solid var(--tinta); z-index: 0; background: var(--crema-2); }
.mundo-mapa .leaflet-tile-pane { filter: grayscale(1) sepia(.3) contrast(.9) brightness(1.04); }
.leyenda { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 14px; }
.leyenda span { display: inline-flex; align-items: center; gap: 8px; }
.punto.estuvimos { background: var(--rojo); }
.punto.proximo { background: var(--crema); box-shadow: inset 0 0 0 3px var(--rojo); }
.popup-destino img { width: 220px; height: 130px; object-fit: cover; margin-bottom: 8px; }
.popup-destino small { display: block; opacity: .7; margin-top: 4px; }

/* ---------- Cierre con botón ---------- */
.cierre { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(44px, 6vw, 70px); }
.cierre p { margin: 0; max-width: 360px; font-size: 15px; opacity: .75; }
.vacio { margin-top: 30px; font-style: italic; opacity: .6; }

@media (max-width: 900px) {
  .cabecera-grilla, .servicios-grupos, .destacada { grid-template-columns: 1fr; }
  .destacada:nth-of-type(even) .destacada-foto { order: 0; }
  .cabecera-foto { max-width: 420px; }
  .mosaico { grid-template-columns: repeat(2, 1fr); }
  .cursos-lista .desplegable > summary { grid-template-columns: 1fr auto; }
  .cursos-lista .curso-disc { grid-column: 1 / -1; }
  .cursos-lista .curso-nivel { display: none; }
  .cursos-lista .desplegable-cuerpo { grid-template-columns: 1fr; }
  .mundo-mapa { height: 420px; }
}
@media (max-width: 560px) {
  .mosaico { grid-template-columns: 1fr; }
  .mosaico a { aspect-ratio: 16 / 11; }
  .datos-ficha { grid-template-columns: 1fr; }
  .desplegable > summary { padding: 20px; }
  .desplegable-cuerpo { padding: 0 20px 24px; }
  .servicio { grid-template-columns: 96px 1fr; gap: 16px; }
  .testimonios { grid-auto-columns: 86%; }
}
.desplegable .nivel-titulo { font-family: var(--f-titulo); font-weight: var(--peso-titulo); font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.cert-col .fechas { margin-top: 4px; }
