/* Shupa Media — site styles */

:root {
  --ink: #0c1a2b;
  --ink-2: #132841;
  --ink-3: #1d3654;
  --paper: #f6f4ef;
  --card: #ffffff;
  --line: #e2ddd2;
  --text: #0c1a2b;
  --muted: #4a596b;
  --on-ink: #eef1f5;
  --on-ink-muted: #a9b6c6;
  --line-ink: rgba(255, 255, 255, .14);
  --accent: #ff6a3d;
  --accent-2: #ff8a63;
  --signal: #34d6a8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(12, 26, 43, .06), 0 12px 32px -12px rgba(12, 26, 43, .18);
  --wrap: 1180px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--card);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
section[id], [id="contact-form"] { scroll-margin-top: 84px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: 999px;
  font: 600 16px/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--accent { --bg: var(--accent); --fg: var(--ink); box-shadow: 0 8px 22px -10px rgba(255, 106, 61, .8); }
.btn--accent:hover { --bg: var(--accent-2); }
.btn--ghost { --bg: transparent; --fg: var(--on-ink); --bd: var(--line-ink); }
.btn--ghost:hover { --bd: rgba(255, 255, 255, .4); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(12, 26, 43, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); color: var(--on-ink); border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.hdr.is-scrolled { border-bottom-color: var(--line-ink); background: rgba(12, 26, 43, .96); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--accent); }
.logo__mark { width: 34px; height: 34px; flex: none; }
.logo__txt { font: 800 22px/1 var(--font-head); letter-spacing: -.03em; color: var(--on-ink); }
.logo__txt span { font-weight: 600; color: var(--on-ink-muted); margin-left: 1px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--on-ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s ease; }
.nav a:hover, .nav a.is-active { color: #fff; }
.hdr__act { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.hdr__tel { color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-ink); border-radius: 999px; }
.lang button { background: none; border: 0; color: var(--on-ink-muted); font: 600 13px/1 var(--font-body); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-ink); border-radius: 12px; background: none; cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-ink); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { display: none; }

@media (max-width: 1080px) {
  .nav, .hdr__tel { display: none; }
  .menu-btn { display: block; }
  .mnav { display: flex; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
  .mnav a:not(.btn) { color: var(--on-ink); text-decoration: none; font: 600 20px/1 var(--font-head); padding: 14px 0; border-bottom: 1px solid var(--line-ink); }
  .mnav .btn { margin-top: 16px; }
  .menu-open .mnav { max-height: 520px; padding: 8px 24px 24px; }
}
@media (max-width: 600px) {
  .hdr__in { height: 64px; gap: 12px; }
  .hdr__cta { display: none; }
  .hdr__back { display: none; } /* the logo already links home */
  .logo__txt { font-size: 20px; }
  .mnav { padding-left: 16px; padding-right: 16px; }
  .menu-open .mnav { padding: 8px 16px 24px; }
}

/* ---------- Shared section bits ---------- */
.sec { padding: 104px 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: var(--on-ink); }
@media (max-width: 760px) { .sec { padding: 72px 0; } }
.sec__head { max-width: 720px; margin-bottom: 48px; }
.sec__head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.sec__sub { margin-top: 16px; color: var(--muted); font-size: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 700 13px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #c2410c; }
.eyebrow--dark { color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgba(52, 214, 168, .18); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #ffe6dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.grid2, .grid3, .grid4 { display: grid; gap: 20px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid4, .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid2, .grid3, .grid4 { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: 88px 0 104px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 380px at 85% 20%, rgba(255, 106, 61, .22), transparent 70%),
  radial-gradient(520px 360px at 10% 100%, rgba(52, 214, 168, .12), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image:
  linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub { margin-top: 22px; max-width: 600px; font-size: 19px; color: var(--on-ink-muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-ink); border-radius: 999px; font-size: 14px; color: var(--on-ink); background: rgba(255, 255, 255, .04); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.hero__trust li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--on-ink-muted); }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
@media (max-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero__in { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .hero__sub { font-size: 17px; }
  .hero__cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
}

/* Lead timeline card */
.feed { background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); border: 1px solid var(--line-ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6); }
.feed__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-ink); }
.feed__live { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 0 rgba(52, 214, 168, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 214, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 214, 168, 0); } }
.feed__tag { font-size: 12px; color: var(--on-ink-muted); border: 1px dashed var(--line-ink); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.feed__list { position: relative; display: grid; gap: 6px; padding: 18px 0 4px; }
.feed__row { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 12px 14px; border-radius: 14px; transition: opacity .5s ease, transform .5s ease, background-color .3s ease; }
.feed__row time { font: 600 13px/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--on-ink-muted); padding-top: 2px; }
.feed__row strong { display: block; font-weight: 600; font-size: 15.5px; color: #fff; }
.feed__row span { display: block; font-size: 14px; color: var(--on-ink-muted); }
.feed__row--win { background: rgba(52, 214, 168, .12); box-shadow: inset 0 0 0 1px rgba(52, 214, 168, .35); }
.feed__row--win strong { color: var(--signal); }
.feed__foot { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 13.5px; color: var(--on-ink-muted); }
.js .feed.is-anim .feed__row { opacity: 0; transform: translateY(8px); }
.js .feed.is-anim .feed__row.is-on { opacity: 1; transform: none; }
@media (max-width: 420px) {
  .feed { padding: 16px; }
  .feed__row { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
}

/* ---------- Problem ---------- */
.pain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pain__n { display: block; font: 800 15px/1 var(--font-head); color: #c2410c; margin-bottom: 18px; }
.pain h3 { font-size: 22px; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: 15.5px; }

/* ---------- Services ---------- */
.svc { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: box-shadow .2s ease, transform .2s ease; }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc--hl { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.svc__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); display: grid; place-items: center; margin-bottom: 22px; }
.svc__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 25px; margin-bottom: 12px; }
.svc > p { color: var(--muted); margin-bottom: 22px; }
.svc__plus { margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--paper); color: var(--muted); }
.svc__plus strong { color: var(--ink); }
@media (max-width: 600px) { .svc { padding: 24px; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 72px; }
.step::before { content: ""; position: absolute; top: 25px; left: 52px; right: -20px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step:last-child::before { display: none; }
.step__n { position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 800 20px/1 var(--font-head); }
.step:nth-child(3) .step__n { background: var(--accent); color: var(--ink); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 32px 76px; min-height: 84px; }
  .step::before { top: 56px; bottom: 4px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); }
  .step h3 { padding-top: 12px; }
}

/* ---------- Español band ---------- */
.es { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.es h2 { font-size: clamp(34px, 4.6vw, 54px); }
.es h2 em { font-style: normal; color: var(--accent); }
.es__copy p:not(.eyebrow) { margin-top: 18px; color: var(--on-ink-muted); font-size: 18px; }
.es__list { display: grid; gap: 14px; }
.es__list li { padding: 22px 24px; border: 1px solid var(--line-ink); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.es__list strong { display: block; font: 700 20px/1.2 var(--font-head); margin-bottom: 4px; }
.es__list span { color: var(--on-ink-muted); font-size: 15.5px; }
@media (max-width: 900px) { .es { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.plan h3 { font-size: 28px; }
.plan__tag { margin: 8px 0 24px; color: var(--muted); min-height: 3.2em; }
.plan .ticks { margin-bottom: 28px; flex: 1; }
.plan .btn { width: 100%; }
.plan--hl { background: var(--ink); border-color: var(--ink); color: var(--on-ink); box-shadow: 0 30px 60px -30px rgba(12, 26, 43, .55); }
.plan--hl .plan__tag, .plan--hl .ticks li { color: var(--on-ink-muted); }
.plan--hl .ticks li::before { background-color: rgba(255, 106, 61, .18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6a3d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.plan__badge { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--ink); font: 700 12.5px/1 var(--font-body); letter-spacing: .02em; padding: 7px 12px; border-radius: 999px; }
.plans__note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; }
  .plan__tag { min-height: 0; }
}

/* ---------- Compliance ---------- */
.comp { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.comp h3 { position: relative; font-size: 20px; padding-left: 34px; margin-bottom: 10px; }
.comp h3::before { content: ""; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1a2b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.3-7 10-4-1.7-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat; }
.comp p { color: var(--muted); font-size: 15.5px; }
.comp__note { margin-top: 24px; color: var(--muted); font-size: 14px; }

/* ---------- Pilot ---------- */
.pilot { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.pilot__head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.pilot__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pilot__list li { padding: 24px; border-radius: var(--radius); background: var(--paper); border-left: 4px solid var(--accent); }
.pilot__list strong { display: block; font: 700 21px/1.2 var(--font-head); margin-bottom: 6px; }
.pilot__list span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .pilot { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .pilot__list { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .sec__head { margin-bottom: 0; }
.faq__list { display: grid; gap: 12px; }
.faq__list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font: 600 17.5px/1.35 var(--font-body); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease, margin-top .2s ease; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(32px, 4.4vw, 50px); }
.contact__copy > p:not(.eyebrow) { margin-top: 18px; color: var(--on-ink-muted); font-size: 18px; }
.contact__direct { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line-ink); }
.contact__direct li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.contact__direct span { color: var(--on-ink-muted); font-size: 15px; }
.contact__direct a, .contact__direct b { color: #fff; font-weight: 600; text-decoration: none; text-align: right; }
.contact__direct a:hover { color: var(--accent); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; gap: 40px; } }

.form { position: relative; background: var(--card); color: var(--text); border-radius: 24px; padding: 32px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
@media (max-width: 600px) { .form { padding: 22px 18px; border-radius: 20px; } }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  font: 400 16px/1.4 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a596b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(12, 26, 43, .1); }
.field.invalid input, .field.invalid select { border-color: #c81e1e; box-shadow: 0 0 0 4px rgba(200, 30, 30, .1); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--ink); font-weight: 600; }
.consent--opt { font-size: 13px; }
.consent.invalid span { color: #c81e1e; }
.form .btn--block { margin-top: 22px; }
.form__req { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.form-status { margin-top: 12px; font-size: 15px; text-align: center; min-height: 0; }
.form-status:empty { display: none; }
.form-status.error { color: #c81e1e; font-weight: 600; }
.form__plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; background: #fff1eb; font-size: 15px; }
.form__plan strong { color: #9a3412; }
.form__plan button { margin-left: auto; background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(12, 26, 43, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-sending .spinner { display: inline-block; }
.form.is-sending button[type="submit"] { pointer-events: none; opacity: .8; }
.form__done { display: none; text-align: center; padding: 40px 8px; }
.form__done svg { width: 64px; height: 64px; margin: 0 auto 18px; fill: none; stroke: var(--signal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form__done h3 { font-size: 30px; margin-bottom: 12px; }
.form__done p { color: var(--muted); margin-bottom: 24px; }
.form__done a { color: var(--ink); font-weight: 600; }
.form.is-sent .form__body { display: none; }
.form.is-sent .form__done { display: block; }

/* ---------- Footer ---------- */
.ftr { background: #08131f; color: var(--on-ink-muted); padding: 64px 0 28px; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-ink); }
.ftr__brand p { margin-top: 16px; max-width: 360px; font-size: 15px; }
.ftr__nav, .ftr__contact { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.ftr a { text-decoration: none; }
.ftr__nav a:hover, .ftr__contact a:hover { color: #fff; }
.ftr__contact a { color: var(--on-ink); font-weight: 600; }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13.5px; }
@media (max-width: 760px) { .ftr__in { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(12, 26, 43, .96); border-top: 1px solid var(--line-ink); transform: translateY(110%); transition: transform .25s ease; }
  .mbar.is-on { transform: none; }
  .mbar .btn { min-height: 48px; }
  body { padding-bottom: 0; }
  .ftr { padding-bottom: 96px; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 72px 0 96px; background: var(--paper); }
.legal__in { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: #2c3a4b; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .note { padding: 14px 18px; border-radius: 12px; background: #fff1eb; color: #7c2d12; font-size: 15px; margin-bottom: 28px; }
.legal a { color: #c2410c; }
