:root {
  --bg: #050a12;
  --panel: rgba(10, 22, 35, 0.72);
  --panel-strong: rgba(12, 28, 43, 0.92);
  --line: rgba(126, 211, 255, 0.22);
  --line-strong: rgba(126, 211, 255, 0.45);
  --text: #f4fbff;
  --muted: #a9bdca;
  --cyan: #20d4ff;
  --blue: #1677ff;
  --steel: #7a8fa0;
  --amber: #f1b24a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #04070c;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 12%, rgba(32, 212, 255, 0.12), transparent 28rem),
    linear-gradient(130deg, #050a12 0%, #071321 48%, #04070c 100%);
  font-family: Aptos, "Trebuchet MS", Verdana, sans-serif;
  line-height: 1.6;
}

body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-grid {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(126, 211, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 211, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.2));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(4, 10, 18, 0.72);
  border-bottom: 1px solid rgba(126, 211, 255, 0.16);
  backdrop-filter: blur(18px);
  transition: background .25s ease, padding .25s ease;
}
.site-header.is-scrolled { padding-block: 10px; background: rgba(4, 10, 18, 0.9); }
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo {
  display: block;
  width: 52px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(32, 212, 255, .22));
}
.brand-logo-full {
  width: clamp(150px, 15vw, 220px);
  height: auto;
  max-height: 64px;
  object-fit: contain;
}
.brand-logo:not([src]), .brand-logo.is-missing { display: none; }
.brand-logo:not(.is-missing) ~ .brand-mark { display: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--bg);
  font: 800 20px/1 Bahnschrift, Aptos, sans-serif;
  background: linear-gradient(135deg, var(--cyan), #f7fdff);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  box-shadow: 0 0 28px rgba(32, 212, 255, .32);
}
.brand strong { display: block; font: 900 22px/1 Bahnschrift, Aptos, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.brand small { display: block; color: var(--muted); font: 800 11px/1.1 Bahnschrift, Aptos, sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: rgba(217, 237, 247, .88);
  font-family: Bahnschrift, Aptos, "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.main-nav a { position: relative; padding-block: 9px; transition: color .2s ease, text-shadow .2s ease; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
  transition: transform .25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--cyan); text-shadow: 0 0 16px rgba(32, 212, 255, .32); }
.main-nav a.is-active::after { transform: scaleX(1); }

.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--text);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-cta {
  color: #07111d;
  background: var(--cyan);
  font-family: Bahnschrift, Aptos, "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.btn-primary {
  color: #06111c;
  background: linear-gradient(135deg, var(--cyan), #d9fbff);
  box-shadow: 0 16px 42px rgba(32, 212, 255, .22);
}
.btn-secondary { background: rgba(255,255,255,.04); }
.btn:hover, .header-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(32, 212, 255, .18); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--text); }

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  padding: 86px 0;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding-top: 112px;
}
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}
h1, h2, h3 {
  margin: 0;
  font-family: Bahnschrift, Aptos, "Trebuchet MS", sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}
h1 { max-width: 640px; font-size: clamp(34px, 4.4vw, 58px); }
h2 { max-width: 820px; font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: 21px; }
p { color: var(--muted); }
.hero-lead { max-width: 670px; margin: 18px 0 0; font-size: clamp(18px, 2vw, 23px); color: #d8e8f1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}
.hero-metrics div {
  padding: 18px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.hero-metrics strong { display: block; margin-top: 8px; color: var(--text); font: 900 34px/1 Bahnschrift, Aptos, sans-serif; }
.hero-metrics span { display: block; color: var(--cyan); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.hero-metrics small { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.35; }

.blueprint-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.05);
}
.blueprint-panel::before {
  content: none;
  display: none;
  position: absolute;
  inset: 20px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.18);
  clip-path: polygon(0 0, 42% 0, 42% 1px, 0 1px, 0 100%, 1px 100%, 1px 0);
}
.hero-carousel::before { content: none !important; display: none !important; border: 0 !important; }
.blueprint-panel img { width: 100%; height: min(68vh, 640px); object-fit: cover; filter: saturate(.9) contrast(1.08); }
.hero-carousel { isolation: isolate; }
.hero-slides { position: relative; height: min(68vh, 640px); }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .7s ease, transform 1.1s ease;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.carousel-arrow {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(126, 211, 255, .32);
  border-radius: 50%;
  color: var(--text);
  background: rgba(4, 12, 20, .58);
  backdrop-filter: blur(10px);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.arrow-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate(-50%, -50%);
  transform-origin: center;
}
.carousel-prev .arrow-icon,
.portfolio-prev .arrow-icon,
.modal-prev .arrow-icon {
  transform: translate(-50%, -50%) rotate(180deg);
}
.carousel-arrow:hover { border-color: var(--cyan); background: rgba(32, 212, 255, .14); transform: translateY(-1px); }
.carousel-arrow:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.carousel-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.carousel-next { right: 16px; top: 50%; transform: translateY(-50%); }
.carousel-prev:hover, .carousel-next:hover { transform: translateY(calc(-50% - 1px)); }
.carousel-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, border-color .2s ease;
}
.carousel-dots button.is-active { width: 28px; border-color: var(--cyan); background: var(--cyan); }
.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(32, 212, 255, .18), transparent);
  height: 38%;
  animation: scan 5.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { transform: translateY(-90%); } 50% { transform: translateY(220%); } }
.split-section {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(24px, 6vw, 84px);
  border-top: 1px solid rgba(126, 211, 255, .16);
}
.section-content p { max-width: 850px; font-size: 18px; margin-block: 0 22px; }
.section-content h2 + p { margin-top: 30px; }
.section-heading { margin-bottom: 34px; }

.cards-grid, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card, .feature-grid div, .timeline-item, .portfolio-card, .contact-form {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(12, 28, 43, .78), rgba(8, 14, 23, .58));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.service-card:hover,
.feature-grid div:hover,
.timeline-item:hover,
.portfolio-card:hover,
.contact-form:hover,
.hero-metrics div:hover,
.contact-list > a:hover,
.contact-list > span:hover,
.service-card.is-lit,
.feature-grid div.is-lit,
.timeline-item.is-lit,
.portfolio-card.is-lit,
.contact-form.is-lit,
.hero-metrics div.is-lit,
.contact-list > a.is-lit {
  transform: translateY(-3px);
  border-color: rgba(32, 212, 255, .58);
  background: linear-gradient(160deg, rgba(15, 38, 58, .86), rgba(8, 18, 30, .7));
  box-shadow: 0 18px 46px rgba(32, 212, 255, .11), inset 0 1px 0 rgba(255,255,255,.1);
}
.service-card { min-height: 218px; padding: 24px; }
.service-card::after, .portfolio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(32, 212, 255, .14), transparent 42%);
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover::after,
.portfolio-card:hover::after,
.service-card.is-lit::after,
.portfolio-card.is-lit::after { opacity: 1; }
.service-card span,
.timeline-item span { color: rgba(32, 212, 255, .38); font: 900 54px/1 Bahnschrift, Aptos, sans-serif; }
.service-card h3 { margin-top: 28px; }
.service-card p, .timeline-item p { margin-bottom: 0; }

.feature-grid { margin-top: 34px; }
.feature-grid div { padding: 20px; }
.feature-grid strong { display: block; color: var(--text); }
.feature-grid span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.timeline-item { padding: 22px; min-height: 230px; }
.timeline-item h3 { margin-top: 28px; font-size: 19px; }

.portfolio-shell { position: relative; }
.portfolio-viewport { overflow: hidden; padding: 2px; }
.portfolio-grid {
  display: flex;
  gap: 18px;
  transform: translateX(0);
  transition: transform .45s ease;
  will-change: transform;
}
.portfolio-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 405px;
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.portfolio-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}
.portfolio-card .card-copy { position: relative; z-index: 1; padding: 18px; }
.portfolio-card .tag { color: var(--amber); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.portfolio-card p { font-size: 14px; }

.portfolio-prev { left: -22px; top: 43%; }
.portfolio-next { right: -22px; top: 43%; }
.portfolio-dots { position: static; justify-content: center; margin-top: 22px; transform: none; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 52px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(32, 212, 255, .12), transparent 44%),
    rgba(8, 18, 30, .82);
}
.cta-band h2 { font-size: clamp(25px, 3vw, 40px); }

.contact-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
}
.contact-list { display: grid; gap: 12px; margin-top: 28px; min-width: 0; width: 100%; }
.contact-list > a, .contact-list > span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  color: #d9edf7;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
  overflow-wrap: anywhere;
}
.contact-list svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(32, 212, 255, .2));
}
.whatsapp-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("../icons/whatsapp.svg") center / contain no-repeat;
  mask: url("../icons/whatsapp.svg") center / contain no-repeat;
}
.contact-list .whatsapp-icon {
  color: var(--cyan);
  filter: drop-shadow(0 0 10px rgba(32, 212, 255, .2));
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}
.contact-form label { display: grid; gap: 8px; color: #d9edf7; font-weight: 800; font-size: 13px; }
.contact-form .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(126, 211, 255, .22);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: rgba(2, 8, 14, .78);
  font-size: 16px;
  outline: none;
}
select option { color: #06111c; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32, 212, 255, .12); }
.custom-select { position: relative; display: block; }
.custom-select-button {
  position: relative;
  width: 100%;
  min-height: 49px;
  border: 1px solid rgba(126, 211, 255, .22);
  border-radius: var(--radius);
  padding: 13px 46px 13px 14px;
  color: var(--text);
  background: rgba(2, 8, 14, .78);
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.custom-select-button::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-65%) rotate(45deg);
}
.custom-select.is-open .custom-select-button { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(32, 212, 255, .12); }
.custom-options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: none;
  max-height: 254px;
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(5, 14, 24, .98);
  box-shadow: var(--shadow);
  padding: 6px;
}
.custom-select.is-open .custom-options { display: grid; }
.custom-options button {
  border: 0;
  border-radius: 6px;
  padding: 11px 12px;
  color: #dceff8;
  background: transparent;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.custom-options button:hover { color: var(--cyan); background: rgba(32, 212, 255, .09); }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 13px; }
.form-note.is-success { color: #8ff5cf; }
.form-note.is-error { color: #ffb4b4; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(320px, 1.4fr) minmax(260px, .9fr);
  align-items: end;
  gap: 22px;
  padding: 34px clamp(20px, 4vw, 48px);
  border-top: 1px solid rgba(126, 211, 255, .18);
  background: #04080e;
}
.site-footer p, .site-footer small { margin: 0; color: var(--muted); }
.footer-center {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  color: rgba(217, 237, 247, .82);
  font-family: Bahnschrift, Aptos, "Trebuchet MS", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-footer nav a { transition: color .2s ease, text-shadow .2s ease; }
.site-footer nav a:hover { color: var(--cyan); text-shadow: 0 0 14px rgba(32, 212, 255, .22); }
.site-credit {
  color: rgb(169, 189, 202);
  font-size: 12px;
  text-align: right;
  align-self: end;
  padding-bottom: 2px;
  opacity: .5;
}
.site-credit a { color: rgb(244, 251, 255); font-weight: 800; letter-spacing: .04em; }
.site-credit a:hover { color: rgba(32, 212, 255, .72); }
.site-credit span { color: var(--cyan); font-weight: 900; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(126, 211, 255, .5);
  border-radius: 50%;
  color: #06111c;
  background: linear-gradient(135deg, var(--cyan), #d9fbff);
  box-shadow: 0 16px 46px rgba(32, 212, 255, .32), inset 0 0 0 1px rgba(255,255,255,.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.whatsapp-float.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(32, 212, 255, .42), inset 0 0 0 1px rgba(255,255,255,.55);
}
.whatsapp-float .whatsapp-icon {
  width: 30px;
  height: 30px;
  color: #06111c;
  transform: translateY(1px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: min(88vh, 860px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(3, 9, 16, .82);
  cursor: pointer;
  font: 500 28px/1 Arial, Helvetica, sans-serif;
  text-align: center;
}
.modal-media { position: relative; min-height: 420px; background: #02070d; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.modal-next { right: 16px; top: 50%; transform: translateY(-50%); }
.modal-prev:hover, .modal-next:hover { transform: translateY(calc(-50% - 1px)); }
.modal-body { overflow: auto; padding: 34px; }
.modal-body, .custom-options {
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 212, 255, .65) rgba(255,255,255,.06);
}
.modal-body::-webkit-scrollbar, .custom-options::-webkit-scrollbar { width: 10px; }
.modal-body::-webkit-scrollbar-track, .custom-options::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
.modal-body::-webkit-scrollbar-thumb, .custom-options::-webkit-scrollbar-thumb {
  border: 2px solid rgba(5, 14, 24, .98);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}
.modal-body h2 { font-size: clamp(28px, 3vw, 42px); }
.modal-highlights { display: grid; gap: 10px; margin: 22px 0; }
.modal-highlights span {
  display: block;
  padding: 10px 12px;
  border-left: 2px solid var(--cyan);
  background: rgba(255,255,255,.04);
  color: #dceff8;
}
.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.modal-thumbs button {
  padding: 0;
  border: 1px solid rgba(126, 211, 255, .16);
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}
.modal-thumbs button.is-active { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(32, 212, 255, .18); }
.modal-thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-card { flex-basis: calc((100% - 18px) / 2); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .cards-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .site-header { grid-template-columns: auto auto; }
  main { padding-top: 0; }
  .header-cta { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(5, 13, 22, .96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .main-nav.is-open { display: flex; }
  .hero, .split-section, .contact-section, .modal-panel { grid-template-columns: 1fr; }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: auto;
    padding-top: 116px;
  }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-copy .hero-lead { order: 3; }
  .hero-copy .hero-actions { order: 4; }
  .hero-visual { order: 5; width: 100%; }
  .hero-metrics { order: 6; width: 100%; }
  .contact-section { display: flex; flex-direction: column; }
  .contact-copy { display: contents; }
  .contact-copy .eyebrow { order: 1; }
  .contact-copy h2 { order: 2; }
  .contact-form { order: 3; }
  .contact-list { order: 4; }
  .blueprint-panel img { height: 420px; }
  .hero-slides { height: 420px; }
  .section-shell { padding: 38px 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer { justify-items: center; text-align: center; }
  .site-footer .brand { justify-content: center; }
  .footer-center { justify-items: center; text-align: center; }
  .site-footer nav { justify-content: center; }
  .site-footer p { font-size: 13px; line-height: 1.45; }
  .site-credit { text-align: center; font-size: 10px; }
  .site-credit span { color: var(--cyan) !important; font-family: Arial, Helvetica, sans-serif; }
  .modal { padding: 12px; }
  .modal-panel { overflow: auto; }
  .modal-media { min-height: 300px; }
}

@media (max-width: 620px) {
  .section-shell {
    width: calc(100% - 28px);
    max-width: var(--max);
  }
  .hero.section-shell { padding-top: 108px; padding-bottom: 38px; }
  .eyebrow, .section-kicker { margin-bottom: 12px; }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 28px; }
  .hero-metrics { margin-top: 16px; }
  .hero-visual { margin-top: 24px; }
  .section-heading { margin-bottom: 26px; }
  h1 { font-size: 36px; }
  .brand-logo-full { width: 160px; max-height: 56px; }
  .hero-metrics, .cards-grid, .feature-grid, .timeline, .portfolio-grid, .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
  .cta-band { align-items: stretch; flex-direction: column; padding: 28px; }
  .portfolio-card { min-height: auto; }
  .portfolio-card { flex-basis: 100%; }
  .portfolio-card img { height: 220px; }
  .portfolio-prev { left: 8px; }
  .portfolio-next { right: 8px; }
  .service-card span, .timeline-item span { font-size: 42px; }
  .modal-thumbs { grid-template-columns: repeat(3, 1fr); }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
