/* Simply Health Corp — site styles
   Palette: agave (deep green) for structure, bugambilia (magenta) for action, maíz (sun yellow) for highlights,
   cal (cool whitewash) for the page. Type: Bricolage Grotesque for display, Atkinson Hyperlegible for reading. */

:root {
  --agave: #0F4C45;
  --agave-2: #16645A;
  --agave-3: #0A3631;
  --bug: #C92A62;
  --bug-2: #A81F50;
  --bug-soft: #FBE4EC;
  --maiz: #F4C542;
  --maiz-soft: #FDF3D3;
  --cal: #F5F8F6;
  --cielo: #E2EFEC;
  --paper: #FFFFFF;
  --ink: #10221E;
  --muted: #4E615C;
  --line: #D3DFDB;
  --line-2: #E6EEEB;

  --f-d: 'Bricolage Grotesque', 'Trebuchet MS', sans-serif;
  --f-b: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;

  --r-s: 8px;
  --r-m: 14px;
  --r-l: 26px;
  --shadow: 0 1px 2px rgba(16, 34, 30, .06), 0 10px 30px -12px rgba(15, 76, 69, .22);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--cal); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-b); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--agave-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bug); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-d); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--maiz); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; color: #fff; }
main:focus { outline: none; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-b); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn-p { background: var(--bug); color: #fff; box-shadow: 0 8px 20px -10px rgba(201, 42, 98, .8); }
.btn-p:hover { background: var(--bug-2); color: #fff; transform: translateY(-2px); }
.btn-o { border-color: var(--agave); color: var(--agave); background: transparent; }
.btn-o:hover { background: var(--agave); color: #fff; }
.btn-g { background: var(--agave); color: #fff; }
.btn-g:hover { background: var(--agave-3); color: #fff; }
.btn-ghost-l { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-l:hover { background: #fff; color: var(--agave); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
.btn-full { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { font-weight: 700; color: var(--agave-2); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.link:hover { background-size: 100% 2px; color: var(--bug); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .mark { width: 40px; height: 40px; }
.mk-a { fill: var(--agave); } .mk-b { fill: var(--bug); } .mk-c { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo-t { display: flex; flex-direction: column; line-height: 1; }
.logo-t b { font: 800 1.25rem/1 var(--f-d); letter-spacing: -.03em; }
.logo-t small { font: 600 .72rem/1 var(--f-b); letter-spacing: .08em; color: var(--muted); margin-top: 3px; }
.logo--light { color: #fff; } .logo--light .mk-a { fill: #fff; } .logo--light .mk-c { stroke: var(--agave); } .logo--light .mk-b + .mk-c { stroke: #fff; } .logo--light small { color: rgba(255, 255, 255, .7); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 248, 246, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(15, 76, 69, .6); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.nav-main { flex: 1; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-links > li > a, .dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 999px; border: 0; background: none; font-weight: 700; font-size: .98rem; color: var(--ink); text-decoration: none; cursor: pointer; }
.nav-links > li > a:hover, .dd-btn:hover, .dd.open .dd-btn { background: var(--cielo); color: var(--agave); }
.nav-links a[aria-current="page"], .dd.is-here .dd-btn { color: var(--agave); box-shadow: inset 0 -2px 0 var(--bug); border-radius: 0; }
.dd-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd { position: relative; }
.dd-menu { position: absolute; left: -8px; top: calc(100% + 8px); min-width: 280px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.dd-menu--wide { min-width: 360px; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); }
.dd-menu a b { display: block; font-weight: 700; }
.dd-menu a span { display: block; font-size: .88rem; color: var(--muted); }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--cielo); color: var(--agave); }
.nav-agents { color: var(--agave-2) !important; }
.nav-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--agave); border: 1.5px solid var(--line); background: var(--paper); font-size: .92rem; }
.lang:hover { border-color: var(--agave); color: var(--agave); }
.lang .ic { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 16px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav-main { position: fixed; inset: 76px 0 0; background: var(--cal); padding: 16px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden; }
  .nav-main.open { transform: none; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li > a, .dd-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav-links > li > a:hover, .dd-btn:hover, .dd.open .dd-btn { background: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; min-width: 0; background: transparent; }
  .dd.open .dd-menu { display: block; }
  .nav-act .btn-sm { display: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) { .lang span { display: none; } .lang { padding: 11px; } .logo-t b { font-size: 1.1rem; } }

/* Sections */
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec--tight { padding: clamp(44px, 6vw, 72px) 0; }
.sec--paper { background: var(--paper); }
.sec--mint { background: var(--cielo); }
.sec--dark { background: var(--agave); color: #EAF3F1; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark a { color: var(--maiz); }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.sec--dark .sec-head p { color: rgba(234, 243, 241, .8); }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .98rem; background: var(--paper); border-radius: var(--r-m); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.prose th { background: var(--cielo); font-family: var(--f-d); font-weight: 700; }
.prose .note, .note { background: var(--maiz-soft); border: 1px solid #EED992; padding: 16px 18px; border-radius: var(--r-m); margin: 1.4em 0; }
.prose .note p:last-child { margin: 0; }
.fine { font-size: .88rem; color: var(--muted); }

/* ===== Home hero ===== */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; background: radial-gradient(closest-side, rgba(244, 197, 66, .28), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .hl { display: inline; background: linear-gradient(transparent 62%, var(--maiz) 62%, var(--maiz) 92%, transparent 92%) no-repeat 0 0 / 0 100%; animation: hl 1s .5s var(--ease) forwards; }
@keyframes hl { to { background-size: 100% 100%; } }
.hero .lead { margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 700; font-size: .95rem; }
.hero-proof li { display: flex; align-items: center; gap: 7px; }
.hero-proof .ic { color: var(--agave-2); width: 18px; height: 18px; }
@media (max-width: 920px) { .hero-in { grid-template-columns: 1fr; } }

/* Hero phone: the WhatsApp-style conversation */
.chat { position: relative; justify-self: center; width: min(100%, 390px); }
.chat-phone { position: relative; background: var(--ink); border-radius: 46px; padding: 12px; box-shadow: 0 40px 80px -30px rgba(15, 76, 69, .55), 0 0 0 1px rgba(255,255,255,.06) inset; transform: rotate(1.5deg); }
.chat-screen { position: relative; background: #ECE8DF; background-image: radial-gradient(rgba(15, 76, 69, .07) 1px, transparent 1px); background-size: 16px 16px; border-radius: 36px; height: 600px; overflow: hidden; display: flex; flex-direction: column; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 34px 16px 12px; background: var(--agave); color: #fff; }
.chat-top .av { width: 38px; height: 38px; border-radius: 50%; background: var(--maiz); color: var(--agave-3); display: grid; place-items: center; font: 800 .95rem var(--f-d); flex: none; }
.chat-top b { display: block; font-size: .98rem; line-height: 1.2; }
.chat-top span { font-size: .78rem; opacity: .85; }
.chat-top .live { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #5FE3A1; box-shadow: 0 0 0 0 rgba(95, 227, 161, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(95, 227, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 227, 161, 0); } }
.chat-feed { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px 16px; }
.msg { max-width: 84%; padding: 9px 12px 7px; border-radius: 16px; font-size: .92rem; line-height: 1.38; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.msg time { display: block; text-align: right; font-size: .68rem; opacity: .55; margin-top: 2px; }
.msg.me { align-self: flex-end; background: #D6F5DD; border-bottom-right-radius: 4px; }
.msg.ag { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg.typing { padding: 12px 14px; }
.msg.typing i { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: dot 1.1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg-plan { background: #fff; align-self: flex-start; width: 88%; border-radius: 16px; padding: 12px; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: .88rem; }
.msg-plan .tier { display: inline-block; font: 800 .72rem var(--f-d); padding: 3px 8px; border-radius: 999px; background: #E7ECF0; color: #3D4C5A; }
.msg-plan .pn { font: 700 1rem var(--f-d); margin: 6px 0 8px; }
.msg-plan .row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--muted); }
.msg-plan .row b { color: var(--ink); }
.msg-plan .row.cr b { color: var(--agave-2); }
.msg-plan .pay { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 8px; }
.msg-plan .pay span { font-weight: 700; }
.msg-plan .pay b { font: 800 1.7rem var(--f-d); color: var(--bug); letter-spacing: -.03em; }
.msg-plan .pay small { font-size: .8rem; color: var(--muted); }
.msg-plan .ok { display: flex; gap: 6px; align-items: center; margin-top: 8px; color: var(--agave-2); font-weight: 700; font-size: .84rem; }
.msg-plan .ok .ic { width: 16px; height: 16px; }
.chat-feed > * { flex: none; }
.chat-feed > * { animation: pop .45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.chat-feed > .out { animation: fadeout .5s var(--ease) forwards; }
@keyframes fadeout { to { opacity: 0; transform: translateY(-14px); } }
.chat-input { display: flex; gap: 8px; align-items: center; padding: 8px 10px 16px; }
.chat-input span { flex: 1; background: #fff; border-radius: 999px; padding: 10px 14px; font-size: .86rem; color: #8A958F; }
.chat-input i { width: 38px; height: 38px; border-radius: 50%; background: var(--agave-2); display: grid; place-items: center; }
.chat-input i svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.chat-tag { position: absolute; z-index: 2; background: var(--paper); border-radius: 999px; padding: 9px 14px 9px 10px; box-shadow: var(--shadow); font-weight: 700; font-size: .88rem; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.chat-tag i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font: 800 .75rem var(--f-d); }
.chat-tag--1 { left: -48px; top: 330px; animation: float 6s ease-in-out infinite; }
.chat-tag--1 i { background: var(--maiz); color: var(--agave-3); }
.chat-tag--2 { right: -36px; bottom: 128px; animation: float 6s 1.5s ease-in-out infinite; }
.chat-tag--2 i { background: var(--bug); color: #fff; }
@keyframes float { 50% { transform: translateY(-10px); } }
.chat-fine { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 18px; }
@media (max-width: 560px) { .chat-screen { height: 540px; } .chat-tag--1 { left: -6px; top: 90px; } .chat-tag--2 { right: -6px; } }

/* ===== Quote card ===== */
.quote-sec { position: relative; margin-top: -24px; padding-bottom: clamp(56px, 8vw, 100px); }
.qbox { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; }
.qbox-side { background: var(--agave); color: #EAF3F1; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.qbox-side h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.qbox-side p { color: rgba(234, 243, 241, .85); }
.qbox-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.qbox-side li { display: flex; gap: 10px; align-items: flex-start; }
.qbox-side li .ic { color: var(--maiz); margin-top: 3px; }
.qbox-side .orb { position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(244, 197, 66, .18); }
.qbox-main { padding: clamp(24px, 4vw, 48px); position: relative; }
@media (max-width: 860px) { .qbox { grid-template-columns: 1fr; } }
.qf-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.qf-steps i { flex: 1; height: 5px; border-radius: 5px; background: var(--line-2); overflow: hidden; position: relative; }
.qf-steps i::after { content: ""; position: absolute; inset: 0; background: var(--bug); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.qf-steps i.on::after { transform: none; }
.qf-count { font-size: .9rem; color: var(--muted); font-weight: 700; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; }
.qf-back { background: none; border: 0; color: var(--agave-2); font-weight: 700; cursor: pointer; padding: 4px 0; }
.qf-pane[hidden] { display: none; }
.qf-pane { animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(16px); } }
.qf-pane h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin-bottom: 18px; }
.qf-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.qt { display: flex; gap: 12px; align-items: center; text-align: left; padding: 14px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.qt:hover { border-color: var(--agave-2); transform: translateY(-2px); }
.qt[aria-pressed="true"] { border-color: var(--agave); background: var(--cielo); box-shadow: inset 0 0 0 1px var(--agave); }
.qt .ic { width: 28px; height: 28px; color: var(--agave); stroke-width: 1.6; }
.qt b { display: block; font-size: .98rem; line-height: 1.2; }
.qt small { color: var(--muted); font-size: .84rem; }
@media (max-width: 460px) { .qf-types { grid-template-columns: 1fr; } }
.lbl { display: block; font-weight: 700; margin-bottom: 8px; font-size: .98rem; }
.in { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.in:focus { outline: none; border-color: var(--agave); box-shadow: 0 0 0 4px rgba(22, 100, 90, .14); }
textarea.in { min-height: 120px; resize: vertical; }
select.in { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2310221E' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.zip-row { display: flex; gap: 10px; }
.zip-row .in { flex: 1; font-size: 1.15rem; letter-spacing: .06em; }
@media (max-width: 460px) { .zip-row { flex-direction: column; } }
.field { margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 700; font-size: .95rem; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--agave-2); }
.chip[aria-pressed="true"] { background: var(--agave); border-color: var(--agave); color: #fff; }
.err { color: var(--bug-2); font-weight: 700; font-size: .95rem; min-height: 1.4em; margin: 8px 0; }
.err:empty { margin: 0; min-height: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.5; margin: 6px 0 14px; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--agave); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qf-agent { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-m); background: var(--cielo); margin-bottom: 18px; }
.qf-agent small { display: block; color: var(--agave-2); font-weight: 700; font-size: .82rem; }
.qf-agent b { display: block; font: 700 1.08rem var(--f-d); }
.qf-agent span { font-size: .9rem; color: var(--muted); }
.qf-done { text-align: center; padding: 10px 0; }
.qf-check { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; background: var(--agave); display: grid; place-items: center; animation: popin .6s var(--ease); }
.qf-check svg { width: 36px; height: 36px; stroke: #fff; fill: none; stroke-width: 2.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .3s var(--ease) forwards; }
@keyframes popin { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.qf-ref { font-size: .9rem; color: var(--muted); }
.qf-alt { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: .95rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.trust li::before { content: "✓"; color: var(--agave-2); font-weight: 700; margin-right: 6px; }

/* Agent photo + cards */
.ph-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; font: 800 1.2rem var(--f-d); color: #fff; }
.ph-av.lg { width: 120px; height: 120px; font-size: 2.2rem; }
.t0 { background: var(--agave-2); } .t1 { background: var(--bug); } .t2 { background: #B5852A; } .t3 { background: #4A5FA8; }
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.a-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s var(--ease), box-shadow .25s; }
.a-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.a-top { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.a-name { font: 700 1.15rem/1.15 var(--f-d); }
.a-role, .a-loc { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--cielo); color: var(--agave); }
.tag--lang { background: var(--maiz-soft); color: #6B4E00; }
.a-meta { font-size: .86rem; color: var(--muted); margin: 0; }
.a-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); font-weight: 700; font-size: .95rem; }
.a-foot a { text-decoration: none; }
.a-foot .q { color: var(--bug); }
.empty { grid-column: 1 / -1; text-align: center; background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--r-m); padding: 40px 20px; }

/* Who we help — typographic list */
.who { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.who li { border-bottom: 1px solid var(--line); }
.who a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto; gap: 28px; align-items: center; padding: 26px 4px; text-decoration: none; color: var(--ink); position: relative; transition: padding .35s var(--ease), color .2s; }
.who a::before { content: ""; position: absolute; inset: 0; background: var(--cielo); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); z-index: -1; border-radius: var(--r-s); }
.who li { position: relative; z-index: 0; }
.who a:hover { padding-left: 18px; color: var(--agave); }
.who a:hover::before { transform: none; }
.who h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; font-weight: 700; }
.who p { margin: 0; color: var(--muted); }
.who .go { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.who a:hover .go { background: var(--bug); border-color: var(--bug); color: #fff; transform: rotate(-45deg); }
@media (max-width: 760px) { .who a { grid-template-columns: 1fr auto; } .who p { grid-column: 1 / -1; grid-row: 2; } }

/* Steps (a real sequence) with scroll progress */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; }
.steps .bar { position: absolute; left: 0; top: 23px; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--maiz); border-radius: 3px; transition: width .2s linear; }
.step { position: relative; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--agave-3); border: 3px solid rgba(255,255,255,.25); color: #fff; font: 800 1.1rem var(--f-d); margin-bottom: 20px; position: relative; transition: background .4s, border-color .4s, color .4s; }
.step.lit::before { background: var(--maiz); border-color: var(--maiz); color: var(--agave-3); }
.step h3 { font-size: 1.25rem; }
.step p { color: rgba(234, 243, 241, .82); font-size: .98rem; margin: 0; }
.sec:not(.sec--dark) .steps::before { background: var(--line); }
.sec:not(.sec--dark) .step::before { background: var(--paper); border-color: var(--line); color: var(--agave); }
.sec:not(.sec--dark) .step.lit::before { background: var(--agave); border-color: var(--agave); color: #fff; }
.sec:not(.sec--dark) .steps .bar { background: var(--agave); }
.sec:not(.sec--dark) .step p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 70px; }
  .steps::before, .steps .bar { left: 23px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .steps .bar { height: calc(var(--p, 0) * 100%); width: 3px; bottom: auto; }
  .step::before { position: absolute; left: -70px; top: -4px; margin: 0; }
}

/* 2027 changes band */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.14); border-radius: var(--r-m); overflow: hidden; }
.fact { background: var(--agave); padding: 28px; }
.fact b { display: block; font: 800 clamp(2.2rem, 4vw, 3.2rem)/1 var(--f-d); color: var(--maiz); letter-spacing: -.03em; margin-bottom: 12px; }
.fact p { margin: 0; color: rgba(234, 243, 241, .88); }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; } }

/* Map */
.map-sec { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .map-sec { grid-template-columns: 1fr; } }
.usmap { width: 100%; height: auto; }
.usmap .st path { fill: #D9E4E1; stroke: #fff; stroke-width: 1; transition: fill .5s; }
.usmap .st.on path, .usmap .st.on rect, .usmap .st.on circle { fill: var(--agave-2); }
.usmap .st.home path, .usmap .st.sel path, .usmap .st.home rect, .usmap .st.sel rect { fill: var(--bug); }
.usmap .st rect { fill: #D9E4E1; } .usmap .st line { stroke: #B8C9C4; }
.usmap text { font: 700 11px var(--f-b); fill: #6C7D78; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.usmap text.on, .usmap text.home, .usmap text.sel, .usmap .st.on text, .usmap .st.home text { fill: #fff; }
.usmap--pick a.st { cursor: pointer; } .usmap--pick a.st:hover path { fill: var(--bug); }
.map-anim .st.on path { animation: lightup .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 25ms); }
@keyframes lightup { from { fill: #D9E4E1; } }
.map-key { display: flex; gap: 18px; font-size: .86rem; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.map-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.k-on { background: var(--agave-2); } .k-home { background: var(--bug); } .k-off { background: #D9E4E1; }
.stats { display: flex; gap: 32px; flex-wrap: wrap; margin: 26px 0; }
.stats div b { display: block; font: 800 2.6rem/1 var(--f-d); letter-spacing: -.03em; color: var(--agave); }
.stats div span { font-size: .92rem; color: var(--muted); }

/* Client quick actions */
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.act { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-m); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .25s var(--ease); }
.act:hover { border-color: var(--agave); transform: translateY(-3px); color: var(--ink); }
.act .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--cielo); color: var(--agave); stroke-width: 1.7; }
.act b { display: block; font: 700 1.05rem/1.2 var(--f-d); margin-bottom: 3px; }
.act span { font-size: .9rem; color: var(--muted); }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.post-art { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.post-art svg { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post:hover .post-art svg { transform: scale(1.05); }
.post-b { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-k { font-size: .82rem; font-weight: 700; color: var(--bug); }
.post h3 { font-size: 1.25rem; margin: 0; }
.post p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-d { margin-top: auto; padding-top: 8px; font-size: .84rem; color: var(--muted); }
.post--feat { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post--feat .post-art { aspect-ratio: auto; min-height: 280px; }
.post--feat h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 900px) { .post--feat { grid-template-columns: 1fr; } .post--feat .post-art { min-height: 200px; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }

/* Article */
.art-head { padding: clamp(36px, 6vw, 72px) 0 32px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-bottom: 80px; }
@media (max-width: 980px) { .art-grid { grid-template-columns: 1fr; } }
.art-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.box h2, .box h3 { font-size: 1.15rem; }
.box--key { background: var(--cielo); border: 0; }
.box--key ul { margin: 0; padding-left: 1.1em; }
.box--key li { margin-bottom: .5em; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .95rem; }
.toc a { text-decoration: none; }
.progress { position: fixed; left: 0; top: 0; height: 3px; background: var(--bug); width: 0; z-index: 60; }
.art-hero-art { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 21 / 8; margin-bottom: 40px; }
.art-hero-art svg { width: 100%; height: 100%; }

/* Page header */
.ph { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.ph--dark { background: var(--agave); color: #EAF3F1; }
.ph--dark h1 { color: #fff; } .ph--dark .lead { color: rgba(234, 243, 241, .85); } .ph--dark .crumbs a { color: rgba(234, 243, 241, .8); } .ph--dark .crumbs li[aria-current] { color: #fff; }
.ph--mint { background: var(--cielo); }
.ph-in--aside { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .ph-in--aside { grid-template-columns: 1fr; } }
.ph h1 { max-width: 20ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 700; }

/* Generic layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--wide { grid-template-columns: 1.3fr 1fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px; background: var(--cielo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%230F4C45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.sec--dark .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23F4C545' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px; }
.panel h3 { margin-bottom: .4em; }
.panel p:last-child { margin-bottom: 0; }
.panel--mint { background: var(--cielo); border: 0; }
.panel--dark { background: var(--agave); color: #EAF3F1; border: 0; } .panel--dark h3 { color: #fff; }
.kicker { font-weight: 700; color: var(--bug); margin-bottom: 10px; font-size: .95rem; }
.big-q { font: 600 clamp(1.5rem, 3vw, 2.3rem)/1.25 var(--f-d); letter-spacing: -.02em; max-width: 28ch; }

/* Comparison table (coverage pages) */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border-radius: var(--r-m); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.cmp thead th { background: var(--agave); color: #fff; font-family: var(--f-d); }
.cmp tbody th { font-weight: 700; width: 28%; }
.tbl-scroll { overflow-x: auto; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; cursor: pointer; font: 700 1.15rem/1.3 var(--f-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .35s var(--ease), background .2s, border-color .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] summary i { background: var(--agave); border-color: var(--agave); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { color: var(--muted); padding-bottom: 20px; max-width: 64ch; overflow: hidden; }
.js .faq details .faq-a { transition: height .35s var(--ease); }

/* CTA band */
.cta-band { background: var(--bug); color: #fff; padding: clamp(48px, 7vw, 84px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%; border: 70px solid rgba(255,255,255,.08); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.9); max-width: 54ch; }
.cta-band .btn-p { background: #fff; color: var(--bug-2); box-shadow: none; }
.cta-band .btn-p:hover { background: var(--maiz); color: var(--agave-3); }

/* Recruiting band (home) */
.band { background: var(--agave-3); color: #EAF3F1; border-radius: var(--r-l); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band p { color: rgba(234, 243, 241, .85); }
.band .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23F4C545' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* Agent section hero */
.ag-hero { background: var(--agave-3); color: #EAF3F1; padding: clamp(48px, 7vw, 100px) 0; position: relative; overflow: hidden; }
.ag-hero h1 { color: #fff; max-width: 15ch; }
.ag-hero .lead { color: rgba(234, 243, 241, .85); }
.ag-hero .crumbs a { color: rgba(234,243,241,.75); } .ag-hero .crumbs li[aria-current] { color: #fff; }
.ag-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .ag-grid { grid-template-columns: 1fr; } }
.ledger { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-l); padding: 26px; }
.ledger h2 { font-size: 1.1rem; color: rgba(234,243,241,.8); font-family: var(--f-b); letter-spacing: 0; margin-bottom: 16px; }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ledger-row span { color: rgba(234,243,241,.8); }
.ledger-row b { font: 800 1.35rem var(--f-d); color: #fff; }
.ledger-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.ledger-total b { font: 800 2.6rem/1 var(--f-d); color: var(--maiz); letter-spacing: -.03em; }
.ledger .fine { color: rgba(234,243,241,.6); margin: 12px 0 0; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--paper); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-in { padding: clamp(24px, 4vw, 44px); }
.calc-out { padding: clamp(24px, 4vw, 44px); background: var(--agave); color: #EAF3F1; display: flex; flex-direction: column; justify-content: center; }
.calc-out h2 { color: rgba(234,243,241,.85); font: 700 1.05rem var(--f-b); letter-spacing: 0; }
.calc-big { font: 800 clamp(2.8rem, 6vw, 4.4rem)/1 var(--f-d); color: var(--maiz); letter-spacing: -.04em; margin: 4px 0 18px; font-variant-numeric: tabular-nums; }
.calc-out .ledger-row b { font-variant-numeric: tabular-nums; }
.range { margin-bottom: 26px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.range-top output { font: 800 1.35rem var(--f-d); color: var(--agave); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--bug); height: 28px; }
.result { margin-top: 20px; padding: 22px; border-radius: var(--r-m); background: var(--cielo); }
.result b.big { display: block; font: 800 1.6rem/1.2 var(--f-d); color: var(--agave); margin-bottom: 6px; }
.result[data-tone="bug"] { background: var(--bug-soft); } .result[data-tone="bug"] b.big { color: var(--bug-2); }
.result[data-tone="maiz"] { background: var(--maiz-soft); } .result[data-tone="maiz"] b.big { color: #6B4E00; }

/* Glossary */
.gl-search { max-width: 520px; margin-bottom: 26px; }
.gl-letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.gl-letters a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.gl dl { margin: 0; }
.gl .term { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.gl dt { font: 700 1.15rem var(--f-d); }
.gl dt small { display: block; font: 400 .9rem var(--f-b); color: var(--muted); margin-top: 4px; }
.gl dd { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .gl .term { grid-template-columns: 1fr; gap: 6px; } }

/* Timeline (dates) */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl li { display: grid; grid-template-columns: 80px 1fr; gap: 40px; padding: 0 0 30px; position: relative; }
.tl li::before { content: ""; position: absolute; left: 86px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--agave-2); }
.tl li.hot::before { border-color: var(--bug); background: var(--bug); }
.tl time { font: 800 1rem/1.2 var(--f-d); color: var(--agave); text-align: right; }
.tl h3 { font-size: 1.15rem; margin-bottom: .25em; }
.tl p { margin: 0; color: var(--muted); }

/* Checklist */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check label { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); cursor: pointer; transition: background .2s, border-color .2s; }
.check input { width: 22px; height: 22px; accent-color: var(--agave); margin-top: 2px; flex: none; }
.check label:has(input:checked) { background: var(--cielo); border-color: var(--agave-2); }
.check label:has(input:checked) b { text-decoration: line-through; text-decoration-color: var(--agave-2); }
.check b { display: block; }
.check span { color: var(--muted); font-size: .93rem; }
.meter { height: 10px; border-radius: 10px; background: var(--line-2); overflow: hidden; margin: 10px 0 24px; }
.meter i { display: block; height: 100%; background: var(--agave-2); width: 0; transition: width .5s var(--ease); }

/* Service request */
.svc-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-bottom: 20px; }
.svc-types .qt { flex-direction: column; align-items: flex-start; gap: 6px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-m); background: var(--maiz-soft); margin-bottom: 20px; font-size: .95rem; }
.notice .ic { color: #8A6400; margin-top: 2px; }

/* Profile */
.prof { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .prof { grid-template-columns: 1fr; } }
.prof-head { display: flex; gap: 24px; align-items: center; margin-bottom: 26px; }
.prof-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 6px; }
.lic { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lic th, .lic td { padding: 9px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.sticky { position: sticky; top: 100px; }

/* Directory */
.dir-tools { display: grid; grid-template-columns: 1fr 1fr 220px auto; gap: 10px; margin-bottom: 28px; background: var(--paper); padding: 14px; border-radius: var(--r-m); border: 1px solid var(--line); }
@media (max-width: 860px) { .dir-tools { grid-template-columns: 1fr; } }
.dir-count { color: var(--muted); margin-bottom: 18px; font-weight: 700; }

/* Footer */
.foot { background: var(--agave-3); color: rgba(234, 243, 241, .82); padding: 72px 0 36px; font-size: .95rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--maiz); }
.f-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 960px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
.f-brand p { max-width: 38ch; margin-top: 16px; }
.f-contact { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.f-contact a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.f-hours { font-size: .88rem; opacity: .75; }
.f-social { display: flex; gap: 16px; }
.f-h { font: 700 1rem var(--f-d); color: #fff; letter-spacing: 0; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.legal { padding-top: 28px; font-size: .8rem; line-height: 1.6; color: rgba(234, 243, 241, .62); }
.legal p { max-width: 120ch; }
.legal b { color: rgba(234, 243, 241, .85); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; }
.legal-links a { color: rgba(234, 243, 241, .85); }

/* Demo badge (previews only) */
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 70; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: .84rem; box-shadow: var(--shadow); max-width: 300px; }
.demo b { color: var(--maiz); margin-right: 6px; }

/* Scroll reveal: used on a few large elements, not every block */
.js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-rv].in { opacity: 1; transform: none; }

/* Floating action (mobile) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; }
@media (max-width: 760px) { .fab { display: inline-flex; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-rv] { opacity: 1; transform: none; }
  .hero h1 .hl { background-size: 100% 100%; }
}
@media print { .nav, .foot, .cta-band, .fab { display: none; } body { background: #fff; } }
@media (max-width: 560px) { .chat-phone { transform: none; } .chat-screen { height: 480px; } .chat { width: min(100%, 340px); } }
.prose > h2:first-child, .prose > p:first-child + h2 { margin-top: 0; }
a.chip { color: var(--ink); } a.chip[aria-pressed="true"] { color: #fff; }
