:root {
  --ink: #0d1420;
  --ink-soft: #334155;
  --navy: #011031;
  --logo-blue: #124ccf;
  --blue: #124ccf;
  --cyan: #2f73ff;
  --mint: #16a77a;
  --amber: #f2a93b;
  --paper: #ffffff;
  --mist: #f3f6f8;
  --line: #d9e1ea;
  --shadow: 0 18px 50px rgba(13, 20, 32, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-blue), #58b7ff);
  box-shadow: 0 0 18px rgba(47, 115, 255, .5);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(1, 16, 49, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { background: rgba(1, 16, 49, .99); box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }
.nav-wrap { height: 82px; display: flex; align-items: center; gap: 24px; }
.brand { width: 176px; height: 54px; overflow: hidden; border-radius: 0; background: #011031; flex: 0 0 auto; box-shadow: none; }
.brand img { width: 100%; height: 100%; object-fit: cover; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.main-nav a {
  color: #e7eef8;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  white-space: nowrap;
  transition: color .22s var(--ease), transform .22s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: #fff; transform: translateY(-1px); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  background: var(--logo-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; border-radius: 99px; background: #fff; transition: .22s ease; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 14px 28px rgba(18, 97, 216, .24); }
.btn-primary:hover { background: #0d53bd; box-shadow: 0 18px 34px rgba(18, 97, 216, .32); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .62); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .16); }
.btn-light { color: var(--navy); background: #fff; box-shadow: var(--shadow); }
.btn-light:hover { box-shadow: 0 22px 54px rgba(13, 20, 32, .22); }
.btn-large { min-height: 54px; padding-inline: 22px; }
.icon-svg { width: 1.15em; height: 1.15em; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.btn [data-icon],
.whatsapp-float [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.btn .icon-svg { width: 1.05em; height: 1.05em; }
.nav-cta .icon-svg { width: 1em; height: 1em; }

.hero, .page-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 134px 0 78px;
  background: var(--navy);
  overflow: hidden;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 24, 49, .96), rgba(6, 24, 49, .76) 48%, rgba(6, 24, 49, .42)),
    var(--hero-image) center / cover no-repeat;
}
.hero-with-slider::before {
  background:
    linear-gradient(90deg, rgba(1, 16, 49, .97), rgba(1, 16, 49, .76) 45%, rgba(1, 16, 49, .3)),
    radial-gradient(circle at 18% 35%, rgba(18, 76, 207, .34), transparent 28%);
}
.hero-home::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 10, 34, .96), rgba(0, 10, 34, .74) 46%, rgba(0, 10, 34, .34));
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
}
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-dots {
  position: absolute;
  z-index: 3;
  left: max(16px, calc((100vw - 1160px) / 2));
  bottom: 28px;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .38);
  cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
}
.hero-dots button.is-active {
  width: 52px;
  background: var(--cyan);
}
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(0deg, rgba(6, 24, 49, .72), transparent);
  z-index: 1;
}
.page-hero::before { animation: heroDrift 18s var(--ease) infinite alternate; }
@keyframes heroDrift {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
  align-items: end;
}
.hero-copy { max-width: 760px; color: #fff; }
.hero-copy,
.page-hero-copy {
  animation: heroFadeIn .9s var(--ease) both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.eyebrow, .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .84rem;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Barlow Condensed", Arial, sans-serif;
  line-height: .98;
  text-transform: uppercase;
}
h1 { margin-top: 22px; font-size: clamp(3.6rem, 6.2vw, 4.7rem); color: #fff; max-width: 920px; }
[data-typewriter]::after {
  content: "";
  display: inline-block;
  width: .08em;
  height: .82em;
  margin-left: .08em;
  background: var(--cyan);
  transform: translateY(.08em);
  animation: caretBlink .8s steps(2, start) infinite;
}
[data-typewriter].is-typed::after { display: none; }
@keyframes caretBlink {
  50% { opacity: 0; }
}
.hero-copy p, .page-hero p { max-width: 640px; color: #dce8f7; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-panel {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: 24px;
  backdrop-filter: blur(14px);
  transition: transform .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease);
}
.hero-panel:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .36); }
.hero-panel .icon-svg { width: 38px; height: 38px; color: var(--amber); }
.hero-panel strong { display: block; margin-top: 18px; font-size: 1.1rem; }
.hero-panel small { display: block; margin-top: 8px; color: #dce8f7; }
.page-hero { min-height: 520px; }
.page-hero-copy { position: relative; z-index: 2; max-width: 780px; color: #fff; }

.metrics {
  position: relative;
  z-index: 4;
  margin-top: -58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.metrics article { padding: 26px; border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }
.metrics .icon-svg { width: 31px; height: 31px; color: var(--blue); }
.metrics article,
.process-step,
.value-card,
.service-block,
.mini-card,
.info-panel,
.contact-list article,
.quote-form {
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease), background .26s var(--ease);
}
.metrics article:hover,
.process-step:hover,
.value-card:hover,
.service-block:hover,
.mini-card:hover,
.info-panel:hover,
.contact-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 76, 207, .34);
  box-shadow: 0 20px 48px rgba(13, 20, 32, .13);
}
.metrics article:hover .icon-svg,
.value-card:hover > .icon-svg,
.service-block:hover > .icon-svg,
.mini-card:hover > .icon-svg,
.contact-list article:hover .icon-svg { transform: translateY(-2px) scale(1.08); }
.metrics .icon-svg,
.value-card > .icon-svg,
.service-block > .icon-svg,
.mini-card > .icon-svg,
.contact-list .icon-svg,
.card-icon {
  transition: transform .26s var(--ease), color .26s var(--ease), background .26s var(--ease);
}
.metrics strong { display: block; margin-top: 14px; font-size: 1rem; }
.metrics p { margin: 6px 0 0; color: var(--ink-soft); font-size: .94rem; }

.section { padding: 88px 0; }
.section-light { background: var(--mist); }
.section-head { margin-bottom: 36px; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr); gap: 44px; align-items: end; }
.center { max-width: 760px; margin-inline: auto; text-align: center; }
.center .section-label { justify-content: center; }
.section h2, .rich-text h2, .band-copy h2, .cta-grid h2 { margin-top: 12px; color: var(--ink); font-size: 3.7rem; }
.section-head p, .rich-text p, .band-copy p, .cta-grid p { color: var(--ink-soft); font-size: 1.04rem; }

.cards-grid { display: grid; gap: 22px; }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-card, .value-card, .service-block, .mini-card, .product-card, .info-panel, .quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(13, 20, 32, .08);
}
.feature-card { overflow: hidden; transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.feature-card:hover, .product-card:hover, .portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card:hover { border-color: rgba(18, 76, 207, .34); }
.feature-card img { width: 100%; height: 245px; object-fit: cover; transition: transform .55s var(--ease), filter .55s var(--ease); }
.feature-card:hover img { transform: scale(1.06); filter: saturate(1.08) contrast(1.04); }
.card-body { padding: 24px; position: relative; }
.card-icon {
  position: absolute;
  right: 20px;
  top: -28px;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(18, 97, 216, .24);
}
.card-icon .icon-svg { width: 28px; height: 28px; }
.feature-card:hover .card-icon { transform: translateY(-4px) rotate(-3deg); background: var(--navy); }
.feature-card h3, .process-step h3, .mini-card h3, .value-card h3 { font-size: 1.95rem; color: var(--ink); }
.feature-card p, .process-step p, .mini-card p, .value-card p, .service-block p, .product-card p { color: var(--ink-soft); }

.band { color: #fff; background: linear-gradient(135deg, #061831, #102d49); }
.band-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 58px; align-items: center; }
.band h2, .band p { color: #fff; }
.media-stack { display: grid; grid-template-columns: .9fr 1fr; gap: 14px; align-items: end; }
.media-stack img { width: 100%; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
.media-stack img { transition: transform .45s var(--ease), filter .45s var(--ease); }
.media-stack img:hover { transform: translateY(-5px) scale(1.015); filter: saturate(1.08); }
.media-stack img:first-child { height: 460px; }
.media-stack img:last-child { height: 320px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 750; }
.check-list .icon-svg { color: var(--mint); margin-top: 3px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.process-step > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
}

.gallery-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-preview img, .portfolio-item img { width: 100%; height: 310px; object-fit: cover; border-radius: 8px; }
.gallery-preview img:first-child { height: 310px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 900; text-transform: uppercase; font-size: .88rem; transition: gap .22s var(--ease), color .22s var(--ease); }
.text-link, .footer a, .footer-bottom span, .footer-bottom a { overflow-wrap: normal; word-break: normal; }
.text-link:hover { gap: 12px; color: var(--navy); }

.cta-strip { padding: 62px 0; color: #fff; background: #0f2f2a; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.cta-grid h2, .cta-grid p { color: #fff; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
.info-panel, .value-card, .service-block, .mini-card { padding: 26px; }
.value-card > .icon-svg, .service-block > .icon-svg, .mini-card > .icon-svg {
  width: 38px;
  height: 38px;
  color: var(--blue);
  margin-bottom: 18px;
}
.service-block h2 { font-size: 2.45rem; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card { display: grid; grid-template-columns: 190px 1fr; gap: 22px; padding: 16px; align-items: center; transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.product-card:hover { border-color: rgba(18, 76, 207, .34); }
.product-card img { width: 100%; height: 190px; object-fit: cover; border-radius: 6px; background: var(--mist); transition: transform .5s var(--ease), filter .5s var(--ease); }
.product-card:hover img { transform: scale(1.035); filter: saturate(1.08); }
.product-card .icon-svg { width: 30px; height: 30px; color: var(--blue); }
.product-card h2 { margin-top: 12px; font-size: 2.2rem; }

.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.portfolio-item img { height: 270px; transition: transform .55s var(--ease), filter .55s var(--ease); }
.portfolio-item:hover img { transform: scale(1.07); filter: saturate(1.1) contrast(1.04); }
.portfolio-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #fff;
  background: rgba(6, 24, 49, .84);
  font-weight: 800;
  transition: transform .26s var(--ease), background .26s var(--ease);
}
.portfolio-item:hover span { transform: translateY(-3px); background: rgba(0, 10, 34, .92); }

.contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 42px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-list article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.contact-list article > [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
}
.contact-list article > div { min-width: 0; }
.contact-list .icon-svg { width: 30px; height: 30px; color: var(--blue); }
.contact-list h2, .quote-form h2 { font-size: 2rem; }
.contact-list p, .contact-list a { margin: 6px 0 0; color: var(--ink-soft); }
.quote-form { padding: 28px; display: grid; gap: 16px; }
.quote-form label { display: grid; gap: 7px; color: var(--ink-soft); font-weight: 750; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus {
  outline: 0;
  border-color: var(--logo-blue);
  box-shadow: 0 0 0 4px rgba(18, 76, 207, .12);
}
.quote-form textarea { resize: vertical; }

.footer { background: #050b14; color: #cbd5e1; padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 42px; }
.footer-logo { width: 176px; height: 72px; object-fit: cover; border-radius: 6px; margin-bottom: 16px; }
.footer h3 { color: #fff; font-size: 1.45rem; margin-bottom: 14px; }
.footer a, .footer p { display: block; margin: 8px 0; color: #cbd5e1; }
.footer a { transition: color .22s var(--ease), transform .22s var(--ease); }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer-contact-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
}
.footer-contact-link [data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
.footer-contact-link .icon-svg { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: #94a3b8; font-size: .88rem; }
.footer a.footer-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
  background: rgba(255, 255, 255, .08);
}
.footer a.footer-credit:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .14);
}
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #20bf63;
  box-shadow: 0 16px 34px rgba(32, 191, 99, .34);
  animation: whatsappPulse 1.7s ease-in-out infinite;
}
.whatsapp-float .icon-svg { width: 28px; height: 28px; }
.whatsapp-float:hover { animation: none; transform: scale(1.08); }
@keyframes whatsappPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32, 191, 99, .44), 0 16px 34px rgba(32, 191, 99, .34); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(32, 191, 99, 0), 0 18px 36px rgba(32, 191, 99, .36); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(32, 191, 99, 0), 0 16px 34px rgba(32, 191, 99, .34); }
}

.gallery-preview img,
.portfolio-item { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 82px;
  background: rgba(0, 8, 24, .9);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(100%, 1180px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42);
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  color: #dbe8ff;
  text-align: center;
  font-weight: 800;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 60;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff;
  background: rgba(1, 16, 49, .9);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--logo-blue); transform: translateY(-3px); }

.reveal { opacity: 1; transform: none; }
.js-enabled .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (max-width: 1080px) {
  h1 { font-size: 3.75rem; }
  .section h2, .rich-text h2, .band-copy h2, .cta-grid h2 { font-size: 3rem; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 16px 18px;
    background: rgba(6, 24, 49, .98);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .main-nav a::after { display: none; }
  .hero-grid, .band-grid, .content-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 360px; }
  .cards-grid.three, .cards-grid.four, .products-grid, .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid, .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .gallery-preview { grid-template-columns: 1fr 1fr; }
  .gallery-preview img:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 26px, 1160px); }
  .nav-wrap { height: 74px; }
  .brand { width: 148px; height: 48px; }
  .main-nav { top: 74px; }
  .hero, .page-hero { min-height: auto; padding: 118px 0 58px; }
  .hero::before, .page-hero::before { background: linear-gradient(90deg, rgba(0, 10, 34, .96), rgba(0, 10, 34, .72)), var(--hero-image) center / cover no-repeat; }
  .hero-with-slider::before { background: linear-gradient(90deg, rgba(1, 16, 49, .96), rgba(1, 16, 49, .66)); }
  .hero-home::before { background: linear-gradient(90deg, rgba(0, 10, 34, .96), rgba(0, 10, 34, .66)); }
  h1 { font-size: 2.85rem; }
  .hero-copy p, .page-hero p { font-size: 1rem; }
  .hero-actions, .footer-bottom { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .metrics, .cards-grid.three, .cards-grid.four, .process-grid, .products-grid, .portfolio-grid, .footer-grid, .gallery-preview { grid-template-columns: 1fr; }
  .metrics { margin-top: 0; border-radius: 0; width: 100%; }
  .metrics article { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 62px 0; }
  .split { grid-template-columns: 1fr; gap: 14px; }
  .section h2, .rich-text h2, .band-copy h2, .cta-grid h2 { font-size: 2.45rem; }
  .feature-card img, .gallery-preview img, .gallery-preview img:first-child, .portfolio-item img { height: 245px; }
  .media-stack { grid-template-columns: 1fr; }
  .media-stack img:first-child, .media-stack img:last-child { height: 285px; }
  .product-card { grid-template-columns: 1fr; }
  .product-card img { height: 240px; }
  .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .back-to-top { right: 14px; bottom: 78px; width: 42px; height: 42px; }
  .hero-dots { left: 13px; bottom: 18px; }
  .hero-dots button { width: 26px; }
  .hero-dots button.is-active { width: 40px; }
  .lightbox { padding: 64px 14px 76px; }
  .lightbox-prev { left: 12px; bottom: 18px; top: auto; }
  .lightbox-next { right: 12px; bottom: 18px; top: auto; }
  .lightbox button { width: 42px; height: 42px; }
}

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