/* =========================================================================
   JUSTPING INFOTECH — design system
   Change brand colours, type and spacing in :root only.
   ========================================================================= */
:root {
  /* Colour */
  --navy: #0D1E3A;          /* primary ink, dark sections */
  --deep: #08152B;          /* deepest navy: header, hero, footer */
  --blue: #1D5BD0;          /* primary actions */
  --blue-hover: #174BB0;
  --cyan: #27A9BE;          /* accent — schematic lines, focus */
  --cyan-soft: #7FD3E0;     /* accent on dark */
  --paper: #F4F6F9;         /* light section background */
  --white: #FFFFFF;
  --rule: #D8DFE8;
  --rule-dark: #1F3558;
  --text: #22324A;
  --muted: #56667D;
  --on-dark: #E6ECF5;
  --on-dark-muted: #A6B4C8;
  --wa: #0E7A3F;            /* WhatsApp — darkened for contrast */
  --wa-hover: #0B6534;
  --focus: #27A9BE;

  /* Type */
  --font-head: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fs-0: 0.875rem;
  --fs-1: 1rem;
  --fs-2: 1.125rem;
  --fs-3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-4: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-5: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);

  /* Space & shape */
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --r-sm: 4px;
  --r-md: 8px;
  --measure: 68ch;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font-body); font-size: var(--fs-1); line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: var(--fs-5); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 1em; max-width: var(--measure); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--white); color: var(--navy); padding: .6rem 1rem; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Layout ----------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: var(--fs-2); }
.section--dark .section-head p { color: var(--on-dark-muted); }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.lead { font-size: var(--fs-2); color: var(--muted); }

/* Buttons ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r-sm); font: 600 1rem/1.2 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .icon { width: 1.2rem; height: 1.2rem; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.on-dark .btn--outline { color: var(--white); }
.on-dark .btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: var(--wa-hover); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--deep); border-bottom: 1px solid var(--rule-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; font-size: 1.05rem; }
.brand-tag { font-size: .78rem; color: var(--cyan-soft); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid var(--rule-dark); border-radius: var(--r-sm); color: var(--white); cursor: pointer; }
.nav { position: absolute; inset: 68px 0 auto 0; background: var(--deep); border-bottom: 1px solid var(--rule-dark); padding: .5rem var(--gutter) 1.25rem; display: none; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; padding: .8rem 0; color: var(--on-dark); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--rule-dark); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: .75rem; }
.nav .btn { margin-top: 1rem; width: 100%; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; padding: 0; border: 0; align-items: center; gap: 1.75rem; background: none; }
  .nav ul { display: flex; gap: 1.6rem; }
  .nav a:not(.btn) { padding: .4rem 0; border: 0; font-size: .95rem; }
  .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); padding-left: 0; }
  .nav .btn { margin: 0; width: auto; min-height: 42px; padding: .5rem 1rem; }
}

/* Hero ------------------------------------------------------------------- */
.hero { background: var(--deep); color: var(--on-dark); position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--rule-dark) 1px, transparent 1px), linear-gradient(90deg, var(--rule-dark) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .lead { color: var(--on-dark-muted); max-width: 46ch; }
.hero .btn-row { margin-top: 1.75rem; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; } }
@media (max-width: 599px) { .schematic { display: none; } }
.schematic { width: 100%; height: auto; max-width: 560px; justify-self: center; }
.schematic .node { fill: #0F2242; stroke: #2B4A78; stroke-width: 1.2; }
.schematic .node-core { fill: #10294F; stroke: var(--cyan); stroke-width: 1.2; }
.schematic .wire { stroke: #2E5282; stroke-width: 1.5; fill: none; }
.schematic .label { fill: var(--on-dark); font: 600 13px var(--font-head); }
.schematic .sub { fill: var(--on-dark-muted); font: 400 11px var(--font-body); }
.schematic .glyph { stroke: var(--cyan-soft); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.schematic .vm { fill: #16345F; stroke: #3A6399; }
.schematic .led { fill: #3BD48A; }
.schematic .trace { stroke: var(--cyan); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 14 1100; stroke-dashoffset: 14; animation: ping 6s linear infinite; }
@keyframes ping { 0% { stroke-dashoffset: 14; opacity: 0; } 5% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -990; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .schematic .trace { animation: none; opacity: 0; } }

/* Page hero (inner pages) */
.page-hero { background: var(--deep); color: var(--on-dark); padding-block: clamp(2.25rem, 2rem + 3vw, 4rem); }
.page-hero h1 { color: var(--white); max-width: 24ch; }
.page-hero .lead { color: var(--on-dark-muted); max-width: 62ch; }
.page-hero .btn-row { margin-top: 1.5rem; }
.crumbs { font-size: var(--fs-0); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--cyan-soft); }
.crumbs [aria-current] { color: var(--on-dark-muted); }

/* Trust strip ------------------------------------------------------------ */
.trust { background: var(--white); border-bottom: 1px solid var(--rule); }
.trust dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 1rem; }
.trust dl > div { padding: 1.1rem 0; border-top: 1px solid var(--rule); }
.trust dl > div:nth-child(-n+2) { border-top: 0; }
.trust dt { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.trust dd { margin: .15rem 0 0; font-size: var(--fs-0); color: var(--muted); line-height: 1.45; }
@media (min-width: 900px) { .trust dl { grid-template-columns: repeat(4, 1fr); column-gap: 0; } .trust dl > div { border-top: 0; border-left: 1px solid var(--rule); padding: 1.5rem; } .trust dl > div:first-child { border-left: 0; padding-left: 0; } }

/* Problems list ---------------------------------------------------------- */
.problems { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .problems { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.problems a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); color: var(--navy); text-decoration: none; font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; }
.problems a:hover { color: var(--blue); }
.problems .icon { width: 1.1rem; color: var(--blue); transition: transform .15s; }
.problems a:hover .icon { transform: translateX(3px); }
.after-list { margin-top: 2rem; }

/* Service cards ---------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; position: relative; }
.card h3 { font-size: 1.2rem; margin: .5rem 0 .25rem; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .text-link { margin-top: auto; padding-top: .75rem; }
.card .text-link::after { content: ""; position: absolute; inset: 0; }
.card:hover, .card:focus-within { border-color: var(--blue); }
.card-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: #E8EFFB; color: var(--blue); }
.card--feature { grid-column: 1 / -1; background: var(--navy); border-color: var(--navy); }
.card--feature h3 { color: var(--white); }
.card--feature p { color: var(--on-dark-muted); max-width: 56ch; }
.card--feature .card-icon { background: #183463; color: var(--cyan-soft); }
.card--feature .text-link { color: var(--cyan-soft); }
.card--feature:hover, .card--feature:focus-within { border-color: var(--cyan); }
@media (min-width: 960px) { .card--feature { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 1.5rem; } .card--feature h3 { margin: 0 0 .25rem; } .card--feature .text-link { margin: 0; padding: 0; } }

/* Why -------------------------------------------------------------------- */
.why { display: grid; gap: 2rem; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { padding: 1.25rem 0; border-top: 1px solid var(--rule-dark); display: grid; gap: .25rem; }
@media (min-width: 640px) { .why-list li { grid-template-columns: 13rem 1fr; gap: 2rem; } }
.why-list h3 { font-size: 1.15rem; margin: 0; }
.why-list p { margin: 0; color: var(--on-dark-muted); }

.grid--industries { row-gap: 2.25rem; column-gap: 2rem; }
/* Industries ------------------------------------------------------------- */
.industry { padding: 1.25rem 0 0; border-top: 2px solid var(--navy); }
.industry h3 { font-size: 1.2rem; }
.industry p { color: var(--muted); font-size: .97rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .5rem 0 0; }
.tags li { font-size: .8rem; padding: .2rem .55rem; border: 1px solid var(--rule); border-radius: var(--r-sm); color: var(--text); background: var(--white); }

/* Technology ------------------------------------------------------------- */
.tech { margin: 0; border-top: 1px solid var(--rule); }
.tech div { display: grid; gap: .35rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .tech div { grid-template-columns: 13rem 1fr; align-items: baseline; } }
.tech dt { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.tech dd { margin: 0; }
.tech .tags { margin: 0; }
.note { font-size: var(--fs-0); color: var(--muted); margin-top: 1rem; }

/* Case studies ----------------------------------------------------------- */
.case { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.5rem; display: flex; flex-direction: column; }
.case-meta { font-size: var(--fs-0); color: var(--muted); margin: 0 0 .25rem; }
.case h3 { font-size: 1.2rem; }
.steps { list-style: none; counter-reset: step; margin: .75rem 0 1rem; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; padding: .6rem 0; border-top: 1px dashed var(--rule); font-size: .95rem; }
.steps li::before { content: counter(step); width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); display: grid; place-items: center; font: 600 .8rem var(--font-head); }
.steps strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.case .text-link { margin-top: auto; }
.draft-flag { display: inline-block; font-size: .75rem; padding: .15rem .5rem; border-radius: var(--r-sm); background: #FFF4D6; color: #6B4D00; border: 1px solid #F0D58A; margin-bottom: .75rem; align-self: flex-start; }
.placeholder { background: #FFF9E8; outline: 1px dashed #D9B44A; outline-offset: 2px; color: #5C4300; }
.cs-body { display: grid; gap: 2rem; }
@media (min-width: 960px) { .cs-body { grid-template-columns: 1fr 18rem; gap: 4rem; } }
.cs-section { padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.cs-section h2 { font-size: 1.3rem; }
.cs-aside { align-self: start; border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.25rem; }
.cs-aside dl { margin: 0; }
.cs-aside dt { font-size: var(--fs-0); color: var(--muted); }
.cs-aside dd { margin: 0 0 1rem; font-weight: 500; color: var(--navy); }

/* Reviews ---------------------------------------------------------------- */
.review { margin: 0; padding: 1.5rem; border-left: 3px solid var(--blue); background: var(--white); }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; color: var(--navy); }
.review figcaption { font-size: var(--fs-0); color: var(--muted); }

/* Area ------------------------------------------------------------------- */
.area { display: grid; gap: 2rem; }
@media (min-width: 900px) { .area { grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; } }
.area-list { list-style: none; margin: 0; padding: 0; }
.area-list li { display: flex; gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.area-list .icon { color: var(--blue); margin-top: .15rem; }
.area-list strong { display: block; color: var(--navy); font-family: var(--font-head); }
.area-list span { color: var(--muted); font-size: .95rem; }

/* CTA band --------------------------------------------------------------- */
.cta-band { background: var(--navy); color: var(--on-dark); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 3px solid var(--cyan); }
.cta-band .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) { .cta-band .wrap { grid-template-columns: 1fr 1fr; align-items: center; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }

/* Service page ----------------------------------------------------------- */
.svc-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; } }
.svc-block + .svc-block { margin-top: 2.75rem; }
.svc-block h2 { font-size: 1.5rem; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.checks .icon { color: var(--blue); width: 1.15rem; height: 1.15rem; margin-top: .25rem; }
.checks--issues .icon { color: #A94B16; }
.scenario { margin: 0 0 .75rem; padding: 1rem 1.25rem; background: var(--paper); border-left: 3px solid var(--cyan); border-radius: 0 var(--r-sm) var(--r-sm) 0; max-width: none; }
.svc-aside { align-self: start; display: grid; gap: 1rem; }
@media (min-width: 960px) { .svc-aside { position: sticky; top: 88px; } }
.aside-box { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.25rem; }
.aside-box h2 { font-size: 1.05rem; }
.aside-box p { font-size: .95rem; color: var(--muted); }
.aside-box .btn { width: 100%; margin-top: .5rem; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li a { display: block; padding: .5rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.faq details { border-top: 1px solid var(--rule); padding: .9rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .6rem 0 0; }

/* Services overview */
.svc-group { display: grid; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--rule); }
.svc-group:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 960px) { .svc-group { grid-template-columns: 15rem 1fr; gap: 3rem; } }
.svc-group > div > p { color: var(--muted); }

/* About ------------------------------------------------------------------ */
.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }
.story p { font-size: 1.08rem; }
.team { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.person { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 1.5rem; background: var(--white); }
.person h3 { margin-bottom: .2rem; }
.person-role { color: var(--blue); font-weight: 600; margin: 0 0 .6rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.timeline strong { display: block; font-family: var(--font-head); color: var(--navy); }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.35fr; gap: 4rem; } }
.contact-ways { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.contact-ways a, .contact-ways .static { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--r-md); text-decoration: none; color: var(--navy); background: var(--white); }
.contact-ways a:hover { border-color: var(--blue); }
.contact-ways .icon { color: var(--blue); }
.contact-ways .wa .icon { color: var(--wa); }
.contact-ways small { display: block; color: var(--muted); font-size: .85rem; }
.contact-ways strong { font-family: var(--font-head); font-weight: 600; overflow-wrap: anywhere; }
.form { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); padding: clamp(1.25rem, 3vw, 2rem); }
.form h2 { font-size: 1.4rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: .92rem; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--text); padding: .7rem .8rem; min-height: 48px; border: 1.5px solid #9AA8BB; border-radius: var(--r-sm); background: var(--white); width: 100%; }
textarea { min-height: 130px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--navy); }
[aria-invalid="true"] { border-color: #B42318; }
.error { color: #B42318; font-size: .85rem; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-weight: 500; }
.form-note { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; }
.map { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: var(--r-md); }

/* Prose (legal) ---------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--on-dark-muted); padding-block: 3.5rem 2rem; font-size: .95rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1.3fr 0.8fr 1.2fr; } }
.site-footer h2 { color: var(--white); font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; }
.footer-base ul { display: flex; gap: 1.25rem; }

/* Floating WhatsApp (mobile only) ---------------------------------------- */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(8, 21, 43, .35); }
.wa-float:hover { background: var(--wa-hover); color: var(--white); }
.wa-float svg { width: 28px; height: 28px; }
@media (min-width: 900px) { .wa-float { display: none; } }
@media print { .site-header, .wa-float, .cta-band, .site-footer { display: none; } }
