/* ==========================================================================
   Kombani IS — design tokens (Issue #1)
   ========================================================================== */
:root {
  --red: #E1000F;
  --red-dark: #B8000C;
  --blue: #00309A;
  --navy: #071A3D;
  --navy-2: #0F2550;
  --navy-3: #050F26;
  --ink: #0B1630;
  --slate: #4A5672;
  --line: #E4E8F0;
  --mist: #F7F9FC;
  --white: #FFFFFF;
  --on-dark: #C9D3E6;
  --on-dark-2: #A9B6CC;
  /* fibre-strand accents: lines and markers only, never text on light */
  --strand-cyan: #22D3EE;
  --strand-green: #4ADE80;
  --strand-yellow: #FACC15;
  --strand-purple: #C084FC;

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

  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --max: 1240px;
  --shadow: 0 20px 40px rgba(7, 26, 61, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--red); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--strand-cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 16px; color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.eyebrow--light { color: #4FB3F2; }
.h2 { font-size: clamp(32px, 4.2vw, 46px); color: var(--navy); }
.lead { font-size: 17px; color: var(--slate); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head .lead { max-width: 440px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; border-radius: var(--r-md); font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; font-family: var(--font-body); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid #C9D1DF; }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn svg { width: 18px; height: 18px; }

/* Top bar */
.topbar { background: var(--navy); color: var(--on-dark); font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #E8EEF7; text-decoration: none; padding: 4px 0; display: inline-block; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 0 24px; }
.topbar span { padding: 4px 0; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.header__logo img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 14px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: var(--r-md); border: 0; background: var(--navy); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

.nav__foot { display: none; }
.nav-backdrop { display: none; }

/* Mobile: slide-in sidebar */
@media (max-width: 960px) {
  .header { backdrop-filter: none; background: #fff; }
  .menu-btn { display: inline-flex; position: relative; z-index: 120; transition: background .2s, color .2s; }
  .menu-btn .ic-close { display: none; }
  .menu-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); color: #fff; }
  .menu-btn[aria-expanded="true"] .ic-open { display: none; }
  .menu-btn[aria-expanded="true"] .ic-close { display: block; }
  .header__cta .btn { display: none; }
  .header__logo img { height: 48px; }
  .topbar span { display: none; }

  .nav { position: fixed; top: 0; right: 0; bottom: 0; z-index: 110; width: min(88vw, 380px); height: 100dvh; display: flex; flex-direction: column; align-items: stretch; gap: 0;
         padding: 92px 28px 28px; background: var(--navy); overflow-y: auto; box-shadow: -24px 0 60px rgba(5,15,38,.45);
         transform: translateX(105%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s; }
  .nav::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
         background: linear-gradient(180deg, transparent, rgba(34,211,238,.06)); }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .nav > a { counter-increment: navitem; display: flex; align-items: center; gap: 14px; padding: 18px 2px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0;
         color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; opacity: 0; transform: translateX(16px); transition: opacity .3s, transform .3s, color .2s; }
  .nav > a::before { content: counter(navitem, decimal-leading-zero); font-family: var(--font-body); font-size: 12px; font-weight: 600; color: var(--strand-cyan); width: 22px; }
  .nav > a::after { content: "→"; margin-left: auto; color: rgba(255,255,255,.35); font-size: 18px; transition: transform .2s, color .2s; }
  .nav > a:hover, .nav > a[aria-current="page"] { color: #fff; }
  .nav > a:hover::after, .nav > a[aria-current="page"]::after { color: var(--red); transform: translateX(3px); }
  .nav.is-open > a { opacity: 1; transform: none; }
  .nav.is-open > a:nth-of-type(1) { transition-delay: .06s; } .nav.is-open > a:nth-of-type(2) { transition-delay: .1s; }
  .nav.is-open > a:nth-of-type(3) { transition-delay: .14s; } .nav.is-open > a:nth-of-type(4) { transition-delay: .18s; }
  .nav.is-open > a:nth-of-type(5) { transition-delay: .22s; }
  .nav { counter-reset: navitem; }
  .nav__foot { display: flex; flex-direction: column; gap: 20px; margin-top: auto; padding-top: 32px; position: relative; }
  .nav__foot .btn { width: 100%; color: #fff; }
  .nav__contact { display: flex; flex-direction: column; gap: 2px; }
  .nav__contact a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; color: #E8EEF7; text-decoration: none; font-size: 15px; }
  .nav__contact a span { color: var(--on-dark-2); font-size: 13px; }
  .nav__contact a:hover { color: #fff; }

  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 105; background: rgba(5,15,38,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
  body.nav-open { overflow: hidden; }
  body.nav-open .header { z-index: 200; }
  body.nav-open .wa-float { opacity: 0; pointer-events: none; }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__photo { position: absolute; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; opacity: .55; }
.hero__shade { position: absolute; top: 0; right: 0; width: 58%; height: 100%; background: linear-gradient(90deg, var(--navy) 0%, rgba(7,26,61,.6) 45%, rgba(7,26,61,.15) 100%); }
.hero__strands { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; }
.hero__strands path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s ease-out forwards; }
.hero__strands path:nth-child(2) { animation-delay: .15s; }
.hero__strands path:nth-child(3) { animation-delay: .3s; }
.hero__strands path:nth-child(4) { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__inner { position: relative; padding: 112px 24px 160px; display: flex; flex-direction: column; gap: 28px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #E8EEF7; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: block; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; max-width: 780px; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: var(--on-dark); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 760px) {
  .hero__photo, .hero__shade { width: 100%; }
  .hero__photo { opacity: .35; }
  .hero__shade { background: linear-gradient(180deg, rgba(7,26,61,.55) 0%, var(--navy) 85%); }
  .hero__inner { padding: 56px 20px 112px; }
  .hero__actions .btn { width: 100%; }
}

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -64px; background: linear-gradient(180deg, transparent 0 64px, var(--navy) 64px); }
.stats__card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--navy); line-height: 1.15; }
.stat > span { font-size: 14px; color: var(--slate); }
.stat--red strong { color: var(--red); }
@media (max-width: 760px) { .stats__card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; gap: 18px; } .stats { margin: -48px 0 0; background: linear-gradient(180deg, transparent 0 48px, var(--navy) 48px); } }

/* Partner: Bester Technologies */
.partners { background: var(--navy); color: #fff; padding: 64px 0 88px; }
.partners__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.partners__logo { width: 168px; height: 168px; flex: none; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; padding: 26px; }
.partners__logo img { max-height: 112px; width: auto; }
.partners__text { max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.partners__label { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); margin: 0; }
.partners__text h2 { font-size: clamp(24px, 3vw, 32px); }
.partners__text p:last-child { color: var(--on-dark); }
@media (max-width: 640px) { .partners__inner { text-align: center; } }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--mist); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: #fff; }
.card__icon { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--navy); display: flex; align-items: center; justify-content: center; }
.card__icon svg { width: 24px; height: 24px; stroke: #fff; }
.card h3 { font-size: 21px; color: var(--navy); }
.card p { font-size: 15px; color: var(--slate); }
.card a { font-weight: 600; font-size: 15px; margin-top: auto; padding: 6px 0; text-decoration: none; }
.feature { grid-row: span 2; position: relative; border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .6s; }
.feature:hover img { transform: scale(1.04); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,26,61,0) 30%, rgba(7,26,61,.92) 100%); }
.feature__body { position: relative; z-index: 1; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.tag { align-self: flex-start; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; letter-spacing: .06em; text-transform: uppercase; }
.feature h3 { font-size: 28px; }
.feature p { color: #D6DEEC; }
.feature a { color: #fff; font-weight: 600; text-decoration: none; padding: 8px 0; }
.services__extra { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
.extra { flex: 1 1 360px; border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.extra svg { width: 26px; height: 26px; stroke: var(--blue); flex: none; }
.extra strong { color: var(--navy); display: block; }
.extra span { font-size: 14px; color: var(--slate); }
@media (max-width: 1024px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } .feature { min-height: 340px; grid-row: auto; } }

/* Process */
.process { background: var(--navy); color: #fff; }
.process .h2 { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { border-top: 3px solid; padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.steps b { font-family: var(--font-head); font-weight: 600; }
.steps h3 { font-size: 21px; }
.steps p { font-size: 15px; color: var(--on-dark-2); }
.steps li:nth-child(1) { border-color: var(--strand-cyan); } .steps li:nth-child(1) b { color: var(--strand-cyan); }
.steps li:nth-child(2) { border-color: var(--strand-green); } .steps li:nth-child(2) b { color: var(--strand-green); }
.steps li:nth-child(3) { border-color: var(--strand-yellow); } .steps li:nth-child(3) b { color: var(--strand-yellow); }
.steps li:nth-child(4) { border-color: var(--strand-purple); } .steps li:nth-child(4) b { color: var(--strand-purple); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Projects */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: #F1F4F9; color: var(--ink); border: 0; border-radius: 999px; padding: 12px 18px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--font-body); transition: background .2s, color .2s; }
.filter:hover { background: #E4E9F2; }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; }
.projects__featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.pcard { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; }
.pcard img { width: 100%; height: 280px; object-fit: cover; }
.pcard__body { padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pcard__meta { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pcard h3 { font-size: 24px; color: var(--navy); margin-top: 6px; }
.pcard__client { font-size: 14px; color: var(--slate); margin-top: 4px; }
.metre { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; padding: 12px 16px; border-radius: var(--r-md); white-space: nowrap; }
.ptable-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.ptable th { background: var(--mist); text-align: left; padding: 16px 24px; font-size: 13px; color: var(--slate); font-weight: 600; }
.ptable td { padding: 16px 24px; border-top: 1px solid var(--line); }
.ptable td:first-child { font-weight: 600; color: var(--navy); }
.ptable td:nth-child(2) { font-family: var(--font-head); font-weight: 600; white-space: nowrap; }
.ptable td:nth-child(3) { color: var(--slate); }
.ptable tfoot td { background: var(--mist); font-weight: 700; color: var(--navy); }
.bar { height: 6px; background: var(--line); border-radius: 99px; margin-top: 6px; max-width: 160px; }
.bar i { display: block; height: 6px; border-radius: 99px; background: var(--red); }
.is-hidden { display: none !important; }
@media (max-width: 860px) { .projects__featured { grid-template-columns: 1fr; } .pcard img { height: 220px; } }

/* Gallery teaser + gallery page */
.gallery-teaser { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.masonry { columns: 3 280px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; }
.tile { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; background: var(--navy); }
.tile img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); opacity: .85; }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; text-align: left; color: #fff; background: linear-gradient(180deg, rgba(7,26,61,0) 0%, rgba(7,26,61,.88) 100%); transform: translateY(8px); opacity: 0; transition: opacity .3s, transform .3s; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__cap b { display: block; font-family: var(--font-head); font-size: 17px; }
.tile__cap span { font-size: 13px; color: var(--on-dark); }
.tile__tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
@media (hover: none) { .tile__cap { opacity: 1; transform: none; } }

.page-hero { background: var(--navy); color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.page-hero p { color: var(--on-dark); max-width: 600px; margin-top: 16px; font-size: 18px; }
.page-hero .hero__strands { height: 80px; }
.gallery-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.gallery-count { font-size: 14px; color: var(--slate); }
.masonry figure.is-entering { animation: rise .5s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,15,38,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } }
.lightbox__fig { margin: 0; width: min(960px, 100%); display: flex; flex-direction: column; gap: 14px; }
.lightbox__img { width: min(960px, 100%); height: auto; max-height: 76vh; object-fit: contain; margin: 0 auto; border-radius: var(--r-md); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lightbox__cap { color: #fff; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lightbox__cap b { font-family: var(--font-head); font-size: 20px; display: block; }
.lightbox__cap span { color: var(--on-dark-2); font-size: 14px; }
.lightbox__count { font-family: var(--font-head); color: var(--on-dark-2); font-size: 14px; align-self: flex-end; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } .lightbox__img { max-height: 62vh; } }

/* About */
.about { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 20px; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mv div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.mv h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.mv p { font-size: 15px; color: var(--slate); }
.about__media { position: relative; }
.about__media img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-xl); }
.about__badge { position: absolute; left: 24px; bottom: 24px; background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: 0 12px 30px rgba(7,26,61,.18); }
.about__badge strong { font-family: var(--font-head); font-size: 28px; color: var(--navy); display: block; line-height: 1.1; }
.about__badge span { font-size: 14px; color: var(--slate); }
@media (max-width: 900px) { .about .container { grid-template-columns: 1fr; } .mv { grid-template-columns: 1fr; } .about__media img { height: 300px; } }

/* Contact */
.contact .container { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__list { display: flex; flex-direction: column; gap: 12px; }
.contact__item { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.contact__item:hover { border-color: var(--navy); color: var(--ink); }
.contact__item span { font-size: 13px; color: var(--slate); }
.contact__item strong { font-size: 17px; }
.form { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.form h3 { font-size: 26px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--on-dark); }
.field input, .field select, .field textarea { background: var(--navy-2); border: 1px solid #2A4378; border-radius: var(--r-sm); padding: 14px; color: #fff; font-size: 15px; font-family: var(--font-body); }
.field input::placeholder, .field textarea::placeholder { color: #8FA0C0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--strand-cyan); outline-offset: 1px; border-color: transparent; }
.field textarea { resize: vertical; min-height: 110px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--on-dark-2); line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--red); }
.form__note { font-size: 13px; color: var(--on-dark-2); }
.form__status { font-size: 14px; color: var(--strand-green); min-height: 1em; }
@media (max-width: 900px) { .contact .container { grid-template-columns: 1fr; } .form__row { grid-template-columns: 1fr; } .form { padding: 24px; } }

/* Footer */
.footer { background: var(--navy-3); color: var(--on-dark); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding: 56px 24px 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer__logo { background: #fff; border-radius: var(--r-md); padding: 8px 12px; align-self: flex-start; }
.footer__logo img { height: 52px; width: auto; }
.footer p { font-size: 14px; color: var(--on-dark-2); }
.footer__col { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.footer__col b { color: #fff; margin-bottom: 6px; }
.footer__col a { color: var(--on-dark); text-decoration: none; padding: 6px 0; }
.footer__col a:hover { color: #fff; }
.footer__col span { padding: 6px 0; }
.footer__bottom { border-top: 1px solid #1A2A4A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 24px 28px; font-size: 13px; color: #8B98B2; }

/* Legal pages */
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: 24px; color: var(--navy); margin: 36px 0 10px; }
.legal__body p { color: var(--slate); margin-bottom: 12px; }
.footer__bottom a { color: #8B98B2; }
.footer__bottom a:hover { color: #fff; }
.footer__bottom .credit { color: #C9D3E6; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(201,211,230,.35); }
.footer__bottom .credit:hover { color: #fff; border-color: #fff; }
.page-hero--404 { padding: 140px 0 160px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wa-float__icon { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(7,26,61,.35); transition: transform .2s; }
.wa-float__icon svg { width: 32px; height: 32px; }
.wa-float__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-float__label { background: #fff; color: var(--navy); font-weight: 600; font-size: 14px; padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(7,26,61,.18); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; }
.wa-float:hover .wa-float__icon, .wa-float:focus-visible .wa-float__icon { transform: scale(1.06); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label, .wa-float.is-peek .wa-float__label { opacity: 1; transform: none; }
.wa-float:hover { color: var(--navy); }
.contact__item--wa strong { color: #128C4A; }
@media (max-width: 520px) { .wa-float { right: 14px; bottom: 14px; } .wa-float__icon { width: 56px; height: 56px; } }

/* 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) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__strands path { stroke-dashoffset: 0; }
}
