/* ============================================================
   Fito Heladería — sitio público
   Paleta: crema, chocolate, rosa, menta, amarillo (del logo / flyers).
   ============================================================ */
:root {
  --crema: #FBF3E4;
  --crema-2: #F6E9D2;
  --crema-3: #EFDDBF;
  --blanco: #FFFFFF;
  --choco: #4A2418;
  --choco-2: #6B3A27;
  --choco-3: #8C5A45;
  --rosa: #F06C8E;
  --rosa-2: #F9A8BD;
  --rosa-3: #FDE3EA;
  --menta: #7FCFA8;
  --menta-2: #B9E8D2;
  --menta-3: #E6F6EE;
  --amarillo: #F8C94B;
  --amarillo-2: #FCE7A6;
  --amarillo-3: #FFF6DA;
  --texto: #3B2116;
  --muted: #8A6E5C;
  --font: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Fredoka', 'Nunito', sans-serif;
  --script: 'Kaushan Script', 'Fredoka', cursive;
  --radius: 28px;
  --radius-s: 16px;
  --shadow: 0 18px 50px rgba(74, 36, 24, .12);
  --shadow-s: 0 6px 20px rgba(74, 36, 24, .08);
  --nav-h: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; }
body { margin: 0; background: var(--crema); color: var(--texto); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--choco); text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.05; color: var(--choco); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--choco); color: #fff; padding: 8px 12px; z-index: 999; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.script { font-family: var(--script); font-weight: 400; color: var(--rosa); letter-spacing: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--choco-3); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--rosa); }
.sec { padding: 96px 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 56px); }
.sec-head p { font-size: 18px; color: var(--muted); margin-top: 14px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; line-height: 1.1; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.btn:active { transform: translateY(0); }
.btn-rosa { background: var(--rosa); color: #fff; }
.btn-choco { background: var(--choco); color: #fff; }
.btn-menta { background: var(--menta); color: var(--choco); }
.btn-amarillo { background: var(--amarillo); color: var(--choco); }
.btn-blanco { background: #fff; color: var(--choco); }
.btn-outline { background: transparent; border-color: var(--choco); color: var(--choco); }
.btn-outline:hover { background: var(--choco); color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-nav { padding: 11px 20px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------- splash / intro del logo */
.splash { position: fixed; inset: 0; z-index: 2000; background: var(--crema); display: flex; align-items: center; justify-content: center; overflow: hidden; animation: splash-out .7s cubic-bezier(.7, 0, .3, 1) 2.5s forwards; }
.splash-in { position: relative; width: min(52vw, 300px); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.splash-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 20px 40px rgba(74, 36, 24, .18)); animation: logo-in 1.1s cubic-bezier(.34, 1.56, .64, 1) both, logo-drive 1.2s ease-in-out 1.1s both; }
.splash-road { position: absolute; left: 8%; right: 8%; bottom: -10%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--choco) 0 22px, transparent 22px 40px); opacity: 0; animation: road 1.2s linear 1.1s both; }
.splash .drop { position: absolute; width: 18px; height: 26px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: 0; transform: scale(0); }
.splash .d1 { background: var(--rosa); left: -6%; top: 22%; transform: rotate(-30deg); animation: drop-in .6s cubic-bezier(.34, 1.56, .64, 1) .7s both; }
.splash .d2 { background: var(--menta); left: -2%; top: 48%; transform: rotate(-60deg); animation: drop-in .6s cubic-bezier(.34, 1.56, .64, 1) .85s both; }
.splash .d3 { background: var(--amarillo); right: -6%; top: 22%; transform: rotate(30deg); animation: drop-in .6s cubic-bezier(.34, 1.56, .64, 1) .8s both; }
.splash .d4 { background: var(--rosa-2); right: -2%; top: 48%; transform: rotate(60deg); animation: drop-in .6s cubic-bezier(.34, 1.56, .64, 1) .95s both; }
@keyframes logo-in { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes logo-drive { 0% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-10px) rotate(-2deg); } 55% { transform: translateX(14px) rotate(2deg); } 80% { transform: translateX(-4px) rotate(-1deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes road { from { opacity: 0; background-position: 0 0; } 20% { opacity: 1; } to { opacity: 1; background-position: -200px 0; } }
@keyframes drop-in { from { opacity: 0; transform: scale(0) rotate(0); } to { opacity: 1; transform: scale(1); } }
@keyframes splash-out { to { transform: translateY(-100%); border-radius: 0 0 50% 50% / 0 0 12% 12%; } }
body.splash-done .splash { display: none; }
body.no-splash .splash { display: none; }
@media (prefers-reduced-motion: reduce) { .splash { animation-delay: .6s; animation-duration: .3s; } .splash-logo, .splash .drop, .splash-road { animation: none; opacity: 1; transform: none; } }

/* ---------------------------------------------------------- barra + nav */
.topbar { background: var(--choco); color: #fff; font-size: 13px; font-weight: 700; overflow: hidden; padding: 8px 0; letter-spacing: .02em; }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.nav { position: sticky; top: 0; z-index: 100; background: rgba(251, 243, 228, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(74, 36, 24, .06); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--choco); }
.logo img { width: 50px; height: 50px; border-radius: 50%; object-fit: contain; }
.logo small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--choco-3); line-height: 1; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu > a { font-weight: 700; font-size: 15px; color: var(--choco-2); position: relative; }
.menu > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--rosa); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.menu > a:not(.btn):hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ''; position: absolute; left: 10px; width: 24px; height: 3px; border-radius: 3px; background: var(--choco); transition: .2s; }
.burger span { top: 20px; }
.burger span::before { top: -8px; left: 0; }
.burger span::after { top: 8px; left: 0; }
.burger.open span { background: transparent; }
.burger.open span::before { transform: translateY(8px) rotate(45deg); }
.burger.open span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------------------------------- hero */
.hero { position: relative; padding: 60px 0 40px; overflow: hidden; min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; opacity: .7; }
.hero-bg .b1 { width: 640px; height: 640px; background: radial-gradient(circle, var(--rosa-2) 0%, rgba(249,168,189,0) 70%); left: -220px; top: -180px; }
.hero-bg .b2 { width: 540px; height: 540px; background: radial-gradient(circle, var(--menta-2) 0%, rgba(185,232,210,0) 70%); right: -180px; top: -20px; }
.hero-bg .b3 { width: 500px; height: 500px; background: radial-gradient(circle, var(--amarillo-2) 0%, rgba(252,231,166,0) 70%); left: 38%; bottom: -260px; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero .script { font-size: clamp(26px, 3.4vw, 40px); display: block; margin-bottom: 4px; transform: rotate(-3deg); transform-origin: left; }
.hero h1 { font-size: clamp(56px, 8.5vw, 118px); line-height: .92; text-transform: uppercase; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--rosa); }
.hero-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--choco-2); max-width: 520px; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.stat b { display: block; font-family: var(--display); font-size: 42px; line-height: 1; color: var(--choco); }
.stat b small { font-size: 22px; color: var(--rosa); margin-left: 2px; }
.stat span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-art { position: relative; }
.hero-art .frame { border-radius: 40px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg); background: #fff; }
.hero-art .frame img { width: 100%; height: auto; }
.hero-art .badge-float { position: absolute; background: #fff; border-radius: 20px; padding: 12px 16px; box-shadow: var(--shadow-s); font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 10px; animation: float 5s ease-in-out infinite; }
.hero-art .bf1 { left: -30px; top: 30px; }
.hero-art .bf2 { right: -20px; bottom: 60px; animation-delay: -2s; }
.hero-art .badge-float i { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 18px; background: var(--rosa-3); }
.hero-art .bf2 i { background: var(--menta-3); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-logo-big { width: min(100%, 460px); margin: 0 auto; border-radius: 50%; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }

/* ---------------------------------------------------------- ticker */
.ticker { background: var(--rosa); color: #fff; padding: 14px 0; overflow: hidden; transform: rotate(-1.2deg) scale(1.02); margin: 10px 0 0; }
.ticker .marquee-track { animation-duration: 22s; gap: 40px; }
.ticker span { font-family: var(--display); font-weight: 600; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; }
.ticker span::after { content: '🍦'; margin-left: 40px; }
.ticker.menta { background: var(--menta); color: var(--choco); transform: rotate(1.2deg) scale(1.02); }
.ticker.menta span::after { content: '❤'; color: var(--rosa); }

/* ---------------------------------------------------------- sabores */
.sabores-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.grupo { margin-bottom: 34px; }
.grupo h3 { font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.grupo h3 small { font-family: var(--font); font-size: 13px; color: var(--muted); font-weight: 700; }
.sabor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.sabor { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow-s); transition: transform .15s; position: relative; }
.sabor:hover { transform: translateY(-3px); }
.sabor .bocha { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px; box-shadow: inset -6px -6px 0 rgba(0, 0, 0, .08), inset 4px 4px 0 rgba(255, 255, 255, .35); position: relative; background-size: cover; background-position: center; }
.sabor .bocha::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 0; height: 0; transform: translateX(-50%); border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 12px solid #E9B872; }
.sabor b { display: block; font-size: 15px; line-height: 1.2; }
.sabor small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.sabor .tags { display: flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.sabor .tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: var(--crema-2); color: var(--choco-3); }
.sabor .tag.nuevo { background: var(--rosa); color: #fff; }
.sabor .tag.top { background: var(--amarillo); color: var(--choco); }
.sabor.agotado { opacity: .5; }
.sabor.agotado::after { content: 'hoy no'; position: absolute; right: 10px; top: 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--crema-2); padding: 2px 7px; border-radius: 6px; color: var(--muted); }
.leyenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-weight: 700; }
.leyenda .tag { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; background: var(--crema-2); color: var(--choco-3); }

/* ---------------------------------------------------------- carta */
.carta { background: var(--choco); color: #fff; }
.carta h2, .carta h3, .carta .eyebrow { color: #fff; }
.carta .sec-head p { color: rgba(255, 255, 255, .75); }
.carta .eyebrow { color: var(--rosa-2); }
.peso-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
.peso { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; transition: transform .15s, background .15s; }
.peso:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.peso.destacado { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.peso .p-nombre { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; }
.peso .p-sab { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .8; margin: 6px 0 18px; }
.peso .p-precio { font-family: var(--display); font-size: 36px; font-weight: 600; }
.peso .p-precio s { font-size: 18px; opacity: .6; margin-right: 8px; }
.peso .p-desc { font-size: 14px; opacity: .8; margin: 8px 0 18px; }
.peso .btn { width: 100%; }
.peso .ribbon { position: absolute; right: -34px; top: 18px; transform: rotate(45deg); background: var(--amarillo); color: var(--choco); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 5px 40px; }
.carta-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 40px; }
.carta-cat h3 { font-size: 20px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px dashed rgba(255, 255, 255, .25); color: var(--amarillo); }
.carta-item { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; align-items: baseline; }
.carta-item b { font-weight: 700; }
.carta-item small { display: block; font-size: 12.5px; opacity: .65; font-weight: 400; }
.carta-item .precio { font-family: var(--display); font-weight: 600; font-size: 19px; white-space: nowrap; }
.carta-item .precio s { font-size: 13px; opacity: .55; margin-right: 6px; font-family: var(--font); }
.carta-item .dots { flex: 1; border-bottom: 2px dotted rgba(255, 255, 255, .2); transform: translateY(-5px); }
.carta-cta { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------------------------------------------------------- promos */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.promo { --c: var(--rosa); background: #fff; border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: var(--shadow-s); position: relative; overflow: hidden; border-top: 8px solid var(--c); transition: transform .15s; }
.promo:hover { transform: translateY(-4px); }
.promo img { border-radius: var(--radius-s); margin-bottom: 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.promo .p-when { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--c); background: color-mix(in srgb, var(--c) 15%, #fff); padding: 4px 10px; border-radius: 8px; margin-bottom: 12px; }
.promo h3 { font-size: 24px; margin-bottom: 8px; }
.promo p { color: var(--muted); font-size: 15px; margin: 0; }
.promo .p-hoy { position: absolute; right: 16px; top: 16px; background: var(--amarillo); color: var(--choco); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------------------------------------------------------- banner publicitario */
.banner { --bg: var(--rosa); --fg: #fff; background: var(--bg); color: var(--fg); border-radius: var(--radius); padding: 44px 48px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin: 0 auto; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.banner.con-img { grid-template-columns: 1fr 1fr; padding: 0; }
.banner.con-img > div { padding: 44px 48px; }
.banner.con-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.banner h3 { color: var(--fg); font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 10px; }
.banner p { opacity: .9; font-size: 17px; max-width: 560px; margin-bottom: 20px; }
.banner .btn { background: var(--fg); color: var(--bg); }
.banner::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, .15); right: -80px; top: -120px; }
.banner-wrap { padding: 20px 0 76px; }

/* ---------------------------------------------------------- nosotros */
.nosotros-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.nosotros h2 { font-size: clamp(34px, 5vw, 58px); }
.nosotros .lead { font-size: 19px; color: var(--choco-2); margin-top: 18px; }
.valores { display: grid; gap: 14px; margin-top: 28px; }
.valor { display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 18px 20px; border-radius: 20px; box-shadow: var(--shadow-s); }
.valor i { width: 48px; height: 48px; border-radius: 14px; flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 24px; background: var(--rosa-3); }
.valor:nth-child(2) i { background: var(--menta-3); }
.valor:nth-child(3) i { background: var(--amarillo-3); }
.valor b { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.valor span { color: var(--muted); font-size: 14.5px; }
.nosotros-art { position: relative; }
.nosotros-art img { border-radius: 50%; width: min(100%, 440px); margin: 0 auto; box-shadow: var(--shadow); }
.nosotros-art .stamp { position: absolute; right: 0; bottom: 20px; width: 130px; height: 130px; border-radius: 50%; background: var(--amarillo); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--script); font-size: 20px; color: var(--choco); transform: rotate(-12deg); line-height: 1.1; padding: 14px; box-shadow: var(--shadow-s); animation: float 5s ease-in-out infinite; }

/* ---------------------------------------------------------- pedidos / cómo funciona */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.paso { background: #fff; border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-s); position: relative; }
.paso .n { font-family: var(--display); font-size: 60px; font-weight: 700; color: var(--rosa-3); line-height: 1; position: absolute; right: 22px; top: 16px; }
.paso i { font-style: normal; font-size: 34px; display: block; margin-bottom: 12px; }
.paso h3 { font-size: 22px; margin-bottom: 6px; }
.paso p { color: var(--muted); margin: 0; font-size: 15px; }
.pedidos-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cerrado-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--crema-2); padding: 10px 16px; border-radius: 999px; font-weight: 800; color: var(--choco-3); font-size: 14px; }
.cerrado-pill::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--rosa); }
.cerrado-pill.abierto::before { background: var(--menta); box-shadow: 0 0 0 4px var(--menta-3); }

/* ---------------------------------------------------------- ubicación + contacto */
.ubi-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ubi-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-s); }
.ubi-card h3 { font-size: 24px; margin-bottom: 12px; }
.kv { display: grid; gap: 14px; margin: 18px 0 24px; }
.kv div { display: flex; gap: 14px; align-items: flex-start; }
.kv i { font-style: normal; width: 40px; height: 40px; border-radius: 12px; background: var(--crema-2); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; font-size: 18px; }
.kv b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.mapa { border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--crema-2); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapa-ph { height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 30px; font-weight: 700; }
form label { display: block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 6px; }
form label:first-of-type { margin-top: 0; }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea { width: 100%; border: 2px solid var(--crema-3); background: var(--crema); border-radius: 14px; padding: 12px 14px; font: inherit; color: var(--texto); outline: 0; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--rosa); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A2418' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { padding: 12px 14px; border-radius: 12px; font-weight: 700; margin-top: 12px; display: none; }
.form-msg.ok { display: block; background: var(--menta-3); color: #1F6F49; }
.form-msg.error { display: block; background: var(--rosa-3); color: #B23A5A; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------- footer */
.footer { background: var(--choco); color: rgba(255, 255, 255, .8); padding: 60px 0 24px; margin-top: 40px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 30px; }
.f-brand { display: flex; gap: 14px; align-items: center; color: inherit; transition: transform .15s; }
.f-brand:hover { transform: translateY(-2px); }
.f-brand img { width: 70px; height: 70px; border-radius: 50%; }
.f-brand b { font-family: var(--display); font-size: 22px; color: #fff; display: block; }
.f-brand p { margin: 2px 0 0; font-size: 14px; }
.footer h4 { color: var(--amarillo); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; font-family: var(--font); font-weight: 800; }
.footer p { margin: 0 0 6px; font-size: 14.5px; }
.footer a { color: #fff; font-weight: 700; }
.f-social a { margin-right: 14px; }
.f-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; }
.f-bottom a { color: rgba(255, 255, 255, .8); }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .4); z-index: 90; transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------------------------------------------------------- popup publicitario */
dialog.popup { --bg: var(--rosa); --fg: #fff; border: 0; border-radius: var(--radius); padding: 0; width: min(440px, 92vw); background: var(--bg); color: var(--fg); box-shadow: var(--shadow); overflow: hidden; }
dialog.popup::backdrop { background: rgba(74, 36, 24, .55); backdrop-filter: blur(3px); }
dialog.popup img { width: 100%; max-height: 260px; object-fit: cover; }
.popup-body { padding: 28px; text-align: center; }
.popup-body h3 { color: var(--fg); font-size: 30px; margin-bottom: 8px; }
.popup-body p { opacity: .9; }
.popup-body .btn { background: var(--fg); color: var(--bg); margin-top: 6px; }
.popup-x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .25); color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }

/* ---------------------------------------------------------- reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 0; padding: 40px 0 30px; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .hero-art .bf1 { left: -6px; } .hero-art .bf2 { right: -6px; }
  .peso-grid { grid-template-columns: 1fr; }
  .nosotros-in, .ubi-in { grid-template-columns: 1fr; gap: 30px; }
  .pasos { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .banner, .banner.con-img { grid-template-columns: 1fr; }
  .banner.con-img img { min-height: 200px; }
}
@media (max-width: 760px) {
  .sec { padding: 64px 0; }
  .menu { position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--crema); flex-direction: column; align-items: stretch; padding: 16px 20px 24px; gap: 4px; transform: translateY(calc(-100% - 140px)); visibility: hidden; transition: transform .25s, visibility 0s .25s; box-shadow: var(--shadow); z-index: 99; }
  .menu.open { transform: none; visibility: visible; transition: transform .25s, visibility 0s; }
  .menu > a { padding: 12px 6px; font-size: 17px; border-bottom: 1px solid var(--crema-3); }
  .menu > a.btn { margin-top: 10px; border: 0; }
  .menu > a:not(.btn)::after { display: none; }
  .burger { display: block; }
  .hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-stats { gap: 20px; }
  .stat b { font-size: 32px; }
  .hero-art .badge-float { display: none; }
  .footer-in { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .banner, .banner.con-img > div { padding: 30px 24px; }
  .ubi-card { padding: 24px; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .nosotros-art .stamp { width: 100px; height: 100px; font-size: 16px; }
}

/* ---------------------------------------------------------- legales */
.f-legal { display: flex; gap: 18px; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: rgba(255, 255, 255, .7); flex-wrap: wrap; }
.f-legal p { margin: 0 0 4px; }
.f-datafiscal img { width: 64px; height: auto; border-radius: 8px; background: #fff; padding: 3px; }
.f-arrep { color: var(--amarillo) !important; }
.legal { padding: 50px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 50px); margin-bottom: 8px; }
.legal .fecha { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal .box { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-s); margin: 20px 0; }
.legal .ok-code { font-family: var(--display); font-size: 30px; color: var(--rosa); }
.legal .hide { display: none; }
