/* Broadwings Technologies — site styles
   Brand blue is sampled from the logo; the yellow accent echoes the team's hi-vis vests. */

:root {
  --ink: #0b1030;
  --navy: #0d1442;
  --navy-2: #151d58;
  --brand: #283090;
  --brand-600: #1f267a;
  --brand-400: #4b55d1;
  --brand-100: #e3e6fa;
  --brand-50: #f1f2fc;
  --accent: #ffc83d;
  --accent-600: #f0b414;
  --text: #1c2340;
  --muted: #5a6282;
  --muted-on-dark: #b7bde0;
  --line: #e2e5f1;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --ok: #17845a;
  --error: #c43c3c;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 66, .06), 0 2px 8px rgba(13, 20, 66, .05);
  --shadow: 0 2px 4px rgba(13, 20, 66, .05), 0 12px 32px rgba(13, 20, 66, .09);
  --shadow-lg: 0 24px 60px rgba(13, 20, 66, .18);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-400); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(40, 48, 144, .28); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 200, 61, .3); }
.btn--accent:hover { background: var(--accent-600); color: var(--ink); }
.btn--outline { border-color: var(--brand-100); color: var(--brand); background: #fff; }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--navy); color: var(--muted-on-dark); font-size: .82rem; }
.topbar__inner { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar__note { margin-left: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13, 20, 66, .07); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand); margin-right: auto; }
.brand img { width: auto; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong { font-size: 1.22rem; font-weight: 700; letter-spacing: .02em; }
.brand__text span { font-size: .62rem; font-weight: 500; letter-spacing: .42em; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 6px; list-style: none; }
.nav ul a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); font-weight: 500; font-size: .95rem; text-decoration: none;
}
.nav ul a:hover { color: var(--brand); background: var(--brand-50); }
.nav ul a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .topbar__note { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle .icon { width: 22px; height: 22px; grid-area: 1 / 1; }
  .nav-toggle .icon:last-child, .nav-toggle[aria-expanded="true"] .icon:first-of-type { display: none; }
  .nav-toggle[aria-expanded="true"] .icon:last-child { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(13, 20, 66, .1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav ul a { padding: 12px 14px; font-size: 1.05rem; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 66px; }
  .topbar { display: none; }
  .brand img { height: 36px; }
  .brand__text strong { font-size: 1.05rem; }
  .brand__text span { font-size: .55rem; letter-spacing: .36em; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: var(--muted-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 200, 61, .25); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); }
.section--dark .lead { color: var(--muted-on-dark); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--muted-on-dark);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(75, 85, 209, .45), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(40, 48, 144, .6), transparent 60%),
    var(--navy);
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 88px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; 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;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: var(--muted-on-dark); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; font-size: .9rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; color: #e1e4fb; }
.hero__points .icon { color: var(--accent); width: 18px; height: 18px; }

.hero__visual { position: relative; padding: 0 0 40px 40px; }
.hero__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__inset {
  position: absolute; left: 0; bottom: 0; width: 38%;
  border-radius: var(--radius); overflow: hidden; border: 5px solid var(--navy); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; right: -12px; top: 24px; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); padding: 12px 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero__badge .icon { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--brand-50); color: var(--brand); }
.hero__badge strong { display: block; font-size: .95rem; line-height: 1.2; }
.hero__badge span { font-size: .78rem; color: var(--muted); }

.stats {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255, 255, 255, .12);
}
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat__num { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1.1; }
.stat__label { font-size: .9rem; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
}
@media (max-width: 560px) {
  .hero__visual { padding: 0 0 28px 24px; }
  .hero__badge { right: 8px; top: 12px; padding: 10px 12px; }
  .hero__badge .icon { width: 32px; height: 32px; padding: 6px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: baseline; gap: 14px; }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--muted-on-dark); padding-block: clamp(56px, 8vw, 96px); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 30%, rgba(13, 20, 66, .7) 65%, rgba(13, 20, 66, .35)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: var(--muted-on-dark); max-width: 640px; }
.breadcrumb { display: flex; gap: 8px; list-style: none; margin-bottom: 18px; font-size: .85rem; }
.breadcrumb a { color: var(--muted-on-dark); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Partners ---------- */
.partners { padding-block: 40px; border-bottom: 1px solid var(--line); }
.partners__title { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.partners__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners__list { display: flex; gap: 14px; width: max-content; list-style: none; animation: marquee 40s linear infinite; }
.partners__track:hover .partners__list { animation-play-state: paused; }
.partner {
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: #6b7290; font-weight: 600; font-size: .98rem; white-space: nowrap; transition: color .2s, border-color .2s;
}
.partner:hover { color: var(--brand); border-color: var(--brand-100); }
.partner .icon { width: 26px; height: 26px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.icon-tile {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 14px; background: var(--brand-50); color: var(--brand);
}
.icon-tile .icon { width: 26px; height: 26px; }
.card:hover .icon-tile { background: var(--brand); color: #fff; }
.icon-tile--dark { background: rgba(255, 255, 255, .08); color: var(--accent); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-text { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { .split, .split--wide-text { grid-template-columns: 1fr; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--tall img { aspect-ratio: 4 / 5; }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mosaic img:nth-child(1) { aspect-ratio: 4 / 5; }
.mosaic img:nth-child(4) { aspect-ratio: 4 / 5; margin-top: calc(-25% + 14px); }

.feature-list { list-style: none; display: grid; gap: 18px; margin: 28px 0 32px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .icon-tile { margin: 0; width: 46px; height: 46px; flex: none; }
.feature-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-list p { margin: 0; font-size: .95rem; }
.feature-list a { text-decoration: none; color: inherit; }
.feature-list a:hover { color: var(--accent); }
.stats dd { margin: 0; }

.checklist { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
@media (max-width: 560px) { .checklist--2 { grid-template-columns: 1fr; } }

/* ---------- Why / process ---------- */
.why { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.why p { margin: 0; font-size: .95rem; }
.steps { counter-reset: step; list-style: none; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--brand-100);
}
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin: 0; }
.quote > .icon { width: 34px; height: 34px; color: var(--brand-100); }
.quote blockquote { margin: 0; color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 600; font-size: .9rem; }
.quote figcaption strong { display: block; color: var(--ink); line-height: 1.3; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }
.quote figcaption .quote__avatar { color: #fff; font-size: .9rem; }
@media (min-width: 1100px) { .quotes { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; } }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 32px; }
.gallery__item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 20, 66, .55), transparent 50%);
  opacity: 0; transition: opacity .3s;
}
.gallery__item:hover::after { opacity: 1; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(6, 9, 30, .92); padding: 56px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: calc(100vh - 150px); width: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #e1e4fb; text-align: center; font-size: .95rem; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox [data-lb-close] { top: 16px; right: 16px; }
.lightbox [data-lb-prev] { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox [data-lb-next] { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Sub navigation (security / services) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.subnav a .icon { width: 17px; height: 17px; }
.subnav a:hover { color: var(--brand); background: var(--brand-50); }
.subnav a.is-active { color: #fff; background: var(--brand); }

.service-block + .service-block { margin-top: clamp(64px, 9vw, 104px); }
.service-panel { padding: 34px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.service-panel h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.service-panel .checklist { margin-bottom: 0; }
.service-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.service-brands li { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--muted); }
.title-with-icon { display: flex; align-items: center; gap: 16px; }
.title-with-icon .icon-tile { margin: 0; }
.title-with-icon h2 { margin: 0; }

.callout { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; margin-top: 28px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
.callout .icon { color: var(--brand); width: 28px; height: 28px; flex: none; }
.callout p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); color: var(--text); }
.contact-card .icon-tile { margin: 0; flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: .82rem; }
.contact-card strong { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-card--wa .icon-tile { background: #e3f6eb; color: #1fa855; }

.form { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field label { font-weight: 500; font-size: .92rem; color: var(--ink); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid #cdd2e6; background: #fff;
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(75, 85, 209, .15); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .85rem; margin: 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status--ok { background: #e6f5ee; color: var(--ok); }
.form__status--error { background: #fbeaea; color: var(--error); }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 80px); background: linear-gradient(120deg, var(--brand) 0%, var(--brand-600) 55%, var(--navy) 100%); color: #dfe2fb; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #080d2e; color: #9aa1c9; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 36px; padding-block: 64px 48px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #9aa1c9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__about .brand { color: #fff; margin-bottom: 18px; }
.footer__about p { max-width: 340px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__credit { padding-block: 14px 24px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: center; font-size: .8rem; }
.footer__credit p { margin: 0; }
.footer__credit a { color: #fff; font-weight: 500; }
.footer__credit a:hover { color: var(--accent); }
@media (max-width: 560px) { .footer__credit { padding-bottom: 88px; } }

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px;
  border-radius: 999px; background: #1fa855; color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 28px rgba(31, 168, 85, .4); transition: transform .2s, background-color .2s;
}
.wa-float:hover { background: #178a45; color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 26px; height: 26px; }
@media (max-width: 560px) { .wa-float { right: 14px; bottom: 14px; padding: 14px; } .wa-float span { display: none; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(80px, 12vw, 140px); }
.notfound__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: var(--brand-100); margin-bottom: 8px; }
.notfound .hero__actions { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .wa-float, .cta-band, .subnav { display: none !important; }
}

/* ---------- Small utilities ---------- */
.mt { margin-top: 28px; }
.title-with-icon + .lead { margin-top: 20px; }
.form__intro { margin: 0 0 24px; }
@media (max-width: 900px) { .service-block .service-panel { order: 2; } }
