/* TC Digital Solutions v2
   Navy + confident blue for trust, cable-yellow as the one signal accent.
   Type: Archivo (variable width) — slightly widened headings, normal-width body. */

:root {
  --navy-950: #0A1524;
  --navy-900: #0F2036;
  --navy-800: #183150;
  --ink: #13202F;
  --muted: #4B5A6B;
  --line: #DCE3EB;
  --surface: #F4F7FA;
  --white: #FFFFFF;
  --blue: #1D5BCC;
  --blue-dark: #1748A3;
  --blue-tint: #EAF1FC;
  --yellow: #F5B731;
  --green: #1C7A4D;
  --error: #B42318;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(15, 32, 54, .06), 0 8px 24px -12px rgba(15, 32, 54, .18);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-stretch: 108%; letter-spacing: -.015em; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--yellow); color: var(--navy-950); padding: .7rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  color: var(--white); background: var(--blue);
  border: 2px solid var(--blue); border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); text-decoration: none; }
.btn-accent { background: var(--yellow); border-color: var(--yellow); color: var(--navy-950); }
.btn-accent:hover { background: #E8A814; border-color: #E8A814; color: var(--navy-950); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue-tint); color: var(--blue-dark); }
.on-dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,.45); }
.on-dark .btn-outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); color: var(--white); }
.btn-block { width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-stretch: 115%; font-size: 1.12rem; letter-spacing: -.01em; }
.brand-tag { font-size: .78rem; color: var(--muted); font-weight: 500; margin-top: .15rem; }
.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem;
  padding: .5rem .75rem; border-radius: var(--r-sm);
}
.site-nav a:not(.btn):hover { background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-tint); }
.site-nav .btn { margin-left: .6rem; min-height: 44px; padding: .55rem 1.1rem; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem;
    font: inherit; font-weight: 650; color: var(--ink); background: var(--white);
    border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.25rem; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem .75rem; font-size: 1.08rem; }
  .site-nav .btn { margin: .75rem 0 0; }
}

/* ---------- Hero (home) ---------- */
.on-dark { color: #DCE5F0; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.hero { background: var(--navy-950); position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: 3rem 4rem; align-items: center;
  padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(2rem, 4vw, 3rem);
}
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: #CFE0F7;
  background: rgba(29, 91, 204, .22); border: 1px solid rgba(120, 165, 240, .35);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DD68C; box-shadow: 0 0 0 3px rgba(61,214,140,.2); }
.hero h1 {
  font-size: clamp(2.35rem, 5.4vw, 4.4rem);
  font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -.025em;
  max-width: 17ch; text-wrap: balance;
}
.hero-lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: #C3D0E0; max-width: 56ch; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.cred-card {
  background: var(--navy-900); border: 1px solid var(--navy-800);
  border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.2rem;
}
.cred-card h2 { font-size: 1.05rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0; color: #9FB3CB; margin-bottom: .6rem; }
.cred-list { list-style: none; padding: 0; }
.cred-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .85rem 0; border-top: 1px solid var(--navy-800); }
.cred-list li:first-child { border-top: 0; }
.cred-list svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; color: var(--yellow); }
.cred-list strong { display: block; color: var(--white); font-weight: 650; line-height: 1.3; }
.cred-list span { font-size: .93rem; color: #A9B9CC; }

.horizon { display: block; margin: 0; overflow: hidden; }
.horizon svg { display: block; width: max(100%, 760px); max-width: none; height: auto; position: relative; left: 50%; transform: translateX(-50%); font-family: var(--font); }
.horizon .land { fill: var(--navy-900); }
.horizon .fields line { stroke: #22395A; stroke-width: 1; }
.horizon .ground { stroke: #5D7593; stroke-width: 1.5; }
.horizon .town line { stroke: #5D7593; stroke-width: 1; }
.horizon .town circle, .horizon .tower { fill: #8EA3BD; }
.horizon .town text { fill: #B9C8DA; font-size: 14px; font-weight: 600; }
.horizon .home rect, .horizon .home path { fill: var(--yellow); stroke: var(--navy-950); stroke-width: 1.5; stroke-linejoin: round; }
.horizon .home text { fill: var(--white); font-size: 19px; font-weight: 800; font-stretch: 115%; }
.horizon .home .note { fill: #9FB3CB; font-size: 12px; font-weight: 500; font-stretch: 100%; }
.horizon .arc { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.horizon .a2 { opacity: .6; } .horizon .a3 { opacity: .32; }
@media (prefers-reduced-motion: no-preference) {
  .horizon .arc { stroke-dashoffset: 1; animation: draw 1s cubic-bezier(.2,.7,.2,1) forwards; }
  .horizon .a1 { animation-delay: .3s; } .horizon .a2 { animation-delay: .55s; } .horizon .a3 { animation-delay: .8s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-950); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.75rem, 6vw, 4.5rem); }
.breadcrumb { font-size: .9rem; margin-bottom: 1.25rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; color: #9FB3CB; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #5D7593; }
.breadcrumb a { color: #CFE0F7; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--white); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; font-stretch: 115%; letter-spacing: -.022em; max-width: 22ch; text-wrap: balance; }
.page-hero .hero-lede { margin-bottom: 1.75rem; }
.hero-points { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.75rem; color: #C3D0E0; font-size: .97rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--yellow); flex: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; padding: 1.4rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; }
.trust li { display: flex; gap: .8rem; align-items: center; font-size: .95rem; color: var(--muted); line-height: 1.35; }
.trust strong { display: block; color: var(--ink); font-size: 1.02rem; }
.trust svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--blue); font-weight: 650; font-size: .98rem; margin-bottom: .6rem; }
.h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 780; font-stretch: 112%; }
.h3 { font-size: 1.3rem; font-weight: 720; }
.lede { font-size: 1.15rem; color: var(--muted); margin-top: 1rem; max-width: 62ch; }
.center .lede { margin-left: auto; margin-right: auto; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; font-weight: 750; margin: 2.5rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 .5rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.9rem 1.75rem 1.6rem; box-shadow: var(--shadow);
}
.card-icon { width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.25rem; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.32rem; font-weight: 740; margin-bottom: .6rem; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: .25rem 0 1.5rem; }
.card li { position: relative; padding: .3rem 0 .3rem 1.6rem; font-size: .98rem; }
.card li::before { content: ""; position: absolute; left: .1rem; top: .78rem; width: .7rem; height: .38rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.card-price { font-size: .93rem; color: var(--muted); }
.card-price strong { color: var(--ink); font-size: 1.05rem; }
.card-link { font-weight: 650; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- Feature grid (why / solutions) ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.features-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.section-alt .feature { border-color: transparent; box-shadow: var(--shadow); }
.feature svg { width: 28px; height: 28px; color: var(--blue); margin-bottom: .9rem; }
.feature h3 { font-size: 1.15rem; font-weight: 720; margin-bottom: .45rem; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 1000px) { .features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features, .features-4 { grid-template-columns: 1fr; } }

/* ---------- Split (text + aside) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem 4.5rem; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border-radius: var(--r-md); padding: 1.75rem; }
.panel h3 { font-size: 1.15rem; font-weight: 720; margin-bottom: .75rem; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding: .45rem 0 .45rem 1.75rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .95rem; width: .75rem; height: .4rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: s; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.4rem 1.4rem; }
.section-alt .steps li { border-color: transparent; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy-950); color: var(--yellow); font-weight: 800; margin-bottom: 1rem;
}
.steps h3 { font-size: 1.1rem; font-weight: 720; margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem 1.75rem; box-shadow: var(--shadow); }
.plan-popular { border: 2px solid var(--blue); }
.plan-badge { position: absolute; top: -.85rem; left: 1.75rem; background: var(--blue); color: var(--white); font-size: .82rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; font-weight: 750; }
.plan-for { color: var(--muted); font-size: .97rem; margin: .25rem 0 1.25rem; }
.plan-price { font-size: 2.6rem; font-weight: 800; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; margin: 0; }
.plan-price small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { font-size: .88rem; color: var(--muted); margin: .4rem 0 1.4rem; }
.plan-includes { font-weight: 650; font-size: .97rem; margin: 0 0 .4rem; }
.plan .ticks { margin-bottom: 1.75rem; font-size: .98rem; }
.plan .ticks li { padding-top: .32rem; padding-bottom: .32rem; }
.plan .ticks li::before { top: .8rem; }
.plan .btn { margin-top: auto; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Table (terms / comparison) ---------- */
.addon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.addon:last-child { border-bottom: 1px solid var(--line); }
.addon h3 { font-size: 1.12rem; font-weight: 720; margin-bottom: .3rem; }
.addon p { color: var(--muted); margin: 0; }
.addon-price { font-weight: 700; white-space: nowrap; text-align: right; }
.addon-price span { display: block; font-weight: 500; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .addon { grid-template-columns: 1fr; } .addon-price { text-align: left; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.2rem 3rem 1.2rem 0; font-weight: 650; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .25rem; top: 50%; width: 1.6rem; height: 1.6rem; margin-top: -.8rem;
  border-radius: 50%; background: var(--blue-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5BCC' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5BCC' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.faq details > div { padding: 0 3rem 1.3rem 0; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.areas li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-weight: 550; font-size: .97rem; }
.areas li.base { background: var(--navy-950); color: var(--white); border-color: var(--navy-950); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #E3ECFB; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 780; font-stretch: 112%; }
.cta-band p { margin: .5rem 0 0; max-width: 56ch; }
.cta-band .btn-accent { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem 4rem; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0 0; }
.contact-list li { display: flex; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: .2rem; }
.contact-list small { display: block; color: var(--muted); font-size: .88rem; }
.contact-list a, .contact-list strong { font-weight: 650; overflow-wrap: anywhere; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { font-size: 1.35rem; font-weight: 750; margin-bottom: .35rem; }
.form-card .form-intro { color: var(--muted); margin-bottom: 1.5rem; font-size: .98rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.15rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 620; margin-bottom: .4rem; font-size: .96rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #B9C4D0; border-radius: var(--r-sm);
  padding: .7rem .85rem; min-height: 48px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8D9BAC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 91, 204, .18); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { display: flex; gap: .35rem; color: var(--error); font-size: .9rem; margin-top: .4rem; font-weight: 600; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
.field-check input { width: 1.3rem; height: 1.3rem; min-height: 0; margin-top: .2rem; flex: none; accent-color: var(--blue); }
.field-check label { flex: 1 1 0; min-width: 0; font-weight: 400; font-size: .95rem; }
.field-check .field-error { flex-basis: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; min-height: 54px; font-size: 1.05rem; }
.btn-submit[disabled] { opacity: .65; cursor: progress; }
.form-assure { display: flex; gap: .5rem; align-items: center; justify-content: center; color: var(--muted); font-size: .88rem; margin: .9rem 0 0; }
.form-assure svg { width: 16px; height: 16px; color: var(--green); }
.form-status { margin: .9rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.err { color: var(--error); background: #FEF3F2; border: 1px solid #FECDCA; border-radius: var(--r-sm); padding: .75rem 1rem; }
.form-done { padding: 1rem 0; }
.form-done svg { width: 48px; height: 48px; color: var(--green); margin-bottom: .75rem; }
.form-done h3 { font-size: 1.5rem; font-weight: 780; margin-bottom: .5rem; }
.form-done p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9B9CC; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.site-footer h2 { color: var(--white); font-size: .98rem; font-weight: 700; font-stretch: 100%; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: #DCE5F0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-tag { color: #9FB3CB; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; border-top: 1px solid var(--navy-800); padding: 1.5rem 0 2rem; font-size: .9rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile quote bar ---------- */
.quote-bar { display: none; }
@media (max-width: 720px) {
  .quote-bar {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(15,32,54,.3);
    transform: translateY(0); transition: transform .2s ease;
  }
  .quote-bar .btn { flex: 1; min-height: 48px; }
  .quote-bar.hidden { transform: translateY(110%); }
  body.has-quote-bar { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .quote-bar { transition: none; } }

/* ---------- 404 ---------- */
.notfound { padding: clamp(5rem, 12vw, 9rem) 0; text-align: center; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; font-stretch: 115%; }
.notfound p { color: var(--muted); max-width: 46ch; margin: 1rem auto 2rem; }
.notfound .hero-actions { justify-content: center; }

/* refinements */
.site-footer .brand svg { border-radius: 9px; box-shadow: 0 0 0 1px #2A4466; }
@media (max-width: 480px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.02rem; white-space: nowrap; }
  .brand svg { width: 36px; height: 36px; }
}
.split .features .feature h3 { font-size: 1.08rem; }
