:root{
  --bg:#F6FAF5; --surface:#fff; --ink:#15222B; --muted:#51616B; --line:#D3E0D6;
  --brand:#007A38; --brand-dark:#00592A; --sun:#F8D514; --sky:#E3F3E8; --danger:#B3261E;
  --r-card:14px; --r-field:8px; --r-pill:999px; --max:1080px;
  --font-body:'Figtree',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-head:'Bricolage Grotesque','Figtree',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 1.0625rem/1.55 var(--font-body)}
h1,h2,h3{font-family:var(--font-head);line-height:1.15;margin:0 0 .5em;letter-spacing:-.01em}
h1{font-size:clamp(2rem,6vw,3.25rem);font-weight:700}
h2{font-size:clamp(1.4rem,3.5vw,1.9rem);font-weight:650}
h3{font-size:1.15rem;font-weight:650}
p{margin:0 0 1em;max-width:68ch}
a{color:var(--brand-dark)}
img{max-width:100%;display:block}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px}
.wrap{width:min(100% - 2rem,var(--max));margin-inline:auto}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.5rem 1rem;z-index:10}
.awning{height:14px;position:relative;background:linear-gradient(to bottom,#009945 0 55%,var(--sun) 55% 100%)}.awning::before{content:"";position:absolute;left:0;top:0;border-top:14px solid #D73F20;border-right:22px solid transparent}
.site-header{background:var(--surface);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;padding-block:.75rem}
.brand{font:700 1.3rem var(--font-head);color:var(--brand-dark);text-decoration:none;display:flex;align-items:center;gap:.5rem}
.brand img{width:32px;height:32px}
.nav{display:flex;gap:.25rem 1rem;flex-wrap:wrap;margin-left:auto}
.nav a{padding:.5rem .25rem;text-decoration:none;font-weight:600;color:var(--ink)}
.nav a:hover{text-decoration:underline}
main{min-height:60vh;padding-block:1.5rem 3rem}
.section{margin-block:2.5rem}
.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.65rem 1.25rem;border-radius:var(--r-pill);border:2px solid var(--brand);background:var(--brand);color:#fff;font:600 1rem var(--font-body);text-decoration:none;cursor:pointer}
.btn:hover{background:var(--brand-dark);border-color:var(--brand-dark)}
.btn.ghost{background:transparent;color:var(--brand-dark)}.btn.ghost:hover{background:var(--sky)}
.btn.wa{background:#0E6B50;border-color:#0E6B50}.btn.wa:hover{background:#0A5640}
.btn.small{min-height:44px;padding:.4rem 1rem;font-size:.95rem}
.field{display:flex;flex-direction:column;gap:.35rem}
label{font-weight:600}
input,select,textarea{font:inherit;min-height:48px;padding:.6rem .85rem;border:2px solid var(--line);border-radius:var(--r-field);background:#fff;color:var(--ink);width:100%}
input:focus,select:focus,textarea:focus{border-color:var(--brand)}
.hero{padding-block:1.5rem 1rem}
.hero p.lead{font-size:1.2rem;color:var(--muted)}
.search{display:flex;gap:.5rem;margin-top:1.25rem;padding:.5rem;background:#fff;border:2px solid var(--brand);border-radius:var(--r-card)}
.search input{border:0;min-height:48px}.search input:focus{outline:none}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem;padding:0;list-style:none}
.chip{display:inline-block;padding:.4rem .9rem;border-radius:var(--r-pill);background:var(--sky);color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem}
.chip:hover{background:var(--sun)}
.notice{background:#fff;border-left:6px solid var(--sun);padding:.9rem 1.1rem;border-radius:var(--r-field)}
.grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));padding:0;list-style:none}
.card{background:var(--surface);border:1px solid var(--line);border-top:6px solid var(--brand);border-radius:var(--r-card);overflow:hidden;display:flex;flex-direction:column}
.card .media{aspect-ratio:4/3;background:var(--sky);display:grid;place-items:center;font:700 3rem var(--font-head);color:var(--brand)}
.card .media img{width:100%;height:100%;object-fit:cover}
.card .body{padding:1rem;display:flex;flex-direction:column;gap:.35rem;flex:1}
.card h3{margin:0}.card h3 a{text-decoration:none;color:var(--ink)}
.card h3 a::after{content:"";position:absolute;inset:0}
.card{position:relative}
.card .actions{position:relative;z-index:1;margin-top:auto;padding-top:.5rem}
.meta{color:var(--muted);font-size:.95rem;margin:0}
.badge{display:inline-block;padding:.15rem .6rem;border-radius:var(--r-pill);background:var(--sky);font-size:.85rem;font-weight:600}
.badge.sun{background:var(--sun)}
.price{font-weight:700}.price s{color:var(--muted);font-weight:400;margin-right:.4rem}
.offer{border-top-color:var(--sun)}
.filters{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-items:end;margin-block:1rem}
.empty{text-align:center;padding:2.5rem 1rem;background:#fff;border:2px dashed var(--line);border-radius:var(--r-card)}
.pager{display:flex;gap:.75rem;justify-content:center;margin-top:1.5rem}
.profile-head{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.logo{width:88px;height:88px;border-radius:var(--r-card);object-fit:cover;background:var(--sky);display:grid;place-items:center;font:700 2.2rem var(--font-head);color:var(--brand)}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-block:1rem}
.two{display:grid;gap:2rem;grid-template-columns:1fr}
@media(min-width:800px){.two{grid-template-columns:2fr 1fr}}
dl.hours{display:grid;grid-template-columns:auto 1fr;gap:.25rem 1rem;margin:0}dl.hours dt{font-weight:600}dl.hours dd{margin:0}
#map{height:60vh;min-height:360px;border-radius:var(--r-card);border:1px solid var(--line)}
.tabs{display:flex;gap:.5rem;margin-block:.75rem}
.tabs button[aria-pressed="true"]{background:var(--brand);color:#fff}
.site-footer{background:var(--brand-dark);color:#fff;padding-block:2rem}
.site-footer a{color:#fff}
.site-footer .wrap{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{padding:.2rem 0}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* ---- Cuentas y panel ---- */
.form{display:grid;gap:1rem;max-width:520px}
.form.wide{max-width:760px}
.form .row{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.hint{color:var(--muted);font-size:.9rem;margin:0}
.checks{display:flex;flex-wrap:wrap;gap:.5rem 1rem;border:0;padding:0;margin:0}
.checks label{display:flex;align-items:center;gap:.4rem;font-weight:400}
.checks input,.inline input[type=checkbox],.inline input[type=radio]{width:auto;min-height:0;accent-color:var(--brand)}
fieldset{border:1px solid var(--line);border-radius:var(--r-card);padding:1rem;margin:0}
legend{font-weight:700;padding-inline:.4rem}
.toast{position:sticky;top:.5rem;z-index:5;padding:.8rem 1rem;border-radius:var(--r-field);background:#E4F3EC;border-left:6px solid var(--brand);margin-block:.75rem}
.toast.err{background:#FBE9E7;border-left-color:var(--danger)}
.panel-nav{display:flex;gap:.25rem;overflow-x:auto;padding-bottom:.25rem;border-bottom:2px solid var(--line);margin-block:1rem}
.panel-nav a{white-space:nowrap;padding:.6rem .9rem;text-decoration:none;font-weight:600;color:var(--ink);border-radius:var(--r-field) var(--r-field) 0 0}
.panel-nav a[aria-current="page"]{background:var(--brand);color:#fff}
.stat{font:700 2rem var(--font-head);color:var(--brand-dark)}
.stats{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-block:1rem}
.stats>div{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:1rem}
.checklist{list-style:none;padding:0;margin:0}.checklist li{padding:.35rem 0}.checklist .ok::before{content:"✓ ";color:var(--brand);font-weight:700}.checklist .todo::before{content:"○ ";color:var(--muted)}
.badge.warn{background:#FCE3B0}.badge.err{background:#F6C9C4}.badge.ok{background:#CDEBDD}
.thumbs{display:flex;flex-wrap:wrap;gap:.75rem}.thumbs figure{margin:0;width:96px}.thumbs img{width:96px;height:96px;object-fit:cover;border-radius:var(--r-field)}
.btn.danger{background:var(--danger);border-color:var(--danger)}.btn.danger.ghost{background:transparent;color:var(--danger)}
.rowitem{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:.9rem 1rem;margin-block:.6rem}
.rowitem .acts{display:flex;gap:.5rem;flex-wrap:wrap}
#locmap{height:300px;border-radius:var(--r-card);border:1px solid var(--line)}
canvas.qr{max-width:100%;height:auto;border:1px solid var(--line);border-radius:var(--r-card);background:#fff}
details{background:#fff;border:1px solid var(--line);border-radius:var(--r-field);padding:.75rem 1rem;margin-block:.5rem}summary{cursor:pointer;font-weight:600}

/* ---- Identidad y fotos de Tres Arroyos ---- */
:root{--flag-green:#009945;--flag-yellow:#F8D514;--flag-red:#D73F20}
.brand img{width:42px;height:auto;border-radius:3px;box-shadow:0 0 0 1px var(--line)}
.hero-grid{display:grid;gap:1.5rem;align-items:center}
@media(min-width:860px){.hero-grid{grid-template-columns:1fr 289px}}
figure.photo{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;border-bottom:6px solid var(--flag-yellow)}
figure.photo img{width:100%;height:auto}
figure.photo figcaption{padding:.6rem .9rem;font-size:.95rem;color:var(--muted)}
.photos{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.flag-foot{display:flex;gap:.75rem;align-items:center;margin-bottom:.75rem}.flag-foot img{width:64px;height:auto;border-radius:3px}
.features{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));padding:0;list-style:none}
.features li{background:#fff;border:1px solid var(--line);border-left:6px solid var(--flag-green);border-radius:var(--r-card);padding:.9rem 1rem}
.prose h2{margin-top:1.8rem}.prose ul{padding-left:1.2rem}.prose li{margin:.25rem 0}
.draft-note{background:#FFF6BF;border-left:6px solid var(--flag-red);padding:.8rem 1rem;border-radius:var(--r-field)}

.nav button.linklike{background:none;border:0;font:inherit;font-weight:600;padding:.5rem .25rem;min-height:44px;cursor:pointer;color:var(--ink)}.nav button.linklike:hover{text-decoration:underline}

[hidden]{display:none!important}

/* fotos: no se agrandan más que su tamaño real (evita el desenfoque) */
figure.photo{width:fit-content;max-width:100%}figure.photo img{width:auto;max-width:100%;height:auto}.photos{justify-items:start}
.preview-frame{border:2px dashed var(--line);border-radius:var(--r-card);padding:1rem;background:#fff;margin-top:1rem}
.crumbs{font-size:.95rem;color:var(--muted);margin:0 0 .75rem}.crumbs a{color:var(--brand-dark)}

.nav button.linklike{background:none;border:0;font:inherit;font-weight:600;padding:.5rem .25rem;min-height:44px;cursor:pointer;color:var(--ink)}.nav button.linklike:hover{text-decoration:underline}
/* ---- Asistente de ayuda ---- */
.notice.warn{border-left-color:var(--red,#D73F20);background:#FFF4F1}
/* TERESA – asistente virtual. Abajo a la IZQUIERDA: la derecha la ocupa el distintivo de Netlify, que no controlamos. */
.bot-fab{position:fixed;left:max(1rem,env(safe-area-inset-left,0px));bottom:max(1rem,env(safe-area-inset-bottom,0px));z-index:1000;display:flex;align-items:center;gap:.5rem;padding:.3rem 1rem .3rem .3rem;min-height:56px;border-radius:999px;border:2px solid var(--brand-dark);background:#fff;color:var(--brand-dark);font:700 1rem var(--font-body);box-shadow:0 4px 16px rgba(0,0,0,.3);cursor:pointer}
.bot-fab:hover,.bot-fab:focus-visible{background:#F4FBF7;outline:3px solid var(--sun);outline-offset:2px}
.bot-fab .tav{width:48px;height:48px;flex:none}
.bot-fab[aria-expanded="true"]{display:none}
.tav{display:block;border-radius:50%}
.bot-panel{position:fixed;left:max(1rem,env(safe-area-inset-left,0px));bottom:max(1rem,env(safe-area-inset-bottom,0px));z-index:1001;width:min(calc(100vw - 2rem),400px);height:min(76vh,640px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 32px rgba(0,0,0,.3);overflow:hidden}
.bot-panel[hidden]{display:none}
.bot-panel header{display:flex;align-items:center;gap:.7rem;background:var(--brand-dark);color:#fff;padding:.6rem .8rem}
.bot-panel header .tav{width:44px;height:44px;flex:none;background:#fff}
.bot-panel header .ttl{flex:1;line-height:1.25}.bot-panel header .ttl strong{display:block;font-size:1.05rem}.bot-panel header .ttl span{font-size:.88rem;opacity:.92}
.bot-x{background:none;border:0;color:#fff;font-size:1.7rem;line-height:1;cursor:pointer;min-width:44px;min-height:44px;border-radius:50%}
.bot-x:hover,.bot-x:focus-visible{background:rgba(255,255,255,.18)}
.bot-log{overflow:auto;padding:.75rem;flex:1;display:flex;flex-direction:column;gap:.55rem;background:#FAFCFB}
.bot-row{display:flex;align-items:flex-end;gap:.4rem;max-width:100%}.bot-row.me{justify-content:flex-end}
.bot-row .tav{width:30px;height:30px;flex:none}
.bot-msg{padding:.5rem .8rem;border-radius:14px;max-width:88%;overflow-wrap:anywhere}.bot-msg p{margin:.2rem 0}.bot-msg ul{margin:.3rem 0;padding-left:1.1rem}
.bot-msg.bot{background:#fff;border:1px solid var(--line);border-bottom-left-radius:4px}.bot-msg.me{background:var(--sun);color:var(--ink);border-bottom-right-radius:4px}
.bot-typing{display:inline-flex;gap:4px;align-items:center;padding:.2rem 0}.bot-typing i{width:8px;height:8px;border-radius:50%;background:var(--brand);opacity:.45;animation:botdot 1s infinite}.bot-typing i:nth-child(2){animation-delay:.2s}.bot-typing i:nth-child(3){animation-delay:.4s}
@keyframes botdot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.bot-typing i{animation:none;opacity:.7}}
.bot-chips{display:flex;flex-wrap:wrap;gap:.4rem;padding:.4rem .75rem;border-top:1px solid var(--line);max-height:6.5rem;overflow:auto}
.bot-form{display:flex;gap:.4rem;padding:.6rem .75rem;border-top:1px solid var(--line)}.bot-form input{min-height:44px;flex:1;min-width:0}
.bot-help{margin:.4rem 0 0;font-size:.95rem}
@media (max-width:480px){.bot-panel{left:.5rem;right:.5rem;width:auto;bottom:max(.5rem,env(safe-area-inset-bottom,0px));height:min(82vh,640px)}.bot-fab .lbl{display:none}.bot-fab{padding:.3rem}}

.brand-t{display:flex;flex-direction:column;line-height:1.1}.brand-t small{font:600 .72rem var(--font-body);color:var(--muted);letter-spacing:.01em}
.quick{margin-top:.75rem}
.biz-cta{margin:1rem 0;padding:1rem 1.1rem;border:2px solid var(--sun);border-left-width:8px;border-radius:var(--r-card);background:#fff}.biz-cta h2{margin:0 0 .25rem;font-size:1.25rem}.biz-cta p{margin:.2rem 0 .7rem}


/* ---- Logo de TresAaltoque ---- */
.brand img.brand-logo{width:auto;height:58px;border-radius:12px;box-shadow:none;display:block}
.brand-t small{max-width:7.5rem;line-height:1.2}
.flag-foot{flex-wrap:wrap}.flag-foot img.foot-logo{width:150px;height:auto;border-radius:14px}
.hero-logo{display:block;width:clamp(170px,30vw,260px);height:auto;border-radius:20px;margin-bottom:1rem}
.page-logo{display:block;width:170px;margin:0 0 1rem}.page-logo img{display:block;width:100%;height:auto;border-radius:18px}
.empty .page-logo{margin-inline:auto}
.title-logo{display:flex;align-items:center;gap:.6rem}.title-pin{width:46px;height:auto;flex:none}
.cargando::before{content:"";display:inline-block;width:26px;height:27px;margin-right:.5rem;vertical-align:middle;background:url(/img/logo-pin.webp) center/contain no-repeat;animation:logo-pulso 1s ease-in-out infinite alternate}
@keyframes logo-pulso{from{transform:scale(.85);opacity:.6}to{transform:scale(1.05);opacity:1}}
#splash{position:fixed;inset:0;z-index:2000;background:#000;display:grid;place-items:center;animation:splash-fuera .35s ease 1s forwards}
#splash.keep{animation:none}#splash[hidden]{display:none}
#splash img{width:min(68vw,340px);height:auto;animation:logo-pulso .7s ease-in-out infinite alternate}
@keyframes splash-fuera{to{opacity:0;visibility:hidden}}
@media (max-width:480px){.brand img.brand-logo{height:50px}}

/* ---- Plan Pro ---- */
.pro-box{background:#000;color:#fff;border-radius:var(--r-card);padding:1.4rem 1.3rem;border-bottom:6px solid var(--flag-yellow)}
.pro-box[hidden]{display:none}.pro-box h2{color:#fff;margin:.2rem 0 .4rem}.pro-box a:not(.btn){color:var(--flag-yellow)}
.pro-tag{display:inline-block;margin:0;padding:.15rem .7rem;border-radius:999px;background:var(--flag-yellow);color:#000;font-weight:700;font-size:.85rem}
.pro-price{font-weight:600;color:#F8D514;margin:.2rem 0 .8rem}
.pro-list{margin:0 0 1rem;padding-left:1.2rem}.pro-list li{padding:.2rem 0}
.pro-box .btn.ghost{color:#fff;border-color:#fff}.pro-box .btn.ghost:hover{background:#222}
.pro-hint{padding:.7rem 1rem;border-left:6px solid var(--flag-yellow);background:#FFFBE6;border-radius:var(--r-field)}.pro-hint[hidden]{display:none}

/* ---- Enlace para la bio (link.html) ---- */
.lk-body{background:#000;color:#fff;min-height:100vh;display:flex;flex-direction:column;align-items:center}
.lk{width:min(100% - 2rem,480px);padding:2rem 0 1rem;min-height:0}
.lk .meta{color:#ccc}
.lk-head{text-align:center}.lk-logo{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid var(--flag-yellow);background:#fff;display:block;margin:0 auto .8rem}
.lk-ini{display:grid;place-items:center;font:700 3rem var(--font-head);color:var(--brand)}
.lk-head h1{color:#fff;font-size:1.6rem;margin:.2rem 0}.lk-sub{color:var(--flag-yellow);font-weight:600;margin:.1rem 0}.lk-desc{color:#ddd;margin:.6rem 0 0}
.lk-btns{display:flex;flex-direction:column;gap:.7rem;margin:1.5rem 0}
.lk-btn{display:block;text-align:center;padding:.95rem 1rem;border-radius:16px;background:#fff;color:#111;font-weight:700;text-decoration:none;border:0;font:inherit;font-weight:700;cursor:pointer;font-size:1.02rem}
.lk-btn:hover,.lk-btn:focus-visible{background:var(--flag-yellow)}
.lk-wa{background:#25D366;color:#06281A}.lk-wa:hover{background:#1FB959}
.lk-share{background:transparent;color:#fff;border:2px solid #fff}
.lk-offers h2{color:#fff;font-size:1.15rem}.lk-offer{display:flex;flex-wrap:wrap;gap:.3rem .8rem;align-items:center;justify-content:space-between;background:#151515;border:1px solid #333;border-left:5px solid var(--flag-red);border-radius:12px;padding:.7rem .9rem;margin:.5rem 0}
.lk-offer a{color:var(--flag-yellow);font-weight:700}.lk-price{color:#fff}.lk-price s{color:#999}
.lk-foot{margin-top:auto;padding:1.5rem 1rem;text-align:center;color:#bbb;font-size:.9rem}.lk-foot img{width:170px;height:auto}.lk-foot a{color:#fff}

/* ---- Panel: enlace para la bio y adelanto de estadísticas ---- */
.linkbox{margin:1.25rem 0;padding:1rem 1.1rem;border:2px solid var(--brand);border-radius:var(--r-card);background:#fff}.linkbox h2{margin-top:0}
.linkurl code{display:inline-block;padding:.4rem .7rem;background:var(--sky);border-radius:8px;word-break:break-all;font-size:1rem}
.teaser-lock{position:relative;margin-top:1rem;border-radius:var(--r-card);overflow:hidden;border:1px solid var(--line);background:#fff}
.teaser-blur{filter:blur(6px);opacity:.6;padding:1rem;pointer-events:none;user-select:none}
.teaser-bars{display:flex;align-items:flex-end;gap:4px;height:120px;margin-top:1rem}.teaser-bars span{flex:1;background:var(--brand);border-radius:3px 3px 0 0}
.teaser-cta{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:1rem;background:rgba(255,255,255,.72)}.teaser-cta p{max-width:520px}

/* ---- Planes ---- */
.trial-badge{display:inline-block;margin:.2rem 0 .6rem;padding:.3rem .8rem;border-radius:999px;background:var(--flag-red);color:#fff;font-weight:700}.trial-badge[hidden]{display:none}
.plan-pro{border:3px solid #000;border-top:8px solid var(--flag-yellow)}.plan-card .plan-list li{padding:.2rem 0}
.plan-pro .pro-tag{margin-bottom:.4rem}

/* ---- Ofertas relámpago y plan anual ---- */
.badge.flash{background:var(--flag-red);color:#fff;font-variant-numeric:tabular-nums}
.lk-offer .badge.flash{flex-basis:100%;width:max-content}
.paychoice{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin:1rem 0}
.paybox{border:2px solid var(--line);border-radius:var(--r-card);padding:1rem;background:#fff}.paybox h3{margin:.2rem 0}.paybox.best{border-color:#000;border-top:6px solid var(--flag-yellow)}

.annual-line{margin:.1rem 0 .3rem;color:var(--ink)}
.grid.plans{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));max-width:900px}

/* ---- Abierto ahora ---- */
.badge.open{background:#DFF5E7;color:#0B6B33}.badge.closed{background:#EEF0F1;color:#51616B}
.profile-head .badge.open,.profile-head .badge.closed{margin:.15rem 0}
.lk-head .badge{margin:.3rem 0}.lk-head .badge.closed{background:#333;color:#ddd}
.open-filter{align-self:end;min-height:48px;display:flex;align-items:center;gap:.4rem;font-weight:600}
h2 .badge{font-size:.8rem;vertical-align:middle}

/* ---- Carrito, cupones y turnos ---- */
.addcart{margin-bottom:.3rem}
.cartbar{position:fixed;left:0;right:0;bottom:0;z-index:1500;padding:.5rem max(.75rem,env(safe-area-inset-left,0px)) max(.6rem,env(safe-area-inset-bottom,0px))}
.cartbar[hidden]{display:none}body.has-cart{padding-bottom:5rem}body.has-cart .bot-fab{bottom:5.5rem}
.cartbox{max-width:620px;margin:auto;background:#000;color:#fff;border-radius:18px;padding:.4rem .9rem;box-shadow:0 8px 30px rgba(0,0,0,.35);border:0}
.cartbox summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem 0;list-style:none}.cartbox summary::-webkit-details-marker{display:none}
.cart-open{background:var(--flag-yellow);color:#000;border-radius:999px;padding:.35rem .9rem;font-weight:700;font-size:.9rem;white-space:nowrap}
.cartbox[open] .cart-open{display:none}.cartbox .meta,.cartbox .hint{color:#ccc}.cartbox label{color:#fff}
.cartlist{list-style:none;margin:.3rem 0;padding:0;max-height:40vh;overflow:auto}.cartlist li{display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.45rem 0;border-bottom:1px solid #333}
.qty{display:flex;align-items:center;gap:.5rem}.qty button{width:36px;height:36px;border-radius:50%;border:0;background:#fff;color:#000;font-size:1.2rem;font-weight:700;cursor:pointer}
.couponlist{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}
.coupon{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:#fff;border:2px dashed var(--flag-red);border-radius:var(--r-card);padding:.9rem 1rem}.coupon p{margin:.2rem 0}
.booking{background:#fff;border:2px solid var(--brand);border-radius:var(--r-card);padding:1rem}
.slotgrid{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem}.slotgrid .picked{background:var(--brand);color:#fff}
.pro-extra .section:first-child{margin-top:0}
.cupon-wrap{max-width:460px;margin:auto}
.cupon{background:#fff;border:3px dashed var(--flag-red);border-radius:22px;padding:1.3rem;text-align:center}
.cupon header{display:flex;gap:.8rem;align-items:center;text-align:left}.cupon header img{border-radius:50%;object-fit:cover}.cupon header h1{margin:0;font-size:1.3rem}.cupon header .meta{margin:0}
.cupon-title{font:700 1.6rem var(--font-head);margin:.9rem 0 .3rem;color:var(--flag-red)}
.cupon-qr canvas{max-width:220px;height:auto}
.cupon-code{font:700 2rem ui-monospace,Menlo,monospace;letter-spacing:.2em;margin:.3rem 0}
.cupon-state{font-weight:700}
.cupon.used{border-color:#999;opacity:.85}.cupon.used .cupon-title{color:#666}.cupon.expired{border-color:#bbb}
.trgrid{display:grid;gap:.6rem}.trday{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1rem;padding:.5rem 0;border-bottom:1px solid var(--line)}.trday strong{width:6.5rem}
.trr{display:inline-flex;align-items:center;gap:.3rem}.trr input{width:auto;min-height:40px}
.lk-hi{background:var(--flag-yellow)}
.slotgrid .btn.picked,.slotgrid .btn.picked:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.cartbox .btn.ghost{color:#fff;border-color:#fff;background:transparent}.cartbox .btn.ghost:hover{background:#222}

/* ---- Reseñas ---- */
.stars{color:#E3A600;letter-spacing:.05em}.stars-sum{display:inline-block;font-weight:600;color:var(--ink);text-decoration:none;font-size:.95rem;margin:.1rem 0}
h2 .stars-sum{font-size:1rem;margin-left:.4rem}
.revlist{list-style:none;padding:0;margin:.5rem 0 1rem;display:grid;gap:.7rem}.revlist li{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);padding:.8rem 1rem}.revlist p{margin:.2rem 0}
.revform summary{list-style:none;display:inline-flex;cursor:pointer}.revform summary::-webkit-details-marker{display:none}.revform[open] summary{margin-bottom:.8rem}
.starpick{border:0;padding:0;margin:0 0 .5rem;display:inline-flex;flex-direction:row-reverse;gap:.15rem}.starpick legend{width:100%;margin-bottom:.2rem;font-weight:700}
.starpick input{position:absolute;opacity:0;width:1px;height:1px}.starpick label{font-size:2.3rem;line-height:1;color:#ccc;cursor:pointer;padding:0 .1rem}
.starpick input:checked ~ label,.starpick label:hover,.starpick label:hover ~ label{color:#E3A600}.starpick input:focus-visible + label{outline:3px solid var(--brand);border-radius:6px}
.starpick{justify-content:flex-end}

/* ---- "Guía comercial de Tres Arroyos" bien visible ---- */
.brand{gap:.75rem}
.brand-t{display:flex;flex-direction:column;justify-content:center;line-height:1.05;max-width:none}
.brand-t .bt1,.brand-t .bt2{font-family:var(--font-head);font-weight:800;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}
.brand-t .bt1{font-size:1.15rem;color:#111}
.brand-t .bt2{font-size:1.15rem;color:var(--flag-red)}
.hero-kicker{display:inline-block;margin:0 0 .9rem;padding:.4rem 1rem;background:#000;color:var(--flag-yellow);border-radius:999px;font:800 clamp(1rem,2.4vw,1.35rem) var(--font-head);text-transform:uppercase;letter-spacing:.03em}
@media (max-width:480px){.brand-t .bt1,.brand-t .bt2{font-size:.9rem}}
@media (max-width:360px){.brand-t .bt1,.brand-t .bt2{font-size:.78rem}}

/* ---- Encabezado: "Guía comercial de Tres Arroyos" ocupa todo el espacio libre junto al logo ---- */
.site-header .brand{flex:1 1 100%;min-width:0;gap:.8rem}
.brand-t{flex:1 1 auto;min-width:0;max-width:600px;display:block}
.brand-tag{display:block;width:100%;height:auto;overflow:visible}
.brand-tag text{font-family:var(--font-head);font-weight:900;font-size:33px}
.brand img.brand-logo{height:46px}
@media (min-width:600px){.brand img.brand-logo{height:64px}}
@media (min-width:900px){.brand img.brand-logo{height:96px}.site-header .brand{gap:1.25rem}}

/* ---- Página de cupones ---- */
.couponwall{list-style:none;padding:0;margin:1rem 0;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr))}
.couponcard{background:#fff;border:3px dashed var(--flag-red);border-radius:var(--r-card);padding:1rem;display:flex;flex-direction:column;gap:.35rem}
.couponcard .btn{margin-top:auto;align-self:flex-start}
.cc-biz{display:flex;gap:.7rem;align-items:center;text-decoration:none;color:var(--ink)}.cc-biz img,.cc-ini{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none}
.cc-ini{display:grid;place-items:center;background:var(--sky);color:var(--brand);font:700 1.4rem var(--font-head)}
.cc-title{font:800 1.35rem var(--font-head);color:var(--flag-red);margin:.4rem 0 0;line-height:1.2}.cc-desc{margin:0}

/* ---- Clasificados ---- */
.cls-card .media{background:var(--sky)}.cls-ph{display:grid;place-items:center;height:100%;min-height:120px;padding:1rem;text-align:center;font:700 1rem var(--font-head);color:var(--brand-dark)}
.cls-gallery img#cls-main{width:100%;height:auto;max-height:520px;object-fit:contain;background:#f3f3f3;border-radius:var(--r-card)}
.cls-thumbs{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.cls-thumbs button{padding:0;border:2px solid var(--line);border-radius:8px;background:none;cursor:pointer;overflow:hidden}.cls-thumbs img{display:block;width:96px;height:72px;object-fit:cover}

/* Marketplace: Pack Agencia */
.cls-agency{font-weight:700;color:var(--brand-dark);margin:.35rem 0 0}
.ag-card{padding:1rem 1.2rem;margin-block:1rem;border-left:5px solid var(--brand)}
.ag-card h3{margin-top:0}
.ag-packs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.8rem;margin-top:.6rem}
.ag-pack{display:flex;flex-direction:column;gap:.3rem;padding:.9rem;border:2px solid var(--line);border-radius:var(--r-card);background:#fff}
.ag-price{font:800 1.3rem var(--font-head);color:var(--brand-dark)}
.cls-agency-cta{margin-block:1rem}

/* Empleos: personas que buscan trabajo */
.tabs-sub{display:flex;gap:.4rem;flex-wrap:wrap;margin:.4rem 0 1rem}
.tabs-sub a{padding:.5rem .95rem;border:2px solid var(--brand);border-radius:999px;font-weight:700;text-decoration:none;color:var(--brand-dark)}
.tabs-sub a[aria-current="page"]{background:var(--brand);color:#fff}
.sk-head{display:flex;gap:.8rem;align-items:center}.sk-head h3{margin:0 0 .15rem}.sk-head h1{margin:0 0 .2rem}
.sk-av{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:0 0 auto;background:var(--sky)}
.sk-head.big .sk-av{width:96px;height:96px;font-size:2rem}
.sk-ini{display:grid;place-items:center;font:800 1.4rem var(--font-head);color:var(--brand-dark)}
.sk-card .badge{margin:.15rem .1rem 0 0}
.chk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.25rem .8rem}

.draft-alert{border:2px solid #f5c400;background:#fff8d6;color:#222;padding:.9rem 1rem;border-radius:12px;margin-block:0 1rem}
.draft-alert p{margin:.25rem 0}
.draft-alert a{color:#0a5c2c;font-weight:700}
