/* Main CSS — loaded async. Below-the-fold + components. Flat, no color gradients. */

main > section { padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; }

.section-surface { background: var(--surface); }
/* Why-trust (proof) section: cooler light gray so it reads distinct from the white section above */
section[aria-labelledby="proof-h"] { background: #f4f5f7; }
section[aria-labelledby="proof-h"] .kicker { font-size: clamp(1rem, 1.5vw, 1.18rem); color: var(--brand-ink); letter-spacing: .14em; }
.section-dark { background: var(--ink); color: #f3f1ec; }
.section-head { max-width: 50rem; margin-bottom: 3rem; }
.section-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.14; letter-spacing: -.03em; text-wrap: balance; }
.section-head h2 { margin: 0 0 1.25rem; }
.section-head .lead { margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.04em; }
h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 2.3vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 60ch; }

/* Scrolling credential ticker (dark bar, fast) */
.ticker { overflow: hidden; background: var(--ink); color: #fff; padding-block: 1.05rem; }
.ticker-track { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(.9rem, 1.7vw, 1.12rem); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: #fff; }
.ticker-item::before { content: "\2713"; color: var(--brand); font-weight: 800; }
/* Pause the scroll so a moving link is actually clickable — hover only,
   so focus left on a link (e.g. after it opens in a new tab) doesn't freeze it */
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Answer-first block (AEO extract) — kept; with marker underline highlights */
.answer-wrap { max-width: 64rem; }
.answer-wrap h2 { margin: 0 0 1.6rem; }
.answer-block { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.32; font-weight: 500; letter-spacing: -.025em; margin: 0; }

/* Pain section — full-width 50/50 split, image | DARK text panel */
.pain-section { padding-block: 0 !important; }
.pain-split { display: grid; grid-template-columns: 1fr; }
@media (min-width: 56rem) { .pain-split { grid-template-columns: 1fr 1fr; } }
.pain-media { min-height: 320px; }
.pain-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 56rem) { .pain-media { min-height: 660px; } }
.pain-content { background: var(--ink); color: #efece6; padding: clamp(2.75rem, 6vw, 5.5rem); display: flex; flex-direction: column; justify-content: center; }
.pain-content > * { max-width: 38rem; }
.pain-content .kicker { color: #ff7a5e; }
.pain-content h2 { color: #fff; margin-bottom: 1.75rem; }
.pain-list { list-style: none; margin: 0; padding: 0; max-width: 38rem; }
.pain-list li { display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pain-list li:first-child { padding-top: 0; }
.pain-ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; background: var(--c, var(--brand)); display: grid; place-items: center; box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--c, #000) 55%, transparent); }
.pain-ic svg { width: 25px; height: 25px; stroke: #fff; color: #fff; fill: none; }
.pain-list .pt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: -.02em; display: block; margin-bottom: .4rem; color: #fff; }
.pain-list .pd { color: #b9b4aa; margin: 0; font-size: 1.1rem; line-height: 1.55; }

/* Services — modern bento (1 big + 4), color-coded content panels */
.bento { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.tile { position: relative; display: flex; flex-direction: column; background: var(--tile, var(--ink)); border-radius: 6px; overflow: hidden; text-decoration: none; color: #fff; box-shadow: 0 4px 10px -4px rgba(21,20,15,.28), 0 22px 44px -18px rgba(21,20,15,.5); transition: transform .22s ease, box-shadow .22s ease; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 34px 64px -30px rgba(21,20,15,.55); }
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tile .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.tile .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.08) saturate(1.05); transition: transform .55s ease; }
.tile:hover .thumb img { transform: scale(1.07); }
.tile .ic { position: absolute; top: 1rem; left: 1rem; width: 46px; height: 46px; border-radius: 6px; background: var(--tile, var(--ink)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(21,20,15,.6); }
.tile .ic svg { width: 23px; height: 23px; }
.tile .body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.tile h3 { margin: 0 0 .45rem; color: #fff; }
.tile p { color: rgba(255,255,255,.85); margin: 0; font-size: 1rem; line-height: 1.5; }
.tile .more { margin-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: #fff; }
.tile .arrow { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center; color: #fff; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.tile .arrow svg { width: 18px; height: 18px; }
.tile:hover .arrow { background: #fff; border-color: #fff; color: var(--tile, var(--ink)); transform: translateX(3px); }
/* Light-background cards use dark text for contrast */
.tile.light h3, .tile.light .more { color: var(--ink); }
.tile.light p { color: rgba(21,20,15,.72); }
.tile.light .arrow { border-color: rgba(21,20,15,.3); color: var(--ink); }
.tile.light:hover .arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
/* tablet: 2-up, with the feature tile full-width on top (instead of giant single-column tiles) */
@media (min-width: 38rem) and (max-width: 55.99rem) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.feature { grid-column: 1 / -1; }
}
@media (min-width: 56rem) {
  .bento { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; }
  .tile.feature { grid-column: 1; grid-row: 1 / span 2; }
  .tile.feature .thumb { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .tile.feature h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .tile.feature p { font-size: 1.1rem; }
  .tile.feature .body { padding: 1.9rem 2rem 2rem; }
}
/* Secondary "already have a site?" content/CMS offer — light gray band */
.cms-callout { margin-top: 1.4rem; display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.75rem); flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.4rem, 3.5vw, 2rem) clamp(1.5rem, 4vw, 2.5rem); }
.cms-ic { flex: 0 0 auto; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--brand); }
.cms-ic svg { width: 26px; height: 26px; }
.cms-text { flex: 1 1 18rem; }
.cms-label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 .7rem; }
.cms-text h3 { margin: 0 0 .65rem; font-size: 1.25rem; }
.cms-text p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.cms-callout .btn { flex: 0 0 auto; padding: .85rem 1.7rem; font-size: 1.05rem; }

/* Proof — sites side by side (sharper) + a box (book big + worker stats) */
.proof-sites { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .proof-sites { grid-template-columns: 1fr 1fr; } }
/* Each site = one cohesive card: screenshot flush on top, caption inside */
.proof-sites .proof-item { display: flex; flex-direction: column; background: #fff; border: 1px solid #d8d3c8; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 2px rgba(21,20,15,.06), 0 16px 32px -22px rgba(21,20,15,.55); }
/* White caption above a vibrant full-width CTA bar (color from each card's --accent) */
.proof-body { padding: 1.5rem clamp(1.4rem, 3vw, 1.85rem) 1.75rem; background: #fff; flex: 1; }
.proof-item .label { font-family: var(--font-display); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin: 1rem 0 .25rem; }
.proof-sites .label { font-size: .84rem; }
.proof-body .label { margin-top: 0; color: var(--accent, var(--brand-ink)); }
.proof-sites h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 0 0 .55rem; }
.proof-sites .proof-body p { font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.55; }
.proof-cta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.05rem clamp(1.4rem, 3vw, 1.85rem); background: var(--accent, var(--brand)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; text-decoration: none; }
.proof-cta:hover { filter: brightness(1.06); }
.proof-item h3 { margin: 0 0 .4rem; }
.proof-item p { color: var(--muted); margin: 0; }
.proof-item a { font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.proof-item a:hover { text-decoration: underline; }

.proof-box { margin-top: clamp(2rem, 5vw, 3rem); background: #fff; border: 1px solid #d8d3c8; border-radius: 6px; box-shadow: 0 1px 2px rgba(21,20,15,.06), 0 16px 32px -22px rgba(21,20,15,.55); padding: clamp(1.75rem, 5vw, 3.25rem); display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 56rem) { .proof-box { grid-template-columns: 1.5fr 1fr; } }
.proof-box .label { font-size: .92rem; margin-bottom: .4rem; }
.proof-box h3 { font-size: clamp(1.55rem, 2.7vw, 2rem); margin: 0 0 .6rem; }
/* book = the star, big */
.book-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
.book-feature > img { width: clamp(175px, 30vw, 300px); filter: drop-shadow(0 26px 40px rgba(21,20,15,.32)); }
.book-feature > div p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.55; }
.book-feature .btn { margin-top: 1.1rem; }
/* experience = worker stats: coral square badge + aligned label, larger type */
.exp-stats { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.exp-stat { display: flex; align-items: center; gap: 1.15rem; }
.exp-stat .v { flex: 0 0 auto; width: 88px; height: 88px; display: grid; place-items: center; text-align: center; background: var(--brand); color: #fff; border-radius: 6px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.35rem); line-height: 1.08; letter-spacing: -.01em; padding: .4rem; }
.exp-stat .l { color: var(--ink); margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.45; }

/* Browser frame — scroll-linked screenshot (scrolls as you scroll past it) */
.browser { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
/* Inside a unified proof card the frame sits flush — the card supplies the border/shadow */
.proof-sites .browser { border: 0; border-radius: 0; box-shadow: none; }
.browser .bar { display: flex; align-items: center; gap: .4rem; padding: .65rem .85rem; border-bottom: 1px solid var(--line); background: #faf9f6; }
.browser .bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #ddd9d1; }
.browser .bar i:nth-child(1) { background: #ff5f57; }
.browser .bar i:nth-child(2) { background: #febc2e; }
.browser .bar i:nth-child(3) { background: #28c840; }
.browser .bar .url { font-size: .72rem; color: var(--muted); margin-left: .6rem; font-family: var(--font-display); }
/* Static crop to the site's hero (top of the screenshot) */
.browser .shot { height: clamp(240px, 36vw, 360px); overflow: hidden; }
.browser .shot img { width: 100%; display: block; }

/* Founder / one point of contact */
/* How-it-works: full-width dark banner */
.how-banner { background-color: var(--ink); background-image: linear-gradient(rgba(16,15,11,.93), rgba(16,15,11,.96)), url('/assets/images/kitchen-line.webp'); background-size: cover; background-position: center; color: #fff; position: relative; overflow: hidden; }
.how-banner::before { content: ""; position: absolute; top: -30%; left: 50%; width: min(900px, 90%); height: 120%; transform: translateX(-50%); background: radial-gradient(60% 50% at 50% 0%, rgba(255,74,46,.28), transparent 70%); pointer-events: none; }
.how-banner .container { position: relative; z-index: 1; }
.how-head { text-align: center; max-width: 56rem; margin-inline: auto; }
.nowrap { white-space: nowrap; }
.how-banner .kicker { color: #ff7a5e; font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 800; letter-spacing: .16em; margin-bottom: 1.1rem; }
.how-banner h2 { color: #fff; margin: 0 0 1.6rem; }
.how-banner .lead { color: rgba(255,255,255,.82); margin-inline: auto; }
.how-sub { margin: 1.15rem auto 0; max-width: 48ch; color: rgba(255,255,255,.62); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.6; }
.budget-pill { display: inline-block; margin-top: 1.6rem; background: rgba(255,74,46,.16); border: 1px solid rgba(255,74,46,.5); color: #fff; border-radius: 999px; padding: .65rem 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.02rem, 1.7vw, 1.25rem); }
.budget-note { margin: .85rem 0 0; color: rgba(255,255,255,.6); font-size: clamp(.95rem, 1.4vw, 1.05rem); }
.steps { display: grid; gap: 1.25rem; margin-top: clamp(2.4rem, 4.5vw, 3.4rem); }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.step { text-align: left; padding: 1.9rem 1.75rem 2rem; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; position: relative; transition: transform .18s ease, border-color .18s ease; }
.step:hover { transform: translateY(-4px); border-color: rgba(255,122,94,.55); }
.step .num { margin: 0 0 1.15rem; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(135deg, var(--brand), #ff8a3d); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 12px 26px -10px rgba(255,74,46,.75); }
.step h3 { margin: 0 0 .55rem; color: #fff; font-size: clamp(1.18rem, 2vw, 1.4rem); }
.step p { color: rgba(255,255,255,.68); margin: 0; font-size: clamp(1rem, 1.5vw, 1.08rem); line-height: 1.55; }
.how-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: clamp(2.75rem, 5vw, 4rem); }

/* Slimmer buttons on phones — the base .btn is sized for desktop and runs chunky on mobile */
@media (max-width: 40rem) {
  .btn { padding: .8rem 1.55rem; font-size: 1.02rem; }
  .btn-link { font-size: 1.02rem; }
}

/* FAQ */
.faq { max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq-item h3 { margin-bottom: .55rem; }
.faq-item p { color: var(--muted); margin: 0; }

/* CTA band — faded "full house" photo + coral glow */
.cta-band { position: relative; overflow: hidden; border-radius: 8px; padding: clamp(2.75rem, 7vw, 4.75rem); text-align: center; color: #fff;
  background:
    radial-gradient(75% 120% at 50% -10%, rgba(255,74,46,.42), transparent 60%),
    linear-gradient(rgba(21,20,15,.82), rgba(21,20,15,.9)),
    url("/assets/images/full-house.webp") center/cover no-repeat;
  box-shadow: 0 30px 60px -30px rgba(21,20,15,.6); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 48ch; margin-inline: auto; font-size: 1.15rem; }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: .7rem .85rem; text-align: left; }
th { background: var(--surface); font-family: var(--font-display); }

/* Footer — multi-column */
.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; background: var(--ink); color: #cbc8c0; }
.footer-top { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .footer-top { grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: clamp(2rem, 4vw, 3.5rem); } }
.footer-name { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff; margin: 0; text-decoration: none; letter-spacing: -.02em; }
.footer-name b { color: var(--brand); }
.footer-tagline { color: #ff8367; font-family: var(--font-display); font-weight: 700; margin: .5rem 0 1rem; }
.footer-nap { color: #97948c; margin: .25rem 0; }
.footer-nap a { color: #cbc8c0; text-decoration: none; }
.footer-nap a:hover { color: #fff; }
.footer-brand-link { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
/* Footer uses logo-light.webp — same mark, wordmark recoloured white for the dark background. */
.footer-logo { height: clamp(2.6rem, 6.5vw, 3.2rem); width: auto; display: block; }

/* About page */
.about-founder { display: grid; gap: 1.8rem; align-items: center; margin-top: 2.2rem; }
@media (min-width: 48rem) { .about-founder { grid-template-columns: auto 1fr; gap: 2.8rem; } }
.about-portrait { width: clamp(170px, 42vw, 250px); height: auto; border-radius: 10px; box-shadow: var(--shadow); object-fit: cover; }
.about-founder p { margin: 0 0 1.1rem; color: var(--ink); font-size: 1.08rem; line-height: 1.65; }
.about-prose { max-width: 60rem; margin-inline: auto; }
.about-prose p { margin: 0 0 1.15rem; color: var(--ink); font-size: 1.08rem; line-height: 1.68; }
.about-collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 2.4rem auto; max-width: 760px; }
@media (min-width: 46rem) { .about-collage { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
.about-collage figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px; background: var(--surface); }
.about-collage img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .4s ease; }
.about-collage figure:hover img { transform: scale(1.04); }

/* ============ Blog posts ============ */
/* Small caveat/footnote under a table or figure ("confírmalo con tu contador"). */
.post-note { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line); padding: .1rem 0 .1rem .9rem; margin: 1.2rem 0 1.9rem; }

.post-container { max-width: 48rem; }
/* The article body is too tall for the scroll-reveal threshold to ever fire, so it would
   stay invisible. Keep it always visible (don't fade-animate the whole long body). */
.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); }
.crumbs span[aria-hidden] { opacity: .5; padding: 0 .3rem; }
.post-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -.03em; margin: .3rem 0 0; }
.post-byline { display: flex; align-items: center; gap: .7rem; margin: 1.3rem 0 0; }
.post-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: 0 0 auto; border: 2px solid #fff; box-shadow: 0 6px 16px -8px rgba(21,20,15,.5); }
.post-byline p { margin: 0; color: var(--muted); font-size: .95rem; }
.post-byline strong { color: var(--ink); }
.byline-dot { opacity: .5; padding: 0 .15rem; }
.post-answer { margin: 1.8rem 0; }
.post-answer .answer-lead { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin: 0 0 1rem; }
.post-answer p { color: #34322c; line-height: 1.65; margin: 0 0 1rem; }
.post-answer strong { color: var(--ink); }
.post-leadcta { margin: 1.1rem 0 0; }
.post-toc { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.3rem 1.5rem; margin: 0 0 2.2rem; }
.toc-title { font-family: var(--font-display); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-ink); margin: 0 0 .7rem; }
.post-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.post-toc a { color: var(--ink); text-decoration: none; }
.post-toc a:hover { color: var(--brand-ink); text-decoration: underline; }
.post-body { font-size: 1.1rem; line-height: 1.72; }
.post-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.4rem 0 .9rem; scroll-margin-top: 5rem; }
.post-body h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.post-body p { margin: 0 0 1.15rem; }
/* Blog list text should match the paragraph color (not the muted gray used on service pages).
   .post-body.prose keeps this more specific than the generic .prose list rule so it always wins. */
.post-body.prose ul:not(.prose-points):not(.checklist-items) li { color: var(--ink); }
/* Comparison tables in posts */
.post-body table { width: 100%; border-collapse: collapse; margin: 1.9rem 0; font-size: 1rem; border: 1px solid var(--line); border-radius: 6px; }
/* Every post table is wrapped in .table-wrap > .table-scroll by blog-template.js. The table sizes
   to its own content (never squished) and, when that's wider than the phone, scrolls INSIDE the
   box — the page itself stays locked. Narrow tables still stretch full width via min-width:100%. */
.table-wrap { position: relative; margin: 1.9rem 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.table-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
/* Desktop: the table simply FITS the column and wraps its text — no sideways scroll, because
   there is room. Only below the nav breakpoint does it size to its content and scroll, where
   squeezing 4 columns into a phone would otherwise crush them into unreadable slivers. */
.post-body .table-scroll table { width: 100%; margin: 0; }
.post-body .table-scroll td, .post-body .table-scroll th { white-space: normal; }
@media (max-width: 52rem) {
  .post-body .table-scroll table { width: max-content; min-width: 100%; }
  .post-body .table-scroll td, .post-body .table-scroll th { min-width: 8rem; }
}
/* Right-edge fade + hint — only while there IS more table to the right (main.js adds .has-more).
   The fade sits on the wrap, not the scroller, so it stays pinned instead of scrolling away. */
.table-wrap::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 3rem; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.92)); }
.table-wrap.has-more::after { opacity: 1; }
.table-hint { display: none; margin: .55rem 0 0; font-size: .88rem; font-weight: 600; color: var(--muted); }
.table-wrap.has-more .table-hint { display: block; }
@media (min-width: 52rem) { .table-hint { display: none !important; } }
.post-body thead th { background: var(--ink); color: #fff; text-align: left; padding: .8rem 1rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.post-body tbody th, .post-body tbody td { padding: .8rem 1rem; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink); }
.post-body tbody th { text-align: left; font-weight: 700; }
.post-body tbody tr:nth-child(even) { background: var(--surface); }
.img-credit { font-size: .8rem; color: var(--muted); margin: .5rem 0 0; text-align: right; }
.img-credit a { color: var(--muted); }
.img-credit a:hover { color: var(--brand-ink); }
.post-callout { display: flex; align-items: center; gap: 1.2rem; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, #fff), var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line)); border-left: 4px solid var(--brand); border-radius: 8px; padding: 1.4rem 1.6rem; margin: 1.8rem 0; }
.post-callout .pc-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: var(--brand); margin: 0; flex: 0 0 auto; }
.post-callout .pc-text { margin: 0; color: var(--ink); line-height: 1.45; }
.post-callout .pc-src { display: block; font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.post-cards { display: grid; gap: 1rem; margin: 1.8rem 0; }
@media (min-width: 40rem) { .post-cards { grid-template-columns: repeat(3, 1fr); } }
.pc-card { background: color-mix(in srgb, var(--c, var(--brand)) 5%, #fff); border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 22%, var(--line)); border-radius: 8px; padding: 1.4rem; }
.pc-card .pc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: var(--c, var(--brand)); color: #fff; margin-bottom: .8rem; }
.pc-card .pc-ic svg { width: 22px; height: 22px; }
.pc-card h3 { margin: 0 0 .4rem; font-size: 1.12rem; }
.pc-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.palette-cards { align-items: start; }
.pal-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.pal-strip { display: flex; height: 66px; }
.pal-strip span { flex: 1; }
.pal-body { padding: 1.1rem 1.2rem 1.25rem; }
.pal-body h3 { margin: 0 0 .35rem; font-size: 1.08rem; }
.pal-body p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.checklist { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 50px -32px rgba(21,20,15,.5); padding: 1.5rem 1.6rem; margin: 1.8rem 0 2.2rem; }
.checklist-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.checklist-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin: 0; }
.checklist-print { padding: .55rem 1.1rem; font-size: .95rem; }
.checklist-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.checklist-items label { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem .4rem; border-radius: 8px; cursor: pointer; }
.checklist-items label:hover { background: var(--surface); }
.checklist-items input[type="checkbox"] { width: 1.3rem; height: 1.3rem; margin: .1rem 0 0; accent-color: var(--brand); flex: 0 0 auto; cursor: pointer; }
.checklist-items input:checked + span { text-decoration: line-through; color: var(--muted); }
.checklist-items span { line-height: 1.5; }
/* Fill-in-the-blank variant — a template you PRINT and complete by hand. The rules above assume
   a <label> + checkbox per row; these rows are a prompt plus real ruled writing space. */
.checklist-items.fill { gap: 0; }
.checklist-items.fill li { padding: 1.15rem 0 .35rem; }
.checklist-items.fill .q { display: block; font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.45; margin-bottom: .7rem; }
/* Two ruled lines to write on. */
.checklist-items.fill .lines { display: block; height: 3.9rem;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 1.9rem, var(--line) 1.9rem, var(--line) calc(1.9rem + 1px)); }
.checklist-items.fill .lines.one { height: 2rem; }
.post-hero { margin: 1.9rem 0 0; }
.post-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 26px 55px -30px rgba(21,20,15,.55); }
/* in-body figure with optional credit caption */
.post-figure { margin: 2rem 0; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 44px -28px rgba(21,20,15,.5); }
.post-figure figcaption { margin: .6rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.post-figure figcaption.img-credit { text-align: right; }
.post-takeaways { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px; padding: 1.5rem 1.7rem; margin: 2.4rem 0; }
.post-takeaways h2 { color: var(--ink); margin: 0 0 .8rem; font-size: 1.35rem; }
.post-takeaways ul { margin: 0; }
.post-takeaways strong { color: var(--ink); }
/* In-body CTA banner — bold, image-backed, white text, popping button */
.post-midcta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; border-radius: 8px; padding: 1.9rem 2rem; margin: 2.4rem 0; color: #fff; background: var(--ink); box-shadow: 0 26px 55px -30px rgba(21,20,15,.6); }
.post-midcta::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 130% at 12% 0%, rgba(255,74,46,.5), transparent 60%), linear-gradient(rgba(21,20,15,.72), rgba(21,20,15,.82)), url("/assets/images/kitchen-line.webp") center/cover no-repeat; }
.post-midcta > * { position: relative; z-index: 1; }
.post-midcta .pm-k { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; margin: 0 0 .35rem; letter-spacing: -.02em; }
.post-midcta .pm-t { margin: 0; color: rgba(255,255,255,.88); line-height: 1.5; max-width: 46ch; }
.post-midcta .btn { flex: 0 0 auto; color: #fff; box-shadow: 0 12px 28px -8px rgba(255,74,46,.85); }
.post-midcta .btn:hover { color: #fff; }
.author-box { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem 1.7rem; margin: 2.5rem 0; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: 0 0 auto; }
.author-box .ab-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-ink); font-weight: 700; margin: 0; }
.author-box .ab-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin: .1rem 0 .5rem; }
.author-box .ab-bio { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }
.post-cta { margin: 2.5rem 0; }
.post-cta-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
/* The band now sits MID-ARTICLE, so on a phone it must not swallow the screen — an inline banner
   isn't an "intrusive interstitial" (no SEO penalty), but a huge one interrupts the read. */
@media (max-width: 52rem) {
  .post-cta.cta-band { padding: clamp(1.6rem, 6vw, 2.2rem); }
  .post-cta.cta-band h2 { font-size: clamp(1.45rem, 5.5vw, 1.9rem); }
  .post-cta.cta-band p { font-size: 1.02rem; }
}
.post-related { margin: 2.5rem 0 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.post-related h2 { font-size: 1.3rem; margin: 0 0 .8rem; }
.post-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.post-related a { color: var(--brand-ink); font-weight: 600; text-decoration: none; }
.post-related a:hover { text-decoration: underline; }
@media print {
  body * { visibility: hidden; }
  .checklist, .checklist * { visibility: visible; }
  .checklist { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; padding: 0; margin: 0; }
  .checklist-print { display: none; }
}

/* ============ Resources hub + category archives ============ */
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.2rem; }
.cat-pill { display: inline-flex; align-items: center; padding: .5rem 1rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--cat, var(--line)) 32%, var(--line)); background: color-mix(in srgb, var(--cat, #fff) 12%, #fff); color: color-mix(in srgb, var(--cat, var(--ink)) 70%, #2a281f); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
.cat-pill:hover { border-color: var(--cat, var(--brand)); background: color-mix(in srgb, var(--cat, var(--brand)) 20%, #fff); }
.cat-pill.is-active { background: var(--cat, var(--ink)); color: var(--catink, #fff); border-color: var(--cat, var(--ink)); }
.post-grid { display: grid; gap: 1.4rem; }
@media (min-width: 40rem) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(21,20,15,.05), 0 10px 26px -20px rgba(21,20,15,.30); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 28px 52px -26px rgba(21,20,15,.55); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.pc-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.pc-cat { display: inline-block; align-self: flex-start; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--catink, #fff); background: var(--cat, var(--brand)); padding: .3rem .66rem; border-radius: 999px; margin: 0 0 .7rem; }
.post-card h3 { font-size: 1.18rem; line-height: 1.25; margin: 0 0 .6rem; transition: color .15s ease; }
.post-card:hover h3 { color: var(--brand-ink); }
.pc-ex { color: var(--muted); font-size: .96rem; line-height: 1.5; margin: 0 0 1rem; }
.pc-meta { margin: auto 0 0; color: var(--muted); font-size: .85rem; }
.archive-empty { color: var(--muted); font-size: 1.05rem; }
.cat-pillar { margin: 2rem 0 0; }
.cat-pillar a { color: var(--brand-ink); font-weight: 700; text-decoration: none; }
.cat-pillar a:hover { text-decoration: underline; }

/* Contact page */
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 1rem; }
.contact-email { color: var(--muted); margin: 0; }
.contact-email a { color: var(--brand-ink); font-weight: 600; }
.contact-steps { list-style: none; counter-reset: cs; padding: 0; margin: 0; display: grid; gap: 1.3rem; max-width: 52rem; }
.contact-steps li { counter-increment: cs; display: flex; gap: 1rem; align-items: flex-start; }
.contact-steps li::before { content: counter(cs); flex: 0 0 auto; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; }
.contact-steps h3 { margin: 0 0 .25rem; font-size: 1.12rem; }
.contact-steps p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer-h { font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #87847c; margin: 0 0 1.1rem; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.footer-col a { color: #e7e3da; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-sameas a { color: #ff8367; }
.footer-sameas a:hover { color: #ffa78f; }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: baseline; }
.footer-authority-label { color: #97948c; margin: 0; max-width: 60ch; }
.footer-legal { color: #76736b; margin: 0; }

/* ============ Service landing pages ============ */
/* Hero reuses the home page's .hero / .hero-icons styles (centered, flying-in icons) */

/* Full-width restaurant image bands (break up the sections, with a pull-quote) */
.img-band { position: relative; overflow: hidden; padding-block: 0; min-height: clamp(260px, 40vw, 440px); display: grid; place-items: center; }
.img-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.img-band .band-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(21,20,15,.5), rgba(21,20,15,.66)); }
.band-content { position: relative; z-index: 2; text-align: center; }
.band-quote { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.22; max-width: 24ch; margin: 0 auto; letter-spacing: -.025em; }
.band-quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #ff9d7a; }
.band-quote .mark { background-image: linear-gradient(transparent 52%, rgba(249,170,28,.85) 52%); padding: 0 .1em; }
.band-kicker { color: #ff9d7a; font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: clamp(.82rem, 1.4vw, .98rem); margin: 0 0 1.05rem; }
.band-head { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.9vw, 2.9rem); line-height: 1.13; max-width: 18ch; margin: 0 auto 1.9rem; letter-spacing: -.03em; text-wrap: balance; }
.band-hl { background-image: linear-gradient(transparent 55%, rgba(249,170,28,.9) 55%); padding: 0 .08em; }

/* Intro — big editorial answer (matches the home "answer" section) */
.svc-intro { background: var(--paper); }
.svc-answer { max-width: 60rem; margin: 0 auto; font-family: var(--font-display); font-size: clamp(1.18rem, 2vw, 1.6rem); line-height: 1.42; font-weight: 500; letter-spacing: -.025em; }
.svc-answer a { color: var(--brand-ink); text-decoration: none; box-shadow: inset 0 -.12em 0 rgba(249,170,28,.5); }
.svc-intro-body { max-width: 60rem; margin: 1.9rem auto 0; font-size: 1.1rem; line-height: 1.7; color: #34322c; }
.svc-intro-body p { margin: 0 0 1.05rem; }
.svc-intro-body p:last-child { margin-bottom: 0; }
.svc-intro-body strong { color: var(--ink); }

/* Stats — dark band so the donuts pop */
.svc-stats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.svc-stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(255,74,46,.22), transparent 60%); pointer-events: none; }
.svc-stats .container { position: relative; z-index: 1; }
.svc-stats .kicker { color: #ff9d7a; }
.svc-stats h2, .svc-stats .donut-num { color: #fff; }
.svc-stats .lead { color: rgba(255,255,255,.8); }
.svc-stats .donut-track { stroke: rgba(255,255,255,.14); }
.svc-stats .donut-wrap { width: 190px; height: 190px; }
.svc-stats .donut-num { font-size: 2.8rem; }
.svc-stats .stat-label { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; max-width: 26ch; }
.svc-stats .stat-src { color: rgba(255,255,255,.5); }

/* Value cards — color-accented + hover lift */
.svc-process { background: var(--surface); }
.value-grid > li { transition: transform .2s ease, box-shadow .2s ease; }
.value-grid > li:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 26px 48px -28px rgba(21,20,15,.4); }
.value-grid > li:nth-child(6n+1) { --c: #f4502c; }
.value-grid > li:nth-child(6n+2) { --c: #0e8f84; }
.value-grid > li:nth-child(6n+3) { --c: #c47f00; }
.value-grid > li:nth-child(6n+4) { --c: #5f8a1b; }
.value-grid > li:nth-child(6n+5) { --c: #9a3d97; }
.value-grid > li:nth-child(6n+6) { --c: #4f46e5; }

/* Process — two columns with an animated bar chart */
/* Process: timeline (left) + vertical column chart (right), stretched to the same height */
.process-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: stretch; }
@media (min-width: 56rem) { .process-grid { grid-template-columns: 1.05fr .95fr; } }
.gantt { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 4vw, 2.1rem); box-shadow: 0 14px 34px -24px rgba(21,20,15,.5); display: flex; flex-direction: column; min-height: 320px; }
.gantt-title { margin: 0 0 1.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.gantt-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
/* Timeline with per-phase thumbnails */
.gantt-img { --thumb-w: 132px; }
.gantt-img .gantt-row { display: flex; align-items: center; gap: 1.15rem; }
.gantt-img .gantt-main { flex: 1; min-width: 0; }
.gantt-thumb { flex: 0 0 auto; width: var(--thumb-w, 132px); height: 100px; border-radius: 6px; object-fit: cover; box-shadow: 0 10px 22px -10px rgba(21,20,15,.55); }
/* axis (Sem 1…5) aligns under the bars only, not under the images */
.gantt-img .gantt-axis { padding-left: calc(var(--thumb-w, 132px) + 1.15rem); }
.gantt-label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.gantt-label em { font-style: normal; font-weight: 600; color: var(--muted); }
.gantt-track { position: relative; display: block; height: 26px; background: var(--surface); border-radius: 999px; }
.gantt-bar { position: absolute; top: 0; bottom: 0; left: var(--s); width: calc(var(--e) - var(--s)); background: linear-gradient(90deg, var(--brand), #f9aa1c); border-radius: 999px; }
.gantt-bar.ongoing { background: linear-gradient(90deg, var(--brand), rgba(249,170,28,0)); }
.gantt-axis { display: flex; justify-content: space-between; margin-top: 1.2rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-family: var(--font-display); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  html.js .gantt-bar { width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
  html.js .gantt.in .gantt-bar { width: calc(var(--e) - var(--s)); }
}

/* Pains */
.pain-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .pain-grid { grid-template-columns: 1fr 1fr; } }
.pain-grid > li { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.6rem; box-shadow: 0 1px 2px rgba(21,20,15,.04), 0 14px 30px -24px rgba(21,20,15,.5); }
.pain-grid .pain-ic { color: #fff; }
.pain-grid .pain-ic svg { width: 24px; height: 24px; }
.pain-grid h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.pain-grid p { margin: 0; color: var(--muted); }
.pain-note { margin: 1.75rem auto 0; max-width: 60ch; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--ink); }

/* Animated stat donuts */
.stat-grid { display: grid; gap: 2.5rem; text-align: center; }
@media (min-width: 48rem) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
.stat:nth-child(1) { --accent: #f4502c; }
.stat:nth-child(2) { --accent: #10a89b; }
.stat:nth-child(3) { --accent: #f9aa1c; }
.donut-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto 1.25rem; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-track { fill: none; stroke: var(--line); stroke-width: 2.6; }
.donut-val { fill: none; stroke: var(--accent, var(--brand)); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: var(--val) 100; }
@media (prefers-reduced-motion: no-preference) {
  html.js .donut-val { stroke-dasharray: 0 100; transition: stroke-dasharray 1.5s cubic-bezier(.2,.7,.2,1); }
  html.js .stat.in .donut-val { stroke-dasharray: var(--val) 100; }
}
.donut-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--accent, var(--ink)); letter-spacing: -.02em; }
.stat-label { margin: 0 auto; max-width: 28ch; color: var(--ink); font-size: 1.02rem; line-height: 1.45; }
.stat-src { margin: .6rem 0 0; color: var(--muted); font-size: .82rem; }
.stat-src a { color: inherit; text-decoration: none; }
.stat-src a:hover, .stat-src a:focus-visible { text-decoration: underline; }

/* Value / features */
.value-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
@media (min-width: 48rem) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .value-grid { grid-template-columns: repeat(3, 1fr); } }
.value-grid > li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 2.1rem 2rem; box-shadow: 0 1px 2px rgba(21,20,15,.04); }
.value-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), #ff8a3d); color: #fff; margin-bottom: 1.3rem; box-shadow: 0 14px 26px -12px rgba(255,74,46,.55); }
.value-ic svg { width: 28px; height: 28px; }
.value-grid h3 { margin: 0 0 .5rem; font-size: 1.28rem; }
.value-grid p { margin: 0; color: var(--muted); }
.value-grid a { color: var(--brand-ink); font-weight: 600; }

/* Process */
/* Process = vertical timeline. Each step (except the last) draws a connector down to the next
   badge, so the line always stops at the last number and never overshoots. */
.process-media { margin: 0; border-radius: 8px; overflow: hidden; min-height: 340px; border: 1px solid var(--line); box-shadow: 0 26px 54px -28px rgba(21,20,15,.55); position: sticky; top: 6rem; }
.process-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.4rem; }
.process-steps > li { position: relative; display: flex; gap: 1.4rem; align-items: flex-start; }
.process-steps > li:not(:last-child)::before { content: ""; position: absolute; left: 1.5rem; top: 1.5rem; width: 2px; height: calc(100% + 2.4rem); background: var(--line); }
.process-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 1.5rem; top: 1.5rem; width: 2px; height: calc(100% + 2.4rem); background: linear-gradient(180deg, var(--brand), #f9aa1c); transform: scaleY(1); transform-origin: top; }
.ps-num { position: relative; z-index: 2; flex: 0 0 auto; width: 3rem; height: 3rem; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; box-shadow: 0 12px 26px -10px rgba(255,74,46,.6); }
.process-steps h3 { margin: .35rem 0 .3rem; font-size: 1.25rem; }
.process-steps p { margin: 0; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  html.js .process-steps > li:not(:last-child)::after { transform: scaleY(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  html.js .process-steps > li.in:not(:last-child)::after { transform: scaleY(1); }
}

/* Deep-dive prose */
.svc-deepdive .prose { font-size: 1.08rem; line-height: 1.65; }
.svc-deepdive .prose h3 { margin: 2.2rem 0 .85rem; font-size: clamp(1.3rem, 2.2vw, 1.62rem); }
/* deep-dive points with icons */
.prose-points { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.1rem; }
.prose-points li { padding-left: 0; display: flex; gap: 1rem; align-items: flex-start; }
.prose-points li::before { content: none; }
.prose-points li:nth-child(6n+1) { --c: #f4502c; }
.prose-points li:nth-child(6n+2) { --c: #10a89b; }
.prose-points li:nth-child(6n+3) { --c: #c47f00; }
.prose-points li:nth-child(6n+4) { --c: #5f8a1b; }
.prose-points li:nth-child(6n+5) { --c: #9a3d97; }
.prose-points li:nth-child(6n+6) { --c: #4f46e5; }
.pp-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--c, var(--brand)); color: #fff; display: grid; place-items: center; margin-top: .1rem; box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--c, var(--brand)) 55%, transparent); }
.pp-ic svg { width: 23px; height: 23px; }
.prose-points strong { color: var(--ink); }
/* numbered steps (blog paso-a-paso) — number badge left, content flows normally */
.prose-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1.1rem; }
.prose-steps li { counter-increment: step; position: relative; padding-left: 3.3rem; color: var(--ink); min-height: 2.2rem; padding-top: .1rem; }
.prose-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .98rem; display: grid; place-items: center; box-shadow: 0 8px 16px -7px color-mix(in srgb, var(--brand) 55%, transparent); }
.prose-steps strong { color: var(--ink); }
.prose p { margin: 0 0 1.1rem; color: var(--ink); }
.prose ul:not(.prose-points):not(.checklist-items) { margin: 0 0 1.3rem; padding: 0; list-style: none; display: grid; gap: .85rem; }
.prose ul:not(.prose-points):not(.checklist-items) li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.prose ul:not(.prose-points):not(.checklist-items) li::before { content: ""; position: absolute; left: 0; top: .45em; width: .75rem; height: .75rem; border-radius: 3px; background: var(--brand); }
.prose strong { color: var(--ink); }
.prose a { color: var(--brand-ink); font-weight: 600; }
/* The CTA band now sits INSIDE .post-body.prose, and the prose rules above would repaint it:
   `.prose p` turned its white text dark, and `.prose a` turned both button labels dark red.
   Restore the band's own colours (it sits on a dark photo, so the text must stay white). */
.post-body .cta-band h2 { color: #fff; }
.post-body .cta-band p { color: rgba(255,255,255,.88); }
.post-body .cta-band .btn-primary { color: #fff; }
.post-body .cta-band .btn-ghost { color: var(--ink); }
/* Contained, rounded image inside the deep-dive prose (not full-bleed) */
.prose-figure { margin: .25rem 0 1.9rem; }
.prose-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; box-shadow: 0 24px 50px -28px rgba(21,20,15,.5); }

/* Mid-page CTA — restaurant photo background, dark overlay (no glow) */
.svc-midcta-wrap { padding-top: 0; }
.svc-midcta { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 8px; padding: clamp(2.25rem, 5vw, 3.25rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; box-shadow: 0 26px 55px -30px rgba(21,20,15,.6); }
.svc-midcta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(21,20,15,.82), rgba(21,20,15,.9)), var(--mid-img, none); background-size: cover; background-position: center; }
.svc-midcta > * { position: relative; z-index: 1; }
.svc-midcta h2 { color: #fff; margin: 0 0 .4rem; }
.svc-midcta p { color: rgba(255,255,255,.85); margin: 0; max-width: 52ch; }

/* Founder E-E-A-T */
.founder-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .founder-grid { grid-template-columns: 1.5fr 1fr; align-items: start; } }
.founder-copy p { margin: 0 0 1.1rem; color: var(--muted); font-size: 1.06rem; line-height: 1.65; }
.founder-copy strong { color: var(--ink); }
/* Founder byline — small circular avatar + name/title */
.founder-byline { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.6rem; padding: 0 0 1.4rem; border-bottom: 1px solid var(--line); }
.founder-avatar { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid #fff; box-shadow: 0 10px 24px -12px rgba(21,20,15,.55); }
.founder-byline-text strong { display: block; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink); letter-spacing: -.02em; }
.founder-byline-text span { color: var(--muted); font-size: .95rem; }
.founder-badges { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.founder-badges li:nth-child(1) { --c: #f4502c; }
.founder-badges li:nth-child(2) { --c: #6366f1; }
.founder-badges li:nth-child(3) { --c: #10a89b; }
.founder-badges li:nth-child(4) { --c: #b14fb0; }
.founder-badges a { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1.05rem 1.2rem; text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.founder-badges a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c, var(--brand)) 45%, var(--line)); box-shadow: 0 18px 36px -22px rgba(21,20,15,.5); }
.fb-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 6px; background: var(--c, var(--brand)); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--c, var(--brand)) 55%, transparent); }
.fb-ic svg { width: 24px; height: 24px; }
.fb-text { flex: 1 1 auto; }
.founder-badges strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }
.fb-text span { color: var(--muted); font-size: .9rem; }
.fb-arrow { flex: 0 0 auto; color: var(--muted); transition: transform .18s ease, color .18s ease; }
.fb-arrow svg { width: 17px; height: 17px; transform: rotate(-45deg); }
.founder-badges a:hover .fb-arrow { color: var(--c, var(--brand)); transform: translate(2px, -2px); }

/* Related links in final CTA */
.svc-related { margin-top: 1.5rem; font-size: .95rem; color: rgba(255,255,255,.72); }
.svc-related a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.svc-related a:hover { text-decoration: none; }



/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: 1.6rem; margin: 2.2rem 0 0; }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: 0.82fr 1.18fr; align-items: start; } }
.contact-book { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem 1.7rem; }
.contact-book h2, .contact-form-wrap h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin: 0 0 .7rem; letter-spacing: -.02em; }
.contact-book p { color: var(--muted); margin: 0 0 1.2rem; line-height: 1.55; }
.contact-book .btn { width: 100%; }
.contact-book-note { font-size: .9rem; margin: 1rem 0 0 !important; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.6rem 1.7rem; box-shadow: 0 1px 2px rgba(21,20,15,.05), 0 16px 34px -24px rgba(21,20,15,.32); }
.contact-form .field { margin: 0 0 1rem; }
.contact-form label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 .4rem; }
.contact-form .field-note { font-weight: 400; color: var(--muted); font-size: .82rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .72rem .85rem; border: 1px solid var(--line); border-radius: 6px; font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, #fff); }
.contact-form textarea { resize: vertical; min-height: 6.5rem; }
.contact-form button[type="submit"] { width: 100%; margin-top: .3rem; }
.contact-form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { color: var(--muted); font-size: .88rem; margin: .85rem 0 0; }
.form-status { font-size: .9rem; margin: .7rem 0 0; color: #c0392b; }
.form-status:empty { display: none; }
.form-thanks { padding: .5rem 0 .3rem; }
.form-thanks h3 { font-size: 1.5rem; margin: 0 0 .5rem; color: var(--brand-ink); letter-spacing: -.02em; }
.form-thanks p { color: var(--muted); margin: 0; line-height: 1.55; }


/* ---------- legal pages (privacy / terms / accessibility) ---------- */
.legal { max-width: 46rem; }
.legal .section-head { margin-bottom: 2rem; }
.legal-updated { color: var(--muted); font-size: .92rem; margin: .6rem 0 0; }
.legal-body { color: var(--ink); }
.legal-body h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.02em; margin: 2rem 0 .6rem; }
.legal-body p { line-height: 1.65; margin: 0 0 1rem; }
.legal-body ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-body li { line-height: 1.6; margin: 0 0 .35rem; color: var(--ink); }
.legal-body a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-links { margin: .5rem 0 0; font-size: .88rem; }
.footer-legal-links a { color: inherit; text-decoration: none; opacity: .85; }
.footer-legal-links a:hover { opacity: 1; text-decoration: underline; }
.form-consent { color: var(--muted); font-size: .82rem; margin: .55rem 0 0; }
.form-consent a { color: var(--brand-ink); }

/* --- WhatsApp: floating bubble + green button --- */
.wa-float{position:fixed;right:clamp(1rem,3vw,1.6rem);bottom:clamp(1rem,3vw,1.6rem);z-index:46;width:3.5rem;height:3.5rem;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 14px 30px -8px rgba(37,211,102,.7),0 4px 12px -6px rgba(21,20,15,.4);transition:transform .18s ease}
.wa-float:hover{transform:translateY(-3px) scale(1.04);color:#fff}
.btn-wa{display:inline-flex;align-items:center;gap:.5rem;background:#25d366;color:#fff;border-color:#25d366}
.btn-wa:hover{background:#1fbe5b;border-color:#1fbe5b;color:#fff}
.btn-wa svg{width:1.25em;height:1.25em;flex:none}
