/* ==========================================================================
   Matlamat Anggun Sdn Bhd — site styles
   Navy + water blue, with the company-profile green as the accent.
   ========================================================================== */

:root {
  /* Brand colours — change these to re-theme the whole site */
  --navy-950: #041127;
  --navy-900: #071a36;
  --navy-800: #0c2a52;
  --navy-700: #143a6e;
  --blue-500: #1a8fd8;   /* water blue (on dark) */
  --blue-600: #0b6db0;   /* water blue (text/links on light) */
  --sky-100: #e3f1fb;
  --sky-50: #f1f8fd;
  --green-400: #7ed957;  /* company-profile green */
  --green-300: #a6e888;
  --green-700: #2f7a16;  /* green text on light backgrounds */

  --ink: #0d1b2e;
  --muted: #4a5a70;
  --line: #dbe4ee;
  --bg: #f5f8fb;
  --white: #ffffff;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(7 26 54 / 0.06), 0 1px 3px rgb(7 26 54 / 0.08);
  --shadow: 0 10px 30px -12px rgb(7 26 54 / 0.25);
  --shadow-lg: 0 24px 60px -20px rgb(7 26 54 / 0.35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  /* z-index scale */
  --z-header: 30;
  --z-float: 40;
  --z-modal: 50;
}

/* ---------- 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-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 110%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy-900); color: #cfdcec; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--green-400); border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--green-400); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section--navy .section-head p { color: #b9c9dc; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--green-400); color: var(--navy-950); }
.btn--primary:hover { background: var(--green-300); color: var(--navy-950); box-shadow: 0 8px 24px -8px rgb(126 217 87 / .6); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: rgb(255 255 255 / .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgb(255 255 255 / .08); color: #fff; }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(10px);
  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; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--navy-900); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--sky-50); color: var(--blue-600); }
.nav a[aria-current="page"] { color: var(--blue-600); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--green-400); border-radius: 2px;
}
.nav .btn { margin-left: 10px; min-height: 44px; padding: 10px 20px; }
.nav .btn:hover { background: var(--green-300); color: var(--navy-950); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--sky-50); color: var(--navy-900); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px var(--gutter) 24px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; border-radius: 10px; font-size: 1.1rem; }
  .nav a[aria-current="page"]::after { left: 12px; right: auto; width: 28px; bottom: 6px; }
  .nav .btn { margin: 12px 0 0; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .95rem; }
}

/* ---------- Hero (home) ---------- */
.blueprint {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px),
    linear-gradient(rgb(255 255 255 / .02) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .02) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}
.hero { position: relative; color: #c9d7e8; overflow: hidden; }
.hero::after {
  /* diagonal green slash — echoes the company profile */
  content: ""; position: absolute; right: -8%; bottom: -30%; width: 42%; height: 70%;
  background: var(--green-400); transform: skewX(-38deg); opacity: .9; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--green-400); }
.hero .lead { color: #b9c9dc; max-width: 34em; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: .95rem; color: #b9c9dc; }
.hero-badges li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--green-400); flex: none; }

.hero-collage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; justify-self: end; width: 100%; }
.hero-collage figure { position: absolute; margin: 0; overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-lg); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .c1 { inset: 0 30% 38% 0; clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%); border-radius: var(--radius) 0 0 var(--radius); }
.hero-collage .c2 { inset: 40% 0 0 26%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 18%); border-radius: 0 var(--radius) var(--radius) 0; }
.hero-collage .c2 img { object-position: 20% 50%; }
.hero-collage .c3 { width: 30%; aspect-ratio: 3 / 4; right: 0; top: 0; border-radius: var(--radius); border: 5px solid var(--navy-900); }
.hero-collage figcaption {
  position: absolute; left: 12px; top: 12px;
  background: rgb(4 17 39 / .82); color: #fff; font-size: .78rem; font-weight: 600;
  padding: 6px 10px; border-radius: 6px; letter-spacing: .02em;
}
.hero-collage .c2 figcaption { left: auto; top: auto; right: 12px; bottom: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3; }
  .hero::after { width: 70%; height: 30%; bottom: -12%; }
}

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 28px 28px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-value { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--navy-900); line-height: 1; }
.stat-value small { font-size: .55em; color: var(--blue-600); }
.stat-label { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-card {
  grid-column: span 2;
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit; cursor: pointer;
  transition: box-shadow .25s, border-color .25s;
}
.service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 3; }
.service-card:hover { box-shadow: var(--shadow); border-color: #c5d6e8; color: inherit; }
.service-card .media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sky-100); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .media img { transform: scale(1.04); }
.service-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service-card .code {
  position: absolute; top: 14px; left: 14px;
  width: 40px; height: 40px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; color: var(--navy-950);
  background: var(--green-400); border-radius: 10px;
}
.service-card h3 { margin: 0; }
.service-card p { color: var(--muted); margin: 0 0 12px; font-size: 1rem; }
.service-card .text-link { margin-top: auto; }
@media (max-width: 960px) { .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: span 3; } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } .service-card, .service-card:nth-child(1), .service-card:nth-child(2) { grid-column: auto; } }

/* ---------- Roof anatomy (interactive cross-section) ---------- */
.anatomy { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.anatomy-visual { position: relative; }
.layer-stack { display: flex; flex-direction: column; gap: 6px; perspective: 1200px; }
.layer {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 58px; padding: 0 20px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: #fff;
  transform: rotateX(28deg) translateZ(0); transform-origin: center bottom;
  transition: transform .3s ease, box-shadow .3s, filter .3s;
  box-shadow: 0 10px 16px -10px rgb(0 0 0 / .6);
}
.layer .num { font-size: .78rem; opacity: .8; letter-spacing: .1em; }
.layer:hover, .layer.is-active { transform: rotateX(0deg) translateX(14px); filter: brightness(1.08); box-shadow: 0 14px 28px -12px rgb(0 0 0 / .6), 0 0 0 3px var(--green-400); }
.layer:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; }
.layer--finish     { background: repeating-linear-gradient(90deg, #6f7f93 0 46px, #5d6d82 46px 48px); }
.layer--screed     { background: linear-gradient(#8c96a3, #7a8594); }
.layer--insulation { background: repeating-linear-gradient(135deg, #d98aa7 0 10px, #cc7b99 10px 20px); color: #3a0f22; }
.layer--membrane   { background: linear-gradient(#1b2330, #0b1018); }
.layer--primer     { background: linear-gradient(#2a6fa8, #1a5a91); height: 40px; }
.layer--slab       { background: radial-gradient(circle at 20% 40%, #a9b0b8 0 2px, transparent 3px) 0 0/22px 18px, radial-gradient(circle at 70% 70%, #9aa2ab 0 2px, transparent 3px) 0 0/30px 24px, #b9c0c7; color: var(--navy-900); height: 80px; }

.rain { position: absolute; inset: -54px 0 auto 0; height: 54px; pointer-events: none; overflow: hidden; }
.rain span {
  position: absolute; top: -20px; width: 2px; height: 16px; border-radius: 2px;
  background: linear-gradient(transparent, var(--blue-500));
  animation: fall 1.6s linear infinite;
}
@keyframes fall { to { transform: translateY(74px); opacity: 0; } }

.anatomy-info {
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / .08);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); min-height: 250px;
}
.anatomy-info .tag { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-400); }
.anatomy-info h3 { font-size: 1.6rem; margin: 8px 0 12px; color: #fff; }
.anatomy-info p { color: #c3d1e2; margin: 0; }
.anatomy-hint { font-size: .92rem; color: #93a8c1; margin-top: 16px; display: flex; gap: 8px; align-items: center; }
.anatomy-hint svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) {
  .anatomy { grid-template-columns: 1fr; gap: 0; }
  /* on small screens: intro, then the layers, then the explanation right below them */
  .anatomy > div:first-child { display: contents; }
  .anatomy .section-head { order: 1; }
  .anatomy-visual { order: 2; margin-top: 24px; }
  .anatomy-info { order: 3; margin-top: 24px; min-height: 0; }
  .layer:hover, .layer.is-active { transform: rotateX(0deg); }
}

/* ---------- Why us ---------- */
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.edge { background: #fff; padding: 32px 28px; }
.edge .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-100); color: var(--blue-600); margin-bottom: 18px;
}
.edge .icon svg { width: 26px; height: 26px; }
.edge h3 { font-size: 1.15rem; margin-bottom: 8px; }
.edge p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .edge-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .edge-grid { grid-template-columns: 1fr; } }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; grid-auto-flow: dense; }
.project-card {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3.3; background: var(--navy-800); isolation: isolate;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1;
  padding: 60px 22px 20px;
  background: linear-gradient(transparent, rgb(4 17 39 / .92));
  color: #fff;
}
.project-card .sector { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-400); }
.project-card h3 { color: #fff; font-size: 1.2rem; margin: 4px 0 2px; }
.project-card .loc { font-size: .92rem; color: #c3d1e2; display: flex; align-items: center; gap: 6px; }
.project-card .loc svg { width: 15px; height: 15px; flex: none; }
.project-card--wide { grid-column: span 2; aspect-ratio: 8 / 3.25; }
.project-card[hidden] { display: none; }
@media (max-width: 900px) { .project-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } .project-card--wide { grid-column: auto; aspect-ratio: 4 / 3.3; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  background: #fff; color: var(--navy-900); border: 1.5px solid var(--line);
  transition: background-color .2s, border-color .2s, color .2s;
}
.filter:hover { border-color: var(--navy-700); }
.filter[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Partners marquee ---------- */
.partners { padding-block: 44px; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.partners p { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 56px; padding-right: 56px; list-style: none; }
.marquee li { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 1.35rem; letter-spacing: .04em; color: #8193a8; white-space: nowrap; }
.marquee li.has-logo { display: flex; align-items: center; height: 56px; }
.marquee li img { height: 44px; width: auto; max-width: 190px; object-fit: contain; }
/* per-brand sizing so tall or very wide logos look balanced */
.marquee li[data-logo="sika"] img { height: 60px; }
.marquee li[data-logo="bostik"] img { height: 54px; }
.marquee li[data-logo="corkjoint"] img { max-width: 250px; height: 34px; }
.marquee li[data-logo="sto"] img { height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); color: #c9d7e8; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -40%; width: 38%; height: 180%; background: var(--green-400); transform: skewX(-30deg); opacity: .95; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 16em; }
.cta-band p { max-width: 34em; color: #b9c9dc; }
.cta-band .btn-row { margin-top: 24px; }
@media (max-width: 700px) { .cta-band::after { width: 50%; top: 70%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: #c9d7e8; }
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(56px, 8vw, 96px); max-width: 640px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero p { color: #b9c9dc; font-size: 1.15rem; margin: 0; }
.page-hero-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 46%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 26 54 / .55), transparent 60%); z-index: 1; }
.page-hero-media::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--green-400); transform-origin: top left; transform: skewX(-13.5deg); }
.breadcrumbs { font-size: .9rem; margin-bottom: 18px; color: #93a8c1; }
.breadcrumbs a { color: #cfdcec; }
@media (max-width: 800px) {
  .page-hero-media { position: relative; width: 100%; height: 220px; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); }
  .page-hero-media::after { display: none; }
}

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.framed { position: relative; }
.framed img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.framed::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--green-400); border-radius: var(--radius-lg); z-index: -1; }
.framed .badge {
  position: absolute; left: -12px; bottom: 24px; background: var(--navy-900); color: #fff;
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-family: var(--font-display); line-height: 1.1;
}
.framed .badge strong { display: block; font-size: 2rem; font-stretch: 115%; color: var(--green-400); }
.framed .badge span { font-size: .85rem; color: #cfdcec; }
@media (max-width: 600px) { .framed::before { inset: 12px -8px -12px 8px; } .framed .badge { left: 12px; } }

.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-500) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; padding-top: 64px; }
.timeline .dot {
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); border: 4px solid var(--green-400); display: grid; place-items: center;
}
.timeline .dot svg { width: 20px; height: 20px; color: #fff; }
.timeline .year { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 1.8rem; color: #fff; line-height: 1; }
.timeline h3 { margin: 8px 0 6px; font-size: 1.05rem; color: var(--green-300); }
.timeline p { color: #b9c9dc; font-size: .98rem; margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-500) 0 10px, transparent 10px 18px); }
  .timeline li { padding: 0 0 0 72px; }
}

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; overflow: hidden; }
.vm-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--green-400); }
.vm-card .label { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--blue-600); }
.vm-card p { font-size: 1.2rem; color: var(--navy-900); margin: 10px 0 0; line-height: 1.55; }
@media (max-width: 800px) { .vm-grid { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; color: var(--navy-800); }

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 24px; height: 24px; color: var(--green-700); margin-top: 2px; }

.cidb {
  display: flex; align-items: center; gap: 18px; margin-top: 28px;
  padding: 18px 22px; border-radius: var(--radius); background: var(--sky-50); border: 1px solid var(--sky-100);
}
.cidb .grade { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 2.2rem; color: var(--navy-900); line-height: 1; }
.cidb p { margin: 0; font-size: .95rem; color: var(--muted); }
.cidb strong { color: var(--navy-900); }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgb(255 255 255 / .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  white-space: nowrap; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--navy-900);
  transition: background-color .2s, color .2s;
}
.subnav a b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--sky-100); font-size: .78rem; }
.subnav a:hover, .subnav a.is-active { background: var(--navy-900); color: #fff; }
.subnav a:hover b, .subnav a.is-active b { background: var(--green-400); color: var(--navy-950); }

.svc { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
.svc:nth-of-type(even) { background: var(--bg); }
.svc-head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; margin-bottom: 36px; }
.svc-code {
  width: 72px; height: 72px; display: grid; place-items: center; border-radius: 18px;
  background: var(--navy-900); color: var(--green-400);
  font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 2rem;
}
.svc-head h2 { margin-bottom: 8px; }
.svc-head p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 46em; }
@media (max-width: 600px) { .svc-head { grid-template-columns: 1fr; gap: 16px; } .svc-code { width: 56px; height: 56px; font-size: 1.6rem; } }

.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 40px; }
.method { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; }
.method h3 { font-size: 1.05rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.method h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--green-400); flex: none; }
.method p { margin: 0; color: var(--muted); font-size: .98rem; }
.method .apps { margin-top: 10px; font-size: .92rem; color: var(--navy-700); }
.method--feature { grid-column: 1 / -1; background: var(--navy-900); border-color: var(--navy-900); color: #c3d1e2; }
.method--feature h3 { color: #fff; font-size: 1.25rem; }
.method--feature p { color: #c3d1e2; }
.method--feature .flag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-950); background: var(--green-400); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.method--feature .apps { color: var(--green-300); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery li { margin: 0; }
.gallery button {
  all: unset; box-sizing: border-box; display: block; width: 100%; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sky-100);
}
.gallery button:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .cap { display: block; padding: 10px 2px 0; font-size: .92rem; font-weight: 600; color: var(--navy-800); line-height: 1.35; }
@media (max-width: 900px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery, .gallery--3 { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); display: none; place-items: center; background: rgb(4 17 39 / .94); padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { color: #e6eef8; margin-top: 14px; font-weight: 600; }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .12); color: #fff; display: grid; place-items: center; transition: background-color .2s;
}
.lightbox button:hover { background: rgb(255 255 255 / .24); }
.lightbox button svg { width: 26px; height: 26px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-item {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center;
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-item .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--green-400); }
.contact-item .icon svg { width: 24px; height: 24px; }
.contact-item .k { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy-900); line-height: 1.35; overflow-wrap: anywhere; }
.contact-item .v a { color: inherit; text-decoration: none; }
.contact-item .v a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-item .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; font-size: .92rem; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy-900); }
.field label .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgb(26 143 216 / .15); }
.field .error { display: none; color: #b42318; font-size: .88rem; margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b42318; }
.field.has-error .error { display: block; }
.form-note { font-size: .9rem; color: var(--muted); margin: 16px 0 0; }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 7; background: var(--sky-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb2c8; padding-top: 72px; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #cfdcec; text-decoration: none; }
.site-footer a:hover { color: var(--green-400); text-decoration: underline; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand img { background: #fff; border-radius: 8px; padding: 3px; }
.footer-brand .brand-sub { color: #9fb2c8; }
.footer-brand p { max-width: 30em; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .08); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: #7f93ab; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #1faa53; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / .45);
  transition: background-color .2s, box-shadow .2s;
}
.wa-float:hover { background: #178f45; color: #fff; }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 0; width: 58px; justify-content: center; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { 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; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
  .rain { display: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
