/* =========================================================
   ORKAL Aluminium — styles
   Palette taken from the logo: navy #3d487d · red #d10a11 / #e30613
   ========================================================= */

:root {
  --navy: #3d487d;
  --navy-500: #4f5b96;
  --navy-700: #2c3566;
  --navy-900: #1b2146;
  --navy-950: #11152e;
  --red: #d10a11;
  --red-2: #e30613;
  --red-soft: #fde8e9;

  --ink: #161a36;
  --muted: #5b6080;
  --muted-dark: #a3a9c9;
  --paper: #f5f6fa;
  --paper-2: #eaecf4;
  --white: #fff;
  --line: rgba(22, 26, 54, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --brand-grad: linear-gradient(100deg, var(--navy-900) 0%, var(--navy-500) 30%, var(--navy) 55%, #7481c2 75%, var(--navy-700) 100%);
  --metal: linear-gradient(100deg, #9aa2c6 0%, #ffffff 22%, #b7bddb 42%, #eef0f8 60%, #8e97c0 82%, #dfe2f0 100%);

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Type scale: every text size on the site comes from here */
  --fs-caption: 14px;                           /* tags, numbers, small labels */
  --fs-small: 15px;                             /* nav, chips, buttons, list items */
  --fs-body: 17px;                              /* all paragraphs */
  --fs-lead: clamp(18px, 1.4vw, 20px);          /* intro paragraphs */
  --fs-h3: clamp(20px, 1.7vw, 23px);            /* all card / block titles */
  --fs-quote: clamp(22px, 2vw, 27px);           /* highlighted statement */
  --fs-h3-lg: clamp(28px, 2.8vw, 38px);         /* featured card, stats */
  --fs-h2: clamp(34px, 4.4vw, 58px);            /* section titles */
  --fs-display: clamp(50px, 7.4vw, 104px);      /* hero title */

  --radius: 22px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 100px;
  --shadow-lg: 0 40px 80px -40px rgba(17, 21, 46, .45);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

em {
  font-style: normal;
  font-weight: inherit;
  color: var(--red);
}

/* Brand diamond (from the logo) */
.dia { position: absolute; display: block; aspect-ratio: 1; transform: rotate(45deg); border-radius: 8%; }
.dia-navy { background: var(--navy); }
.dia-red { background: var(--red); }
.dia-outline { border: 1.5px solid currentColor; opacity: .18; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500; font-size: var(--fs-small);
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(-4px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(209, 10, 17, .7); }
.btn-red:hover { background: var(--red-2); transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(227, 6, 19, .8); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 11px 20px; }
.btn-block { width: 100%; }

/* ---------- Header (floating glass bar) ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter) 0;
  pointer-events: none;
}
.header-shell {
  pointer-events: auto;
  max-width: calc(var(--container) - 2 * 24px);
  margin-inline: auto;
  height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-inline: 22px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 10px 30px -18px rgba(17, 21, 46, .35);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.is-scrolled .header-shell { background: rgba(255, 255, 255, .9); box-shadow: 0 18px 40px -20px rgba(17, 21, 46, .45); }
.logo img { height: 62px; width: auto; }

.main-nav { display: flex; gap: 2px; }
.main-nav a {
  position: relative; padding: 8px 14px; font-size: var(--fs-small); font-weight: 500;
  color: var(--navy-700); border-radius: 999px;
  transition: color .3s, background .3s;
}
.main-nav a:hover { background: var(--paper-2); color: var(--navy-900); }
.main-nav a.is-active { color: var(--red); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-small); color: var(--navy-900); }
.phone-num { direction: ltr; }
.phone-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.phone-ico svg { width: 16px; height: 16px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--navy-900); position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 7vh, 80px));
  padding-bottom: clamp(50px, 7vh, 80px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 60% at 15% 30%, rgba(61, 72, 125, .12), transparent 70%),
    radial-gradient(40% 40% at 90% 10%, rgba(209, 10, 17, .06), transparent 70%),
    var(--paper);
}
.hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-deco .d1 { width: 180px; left: 4%; top: 18%; opacity: .07; }
.hero-deco .d2 { width: 60px; left: 44%; top: 16%; opacity: .9; animation: spin-float 9s ease-in-out infinite; }
.hero-deco .d3 { width: 110px; left: -30px; bottom: 12%; opacity: .1; }
.hero-deco .d4 { width: 520px; left: 8%; top: 8%; color: var(--navy); }
@keyframes spin-float { 50% { transform: rotate(45deg) translateY(-14px); } }

.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-caption); font-weight: 500; color: var(--navy-700);
  padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 6px 20px -12px rgba(17, 21, 46, .3);
}
.dot { width: 8px; height: 8px; transform: rotate(45deg); background: var(--red); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(209, 10, 17, 0); } 0% { box-shadow: 0 0 0 0 rgba(209, 10, 17, .35); } }

.hero-title {
  margin-top: 26px;
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
  color: var(--navy-900);
}
.hero-title .line { display: block; }
.metal, .brand-text {
  background: var(--brand-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

.hero-lead { margin-top: 26px; max-width: 540px; font-size: var(--fs-lead); color: var(--muted); }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.08; justify-self: center; }
.hero-photo { position: absolute; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); will-change: transform; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.main { inset: 0 0 12% 16%; }
.hero-photo.sub { width: 44%; aspect-ratio: 1; left: 0; bottom: 0; border: 6px solid #fff; border-radius: 24px; }
.hero-visual::before {
  content: ""; position: absolute; width: 38%; aspect-ratio: 1; right: -9%; top: -7%; z-index: -1;
  background: var(--navy); transform: rotate(45deg); border-radius: 10%;
}
.hero-visual::after {
  content: ""; position: absolute; width: 16%; aspect-ratio: 1; left: 37%; bottom: -4%; z-index: 2;
  background: var(--red); transform: rotate(45deg); border-radius: 10%;
  box-shadow: 0 16px 30px -12px rgba(209, 10, 17, .7);
}

.floating-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 20px 40px -20px rgba(17, 21, 46, .5);
  font-size: var(--fs-caption); font-weight: 500; color: var(--navy-900);
  animation: float 6s ease-in-out infinite;
}
.fc-1 { flex-direction: column; align-items: flex-start; gap: 0; right: -18px; bottom: 22%; }
.fc-1 strong { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; color: var(--red); }
.fc-1 span { color: var(--muted); }
.fc-2 { left: 20%; top: 6%; animation-delay: -3s; }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
@keyframes float { 50% { transform: translateY(-12px); } }

.stats {
  list-style: none; padding: 0;
  margin: clamp(50px, 8vh, 90px) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 24px 50px -36px rgba(17, 21, 46, .5);
  border: 1px solid var(--line);
}
.stats li { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { border-inline-start: 1px solid var(--line); }
.stats strong { font-size: var(--fs-h3-lg); font-weight: 700; line-height: 1.1; color: var(--navy-900); }
.stats li:first-child strong, .stats li:nth-child(2) strong { color: var(--red); }
.stats li > span { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-900); color: #fff;
  overflow: hidden; padding: 20px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: 10px -14px;
  position: relative; z-index: 2;
  box-shadow: 0 20px 40px -30px rgba(17, 21, 46, .8);
}
.marquee-track {
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: marquee 40s linear infinite;
  font-size: var(--fs-h3-lg); font-weight: 600; white-space: nowrap;
}
.marquee-track i { width: 12px; height: 12px; background: var(--red); transform: rotate(45deg); border-radius: 2px; flex: none; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(90px, 12vw, 160px); position: relative; }
.section-head { margin-bottom: clamp(44px, 6vw, 76px); }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-tag {
  font-size: var(--fs-caption); font-weight: 500; color: var(--navy);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ""; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); border-radius: 2px; }
.section-tag.light { color: var(--muted-dark); }
.section-title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.5px; line-height: 1.15; color: var(--navy-900); }
.section-title.light { color: #fff; }
.section-title.light em { color: #ff4d55; }

/* ---------- About ---------- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
.about-head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.about-photo { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { content: ""; position: absolute; width: 70px; aspect-ratio: 1; right: 24px; bottom: -35px; background: var(--red); transform: rotate(45deg); border-radius: 10%; }
.about-body > p { color: var(--muted); font-size: var(--fs-lead); }
.about-body > p + p { margin-top: 22px; }
.big-text { font-size: var(--fs-quote) !important; line-height: 1.5; color: var(--navy-900) !important; font-weight: 400; }

.values { list-style: none; padding: 0; margin: 50px 0 0; display: grid; }
.values li { display: flex; gap: 22px; align-items: flex-start; padding: 26px 0; border-top: 1px solid var(--line); }
.values li:last-child { border-bottom: 1px solid var(--line); }
.v-icon { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: background .4s, transform .4s var(--ease); }
.values li:hover .v-icon { background: var(--red); transform: rotate(-8deg); }
.v-icon svg { width: 24px; height: 24px; }
.values h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 4px; color: var(--navy-900); }
.values p { color: var(--muted); font-size: var(--fs-body); }

/* ---------- Services Bento ---------- */
.services { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); grid-auto-flow: dense; gap: 16px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); background: #fff; padding: 30px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; isolation: isolate;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(61, 72, 125, .14), transparent 45%);
  transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(17, 21, 46, .45); }
.card:hover::before { opacity: 1; }
.card-xl { grid-column: span 2; grid-row: span 2; }
.card-tall { grid-row: span 2; }
.card-wide { grid-column: span 2; }

.card-photo { color: #fff; border: 0; background: var(--navy-900); }
.card-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(17, 21, 46, .92) 10%, rgba(17, 21, 46, .35) 55%, rgba(17, 21, 46, .05) 100%); }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.card-photo:hover .card-img { transform: scale(1.07); }
.card-photo p { color: #d4d8ec !important; }
.card-photo .card-num { color: #ff5a61; }

.card-red { background: var(--red); color: #fff; border: 0; }
.card-red::after { content: ""; position: absolute; width: 150px; aspect-ratio: 1; left: -40px; top: -50px; border: 2px solid rgba(255, 255, 255, .25); transform: rotate(45deg); border-radius: 10%; }
.card-red .card-num { color: rgba(255, 255, 255, .75); }
.card-red p { color: rgba(255, 255, 255, .9) !important; }

.card-icon { width: 58px; height: 58px; padding: 12px; border-radius: 16px; background: var(--paper-2); color: var(--navy); position: relative; z-index: 2; transition: background .4s, color .4s; }
.card:hover .card-icon { background: var(--navy); color: #fff; }
.card-icon svg { width: 100%; height: 100%; }
.card-body { position: relative; z-index: 2; margin-top: auto; padding-top: 24px; }
.card-num { font-size: var(--fs-caption); font-weight: 600; color: var(--red); }
.card h3 { font-size: var(--fs-h3); font-weight: 600; margin: 6px 0 8px; }
.card:not(.card-photo):not(.card-red) h3 { color: var(--navy-900); }
.card p { color: var(--muted); font-size: var(--fs-body); line-height: 1.6; max-width: 440px; }
.card-xl h3 { font-size: var(--fs-h3-lg); }

.link-arrow { display: inline-flex; gap: 8px; margin-top: 16px; font-weight: 600; font-size: var(--fs-small); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow span { transition: transform .35s var(--ease); }
.link-arrow:hover span { transform: translateX(-5px); }

/* ---------- Services — Bento 2.0 (the centerpiece) ----------
   Photos open as a diamond (the logo shape) from the exact point the cursor
   enters; --r is registered so the diamond size can animate. */
@property --r { syntax: '<length>'; inherits: false; initial-value: 0px; }

.bx-hint { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--muted); max-width: 380px; }
.bx-hint-dia { flex: none; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); border-radius: 2px; animation: pulse 2.4s infinite; }

.bx { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; grid-auto-flow: dense; gap: 16px; }
.bx-xl { grid-column: span 2; grid-row: span 2; }
.bx-tall { grid-row: span 2; }
.bx-wide { grid-column: span 2; }
.bx-cta { grid-column: 1 / -1; }
.bx-item { perspective: 1100px; }

.bx-card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  --glare: rgba(61, 72, 125, .09);
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  padding: 26px;
  border-radius: 26px;
  overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, var(--paper), #fff 60%);
  border: 1px solid var(--line);
  color: var(--navy-900);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease), box-shadow .6s var(--ease), color .45s;
  will-change: transform;
}
.bx-card.is-tilting { transition: transform .15s linear, box-shadow .6s var(--ease), color .45s; }
.bx-card:hover { box-shadow: 0 45px 80px -40px rgba(17, 21, 46, .6); }

/* photo + shade */
.bx-img {
  --r: 0px;
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(var(--mx) calc(var(--my) - var(--r)), calc(var(--mx) + var(--r)) var(--my), var(--mx) calc(var(--my) + var(--r)), calc(var(--mx) - var(--r)) var(--my));
  transform: scale(1.14);
  transition: --r .95s cubic-bezier(.7, 0, .2, 1), transform 1.6s var(--ease);
}
.bx-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(17, 21, 46, .94) 4%, rgba(17, 21, 46, .5) 48%, rgba(17, 21, 46, .08) 100%);
  opacity: 0; transition: opacity .6s var(--ease);
}
/* cursor glare + glowing border that follows the cursor */
.bx-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), var(--glare), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.bx-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; padding: 1.5px;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--red-2), rgba(227, 6, 19, .25) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.bx-card:hover::before, .bx-card:hover::after { opacity: 1; }

.bx-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.bx-icon {
  width: 54px; height: 54px; padding: 13px; border-radius: 16px;
  background: var(--paper-2); color: var(--navy);
  border: 1px solid transparent;
  transition: background .45s, color .45s, border-color .45s, transform .6s var(--ease);
}
.bx-icon svg { width: 100%; height: 100%; display: block; }
.bx-card:hover .bx-icon { transform: rotate(-8deg) scale(1.06); }
.bx-num { font-size: var(--fs-caption); font-weight: 600; color: var(--red); transition: color .45s; }

.bx-go {
  position: absolute; z-index: 1; top: 22px; left: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--navy-900);
  transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s;
}
.bx-go svg { width: 18px; height: 18px; }
.bx-card:hover .bx-go { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(-45deg); }

.bx-body { position: relative; z-index: 1; margin-top: auto; }
.bx-body h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
.bx-body p { margin-top: 8px; font-size: var(--fs-body); line-height: 1.55; color: var(--muted); max-width: 460px; transition: color .45s; }
.bx-xl .bx-body h3 { font-size: var(--fs-h3-lg); font-weight: 700; }
.bx-tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bx-tags li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: var(--fs-caption); font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.bx-tags li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: #ff5a61; }

/* "lit" = photo showing: on hover, on touch devices (.is-lit), and always for the big cards */
.bx-card:is(:hover, .is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *) { color: #fff; border-color: transparent; --glare: rgba(255, 255, 255, .16); }
.bx-card:is(:hover, .is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *) .bx-img { --r: 1800px; transform: scale(1.02); }
.bx-card:is(:hover, .is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *) .bx-shade { opacity: 1; }
.bx-card:is(:hover, .is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *) .bx-body p { color: #d7dbef; }
.bx-card:is(:hover, .is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *) .bx-num { color: #ff7a80; }
.bx-card:is(:hover, .is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *) .bx-icon {
  background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bx-card:is(.is-lit, .bx-xl > *, .bx-tall > *, .bx-wide > *):not(:hover) .bx-go { border-color: rgba(255, 255, 255, .35); color: #fff; }
.bx-card:is(.bx-xl > *, .bx-tall > *, .bx-wide > *):hover .bx-img { transform: scale(1.08); }

/* closing CTA banner */
.bx-cta-inner {
  position: relative; height: 100%;
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
  padding: 34px 40px;
  border-radius: 26px;
  overflow: hidden; isolation: isolate;
  color: #fff;
  background: linear-gradient(115deg, #a8060c 0%, var(--red) 45%, #ef2f37 100%);
  box-shadow: 0 40px 70px -40px rgba(209, 10, 17, .7);
}
.bx-cta-marquee { position: absolute; inset: 0; z-index: -1; display: flex; align-items: center; overflow: hidden; opacity: .22; }
.bx-cta-track {
  display: flex; align-items: center; gap: 40px; width: max-content;
  font-size: clamp(64px, 9vw, 132px); font-weight: 700; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px #fff;
  animation: marquee 34s linear infinite;
}
.bx-cta-track i { width: 22px; height: 22px; flex: none; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.bx-cta-content { position: relative; }
.bx-cta .bx-num { color: rgba(255, 255, 255, .8); }
.bx-cta h3 { margin-top: 6px; font-size: var(--fs-h3-lg); font-weight: 700; line-height: 1.15; }
.bx-cta p { margin-top: 8px; font-size: var(--fs-lead); color: rgba(255, 255, 255, .9); }
.bx-cta-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px; border-radius: 999px;
  background: #fff; color: var(--red);
  font-size: var(--fs-body); font-weight: 600; white-space: nowrap;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bx-cta-btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.bx-cta-btn:hover { box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .55); }
.bx-cta-btn:hover svg { transform: translateX(-5px); }
.bx-cta-dia { position: absolute; z-index: -1; aspect-ratio: 1; transform: rotate(45deg); border-radius: 10%; transition: transform 1.4s var(--ease); }
.bx-cta-dia.d1 { width: 200px; left: -60px; top: -90px; border: 2px solid rgba(255, 255, 255, .35); }
.bx-cta-dia.d2 { width: 110px; left: 16%; bottom: -60px; background: rgba(255, 255, 255, .12); }
.bx-cta-dia.d3 { width: 34px; left: 30%; top: 22%; background: #fff; box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .35); animation: spin-float 7s ease-in-out infinite; }
.bx-cta-inner:hover .bx-cta-dia.d1 { transform: rotate(135deg); }
.bx-cta-inner:hover .bx-cta-dia.d2 { transform: rotate(-45deg) scale(1.2); }

@media (hover: none) { .bx-hint { display: none; } }
@media (max-width: 1100px) {
  .bx { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .bx-cta-inner { grid-template-columns: 1fr; align-items: start; padding: 30px 26px; }
  .bx-cta { grid-row: span 2; }
  .bx-cta-dia.d3 { display: none; }
}
@media (max-width: 600px) {
  .bx { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .bx-xl, .bx-wide, .bx-tall { grid-column: auto; grid-row: auto; }
  .bx-cta { grid-row: auto; }
  .bx-item { min-height: 250px; }
  .bx-xl { min-height: 440px; }
  .bx-tall { min-height: 380px; }
  .bx-card { padding: 22px; }
  .bx-cta-btn { justify-content: center; }
}

/* ---------- Services explorer (saved alternative: versions/index-services-explorer.html) ---------- */
.services-x {
  background:
    radial-gradient(45% 50% at 85% 20%, rgba(79, 91, 150, .45), transparent 70%),
    radial-gradient(35% 40% at 10% 90%, rgba(227, 6, 19, .14), transparent 70%),
    var(--navy-950);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.sx-deco { position: absolute; inset: 0; z-index: -1; color: #fff; pointer-events: none; }
.sx-deco .dia:first-child { width: 640px; right: -260px; top: -200px; }
.sx-deco .dia:last-child { width: 360px; left: -150px; bottom: -140px; }

.sx { display: grid; grid-template-columns: minmax(290px, 3.3fr) 8fr; gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.sx > * { min-width: 0; }

/* list */
.sx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line-dark); position: relative; }
.sx-list li { border-bottom: 1px solid var(--line-dark); }
.sx-list button {
  position: relative;
  width: 100%;
  display: grid; grid-template-columns: 44px 1fr 24px; align-items: center;
  padding: 15px 0;
  background: none; border: 0;
  color: rgba(255, 255, 255, .42);
  font-size: var(--fs-h3); font-weight: 500; text-align: start;
  transition: color .4s var(--ease), padding .5s var(--ease);
}
.sx-list button:hover { color: rgba(255, 255, 255, .85); }
.sx-num { font-size: var(--fs-caption); font-weight: 500; color: var(--muted-dark); transition: color .4s; }
.sx-arrow { color: var(--red-2); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .5s var(--ease); justify-self: end; }
.sx-list button.is-active { color: #fff; padding-inline-start: 14px; font-weight: 600; }
.sx-list button.is-active .sx-num { color: #ff4d55; }
.sx-list button.is-active .sx-arrow { opacity: 1; transform: none; }
.sx-bar { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; overflow: hidden; }
.sx-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(270deg, var(--red-2), #ff7a80); transform: scaleX(0); transform-origin: right; }

/* stage */
.sx-stage {
  position: relative;
  min-height: 660px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .08);
  touch-action: pan-y;
}
.sx-slide {
  position: absolute; inset: 0; z-index: 0;
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
  transition: clip-path 1.15s cubic-bezier(.7, 0, .2, 1);
}
.sx-slide.is-prev { z-index: 1; clip-path: polygon(50% -60%, 160% 50%, 50% 160%, -60% 50%); transition: none; }
.sx-slide.is-active { z-index: 2; clip-path: polygon(50% -60%, 160% 50%, 50% 160%, -60% 50%); }
.sx-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.8s var(--ease); }
.sx-slide.is-active img { transform: scale(1); }
.sx-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(17, 21, 46, .85) 0%, rgba(17, 21, 46, .25) 45%, rgba(17, 21, 46, 0) 65%),
              linear-gradient(180deg, rgba(17, 21, 46, .45) 0%, transparent 25%);
}
.sx-ghost {
  position: absolute; z-index: 1; top: 18px; left: 30px;
  font-size: clamp(90px, 11vw, 170px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6);
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s .35s, transform .9s .35s var(--ease);
}
.sx-slide.is-active .sx-ghost { opacity: 1; transform: none; }

.sx-info {
  position: absolute; z-index: 1;
  inset-inline: 26px; bottom: 26px;
  max-width: 560px;
  padding: 28px 30px;
  border-radius: 22px;
  background: rgba(17, 21, 46, .55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .14);
}
.sx-info > * { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .7s var(--ease); }
.sx-slide.is-active .sx-info > * { opacity: 1; transform: none; }
.sx-slide.is-active .sx-info > :nth-child(1) { transition-delay: .45s; }
.sx-slide.is-active .sx-info > :nth-child(2) { transition-delay: .52s; }
.sx-slide.is-active .sx-info > :nth-child(3) { transition-delay: .6s; }
.sx-slide.is-active .sx-info > :nth-child(4) { transition-delay: .68s; }
.sx-slide.is-active .sx-info > :nth-child(5) { transition-delay: .76s; }
.sx-info-num { display: block; font-size: var(--fs-caption); font-weight: 500; color: #ff5a61; margin-bottom: 6px; }
.sx-info h3 { font-size: var(--fs-h3-lg); font-weight: 700; line-height: 1.15; }
.sx-info p { margin-top: 10px; color: #d7dbef; font-size: var(--fs-body); line-height: 1.6; }
.sx-chips { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chips li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  font-size: var(--fs-caption); font-weight: 500;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
}
.sx-chips li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: #ff5a61; }

.sx-controls {
  position: absolute; z-index: 3; top: 22px; right: 22px;
  display: flex; align-items: center; gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(17, 21, 46, .5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.sx-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px;
  display: grid; place-items: center;
  transition: background .3s, transform .3s var(--ease);
}
.sx-btn:hover { background: var(--red); transform: scale(1.06); }
.sx-count { font-size: var(--fs-small); color: var(--muted-dark); min-width: 64px; text-align: center; }
.sx-count b { color: #fff; font-weight: 600; }

@media (max-width: 960px) {
  .sx { grid-template-columns: 1fr; gap: 18px; }
  .sx-stage { order: -1; min-height: 0; aspect-ratio: 4 / 5; max-height: 640px; }
  .sx-list {
    flex-direction: row; justify-content: flex-start; gap: 8px; border: 0;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-bottom: 4px;
  }
  .sx-list::-webkit-scrollbar { display: none; }
  .sx-list li { border: 0; flex: none; scroll-snap-align: start; }
  .sx-list button {
    display: flex; gap: 8px; padding: 10px 18px;
    border-radius: 999px; overflow: hidden;
    border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04);
    font-size: var(--fs-small); white-space: nowrap;
  }
  .sx-list button.is-active { padding-inline-start: 18px; background: #fff; color: var(--navy-900); border-color: #fff; }
  .sx-list button.is-active .sx-num { color: var(--red); }
  .sx-arrow { display: none; }
  .sx-bar { inset-inline: 14px; bottom: 5px; }
}
@media (max-width: 600px) {
  .sx-stage { aspect-ratio: auto; height: 580px; border-radius: 22px; }
  .sx-info { inset-inline: 12px; bottom: 12px; padding: 20px; }
  .sx-info h3 { font-size: 28px; }
  .sx-info p { font-size: 15px; }
  .sx-chips { display: none; }
  .sx-info .btn { margin-top: 14px; }
  .sx-ghost { top: 76px; left: 18px; }
  .sx-controls { top: 12px; right: 12px; }
  .sx-btn { width: 38px; height: 38px; }
}

/* ---------- Process ---------- */
.process { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.process-deco { position: absolute; inset: 0; z-index: -1; color: #fff; pointer-events: none; }
.process-deco .dia:first-child { width: 520px; left: -200px; top: -160px; }
.process-deco .dia:last-child { width: 300px; right: -120px; bottom: -120px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  padding: 34px 28px 38px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-dark);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.step:hover { border-color: rgba(227, 6, 19, .6); transform: translateY(-6px); background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.step-num { display: block; font-size: var(--fs-h2); font-weight: 300; line-height: 1; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 28px; }
.step h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted-dark); font-size: var(--fs-body); line-height: 1.6; }
.steps-line { margin-top: 40px; height: 3px; background: var(--line-dark); border-radius: 3px; overflow: hidden; }
.steps-line span { display: block; height: 100%; width: 0; background: linear-gradient(270deg, var(--red), #ff5a61); }

/* ---------- Projects / Gallery ---------- */
.projects { background: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-900); font-size: var(--fs-small); font-weight: 500; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 14px; }
.project { margin: 0; position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--paper-2); }
.project.p-tall { grid-row: span 2; }
.project.p-wide { grid-column: span 2; }
.project.is-hidden { display: none; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.07); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17, 21, 46, .8), transparent 50%); opacity: 0; transition: opacity .5s; }
.project figcaption {
  position: absolute; z-index: 1; inset-inline: 18px; bottom: 16px;
  color: #fff; font-weight: 500; font-size: var(--fs-small);
  display: flex; align-items: center; gap: 10px;
  transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.project figcaption::before { content: ""; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); flex: none; }
.project:hover::after, .project:focus-visible::after { opacity: 1; }
.project:hover figcaption, .project:focus-visible figcaption { transform: none; opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11, 14, 32, .94);
  backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 60px 70px;
  animation: fade .3s var(--ease);
}
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px -20px #000; }
.lightbox figcaption { color: #fff; font-weight: 500; font-size: var(--fs-body); }
.lb-close, .lb-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background .3s; }
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-close { top: 18px; left: 18px; }
.lb-prev { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Clients ---------- */
.clients { background: var(--paper); }
.client-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.client {
  position: relative; padding: 40px 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.client:hover { background: var(--navy); color: #fff; transform: translateY(-6px); }
.client:hover h3 { color: #fff; }
.client:hover p, .client:hover li { color: #d4d8ec; }
.client-idx { position: absolute; top: 10px; left: 26px; font-size: 110px; font-weight: 700; line-height: 1; color: rgba(61, 72, 125, .08); transition: color .5s; }
.client:hover .client-idx { color: rgba(255, 255, 255, .12); }
.client h3 { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 12px; color: var(--navy-900); transition: color .5s; }
.client p { color: var(--muted); transition: color .5s; }
.client ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.client li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; transition: color .5s; }
.client li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--red); flex: none; }

/* Nationwide coverage — interactive map */
.coverage {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(50% 60% at 20% 50%, rgba(79, 91, 150, .55), transparent 70%),
    radial-gradient(30% 40% at 95% 5%, rgba(227, 6, 19, .18), transparent 70%),
    var(--navy-900);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.coverage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 25% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 25% 50%, #000, transparent 75%);
}
.coverage-title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.5px; line-height: 1.15; color: #fff; }
.coverage-title em { color: #ff4d55; }
.coverage-lead { margin-top: 14px; color: #c4c9e2; font-size: var(--fs-lead); max-width: 34ch; text-wrap: balance; }

.regions { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.regions button {
  width: 100%; height: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .04);
  color: #fff; text-align: start;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.regions button:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .22); }
.r-num { font-size: var(--fs-caption); font-weight: 500; color: var(--muted-dark); min-width: 22px; transition: color .4s; }
.r-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r-text strong { font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }
.r-text small { font-size: 13px; color: var(--muted-dark); line-height: 1.4; transition: color .4s; }
.r-arrow { margin-inline-start: auto; color: var(--red); font-weight: 700; opacity: 0; transform: translateX(8px); transition: opacity .4s, transform .4s var(--ease); }
.regions button.is-active { background: #fff; border-color: #fff; color: var(--navy-900); transform: translateX(-4px); box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .7); }
.regions button.is-active .r-num { color: var(--red); }
.regions button.is-active .r-text small { color: var(--muted); }
.regions button.is-active .r-arrow { opacity: 1; transform: none; }

.map-wrap { position: relative; display: grid; place-items: center; }
.map-wrap::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; z-index: -1;
  border: 1.5px solid rgba(255, 255, 255, .08); transform: rotate(45deg); border-radius: 10%;
}
.map { position: relative; height: 620px; aspect-ratio: 320 / 940; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; color: rgba(255, 255, 255, .3); }
.map-land { fill: url(#mapDots); }
.map-outline { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; stroke-linejoin: round; }
.map-route {
  fill: none; stroke: url(#routeGrad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.8s var(--ease) .4s;
}
.coverage.is-in .map-route { stroke-dashoffset: 0; }
.map-runner { fill: #fff; filter: drop-shadow(0 0 6px #ff5a61); opacity: 0; transition: opacity .6s 3s; }
.coverage.is-in .map-runner { opacity: 1; }

.pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 1; }
.pin i {
  position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: #fff; border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
  transition: background .4s, transform .4s var(--ease), box-shadow .4s;
}
.pin i::after {
  content: ""; position: absolute; inset: -7px; border-radius: 3px;
  border: 1.5px solid rgba(255, 255, 255, .45);
  animation: pin-pulse 2.4s ease-out infinite;
}
.pin b {
  position: absolute; right: 20px; top: 0;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; color: var(--navy-900);
  font-size: var(--fs-small); font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .7);
  opacity: 0; transform: translate(-8px, -50%);
  transition: opacity .4s, transform .4s var(--ease);
  pointer-events: none;
}
.pin.is-active { z-index: 2; }
.pin.is-active i { background: var(--red-2); transform: rotate(45deg) scale(1.45); box-shadow: 0 0 0 6px rgba(227, 6, 19, .25), 0 0 26px rgba(227, 6, 19, .9); }
.pin.is-active i::after { border-color: rgba(255, 90, 97, .8); }
.pin.is-active b { opacity: 1; transform: translate(0, -50%); }
@keyframes pin-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Contact ---------- */
.contact { background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; width: 700px; aspect-ratio: 1; right: -260px; bottom: -380px; z-index: -1; background: var(--navy); transform: rotate(45deg); border-radius: 8%; opacity: .5; }
.contact::after { content: ""; position: absolute; width: 90px; aspect-ratio: 1; left: 6%; top: 10%; z-index: -1; background: var(--red); transform: rotate(45deg); border-radius: 10%; opacity: .9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact-copy > p { color: #c4c9e2; margin-top: 24px; font-size: var(--fs-lead); max-width: 460px; }
.contact-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-list span { color: var(--muted-dark); font-size: var(--fs-small); }
.contact-list a { font-weight: 600; font-size: var(--fs-h3); transition: color .3s; }
.contact-list a:hover { color: #ff5a61; }

.contact-form {
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  display: grid; gap: 14px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit; font-size: var(--fs-body);
  transition: border-color .3s, background .3s;
  appearance: none; -webkit-appearance: none;
  resize: vertical;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%233d487d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: left 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.field label { position: absolute; right: 18px; top: 18px; color: var(--muted); font-size: var(--fs-body); pointer-events: none; transition: font-size .25s var(--ease), top .25s var(--ease), color .25s; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label { top: 7px; font-size: 12px; color: var(--navy); font-weight: 500; }
.field.has-error input, .field.has-error select { border-color: var(--red); background: var(--red-soft); }
.form-status { min-height: 1.4em; font-size: var(--fs-small); text-align: center; }
.form-status.ok { color: #15803d; }
.form-status.err { color: var(--red); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-dark); padding-block: 60px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-brand img { height: 90px; width: auto; }
.footer-brand p { margin-top: 14px; color: #fff; font-size: var(--fs-lead); font-weight: 500; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: var(--fs-small); }
.footer-nav a:hover { color: #fff; }
.copy { grid-column: 1 / -1; font-size: var(--fs-caption); padding-top: 24px; border-top: 1px solid var(--line-dark); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 60; left: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 9px; }
  .phone-num { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 84px; }
  .menu-toggle { display: block; }
  .header-actions .btn-sm { display: none; }
  .phone-num { display: none; }
  .header-shell { height: 64px; padding-inline: 16px 9px; }
  .logo img { height: 44px; }
  .main-nav {
    position: fixed; top: calc(88px + env(safe-area-inset-top, 0px)); inset-inline: var(--gutter);
    flex-direction: column; gap: 0;
    padding: 12px 22px 18px;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    box-shadow: 0 30px 60px -30px rgba(17, 21, 46, .5);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
  }
  .main-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: var(--fs-h3); padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { background: none; }
  .nav-cta-mobile { display: block; color: var(--red) !important; border-bottom: 0 !important; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-deco .d2 { display: none; }
  .hero-visual { max-width: 460px; margin-top: 20px; }
  .fc-1 { right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-grid { grid-template-columns: 1fr; }
  .about-head { position: static; }
  .project-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .client-cards { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr; }
  .coverage { gap: 0; }
  .coverage-copy { display: contents; }
  .map-wrap { order: 1; margin-block: 30px 10px; }
  .regions { order: 2; }
  .map { height: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --fs-body: 16px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual::before { right: 0; top: -4%; }
  .fc-2 { left: 4%; }
  .stats li { padding: 20px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(220px, auto); }
  .card-xl, .card-wide { grid-column: auto; }
  .card-xl { grid-row: span 2; }
  .steps { grid-template-columns: 1fr; }
  .project-grid { grid-auto-rows: 180px; gap: 10px; }
  .project.p-wide { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .coverage { padding: 32px 18px; border-radius: 22px; }
  .regions { grid-template-columns: 1fr; }
  .map { height: 380px; }
  .footer-inner { grid-template-columns: 1fr; }
  .lightbox { padding: 70px 10px; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
  .wa-float { width: 54px; height: 54px; left: 16px; }
}

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