/* Prime Advo - main stylesheet. Light theme only. */
:root {
  --white: #FFFFFF;
  --cream: #F8F5F1;
  --coffee: #4A2F22;
  --coffee-soft: #6B4A38;
  --forest: #1E3D2F;
  --ink: #221C18;
  --muted: #7A6E66;
  --line: #E7E0D8;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad-section: 64px;
  --gutter: 20px;
}
@media (min-width: 900px) { :root { --pad-section: 96px; --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--coffee); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coffee-soft); margin-bottom: 20px; display: block; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--coffee); color: var(--cream); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--pad-section) 0; }
.bg-cream { background: var(--cream); }
.bg-forest { background: var(--forest); color: var(--cream); }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 4px; font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer; border: 1.5px solid var(--coffee);
  background: var(--coffee); color: var(--cream); transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--coffee-soft); border-color: var(--coffee-soft); }
.btn-outline { background: transparent; color: var(--coffee); }
.btn-outline:hover { background: var(--coffee); color: var(--cream); border-color: var(--coffee); }
.btn-light { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-light:hover { background: var(--white); border-color: var(--white); }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--coffee); border-bottom: 1px solid transparent; transition: gap .25s, border-color .25s; }
.link-arrow:hover { gap: 14px; border-color: var(--coffee); }
.link-arrow svg { width: 18px; height: 18px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement bar */
.announce { background: var(--forest); color: var(--cream); font-size: .85rem; text-align: center; padding: 8px var(--gutter); line-height: 1.4; }

/* Navbar */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(34, 28, 24, .06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand-text { display: none; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--coffee); letter-spacing: -0.02em; }
.brand.no-logo .brand-text { display: inline; }
.footer .brand-text { color: var(--white); }
.nav-links { display: none; gap: 32px; }
.nav-links a { font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 1.5px solid transparent; transition: border-color .25s, color .25s; }
.nav-links a:hover { color: var(--coffee-soft); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--coffee); }
.nav-cta { display: none; padding: 12px 22px; font-size: .9rem; }
.menu-btn { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--coffee); display: inline-flex; align-items: center; justify-content: center; }
.menu-btn svg { width: 26px; height: 26px; }
@media (min-width: 960px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); height: 100vh; height: 100dvh; background: var(--white);
  z-index: 150; padding: 24px; transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
  display: flex; flex-direction: column; border-left: 1px solid var(--line);
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu .close-btn { align-self: flex-end; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--coffee); }
.mobile-menu nav { margin: 24px 0; }
.mobile-menu nav a { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--coffee); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { text-align: center; margin-top: auto; }
.scrim { position: fixed; inset: 0; background: rgba(34, 28, 24, .35); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* Hero */
.hero { padding: 48px 0 var(--pad-section); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 72px; } .hero { padding-top: 80px; } }
.hero p.lead { margin-top: 24px; }
.photo { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 4 / 5; }
.float-card { position: absolute; left: 16px; bottom: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 20px; display: flex; gap: 22px; }
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--coffee); line-height: 1.1; font-weight: 600; }
.float-card span { font-size: .8rem; color: var(--muted); }
.trust-row { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px 32px; grid-template-columns: 1fr 1fr; font-size: .9rem; font-weight: 600; color: var(--coffee-soft); }
@media (min-width: 900px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }
.trust-row li { display: flex; align-items: center; gap: 10px; }
.trust-row svg { width: 18px; height: 18px; flex: none; color: var(--forest); }

/* Marquee */
.marquee-wrap { overflow: hidden; margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; }
.marquee { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--coffee); padding: 0 40px; white-space: nowrap; font-weight: 500; }
.marquee span::after { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--line); border-radius: 50%; margin-left: 80px; vertical-align: middle; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Statement */
.statement { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.75rem); line-height: 1.25; color: var(--coffee); max-width: 1000px; letter-spacing: -0.015em; }

/* Numbered services */
.sec-head { display: grid; gap: 16px; margin-bottom: 48px; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.num-list { border-top: 1px solid var(--line); }
.num-row { display: grid; gap: 8px; padding: 32px 0; border-bottom: 1px solid var(--line); transition: background .25s, padding .25s; align-items: start; }
.num-row .n { font-family: var(--font-head); font-size: 1.1rem; color: var(--muted); }
.num-row h3 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.num-row p { margin: 0; color: var(--muted); max-width: 520px; }
.num-row .link-arrow { margin-top: 8px; }
@media (min-width: 900px) {
  .num-row { grid-template-columns: 80px 1.1fr 1.2fr 60px; gap: 32px; align-items: center; }
  .num-row .link-arrow { margin: 0; justify-self: end; }
  .num-row:hover { padding-left: 12px; }
}

/* Stats */
.stats { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 1px solid rgba(248, 245, 241, .25); padding-left: 20px; }
.stat .big { font-family: var(--font-head); font-size: clamp(2.5rem, 5vw, 4rem); color: var(--white); line-height: 1; font-weight: 500; }
.stat p { margin: 10px 0 0; font-size: .95rem; color: rgba(248, 245, 241, .8); }

/* Process */
.timeline { display: grid; gap: 0; position: relative; }
.step { padding: 0 0 36px 36px; border-left: 1px solid var(--coffee-soft); position: relative; }
.step::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--coffee); }
.step .n { font-family: var(--font-head); color: var(--muted); font-size: 1rem; }
.step h3 { margin: 4px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--coffee-soft); padding-top: 0; }
  .step { border-left: 0; padding: 36px 0 0; }
  .step::before { left: 0; top: -5px; }
}

/* Split */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split.rev .split-media { order: -1; } }
.split-media { aspect-ratio: 4 / 3; }
.points { display: grid; gap: 22px; margin-top: 32px; }
.points li { border-left: 2px solid var(--coffee); padding-left: 20px; }
.points strong { color: var(--coffee); }

/* Cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 28px; transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--coffee-soft); }
.bg-cream .card { background: var(--white); }
.mini-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
.mini-grid .price { font-family: var(--font-head); font-size: 2rem; color: var(--coffee); font-weight: 600; line-height: 1.1; margin: 8px 0 12px; }
.mini-grid p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Testimonials */
.quotes { display: grid; gap: 40px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.quote { border-top: 1px solid var(--line); padding-top: 24px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.4; color: var(--coffee); }
.quote cite { font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 600; }

/* Accordion */
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 24px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-head); font-size: 1.3rem; color: var(--coffee); font-weight: 500; line-height: 1.3; }
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .3s; }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 24px; color: var(--muted); max-width: 720px; }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }

/* CTA */
.cta { text-align: center; }
.cta h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta p { max-width: 560px; margin: 0 auto 8px; color: rgba(248, 245, 241, .85); }
.cta .btn-group { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 920px; font-size: clamp(2.4rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .page-hero { padding: 96px 0 64px; } }

/* About */
.panels { display: grid; gap: 20px; }
@media (min-width: 800px) { .panels { grid-template-columns: 1fr 1fr; } }
.panel { padding: 40px 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--cream); }
.panel.dark { background: var(--coffee); color: var(--cream); border-color: var(--coffee); }
.panel.dark h3 { color: var(--white); }
.panel h3 { font-size: 1.8rem; }
.values { border-top: 1px solid var(--line); }
.value { display: grid; gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.value h3 { margin: 0; }
.value p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .value { grid-template-columns: 80px 1fr 1.4fr; gap: 32px; align-items: baseline; } }
.value .n { font-family: var(--font-head); color: var(--muted); }
.founder-photo { aspect-ratio: 4 / 5; max-width: 440px; display: flex; align-items: center; justify-content: center; }
.initials { width: 72px; height: 72px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.4rem; color: var(--coffee); font-weight: 600; }
.founder-photo .initials { width: 140px; height: 140px; font-size: 3rem; background: var(--white); }
.team-grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; margin-top: 40px; }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member .initials { margin-bottom: 14px; }
.bg-cream .member .initials { background: var(--white); }
.section:not(.bg-cream) .member .initials { background: var(--cream); }
.member h3 { font-size: 1.1rem; margin: 0 0 2px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.member p { margin: 0; font-size: .9rem; color: var(--muted); }
.brand-rows { border-top: 1px solid var(--line); margin-top: 40px; }
.brand-row { display: grid; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.brand-row h3 { margin: 0; font-size: 1.7rem; }
.brand-row .ind { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brand-row p { margin: 0; color: var(--muted); }
.brand-row .res { color: var(--forest); font-weight: 600; }
@media (min-width: 900px) { .brand-row { grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; align-items: start; } }
.badge { display: inline-flex; flex-direction: column; gap: 4px; background: var(--forest); color: var(--cream); padding: 28px 32px; border-radius: 8px; max-width: 720px; }
.badge strong { font-family: var(--font-head); font-size: 1.4rem; font-weight: 500; color: var(--white); line-height: 1.3; }
.badge span { font-size: .95rem; color: rgba(248, 245, 241, .8); }

/* Services page */
.svc-row { display: grid; gap: 32px; padding: 56px 0; border-bottom: 1px solid var(--line); align-items: center; scroll-margin-top: 90px; }
.svc-row:first-child { padding-top: 0; }
@media (min-width: 900px) { .svc-row { grid-template-columns: 1fr 1fr; gap: 72px; } .svc-row.rev .photo { order: 2; } }
.svc-row .photo { aspect-ratio: 4 / 3; }
.svc-row .n { font-family: var(--font-head); color: var(--muted); }
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .96rem; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--forest); }
.pricing { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 700px) { .pricing { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pricing { grid-template-columns: repeat(4, 1fr); } }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 32px 26px; position: relative; transition: transform .3s; }
.plan:hover { transform: translateY(-4px); }
.plan h3 { margin: 0 0 6px; font-size: 1.5rem; }
.plan .amt { font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: var(--coffee); line-height: 1.1; margin: 10px 0 2px; }
.plan .per { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.plan .desc { font-size: .95rem; color: var(--muted); }
.plan ul { margin: 12px 0 28px; display: grid; gap: 9px; font-size: .93rem; border-top: 1px solid var(--line); padding-top: 18px; flex: 1; }
.plan ul li { display: flex; gap: 10px; }
.plan ul svg { width: 16px; height: 16px; flex: none; margin-top: 5px; color: var(--forest); }
.plan .btn { text-align: center; }
.plan.featured { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.plan.featured h3, .plan.featured .amt { color: var(--white); }
.plan.featured .per, .plan.featured .desc { color: rgba(248, 245, 241, .75); }
.plan.featured ul { border-color: rgba(248, 245, 241, .25); }
.plan.featured ul svg { color: var(--cream); }
.plan.featured .btn { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.plan.featured .btn:hover { background: var(--white); }
.tag { position: absolute; top: -12px; left: 26px; background: var(--cream); color: var(--forest); border: 1px solid var(--forest); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; margin-top: 28px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .97rem; }
th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
tr:last-child td { border-bottom: 0; }
td:last-child { font-weight: 700; color: var(--coffee); white-space: nowrap; }

/* Blog */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.chip { background: var(--white); border: 1px solid var(--line); border-radius: 100px; padding: 8px 20px; font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--coffee); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--coffee); }
.chip[aria-pressed="true"] { background: var(--coffee); color: var(--cream); border-color: var(--coffee); }
.post-grid { display: grid; gap: 40px 28px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-card { display: block; }
.post-card .photo { aspect-ratio: 3 / 2; margin-bottom: 18px; }
.post-card .photo img { transition: transform .5s; }
.post-card:hover .photo img { transform: scale(1.03); }
.post-card h3 { font-size: 1.45rem; margin: 8px 0; }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); font-weight: 600; align-items: center; }
.meta .cat { color: var(--forest); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 700; }
.post-card.feature { grid-column: 1 / -1; display: grid; gap: 28px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .post-card.feature { grid-template-columns: 1.3fr 1fr; gap: 56px; } .post-card.feature h3 { font-size: 2.4rem; } .post-card.feature .photo { margin: 0; } }
.post-card.feature p { font-size: 1.05rem; }
.article { max-width: 720px; margin: 0 auto; padding: 56px var(--gutter) 24px; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 14px 0 20px; }
.article .photo { aspect-ratio: 16 / 9; margin: 32px 0; }
.article .body p { font-size: 1.1rem; line-height: 1.8; }
.cta-box { background: var(--forest); color: var(--cream); border-radius: 8px; padding: 36px 32px; margin: 48px 0; }
.cta-box h3 { color: var(--white); font-size: 1.7rem; }
.cta-box p { color: rgba(248, 245, 241, .85); }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 72px; align-items: start; } }
.form { display: grid; gap: 22px; }
.row-2 { display: grid; gap: 22px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: var(--coffee); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); transition: border-color .25s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coffee); box-shadow: 0 0 0 3px rgba(74, 47, 34, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #A4372B; }
.err { color: #A4372B; font-size: .85rem; margin-top: 6px; display: none; font-weight: 600; }
.field.invalid .err { display: block; }
.form-success { display: none; background: var(--cream); border: 1px solid var(--forest); border-left-width: 4px; border-radius: 4px; padding: 28px; }
.form-success.show { display: block; }
.form-success h3 { color: var(--forest); }
.form-success p { margin: 0; }
.details { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px; }
.details dl { margin: 0; display: grid; gap: 18px; }
.details dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
.details a:hover { color: var(--coffee-soft); text-decoration: underline; }
.map { margin-top: 56px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; filter: grayscale(1); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }
.next { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 800px) { .next { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.next .step { padding-bottom: 0; }

/* Legal */
.legal { max-width: 760px; padding: 56px var(--gutter) 96px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1.1em; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; color: var(--coffee); }

/* Footer */
.footer { background: var(--coffee); color: var(--cream); padding: 72px 0 0; }
.footer a { color: rgba(248, 245, 241, .82); transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 48px; } }
.footer h4 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(248, 245, 241, .6); margin-bottom: 18px; font-weight: 700; }
.footer ul { display: grid; gap: 10px; font-size: .95rem; }
.footer p { font-size: .95rem; color: rgba(248, 245, 241, .8); }
.footer .brand img { height: 50px; width: auto; }
.social { display: flex; gap: 14px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(248, 245, 241, .3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.social a:hover { background: rgba(248, 245, 241, .12); border-color: var(--cream); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(248, 245, 241, .18); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .83rem; color: rgba(248, 245, 241, .7); }

/* WhatsApp */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--forest); color: var(--white); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 4px 16px rgba(30, 61, 47, .3); transition: transform .25s, background .25s; }
.wa:hover { transform: translateY(-3px); background: #17301F; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


/* ================= Polish and responsive refinements ================= */
html { overflow-x: clip; }
body { overflow-x: clip; text-rendering: optimizeLegibility; }
::selection { background: var(--coffee); color: var(--cream); }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.brand { flex: none; }
.brand img { object-fit: contain; }
body.menu-open { overflow: hidden; }

/* Image treatment and graceful fallback if a remote photo fails */
.photo { box-shadow: 0 1px 0 rgba(34,28,24,.03), 0 18px 40px -24px rgba(34,28,24,.28); }
.photo img { transition: transform .8s ease; }
.photo.img-fail { background: linear-gradient(135deg, var(--cream), #EFE7DD); min-height: 220px; }
.photo.img-fail img { display: none; }
.hero-photo::after, .split-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }
.float-card { box-shadow: 0 14px 30px -16px rgba(34,28,24,.35); }

/* Typography fine-tuning */
.lead { line-height: 1.65; }
.label { color: var(--forest); }
.article .body h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 1.8em 0 .5em; }
.article .body ul { list-style: disc; padding-left: 22px; margin: 0 0 1.3em; font-size: 1.1rem; line-height: 1.8; }
.article .body li { margin-bottom: 6px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: var(--coffee-soft); }
.back-link:hover { color: var(--coffee); }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }
.related { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 40px; }
.related h2 { font-size: 1.6rem; margin-bottom: 24px; }
.related .post-grid { gap: 32px 24px; }
.article-wrap { padding-bottom: 72px; }
.cta-box .btn { margin-top: 8px; }

/* Buttons: comfortable tap targets */
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.btn:active { transform: translateY(1px); }
.plan .btn, .mobile-menu .btn { display: flex; }
.chip { min-height: 40px; }
.faq-q { min-height: 56px; }

/* Footer */
.footer .brand { margin-bottom: 4px; }
.footer-bottom span:last-child { margin-left: auto; }

/* Phones and small tablets */
@media (max-width: 959px) {
  .nav { height: 64px; }
  .brand img { height: 38px; }
  .mobile-menu nav a:active { background: var(--cream); }
}
@media (max-width: 699px) {
  body { font-size: 16.5px; line-height: 1.65; }
  h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); line-height: 1.06; }
  h2 { font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
  .announce { font-size: .78rem; padding: 7px var(--gutter); }
  .hero { padding-top: 32px; }
  .hero-grid { gap: 36px; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .float-card { left: 12px; right: 12px; bottom: 12px; justify-content: space-around; gap: 12px; padding: 12px 14px; }
  .float-card strong { font-size: 1.35rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; }
  .trust-row { margin-top: 44px; font-size: .85rem; }
  .marquee-wrap { padding: 20px 0; }
  .marquee span::after { margin-left: 40px; }
  .num-row { padding: 26px 0; }
  .stat { padding-left: 14px; }
  .panel { padding: 30px 22px; }
  .brand-row { padding: 26px 0; }
  .page-hero { padding: 44px 0 32px; }
  .svc-row { padding: 40px 0; gap: 24px; }
  .plan { padding: 28px 22px; }
  .plan.featured { margin-top: 10px; }
  .faq-q { font-size: 1.12rem; padding: 20px 0; }
  .quote blockquote { font-size: 1.2rem; }
  .cta-box { padding: 28px 22px; }
  .details { padding: 26px 20px; }
  .map iframe { height: 260px; }
  .legal { padding-top: 40px; padding-bottom: 64px; }
  .article { padding-top: 40px; }
  .footer { padding-top: 56px; }
  .footer-grid { gap: 32px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom span:last-child { margin-left: 0; }
  .wa { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; }
  .table-wrap { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; }
  th, td { padding: 14px 16px; }
}
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .brand img { height: 34px; }
  .trust-row { grid-template-columns: 1fr; }
  .stats { gap: 32px 16px; }
}
@media (min-width: 700px) and (max-width: 959px) {
  .hero-photo { aspect-ratio: 16 / 10; }
}
@supports (padding: max(0px)) {
  .footer-bottom { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
}
@media print { .announce, .site-header, .wa, .scrim, .mobile-menu { display: none !important; } }
[hidden] { display: none !important; }
.post-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-card { min-width: 0; }
.photo.img-fail { min-height: 0; }
.nav-cta { display: none; }
@media (min-width: 960px) { .nav-cta { display: inline-flex; } }
