/* Agroveterinaria La Talanquera — tienda */
:root {
  --verde: #0c6a3e;
  --verde-osc: #084d2c;
  --verde-claro: #e8f3ec;
  --naranja: #f8af44;
  --naranja-osc: #d98a17;
  --crema: #faf7f0;
  --tinta: #1d2a22;
  --gris: #5f6b63;
  --gris-2: #8d978f;
  --borde: #e2e6df;
  --blanco: #fff;
  --wa: #1faa53;
  --sombra: 0 1px 2px rgba(20, 40, 28, .06), 0 6px 20px rgba(20, 40, 28, .07);
  --sombra-alta: 0 14px 44px rgba(20, 40, 28, .18);
  --radio: 14px;
  --ancho: 1240px;
  --t-titulo: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --t-texto: 'Barlow', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--t-texto); font-size: 16px; line-height: 1.5; color: var(--tinta); background: var(--crema); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--t-titulo); line-height: 1.05; margin: 0; letter-spacing: .005em; font-weight: 700; }
.contenedor { width: min(var(--ancho), 100% - 32px); margin-inline: auto; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.ic { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid rgba(248, 175, 68, .7); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; border-radius: 10px; padding: .8em 1.3em;
  font-family: var(--t-texto); font-weight: 700; font-size: .98rem; line-height: 1.1; transition: background .15s, box-shadow .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-verde { background: var(--verde); color: #fff; }
.btn-verde:hover { background: var(--verde-osc); }
.btn-naranja { background: var(--naranja); color: var(--tinta); }
.btn-naranja:hover { background: var(--naranja-osc); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178a43; }
.btn-claro { background: #fff; color: var(--tinta); box-shadow: inset 0 0 0 1px var(--borde); }
.btn-claro:hover { box-shadow: inset 0 0 0 1px var(--gris-2); }
.btn-borde { background: transparent; color: var(--verde); box-shadow: inset 0 0 0 1.5px var(--verde); }
.btn-borde:hover { background: var(--verde-claro); }
.btn-bloque { width: 100%; }
.btn-grande { padding: 1em 1.5em; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ── Encabezado ── */
.cinta { background: var(--verde-osc); color: #d7e9de; font-size: .86rem; }
.cinta .contenedor { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; flex-wrap: wrap; }
.cinta span { display: inline-flex; align-items: center; gap: 6px; }
.cinta .ic { color: var(--naranja); }
.cabecera { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--borde); }
.cabecera .contenedor { display: flex; align-items: center; gap: 22px; height: 80px; }
.cabecera .logo img { height: 52px; width: auto; }
.busca { flex: 1; max-width: 560px; position: relative; }
.busca input { width: 100%; height: 48px; border: 1.5px solid var(--borde); border-radius: 999px; padding: 0 52px 0 20px; background: var(--crema); font-size: 1rem; outline: none; }
.busca input:focus { border-color: var(--verde); background: #fff; box-shadow: 0 0 0 4px rgba(12, 106, 62, .1); }
.busca button { position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--verde); color: #fff; display: grid; place-items: center; }
.sugerencias { position: absolute; left: 0; right: 0; top: 54px; background: #fff; border-radius: 14px; box-shadow: var(--sombra-alta); overflow: hidden; z-index: 60; }
.sugerencias a { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--crema); }
.sugerencias a:hover, .sugerencias a.sel { background: var(--verde-claro); }
.sugerencias .mini { width: 40px; height: 40px; border-radius: 8px; background: var(--verde-claro); display: grid; place-items: center; color: var(--verde); flex: none; overflow: hidden; }
.sugerencias .mini img { width: 100%; height: 100%; object-fit: cover; }
.sugerencias small { display: block; color: var(--gris); font-size: .8rem; }
.sugerencias .todas { justify-content: center; color: var(--verde); font-weight: 700; }
.menu { display: flex; gap: 4px; }
.menu a { padding: 10px 12px; font-weight: 600; color: var(--tinta); border-radius: 8px; }
.menu a:hover, .menu a.activo { color: var(--verde); }
.boton-pedido { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--naranja); color: var(--tinta); border: 0; border-radius: 999px; padding: 11px 18px; font-weight: 700; }
.boton-pedido .ic { width: 22px; height: 22px; }
.boton-pedido .cuenta { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--verde); color: #fff; font-size: .78rem; display: grid; place-items: center; padding: 0 6px; border: 2px solid #fff; }
.boton-pedido .cuenta:empty { display: none; }
.boton-menu { display: none; background: none; border: 0; padding: 6px; }
.boton-menu .ic { width: 28px; height: 28px; }
@media (max-width: 980px) { .menu { display: none; } }
@media (max-width: 720px) {
  .cinta .contenedor > :last-child { display: none; }
  .cabecera .contenedor { height: auto; flex-wrap: wrap; gap: 10px 12px; padding: 10px 0; }
  .cabecera .logo img { height: 40px; }
  .busca { order: 3; flex-basis: 100%; max-width: none; }
  .busca input { height: 44px; }
  .boton-pedido { margin-left: auto; padding: 9px 14px; }
  .boton-pedido .txt { display: none; }
}

/* ── Portada ── */
.hero { position: relative; color: #fff; background: var(--verde) center 35% / cover no-repeat; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 77, 44, .96) 0%, rgba(12, 106, 62, .88) 42%, rgba(12, 106, 62, .45) 75%, rgba(12, 106, 62, .25) 100%); }
.hero .contenedor { padding: 70px 0 80px; }
.hero .simbolo { width: 64px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; max-width: 720px; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--naranja); }
.hero p { font-size: clamp(1.02rem, 1.8vw, 1.22rem); max-width: 600px; margin: 16px 0 28px; color: #e2f1e8; }
.hero .busca { max-width: 620px; }
.hero .busca input { height: 58px; background: #fff; border-color: transparent; font-size: 1.08rem; padding-left: 24px; }
.hero .busca button { width: 48px; height: 48px; background: var(--naranja); color: var(--tinta); }
.atajos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.atajos a { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; }
.atajos a:hover { background: rgba(255, 255, 255, .25); }

/* ── Secciones ── */
.seccion { padding: 56px 0; }
.seccion.blanca { background: #fff; }
.etiqueta { display: inline-block; color: var(--verde); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 6px; }
.titulo-sec { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.titulo-sec h2 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; }
.titulo-sec h2 em { font-style: normal; color: var(--verde); }
.ver-todo { color: var(--verde); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: var(--radio); padding: 18px; box-shadow: var(--sombra); transition: transform .15s, box-shadow .15s; border: 1px solid transparent; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--sombra-alta); border-color: var(--verde-claro); }
.cat .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; flex: none; }
.cat .ico .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.cat b { display: block; font-family: var(--t-titulo); font-size: 1.25rem; line-height: 1.05; }
.cat small { color: var(--gris); }
@media (max-width: 980px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cats { gap: 10px; } .cat { padding: 12px; gap: 10px; } .cat .ico { width: 42px; height: 42px; } .cat b { font-size: 1.05rem; } }

/* ── Tarjeta de producto ── */
.rejilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.prod { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); }
.prod .foto { aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #f4faf6 0%, var(--verde-claro) 70%); display: grid; place-items: center; position: relative; overflow: hidden; }
.prod .foto img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.prod .foto .ic { width: 64px; height: 64px; color: var(--verde); opacity: .55; stroke-width: 1.3; }
.prod .sello { position: absolute; top: 10px; left: 10px; background: var(--naranja); color: var(--tinta); font-weight: 700; font-size: .75rem; padding: 3px 9px; border-radius: 6px; }
.prod .sello.agotado { background: #64706a; color: #fff; }
.prod .cuerpo { padding: 14px 14px 10px; flex: 1; display: flex; flex-direction: column; }
.prod .cat-n { color: var(--verde); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.prod h3 { font-family: var(--t-texto); font-weight: 700; font-size: 1.02rem; line-height: 1.25; margin: 4px 0 8px; }
.prod .pres { color: var(--gris); font-size: .86rem; margin-bottom: 8px; }
.prod .precio { margin-top: auto; font-weight: 800; font-size: 1.15rem; color: var(--tinta); }
.prod .precio small { font-weight: 600; font-size: .78rem; color: var(--gris); }
.prod .precio.consultar { font-size: .92rem; color: var(--verde); }
.prod .pie-p { padding: 0 14px 14px; display: flex; gap: 8px; }
.prod .pie-p .btn { flex: 1; padding: .7em .8em; font-size: .9rem; }
.vacio { text-align: center; padding: 50px 20px; color: var(--gris); background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); }
.vacio .ic { width: 52px; height: 52px; color: var(--gris-2); margin: 0 auto 10px; stroke-width: 1.3; }
.esqueleto { background: linear-gradient(90deg, #ece9e1 25%, #f6f3ec 50%, #ece9e1 75%); background-size: 200% 100%; animation: brillo 1.2s infinite; border-radius: var(--radio); min-height: 330px; }
@keyframes brillo { to { background-position: -200% 0; } }
@media (max-width: 520px) { .rejilla { grid-template-columns: repeat(2, 1fr); gap: 10px; } .prod .cuerpo { padding: 10px 10px 8px; } .prod h3 { font-size: .92rem; } .prod .pie-p { padding: 0 10px 10px; } .prod .pie-p .btn { font-size: .82rem; padding: .65em .4em; } }

/* Pasos y bandas */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.paso { background: #fff; border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra); position: relative; }
.paso::before { counter-increment: paso; content: counter(paso); position: absolute; top: -14px; left: 22px; width: 34px; height: 34px; border-radius: 50%; background: var(--naranja); font-family: var(--t-titulo); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.paso .ic { width: 38px; height: 38px; color: var(--verde); margin: 8px 0 10px; }
.paso h3 { font-size: 1.45rem; text-transform: uppercase; }
.paso p { margin: 6px 0 0; color: var(--gris); }
@media (max-width: 800px) { .pasos { grid-template-columns: 1fr; gap: 24px; } }
.banda { background: var(--verde); color: #fff; border-radius: 20px; padding: 36px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.banda::after { content: ''; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; background: url('/img/simbolo.png') center / contain no-repeat; filter: brightness(0) invert(1); opacity: .08; }
.banda h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); text-transform: uppercase; }
.banda h2 em { font-style: normal; color: var(--naranja); }
.banda p { color: #d7e9de; margin: 10px 0 0; }
.banda .acc { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
@media (max-width: 800px) { .banda { grid-template-columns: 1fr; padding: 26px 20px; } }
.contacto { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.caja-b { background: #fff; border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra); }
.lista-c { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.lista-c li { display: flex; gap: 12px; }
.lista-c .ic { color: var(--verde); width: 22px; height: 22px; margin-top: 2px; }
.lista-c small { display: block; color: var(--gris); font-size: .82rem; }
.mapa { border-radius: var(--radio); overflow: hidden; min-height: 300px; background: var(--verde-claro); }
.mapa iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }
@media (max-width: 800px) { .contacto { grid-template-columns: 1fr; } }

/* Listado */
.cab-pag { background: var(--verde); color: #fff; padding: 26px 0; }
.cab-pag h1 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: uppercase; }
.cab-pag p { margin: 4px 0 0; color: #d7e9de; }
.migas { font-size: .88rem; color: #cfe5d8; margin-bottom: 6px; }
.migas a:hover { color: #fff; }
.listado { display: grid; grid-template-columns: 250px 1fr; gap: 26px; padding: 26px 0 50px; align-items: start; }
.listado > *, .ficha > * { min-width: 0; }
.lado { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); padding: 14px; position: sticky; top: 96px; }
.lado h3 { font-size: 1.2rem; text-transform: uppercase; padding: 4px 8px 10px; }
.lado a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.lado a:hover { background: var(--crema); }
.lado a.on { background: var(--verde-claro); color: var(--verde); }
.lado a .ic { width: 20px; height: 20px; color: var(--verde); }
.lado a small { margin-left: auto; color: var(--gris-2); font-weight: 600; }
.barra-res { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.barra-res b { font-size: 1.05rem; }
.barra-res select { border: 1px solid var(--borde); border-radius: 10px; padding: 9px 12px; background: #fff; }
.chips-m { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 14px; }
.chips-m::-webkit-scrollbar { display: none; }
.chips-m a { white-space: nowrap; background: #fff; border: 1px solid var(--borde); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .88rem; }
.chips-m a.on { background: var(--verde); color: #fff; border-color: var(--verde); }
@media (max-width: 900px) { .listado { grid-template-columns: 1fr; } .lado { display: none; } .chips-m { display: flex; } }

/* Ficha */
.ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; padding: 26px 0 40px; align-items: start; }
.galeria .principal { background: #fff; border-radius: 18px; aspect-ratio: 1; display: grid; place-items: center; box-shadow: var(--sombra); overflow: hidden; }
.galeria .principal img { width: 100%; height: 100%; object-fit: contain; }
.galeria .principal .ic { width: 120px; height: 120px; color: var(--verde); opacity: .4; stroke-width: 1.1; }
.galeria .minis { display: flex; gap: 8px; margin-top: 10px; }
.galeria .minis button { width: 72px; height: 72px; border-radius: 10px; border: 2px solid transparent; padding: 0; overflow: hidden; background: #fff; }
.galeria .minis button.on { border-color: var(--verde); }
.galeria .minis img { width: 100%; height: 100%; object-fit: cover; }
.info .cat-n { color: var(--verde); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.info h1 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin: 6px 0 4px; }
.info .codigo { color: var(--gris); font-size: .85rem; }
.info .precio-g { font-size: 2rem; font-weight: 800; margin: 18px 0 4px; }
.info .precio-g.consultar { font-size: 1.2rem; color: var(--verde); }
.info h4 { font-family: var(--t-texto); font-size: .9rem; font-weight: 700; margin: 18px 0 8px; color: var(--gris); text-transform: uppercase; letter-spacing: .05em; }
.presentaciones { display: flex; flex-wrap: wrap; gap: 8px; }
.presentaciones button { border: 1.5px solid var(--borde); background: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 600; text-align: left; line-height: 1.2; }
.presentaciones button small { display: block; font-weight: 500; color: var(--gris); font-size: .8rem; margin-top: 2px; }
.presentaciones button.on { border-color: var(--verde); background: var(--verde-claro); }
.presentaciones button[disabled] { opacity: .45; text-decoration: line-through; }
.fila-compra { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid var(--borde); border-radius: 10px; background: #fff; }
.cantidad button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; color: var(--verde); }
.cantidad input { width: 46px; text-align: center; border: 0; font-weight: 700; font-size: 1.05rem; outline: none; background: none; }
.fila-compra .btn { flex: 1; min-width: 180px; }
.texto-d { white-space: pre-line; color: #39463d; }
.aviso-d { background: #fff7e6; border-left: 4px solid var(--naranja); border-radius: 8px; padding: 12px 14px; font-size: .92rem; margin-top: 16px; }
@media (max-width: 860px) { .ficha { grid-template-columns: 1fr; gap: 20px; } }

/* Formularios */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label { font-weight: 600; font-size: .9rem; }
.campo input, .campo select, .campo textarea { width: 100%; border: 1.5px solid var(--borde); border-radius: 10px; padding: 11px 13px; background: #fff; font-size: 1rem; outline: none; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(12, 106, 62, .1); }
.campo .ayuda { font-size: .82rem; color: var(--gris); }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 520px) { .fila-2 { grid-template-columns: 1fr; } }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.opciones label { border: 1.5px solid var(--borde); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 600; background: #fff; }
.opciones label:has(input:checked) { border-color: var(--verde); background: var(--verde-claro); }
.opciones input { accent-color: var(--verde); }
.aviso { padding: 11px 13px; border-radius: 10px; font-size: .93rem; margin: 10px 0; }
.aviso.error { background: #fdecea; color: #8a1c12; }
.aviso.ok { background: var(--verde-claro); color: var(--verde-osc); }
.aviso.info { background: #f1f4ef; color: var(--tinta); }
.trampa { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--gris); margin: 6px 0 12px; }
.check input { width: 18px; height: 18px; accent-color: var(--verde); margin-top: 2px; flex: none; }

/* Pedido (panel lateral) */
.velo { position: fixed; inset: 0; background: rgba(13, 26, 18, .5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .2s; }
.velo.on { opacity: 1; pointer-events: auto; }
.carrito { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--crema); z-index: 95; transform: translateX(105%); transition: transform .25s; display: flex; flex-direction: column; box-shadow: var(--sombra-alta); }
.carrito.abierto { transform: none; }
.carrito .cab-c { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: #fff; border-bottom: 1px solid var(--borde); }
.carrito .cab-c h3 { font-size: 1.6rem; text-transform: uppercase; }
.carrito .cerrar, .modal .cerrar { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--crema); display: grid; place-items: center; }
.carrito .cuerpo-c { flex: 1; overflow-y: auto; padding: 14px 20px; }
.item-c { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; box-shadow: var(--sombra); }
.item-c .mini { width: 54px; height: 54px; border-radius: 10px; background: var(--verde-claro); display: grid; place-items: center; color: var(--verde); overflow: hidden; }
.item-c .mini img { width: 100%; height: 100%; object-fit: cover; }
.item-c b { display: block; font-size: .95rem; line-height: 1.25; }
.item-c small { color: var(--gris); font-size: .82rem; }
.item-c .der { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.item-c .cantidad button { width: 30px; height: 32px; font-size: 1.05rem; }
.item-c .cantidad input { width: 30px; font-size: .95rem; }
.item-c .quitar { border: 0; background: none; color: var(--gris-2); font-size: .8rem; padding: 0; }
.carrito .pie-c { background: #fff; border-top: 1px solid var(--borde); padding: 16px 20px; }
.total-c { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.nota-c { font-size: .85rem; color: var(--gris); margin-bottom: 12px; }

/* Ventana */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px; background: rgba(13, 26, 18, .55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal.abierto { opacity: 1; pointer-events: auto; }
.modal .caja { background: var(--crema); border-radius: 18px; width: min(540px, 100%); max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--sombra-alta); }
.modal .caja-cab { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 4px; }
.modal .caja-cab h3 { font-size: 1.7rem; text-transform: uppercase; flex: 1; }
.modal .caja-cab p { margin: 2px 0 0; color: var(--gris); }
.modal .caja-cuerpo { padding: 12px 20px 20px; }
.exito { text-align: center; padding: 8px 0; }
.exito .ic { width: 64px; height: 64px; color: var(--verde); margin: 0 auto 8px; }
.exito h3 { font-size: 1.9rem; text-transform: uppercase; }

/* Pie */
.pie { background: var(--verde-osc); color: #c9ded1; padding: 50px 0 22px; margin-top: 30px; }
.pie .contenedor { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; }
.pie img.logo-pie { height: 92px; width: auto; }
.pie h4 { color: #fff; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 12px; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pie a:hover { color: #fff; }
.pie .redes { display: flex; gap: 10px; margin-top: 14px; }
.pie .redes a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.pie .redes a:hover { background: var(--naranja); color: var(--tinta); }
.pie .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .pie .contenedor { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pie .contenedor { grid-template-columns: 1fr; } }
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31, 170, 83, .45); }
.wa-flotante .ic { width: 30px; height: 30px; }
.barra-movil { display: none; }
@media (max-width: 860px) {
  .barra-movil { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(0, 0, 0, .1); }
  .barra-movil .btn { flex: 1; }
  body.con-barra { padding-bottom: 78px; }
  body.con-barra .wa-flotante { bottom: 92px; }
}
