/* stellas.digital — shared styles, matched to the existing stellas.digital brand:
   white ground, Roboto, sky-blue headings, green pill buttons, logo steel-blue for small text and links.
   Single light theme, as on the current site. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F3F9FC;          /* light sky tint for alternating bands */
  --ink: #333333;           /* brand body text */
  --muted: #6F6F6F;         /* brand grey, a touch darker for readability */
  --line: #E3ECF2;
  --heading: #3D779C;       /* logo steel blue, headings */
  --sky: #6EC1E4;           /* brand sky blue, decorative only */
  --green: #3FA652;         /* brand green, deepened, for check marks */
  --accent: #3D779C;        /* logo steel blue, links and small labels */
  --accent-hover: #2E5F80;
  --accent-ink: #FFFFFF;
  --accent-soft: #EAF5FB;
  --star: #3D779C;          /* buttons use the logo blue */
  --star-hover: #2E5F80;
  --star-ink: #FFFFFF;
  --dark: #33373D;          /* brand charcoal */
  --chat-bg: #EFEAE2;
  --bubble-in: #FFFFFF;
  --bubble-out: #D9FDD3;

  --font-display: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius: 16px;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1, h2 { color: var(--heading); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 500; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow { font-size: 1.15rem; font-weight: 600; text-transform: lowercase; color: var(--heading); }
.num { font-variant-numeric: tabular-nums; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.brand img { height: 44px; width: auto; display: block; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .dot { color: var(--accent); }
.brand svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8rem; font-weight: 700; }
.lang-switch a, .lang-switch span { min-width: 38px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang-switch span { background: var(--accent-soft); color: var(--accent); }
.lang-switch a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 60px; font-weight: 500; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--star); color: var(--star-ink); }
.btn-primary:hover { background: var(--star-hover); color: var(--star-ink); }
.btn-ghost { border-color: var(--star); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-star { background: var(--star); color: var(--star-ink); }
.btn-star:hover { background: var(--star-hover); color: var(--star-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nav-links .btn { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

/* Sections */
section { padding-block: 88px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 720px; }
.band { background: var(--soft); border-block: 1px solid var(--line); }
.hl { text-decoration: underline; text-decoration-color: var(--sky); text-decoration-thickness: .12em; text-underline-offset: .12em; }

/* Hero */
.hero { padding-block: 72px 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.pill { align-self: flex-start; font-size: 0.85rem; font-weight: 500; background: var(--accent-soft); color: var(--accent); padding: 7px 14px; border-radius: 999px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--muted); }
.trust span::before { content: "✓ "; color: var(--green); font-weight: 700; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* WhatsApp demo */
.chat { background: var(--chat-bg); border-radius: 24px; border: 1px solid var(--line); overflow: hidden; max-width: 420px; width: 100%; justify-self: center; box-shadow: 0 24px 60px -30px rgba(30, 80, 110, .35); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.chat-top strong { display: block; font-size: .95rem; }
.chat-top small { color: var(--muted); font-size: .78rem; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; font-size: .92rem; line-height: 1.45; }
.bubble { max-width: 84%; padding: 9px 13px 7px; border-radius: 14px; background: var(--bubble-in); color: var(--ink); }
.bubble.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.bubble.in { align-self: flex-start; border-top-left-radius: 4px; }
.bubble time { display: block; text-align: right; font-size: .7rem; color: var(--muted); margin-top: 2px; }
.chat-note { text-align: center; font-size: .75rem; color: var(--muted); padding: 0 18px 16px; }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.service { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--sky); min-width: 0; }
.service .price-from { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--accent); }
.icon { width: 40px; height: 40px; color: var(--accent); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.plan.featured { border: 2px solid var(--star); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--star); color: var(--star-ink); font-size: .78rem; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.plan-head { display: flex; flex-direction: column; gap: 6px; }
.plan-head p { color: var(--muted); font-size: .95rem; }
.price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price small { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-sub { font-size: .9rem; color: var(--muted); }
.plan .btn { margin-top: auto; }
ul.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
ul.checks li { position: relative; padding-left: 28px; font-size: .96rem; line-height: 1.45; }
ul.checks li::before { content: ""; position: absolute; left: 5px; top: 4px; width: 6px; height: 11px; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.plan-group + .plan-group { margin-top: 72px; }
.plan-group-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 36px; }
.plan-group-head p { max-width: 42ch; color: var(--muted); font-size: .96rem; }

.care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 700px) { .care { grid-template-columns: minmax(0, 1fr); } }
.care-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.care-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.care-top strong { font-size: 1.15rem; }
.care-top span { font-weight: 700; font-variant-numeric: tabular-nums; }

.bundle { margin-top: 20px; background: var(--dark); color: #FFFFFF; border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.bundle .eyebrow { color: var(--sky); }
.bundle h2 { color: #FFFFFF; }
.bundle .price { color: #FFFFFF; }
.bundle p { color: #D5DCE2; }
.bundle .price small { color: #C3CCD4; }
@media (max-width: 800px) { .bundle { grid-template-columns: minmax(0, 1fr); } }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .day { font-size: .82rem; font-weight: 700; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 65ch; }

/* Work */
.demo { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.demo-frame { aspect-ratio: 16 / 10; max-width: 100%; background: var(--accent-soft); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; gap: 6px; border-bottom: 1px solid var(--line); }
.demo-frame .tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--surface); color: var(--muted); padding: 5px 10px; border-radius: 999px; }
.demo-frame strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--accent); }
.demo-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); background: var(--accent-soft); display: grid; place-items: center; color: var(--heading); font-family: var(--font-display); font-size: 5rem; font-weight: 600; }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 65ch; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 800px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: .9rem; }
.contact-list strong { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.wa-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }

/* CTA + footer */
.cta { background: var(--accent); color: #FFFFFF; border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta h2 { color: #FFFFFF; }
.cta .btn-star { background: #FFFFFF; color: var(--accent); }
.cta .btn-star:hover { background: var(--accent-soft); color: var(--accent-hover); }
.cta p { opacity: .9; max-width: 52ch; margin-top: 12px; }
@media (max-width: 600px) { .cta { padding: 36px 24px; } }
.site-footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid h4 { margin: 0 0 12px; color: var(--heading); font-size: 1.05rem; font-weight: 600; text-transform: lowercase; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.page-head { padding-block: 72px 24px; display: flex; flex-direction: column; gap: 18px; }

/* Recent clients strip (home) */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-block: 28px 36px; border-top: 1px solid var(--line); }
.clients-label { font-size: .9rem; color: var(--muted); }
.clients a { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.clients a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Case studies (work) */
.cases { display: flex; flex-direction: column; gap: 32px; }
.case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); scroll-margin-top: 96px; }
.case-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.case-head .tag { font-size: .85rem; font-weight: 500; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 60px; }
.case-link { font-weight: 500; color: var(--accent); text-decoration: none; }
.case-link:hover { text-decoration: underline; }
.case-body { padding: 28px 32px 32px; display: flex; flex-direction: column; gap: 24px; }
.case-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
.case-cols h3 { margin-bottom: 12px; }
.case-side { display: flex; flex-direction: column; gap: 24px; }
.case-note { margin-top: 10px; font-size: .92rem; color: var(--muted); padding: 10px 14px; background: var(--soft); border-radius: 10px; }
@media (max-width: 800px) {
  .case-cols { grid-template-columns: minmax(0, 1fr); }
  .case-head, .case-body { padding-inline: 20px; }
}

/* Case study screenshots */
.case-shot { margin: 0; padding: 24px 32px 0; background: var(--soft); }
.case-shot .browser-bar { display: flex; align-items: center; gap: 6px; background: #E8EEF2; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; padding: 8px 12px; }
.case-shot .browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #C9D3DA; }
.case-shot .browser-bar em { font-style: normal; font-size: .8rem; color: var(--muted); margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-shot img { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); border-top: 0; }
.case-head { border-bottom: 0; }
@media (max-width: 800px) { .case-shot { padding-inline: 16px; } }

/* Stellas assistant (floating chat) */
.sa-fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px -8px rgba(30, 80, 110, .55); }
.sa-fab:hover { background: var(--accent-hover); }
.sa-fab:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.sa-dot { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: #D64545; color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; border: 2px solid #fff; }
.sa-panel { position: fixed; right: 20px; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 370px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 140px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(30, 60, 90, .45); display: flex; flex-direction: column; overflow: hidden; }
.sa-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--accent); color: #fff; }
.sa-avatar { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-weight: 700; flex: none; }
.sa-title { flex: 1; min-width: 0; }
.sa-title strong { display: block; font-size: .98rem; }
.sa-title small { opacity: .88; font-size: .78rem; }
.sa-close { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.sa-close:hover { background: rgba(255,255,255,.15); }
.sa-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.sa-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .93rem; line-height: 1.45; }
.sa-msg p { margin: 0; }
.sa-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--ink); }
.sa-msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-top-right-radius: 4px; }
.sa-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sa-links a { font-size: .85rem; font-weight: 500; color: var(--accent); background: var(--accent-soft); padding: 6px 12px; border-radius: 60px; text-decoration: none; }
.sa-links a.sa-wa { background: #1F8F4E; color: #fff; }
.sa-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface); }
.sa-chips button { flex: none; font: inherit; font-size: .83rem; padding: 7px 12px; border-radius: 60px; border: 1px solid var(--accent); background: transparent; color: var(--accent); cursor: pointer; white-space: nowrap; }
.sa-chips button:hover { background: var(--accent-soft); }
.sa-form { display: flex; gap: 8px; padding: 10px 12px 12px; background: var(--surface); }
.sa-form input { flex: 1; min-width: 0; font: inherit; font-size: .95rem; padding: 10px 14px; border: 1px solid var(--line); border-radius: 60px; background: var(--bg); color: var(--ink); min-height: 44px; }
.sa-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.sa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 480px) {
  .sa-panel { right: 8px; left: 8px; width: auto; max-width: none; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); height: calc(100vh - 120px); }
  .sa-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

/* CTA refinements (contrast, weight, size, icon, states) */
.btn { font-weight: 600; letter-spacing: .01em; min-height: 48px; padding: 0 26px; }
.btn-primary, .nav-links .btn-primary, .nav-links .btn-primary:hover { color: #FFFFFF; }
.btn-primary { box-shadow: 0 6px 16px -8px rgba(30, 80, 110, .6); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.nav-links .btn { min-height: 48px; padding: 0 22px; font-size: .95rem; }
a.btn[href^="https://wa.me"]::before {
  content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 0 1-11.7 7.1L4 20l1-4.1A8 8 0 1 1 20 12z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 0 1-11.7 7.1L4 20l1-4.1A8 8 0 1 1 20 12z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) { .btn-primary:hover { transform: none; } }

/* keep hidden chat parts hidden (class display rules would otherwise win) */
.sa-panel[hidden], .sa-dot[hidden] { display: none; }

/* About photo */
img.portrait { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; background: var(--accent-soft); }

/* Care yearly option */
.care-yearly { margin: -6px 0 0; font-size: .9rem; color: var(--muted); }

/* Keep plan prices on one line in three-column cards */
.plan .price { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
