/* Etchlife Solutions — site styles */
/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #0e1b29;
  --navy: #1f3041;
  --navy-2: #2a3f55;
  --blue: #1769b3;
  --blue-bright: #2187e0;
  --mint: #2fa592;
  --mint-soft: #e3f4f0;
  --amber: #b86e00;
  --amber-soft: #fdf1dc;
  --red: #b3261e;
  --red-soft: #fbe9e7;
  --paper: #f7f6f2;
  --card: #ffffff;
  --line: #e3e3dc;
  --muted: #5a6673;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 27, 41, .06), 0 8px 24px rgba(14, 27, 41, .06);
  --max: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
em.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); letter-spacing: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mint-soft); color: var(--ink); }
.btn-wa { background: #1a7f4b; color: #fff; }
.btn-wa:hover { background: #12613a; color: #fff; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(14, 27, 41, .06); }
.nav a[aria-current="page"] { color: var(--blue); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink);
}
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 20px; }
.mobile-nav a { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }
@media (min-width: 1000px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; padding: 10px 18px; font-size: .92rem; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
@media (min-width: 900px) { .hero { padding: 88px 0 112px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 32px; }
.hero-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .92rem; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); }
.page-hero { padding: 56px 0 56px; }
@media (min-width: 900px) { .page-hero { padding: 88px 0 72px; } }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }

/* Result card visual */
.report {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 22px; position: relative; max-width: 480px; margin-left: auto; margin-right: auto; width: 100%;
}
.report-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px dashed var(--line); margin-bottom: 8px; }
.report-head strong { font-size: .95rem; }
.report-head .tag { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); color: #1d6f62; }
.report-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid #f0f0ea; align-items: center; }
.report-row:last-of-type { border-bottom: 0; }
.report-row .name { font-weight: 600; font-size: .92rem; }
.report-row .range { font-size: .76rem; color: var(--muted); }
.report-row .val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; font-size: .95rem; }
.pill { display: inline-block; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.pill.ok { background: var(--mint-soft); color: #1d6f62; }
.pill.hi { background: var(--amber-soft); color: var(--amber); }
.pill.lo { background: var(--red-soft); color: var(--red); }
.note-bubble {
  margin-top: 14px; background: var(--navy); color: #eaf1f7; border-radius: 16px 16px 16px 4px;
  padding: 14px 16px; font-size: .88rem; line-height: 1.5;
}
.note-bubble b { color: #fff; }
.report-foot { margin-top: 10px; font-size: .72rem; color: var(--muted); text-align: right; }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 999px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; position: relative; display: flex; flex-direction: column;
}
.card h3 { margin-top: 4px; }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-soft); color: #1d6f62; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card.pillar { padding: 32px; transition: transform .2s ease, box-shadow .2s ease; }
.card.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card.pillar .num { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.card.pillar ul { margin: 4px 0 24px; padding: 0; list-style: none; }
.card.pillar li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; border-top: 1px solid #f0f0ea; }
.card.pillar li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card .more::after { content: "→"; transition: transform .15s ease; }
.card .more:hover::after { transform: translateX(3px); }
.card.dark { background: var(--navy); border-color: var(--navy); color: #dbe5ee; }
.card.dark h3 { color: #fff; }
.card.dark p { color: #b9c7d4; }
.card.dark .icon { background: rgba(255,255,255,.1); color: #8fe0d1; }
.card.dark .more { color: #8fe0d1; }

.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #c9d4de; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede, .band-dark .muted { color: #9fb0bf; }
.band-dark .eyebrow { color: #8fe0d1; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps.three { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 24px 0 0; border-top: 2px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-weight: 800; font-size: .85rem; color: var(--blue); margin-bottom: 10px; letter-spacing: .08em;
}
.band-dark .step { border-top-color: rgba(255,255,255,.14); }
.band-dark .step::before { color: #8fe0d1; }
.step p { color: var(--muted); font-size: .96rem; }
.band-dark .step p { color: #9fb0bf; }

/* Split feature */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.band-dark .checklist li { border-bottom-color: rgba(255,255,255,.1); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d6f62' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.xlist li::before {
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Callouts */
.callout { border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.callout p { margin: 0; }
.callout.warn { background: var(--red-soft); color: #5c1510; }
.callout.warn svg { color: var(--red); }
.callout.info { background: #e8f1fa; color: #123a5e; }
.callout.info svg { color: var(--blue); }

/* Group / sister */
.group-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .group-grid { grid-template-columns: 1fr 1fr; } }
.entity { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); background: #fff; }
.entity .role { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.entity h3 { font-size: 1.5rem; margin: 8px 0 10px; }
.entity.current { background: var(--navy); color: #c9d4de; border-color: var(--navy); }
.entity.current h3 { color: #fff; }
.entity.current .role { color: #8fe0d1; }

/* CTA band */
.cta {
  background: var(--navy); color: #d5dfe8; border-radius: 28px; padding: 44px 28px;
  display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
@media (min-width: 900px) { .cta { grid-template-columns: 1.4fr auto; padding: 64px; } }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; color: #b9c7d4; }
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,165,146,.35), transparent 65%); pointer-events: none;
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 32px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .form-card { padding: 40px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #d5d7d0; background: #fcfcfa; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(23,105,179,.15); }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .92rem; margin-bottom: 12px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #d5d7d0; border-radius: 999px; padding: 8px 14px; font-weight: 500; cursor: pointer; background: #fcfcfa; margin: 0; }
.radio-row input { accent-color: var(--blue); margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--blue); background: #e8f1fa; }
.form-error { color: var(--red); font-size: .9rem; font-weight: 600; margin: 8px 0 0; min-height: 1.2em; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.consent { background: var(--paper); border-radius: 12px; padding: 16px 18px 6px; margin: 8px 0 20px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--mint); flex: none; margin-top: 3px; }
.contact-list .k { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; display: block; }
.contact-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); background: #e6e6e0; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #9fb0bf; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d4de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--navy); }
.site-footer .brand-sub { color: #7f93a5; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.emergency-strip { background: var(--red-soft); color: #5c1510; font-size: .88rem; text-align: center; padding: 8px 16px; }
.emergency-strip a { color: #5c1510; font-weight: 700; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #1a7f4b; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wa-float:hover { background: #12613a; color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tagrow li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; }
.band-dark .tagrow li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #dbe5ee; }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

[hidden] { display: none !important; }
.card.pillar.dark .num { color: #9fb0bf; }
.callout.warn a { color: inherit; font-weight: 700; }
.card.pillar.dark li { border-top-color: rgba(255,255,255,.1); }
.card.dark a:not(.more) { color: #8fe0d1; }
