/* Biochain landing — brand kit edition 2 (docs/brand): Navy / White / Sky,
   Clay as accent only (the logo bead + one rule). Barlow + Barlow Condensed. */
:root {
  --navy: #14283C;
  --navy-2: #2E4A66;
  --sky: #8FAEC9;
  --sky-ink: #0E1D2C;      /* body text on sky (>= 7:1) */
  --white: #FFFFFF;
  --clay: #E08A52;
  --muted: #46586A;        /* secondary text on white (7.5:1) */
  --line: #DCE4EC;
  --radius: 12px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font: 400 17px/1.6 "Barlow", "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: .005em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 6px; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); } }
.top-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Wordmark spec: Barlow 500, caps, +0.16em tracking. */
.wordmark { font-weight: 500; font-size: 1.25rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--navy); }
.top .btn { margin-left: auto; }
@media (min-width: 760px) { .nav { display: flex; } .top .btn { margin-left: 0; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn:focus-visible, .nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* hero (sky ground, like the brand's reversed artwork) */
.hero { background: var(--sky); color: var(--navy); }
.hero-grid { display: grid; gap: 32px; padding: 56px 16px 64px; align-items: center; }
@media (min-width: 720px) { .hero-grid { padding: 88px 32px 96px; } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.35fr 1fr; } }
/* Tagline spec: Barlow 400, caps, +0.30em tracking. */
.tagline { text-transform: uppercase; letter-spacing: .30em; font-size: .8rem; color: var(--sky-ink); margin-bottom: 18px; }
.rule { display: block; width: 64px; height: 3px; background: var(--clay); margin: 24px 0; border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--sky-ink); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phone { margin-top: 16px; font-weight: 600; letter-spacing: .02em; }
.hero-mark { display: none; justify-self: center; }
.hero-mark img { width: clamp(180px, 22vw, 260px); }
@media (min-width: 900px) { .hero-mark { display: block; } }

/* bands */
.band { padding: 64px 0; }
@media (min-width: 720px) { .band { padding: 88px 0; } }
.band-sky { background: var(--sky); color: var(--navy); }
.band-navy { background: var(--navy); color: var(--white); }
.section-lead { color: var(--muted); max-width: 40em; margin-bottom: 32px; font-size: 1.08rem; }
.band-sky .section-lead, .band-sky .note { color: var(--sky-ink); }

/* steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps .n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); font-weight: 600; margin-bottom: 14px; }
.steps p { color: var(--muted); }

/* rates */
.rates { display: grid; gap: 16px; }
@media (min-width: 640px) { .rates { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rates { grid-template-columns: repeat(4, 1fr); } }
.rate { background: var(--white); border-radius: var(--radius); padding: 24px; }
.rate .zone { font-weight: 600; }
.rate .price { font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 2.4rem; line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.rate .when { color: var(--muted); font-size: .95rem; }
.note { margin-top: 20px; }

/* areas */
.areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.areas li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-weight: 500; }

/* facts (navy band) */
.facts { display: grid; gap: 28px; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts p { color: #C9D6E3; }

/* closing */
.closing-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.closing h2 { margin: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-row { display: grid; gap: 14px; }
.brand-foot .wordmark { font-size: 1rem; }
.disclaimer { color: var(--muted); max-width: 46em; }
.small { color: var(--muted); font-size: .9rem; }

/* Productos */
.band-line { border-top: 1px solid var(--line); }
.products { display: grid; gap: 16px; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }

.product { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.product p { color: var(--muted); }
.product .kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: #A8521C; }
.product-water { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.product-water p, .product-water .kicker { color: var(--sky-ink); }
.sizes { list-style: none; margin: 6px 0 2px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sizes li { background: var(--navy); color: var(--white); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.product .fine { font-size: .92rem; }

/* Preguntas */
.faq { display: grid; gap: 10px; max-width: 52em; margin-top: 20px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style-position: inside; }
.faq summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* Guías / envíos (generated pages: scripts/site/build.py) */
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.narrow { max-width: 780px; }
.post-head { padding: 40px 0 44px; }
@media (min-width: 720px) { .post-head { padding: 64px 0 64px; } }
.post-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.post-head .lead { margin-top: 16px; }
.post-head .tagline { margin: 18px 0 12px; }
.crumbs { font-size: .92rem; color: var(--sky-ink); }
.crumbs a { color: inherit; }
.post-meta { margin-top: 16px; font-size: .95rem; color: var(--sky-ink); }
.prose { padding-top: 40px; padding-bottom: 64px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; margin-bottom: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 30px; margin-bottom: 0; }
.prose p, .prose li { color: #22364A; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--navy-2); text-underline-offset: 2px; }
.prose strong { color: var(--navy); }
.prose blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--clay); }
.prose code { font-size: .92em; background: #EEF3F8; padding: 1px 5px; border-radius: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #EEF3F8; font-weight: 600; white-space: nowrap; }
.prose tr:last-child td { border-bottom: 0; }
.post-faq { margin-top: 48px; }
.post-faq .faq { margin-top: 16px; }
.cta-box { margin-top: 48px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 28px; }
.cta-box p { color: #C9D6E3 !important; margin-bottom: 18px; }
.cta-box .cta-title { font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-weight: 600; font-size: 1.6rem; color: var(--white) !important; margin-bottom: 6px; line-height: 1.15; }
.cta-box .btn-navy { background: var(--white); color: var(--navy); }
.cta-box .btn-navy:hover { background: var(--sky); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: #A8521C !important; }
.rate-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 8px; }
.rate-strip > div { background: var(--sky); border-radius: var(--radius); padding: 16px 18px; }
.rate-strip .k { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sky-ink); }
.rate-strip .v { font-weight: 600; color: var(--navy); margin-top: 4px; }
.branches { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.branches li { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 !important; }
.branches span { color: var(--muted); font-size: .95rem; }
.cities { margin-top: 48px; }
.cities h2 { margin-top: 32px; }
.city-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.city-list li { border: 1px solid var(--line); border-radius: var(--radius); }
.city-list a { display: block; padding: 14px 16px 2px; font-weight: 600; text-decoration: none; }
.city-list a:hover { text-decoration: underline; }
.city-list span { display: block; padding: 0 16px 14px; color: var(--muted); font-size: .9rem; }
.foot-nav { color: var(--muted); }
.foot-nav a { color: var(--navy-2); }
.band-sky.post-head .tagline, .post-head .tagline { color: var(--sky-ink); }
.catalog { margin-bottom: 8px; }
@media (min-width: 1000px) { .catalog { grid-template-columns: repeat(3, 1fr); } .catalog .product-water { grid-column: span 3; } }
.price-list { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.price-list span { color: var(--muted); }
.price-list strong { color: var(--navy); }
.product-water .price-list { border-top-color: rgba(14,29,44,.2); }
.price-chips { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; padding-top: 4px; }
.price-chips li { background: var(--navy); color: var(--white); border-radius: 999px; padding: 6px 14px; }
.price-chips li span, .price-chips li strong { color: var(--white) !important; }
.price-chips li span::after { content: " ·"; }

/* ===== Guías — editorial layout (v1.12) ===== */
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; font-weight: 600;
  color: var(--sky); border: 1px solid rgba(143,174,201,.45); border-radius: 999px; padding: 6px 12px; margin: 22px 0 18px; }
.post-hero, .blog-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.post-hero::after, .blog-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 20%, rgba(143,174,201,.18), transparent 55%); }
.post-hero .crumbs, .blog-hero .crumbs { color: #9FB4C8; }
.crumbs span { margin: 0 8px; opacity: .6; }
.post-hero h1, .blog-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 18em; }
.hero-desc { color: #C9D6E3; font-size: 1.15rem; margin-top: 18px; max-width: 36em; }
.hero-row { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero-row { grid-template-columns: 1.25fr 1fr; padding-top: 64px; padding-bottom: 72px; } }
.hero-cover .cover { border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); outline: 1px solid rgba(255,255,255,.08); }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: #C9D6E3; font-size: .95rem; line-height: 1.35; }
.byline img { width: 24px; height: 32px; }
.byline strong { color: var(--white); }

.post-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 72px; }
@media (min-width: 1040px) { .post-grid { grid-template-columns: 250px minmax(0, 720px); justify-content: center; gap: 64px; } }
.post-side { display: none; }
@media (min-width: 1040px) { .post-side { display: block; } }
.side-sticky { position: sticky; top: 92px; }
.side-title { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.toc { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted);
  text-decoration: none; font-size: .93rem; line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero) "  "; color: #A8521C; font-weight: 600; font-size: .8rem; white-space: pre; }
.toc a:hover { color: var(--navy); border-left-color: var(--clay); }
.side-cta { margin-top: 28px; background: #EEF3F8; border-radius: var(--radius); padding: 18px; }
.side-cta p { color: var(--navy); margin-bottom: 12px; font-size: .95rem; }

.post .prose { padding: 0; counter-reset: sec; }
.post .prose > p:first-of-type { font-size: 1.22rem; line-height: 1.55; color: var(--navy); }
.post .prose h2 { counter-increment: sec; padding-top: 8px; scroll-margin-top: 90px; }
.post .prose h2::before { content: counter(sec, decimal-leading-zero); display: block; font-family: "Barlow", sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .18em; color: #A8521C; margin-bottom: 6px; }
.post .prose .aviso h2::before, .post .prose .sources h2::before, .post .prose .post-faq h2::before { content: none; }
.post .prose h3 { font-size: 1.35rem; }
.post .prose ul li::marker { color: var(--clay); }
.post .prose ol li::marker { color: #A8521C; font-weight: 600; }
.notice { display: flex; gap: 14px; background: #FBF1EA; border: 1px solid #F1CFB6; border-radius: var(--radius); padding: 16px 18px; }
.notice::before { content: "!"; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--clay); color: var(--white);
  font-weight: 700; display: grid; place-items: center; font-size: .95rem; margin-top: 2px; }
.notice p { margin: 0; color: #4A2E1C !important; font-size: 1rem !important; }
.prose blockquote { background: #EEF3F8; border-left: 4px solid var(--navy-2); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; }
.prose th { background: var(--navy); color: var(--white); }
.prose tbody tr:nth-child(even) td { background: #F6F9FB; }
.aviso { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: #FAFBFC; }
.aviso h2 { font-size: 1.1rem !important; margin: 0 0 6px !important; text-transform: uppercase; letter-spacing: .12em; font-family: "Barlow", sans-serif !important; color: var(--muted); }
.aviso p { font-size: .95rem; color: var(--muted) !important; }
.sources { margin-top: 32px; }
.sources h2 { font-size: 1.1rem !important; text-transform: uppercase; letter-spacing: .12em; font-family: "Barlow", sans-serif !important; color: var(--muted); }
.sources ol { font-size: .88rem; padding-left: 1.4em; }
.sources li { color: var(--muted) !important; overflow-wrap: anywhere; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #EEF3F8; color: var(--navy);
  display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; }
.faq details[open] summary::after { content: "−"; background: var(--navy); color: var(--white); }
.faq details[open] { border-color: var(--sky); }
.tag-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tag-list li { margin: 0 !important; background: #EEF3F8; color: var(--navy-2) !important; border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.tag-list li::before { content: "#"; opacity: .5; }

/* cards */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.post-card { margin: 0 !important; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card-link:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,40,60,.12); border-color: var(--sky); }
.card-link .cover { aspect-ratio: 1200 / 630; width: 100%; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.4rem; line-height: 1.15; color: var(--navy); margin: 0; }
.card-desc { color: var(--muted); font-size: .97rem; }
.card-meta { color: var(--muted); font-size: .85rem; margin-top: auto; padding-top: 8px; }
@media (prefers-reduced-motion: reduce) { .card-link { transition: none; } .card-link:hover { transform: none; } }
.related { background: #F4F7FA; padding: 56px 0 72px; border-top: 1px solid var(--line); }
.related h2 { margin-bottom: 24px; }

/* blog index */
.blog-hero .wrap { padding-top: 48px; padding-bottom: 64px; position: relative; z-index: 1; }
@media (min-width: 720px) { .blog-hero .wrap { padding-top: 72px; padding-bottom: 88px; } }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: #C9D6E3; }
.hero-facts strong { color: var(--white); }
.blog-list .wrap > * + * { margin-top: 32px; }
.feature { display: grid; text-decoration: none; border-radius: 20px; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  transition: box-shadow .2s ease; }
.feature:hover { box-shadow: 0 22px 50px rgba(20,40,60,.14); }
@media (min-width: 900px) { .feature { grid-template-columns: 1.1fr 1fr; } }
.feature .cover { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1200 / 630; }
.feature-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .feature-body { padding: 40px; } }
.feature-body h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; color: var(--navy); }
.feature-body p { color: var(--muted); }
.read-more { font-weight: 600; color: var(--navy-2); margin-top: 6px; }

/* home: latest guides */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.section-head .more { font-weight: 600; color: var(--navy-2); text-decoration: none; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }
.post-grid > *, .hero-row > * { min-width: 0; }
@media (max-width: 959px) { .hero-cover .cover { aspect-ratio: 16 / 7; object-fit: cover; width: 100%; } }

/* ===== Landing (v1.12) ===== */
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.home-hero { background: linear-gradient(160deg, #14283C 0%, #1C3550 55%, #2E4A66 100%); color: var(--white); position: relative; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; right: -120px; top: -80px; width: 620px; height: 820px; opacity: .07;
  background: url("img/mark-full-reversed.svg") no-repeat center / contain; pointer-events: none; }
.home-hero-grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 40px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 980px) { .home-hero-grid { grid-template-columns: 1.3fr 1fr; padding-top: 88px; padding-bottom: 56px; gap: 64px; } }
.home-hero-grid > * { min-width: 0; }
.home-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
.home-hero .eyebrow { margin-top: 0; }
.hero-phone { margin-top: 18px; color: #9FB4C8; font-size: .95rem; }
.hero-phone strong { color: var(--white); letter-spacing: .02em; }
.hero-panel { background: var(--white); color: var(--navy); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hero-panel-head { display: flex; align-items: center; gap: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.hero-panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: #2FA36B; box-shadow: 0 0 0 4px rgba(47,163,107,.18); }
.hero-picks { list-style: none; margin: 0; padding: 0; }
.hero-picks li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero-picks strong { display: block; font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-size: 1.3rem; font-weight: 600; line-height: 1.1; }
.hero-picks span { color: var(--muted); font-size: .88rem; }
.hero-picks em { font-style: normal; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero-panel-foot { display: block; margin-top: 14px; font-weight: 600; color: var(--navy-2); text-decoration: none; }
.hero-panel-foot:hover { text-decoration: underline; }
.trust { list-style: none; margin: 0; padding: 0 0 48px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); position: relative; z-index: 1; }
.trust li { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px 16px; color: #C9D6E3; font-size: .92rem; line-height: 1.35; }
.trust strong { color: var(--white); font-size: 1rem; }
.trust .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(143,174,201,.18); color: var(--sky); }
.trust li:nth-child(3) .ic { color: var(--clay); background: rgba(224,138,82,.16); }

.section-note { color: var(--muted); font-size: .95rem; white-space: nowrap; }
.product-feature { display: grid; gap: 20px; align-items: center; background: var(--sky); color: var(--sky-ink); border-radius: 20px; padding: 28px; margin-bottom: 40px; }
@media (min-width: 860px) { .product-feature { grid-template-columns: 1fr auto; padding: 32px 36px; } }
.product-feature .kicker { color: var(--sky-ink) !important; opacity: .8; }
.product-feature h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 6px 0 8px; }
.product-feature p { color: var(--sky-ink); max-width: 36em; }
.size-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.size-tiles li { background: var(--navy); color: var(--white); border-radius: 14px; padding: 14px 18px; text-align: center; min-width: 104px; }
.size-tiles span { display: block; font-size: .85rem; color: #C9D6E3; }
.size-tiles strong { display: block; font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.cat-group + .cat-group { margin-top: 36px; }
.cat-title { font-family: "Barlow", sans-serif; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: #A8521C;
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cat-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(3, 1fr); } }
.product { transition: border-color .2s ease, box-shadow .2s ease; }
.product:hover { border-color: var(--sky); box-shadow: 0 12px 30px rgba(20,40,60,.08); }
.product h4 { font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-size: 1.45rem; font-weight: 600; margin: 0; line-height: 1.1; }

.band-soft { background: #F4F7FA; }
.timeline { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.timeline li { position: relative; background: var(--white); border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.timeline .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white);
  font-weight: 600; margin-bottom: 14px; box-shadow: 0 0 0 6px #F4F7FA, 0 0 0 7px var(--line); }
.timeline li:last-child .n { background: var(--clay); }
.timeline p { color: var(--muted); }
@media (min-width: 900px) { .timeline li:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -29px; width: 30px; height: 2px; background: var(--line); } }
.rate { border: 1px solid var(--line); }
.rate-hl { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rate-hl .when { color: #C9D6E3; }
.faq-split { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-split { grid-template-columns: 1fr 1.6fr; gap: 56px; } .faq-split .faq { margin-top: 0; } }
.closing-band { padding-top: 24px; }
.closing-card { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--navy); color: var(--white);
  border-radius: 24px; padding: 40px 32px; position: relative; overflow: hidden; }
.closing-card::after { content: ""; position: absolute; right: -40px; bottom: -120px; width: 260px; height: 340px; opacity: .1;
  background: url("img/mark-full-reversed.svg") no-repeat center / contain; pointer-events: none; }
.closing-card h2 { color: var(--white); margin-bottom: 8px; }
.closing-card p { color: #C9D6E3; max-width: 32em; }
.closing-card > * { position: relative; z-index: 1; }
/* watermark: whole mark, faint, never behind body text on phones */
.home-hero::before { right: 2%; top: auto; bottom: -60px; width: 360px; height: 480px; opacity: .06; }
@media (max-width: 979px) { .home-hero::before { display: none; } }
.closing-card::after { right: 28px; bottom: -30px; width: 150px; height: 200px; opacity: .12; }
@media (max-width: 640px) {
  .closing-card::after { display: none; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; font-size: .85rem; }
  .trust .ic { flex: 0 0 auto; width: 38px; height: 38px; }
  .size-tiles li { min-width: 0; padding: 12px 8px; }
  .section-note { display: none; }
}
.home-hero::before, .closing-card::after { content: none; }
/* city pages */
.city-hero .wrap { padding-top: 40px; padding-bottom: 56px; }
.city-body { padding-top: 0; padding-bottom: 64px; }
.city-body .rate-strip { margin-top: -28px; position: relative; z-index: 2; }
.rate-strip > div { background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(20,40,60,.08); }
.rate-strip > div:first-child { background: var(--navy); border-color: var(--navy); }
.rate-strip > div:first-child .k { color: #9FB4C8; }
.rate-strip > div:first-child .v { color: var(--white); font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-size: 1.6rem; }
.rate-strip .k { color: var(--muted); }
.branches { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.branches li { display: flex; flex-direction: column; gap: 2px; }
.branches .carrier { align-self: flex-start; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  background: #EEF3F8; color: var(--navy-2); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.city-list li { transition: border-color .2s ease; }
.city-list li:hover { border-color: var(--sky); }

/* Size tiles inside article text (/agua-bacteriostatica/): undo .prose list and strong styles. */
.prose .size-tiles { margin: 8px 0 12px; padding: 0; }
.prose .size-tiles li { margin: 0; padding: 14px 18px; }
.prose .size-tiles strong { color: var(--white); }

/* Calculadora (/calculadora/) */
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 8px 0 18px; }
.calc[hidden] { display: none; }
.calc-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .calc-grid { grid-template-columns: 1fr 1fr; } .calc-wide { grid-column: 1 / -1; } }
.calc label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.calc input, .calc select { font: inherit; font-weight: 500; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); width: 100%; min-width: 0; }
.calc input:focus-visible, .calc select:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.calc-dose { display: grid; grid-template-columns: 1fr 88px; gap: 8px; }
.calc-out { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc-out[hidden] { display: none; }
.calc-big { font-family: "Barlow Condensed", "Helvetica Neue", Arial, sans-serif; font-size: 3rem; line-height: 1; font-weight: 600; color: var(--navy); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.calc-big small { font-size: 1.1rem; font-weight: 500; color: var(--muted); }
.calc-facts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 14px; }
.calc-facts div { background: var(--sky); border-radius: 10px; padding: 10px 12px; }
.calc-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sky-ink); }
.calc-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.syringe { width: 100%; height: auto; display: block; }
.syr-barrel { fill: var(--white); stroke: var(--navy); stroke-width: 2; }
.syr-fill { fill: var(--sky); }
.syr-plunger, .syr-needle { fill: var(--navy); }
.syr-tick { stroke: var(--navy); stroke-width: 1; }
.syr-num { font-size: 10px; fill: var(--muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.calc-warn { color: #9A3412; font-weight: 600; margin: 8px 0 0; }
.calc-warn:empty { display: none; }
.formula { background: var(--sky); border-radius: 10px; padding: 12px 16px; }
.best { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 600; background: var(--navy); color: var(--white); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.prose .best { color: var(--white); }
@media (max-width: 520px) {
  .prose .price-table { font-size: .82rem; }
  .prose .price-table th, .prose .price-table td { padding-left: 6px; padding-right: 6px; }
}
.product-links { margin: 8px 0 0; font-size: .88rem; }
.product-links a, .cat-more a { color: #A8521C; font-weight: 600; text-decoration: none; }
.product-links a:hover, .cat-more a:hover { text-decoration: underline; }
.cat-more { margin: 12px 0 0; font-size: .92rem; }

/* "Pedir" on each catalog card: WhatsApp with the product already named. */
.product .product-cta { align-self: flex-start; margin-top: 12px; }
.product-feature .product-cta { margin-top: 8px; }
