/* ==========================================================================
   EntiSolve, Inc. — Site Styles
   Palette drawn from the EntiSolve logo (cyan → ocean → deep blue)
   ========================================================================== */

:root {
  --navy-950: #061525;
  --navy-900: #0A1F33;
  --navy-800: #102C47;
  --blue-800: #0A4F7E;
  --blue-700: #0B6399;
  --blue-600: #1580BC;
  --blue-500: #1E96C8;
  --cyan-400: #4FD3EE;
  --cyan-200: #B5EEF9;
  --cyan-50:  #EAF9FD;

  --text: #1A2B3C;
  --muted: #52657A;
  --line: #DCE6EE;
  --surface: #F4F8FB;
  --white: #FFFFFF;

  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 51, .06), 0 2px 8px rgba(10, 31, 51, .05);
  --shadow: 0 10px 30px -12px rgba(10, 31, 51, .22);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--surface { background: var(--surface); }
.section--dark { background: var(--navy-900); color: #C9D6E3; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--dark .section-head p { color: #A9BCCF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--cyan-400); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split--wide-right { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  line-height: 1.1; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 128, 188, .6); }
.btn--primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--cyan-50); color: var(--navy-900); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn--outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-700); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600;
  font-family: var(--font-head); font-size: .95rem; text-decoration: none; color: var(--blue-700);
}
.text-link svg { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
@media (max-width: 480px) { .brand img { height: 40px; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-head); font-size: .95rem; font-weight: 500; color: var(--navy-900);
  text-decoration: none;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[data-active="true"] { color: var(--blue-600); }
.nav-link[aria-current="page"], .nav-link[data-active="true"] { font-weight: 600; }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown:hover .chev, .has-dropdown.is-open .chev { transform: rotate(180deg); }
.dropdown a {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  padding: 12px; border-radius: 10px; text-decoration: none; color: var(--navy-900);
}
.dropdown a:hover { background: var(--surface); }
.dropdown .dd-icon {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: var(--cyan-50); color: var(--blue-600);
}
.dropdown .dd-icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .92rem; font-weight: 600; line-height: 1.3; }
.dropdown span.dd-desc { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.dropdown .dd-all { display: block; padding: 10px 12px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; font-weight: 600; font-size: .88rem; color: var(--blue-700); }

.nav-cta { margin-left: 10px; padding: 11px 20px; font-size: .92rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy-900); border-radius: 2px; position: relative; transition: transform .2s, background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    overflow-y: auto; display: none;
  }
  .nav.is-open { display: flex; animation: navIn .2s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .dropdown {
    position: static; min-width: 0; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 4px 0 8px; display: none;
  }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-cta { margin: 20px 0 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(30,150,200,.35), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #C9D6E3; padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 10vw, 130px);
}
.hero h1 { color: #fff; max-width: 19ch; }
.hero h1 .accent { background: linear-gradient(90deg, var(--cyan-400), #8BE4F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 58ch; color: #B7C7D8; margin-bottom: 36px; }
.hero-arcs { position: absolute; right: -180px; top: 50%; transform: translateY(-50%); width: min(900px, 90vw); z-index: -1; opacity: .9; pointer-events: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); max-width: 760px; }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: #B7C7D8; }
.hero-meta svg { width: 20px; height: 20px; color: var(--cyan-400); flex-shrink: 0; }
@media (max-width: 760px) { .hero-arcs { right: -320px; opacity: .35; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 480px at 90% -20%, rgba(30,150,200,.32), transparent 60%),
              linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #B7C7D8; padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 7vw, 88px);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 22ch; }
.page-hero p.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 62ch; margin-bottom: 28px; }
.page-hero .hero-arcs { right: -260px; width: min(720px, 80vw); opacity: .55; }

.breadcrumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: #8FA6BD; }
.breadcrumbs li + li::before { content: "/"; color: #4E6780; }
.breadcrumbs a { color: #B7C7D8; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: 1rem; }
.card--link:hover { border-color: var(--blue-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.card--link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .text-link { margin-top: auto; }
.card h3 a { color: inherit; text-decoration: none; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, var(--cyan-50), #D5F3FB); color: var(--blue-700);
}
.icon-badge svg { width: 26px; height: 26px; }
.section--dark .card { background: var(--navy-800); border-color: rgba(255,255,255,.08); }
.section--dark .card p { color: #A9BCCF; }
.section--dark .icon-badge { background: rgba(79,211,238,.12); color: var(--cyan-400); }

.service-card { padding: clamp(28px, 3.2vw, 36px); }
.service-card .tags { margin: 4px 0 22px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .8rem; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--surface); color: var(--blue-800); border: 1px solid var(--line); }

/* ---------- Feature spotlight ---------- */
.spotlight {
  background: linear-gradient(135deg, var(--blue-800), var(--navy-900));
  border-radius: calc(var(--radius) * 1.6); color: #C9D6E3; padding: clamp(32px, 5vw, 64px);
  position: relative; overflow: hidden; isolation: isolate;
}
.spotlight h2 { color: #fff; }
.spotlight .hero-arcs { right: -300px; opacity: .35; width: 680px; }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--cyan-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231580BC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--dark .check-list li::before, .spotlight .check-list li::before { background-color: rgba(79,211,238,.15); }
.check-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
@media (max-width: 640px) { .check-list--2col { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 56px; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--blue-600);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--blue-500); background: #fff;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -14px; height: 2px; background: linear-gradient(90deg, var(--cyan-200), transparent); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--muted); font-size: .98rem; }
.section--dark .steps li::before { background: var(--navy-900); color: var(--cyan-400); border-color: var(--cyan-400); }
.section--dark .steps li::after { background: linear-gradient(90deg, rgba(79,211,238,.4), transparent); }
.section--dark .steps p { color: #A9BCCF; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Stats / value strip ---------- */
.value-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value-strip > div { padding: 28px; border-right: 1px solid var(--line); }
.value-strip > div:last-child { border-right: 0; }
.value-strip strong { display: block; font-family: var(--font-head); font-size: 1.9rem; color: var(--navy-900); line-height: 1.1; margin-bottom: 6px; letter-spacing: -0.02em; }
.value-strip span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-strip > div:nth-child(2) { border-right: 0; }
  .value-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .value-strip { grid-template-columns: 1fr; }
  .value-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .value-strip > div:last-child { border-bottom: 0; }
}

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #334559; }
.lead-text { font-size: 1.2rem; color: var(--muted); }

/* ---------- Tech stack ---------- */
.stack-group h3 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.leader-photo { position: relative; }
.leader-photo img { border-radius: calc(var(--radius) * 1.4); width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; box-shadow: var(--shadow); }
.leader-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: calc(var(--radius) * 1.4);
  background: linear-gradient(145deg, var(--cyan-400), var(--blue-700)); z-index: -1; opacity: .9;
}
.leader-role { font-family: var(--font-head); color: var(--blue-600); font-weight: 600; margin-bottom: 18px; }
@media (max-width: 760px) { .leader { grid-template-columns: 1fr; } .leader-photo { max-width: 280px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--navy-900); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-800) 55%, var(--navy-900) 100%);
  border-radius: calc(var(--radius) * 1.6); padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; color: #D4E5F2;
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .hero-arcs { right: -260px; width: 560px; opacity: .3; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--navy-900); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30,150,200,.15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C2413A; }
.field .error { display: none; color: #B3261E; font-size: .85rem; margin-top: 6px; }
.field.has-error .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--blue-600); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); display: none; font-size: .95rem; }
.form-status.is-success { display: block; background: #E8F6EE; color: #17603A; border: 1px solid #BFE3CD; }
.form-status.is-error { display: block; background: #FDECEA; color: #8C1D18; border: 1px solid #F3C2BD; }

.contact-info { display: grid; gap: 18px; }
.info-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-item .icon-badge { width: 48px; height: 48px; margin: 0; }
.info-item h3 { font-size: 1rem; margin-bottom: 4px; }
.info-item p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93A8BD; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 36ch; }
.site-footer h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #B7C7D8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #6F869D; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--cyan-400), var(--blue-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.disclaimer { font-size: .82rem; color: var(--muted); margin-top: 28px; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
