/* ---------- 1. RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #050505;
  color: #f5f5f5;
  line-height: 1.5;
  overflow-x: hidden;
  overscroll-behavior: none;
  font-feature-settings: 'ss01', 'cv11';
}

img, svg, video {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* ---------- 2. TOKENS ---------- */
:root {
  /* Color palette */
  --bg-0: #050505;
  --bg-1: #0E0E0E;
  --bg-2: #121212;
  --bg-3: #161616;

  --red-1: #D90429;
  --red-2: #FF1E1E;
  --red-3: #C4001D;
  --red-glow: rgba(217, 4, 41, 0.35);

  --white: #FFFFFF;
  --white-90: #F5F5F5;
  --white-70: #C8C8C8;
  --white-50: #8A8A8A;
  --white-30: #5A5A5A;
  --white-20: rgba(255, 255, 255, 0.12);
  --white-10: rgba(255, 255, 255, 0.08);
  --white-05: rgba(255, 255, 255, 0.04);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);

  /* Type */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Radius */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
}

::selection {
  background: var(--red-1);
  color: var(--white);
}

/* ---------- 3. CONTAINER & UTILS ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.text-accent { color: var(--red-1); }

.text-stroke {
  -webkit-text-stroke: 1.2px var(--white);
  color: transparent;
}

.dot {
  width: 6px;
  height: 6px;
  background: var(--red-1);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-glow);
  display: inline-block;
  flex-shrink: 0;
}

/* ---------- 4. GRAIN ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform 0.5s var(--ease-out), background 0.3s ease, color 0.3s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--lg { padding: 17px 28px; font-size: 15px; }

.btn--primary {
  background: var(--red-1);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--red-glow), 0 10px 30px -10px rgba(217, 4, 41, 0.6);
}
.btn--primary:hover {
  background: var(--red-2);
  box-shadow: 0 0 0 8px rgba(217, 4, 41, 0.08), 0 14px 40px -10px rgba(255, 30, 30, 0.6);
  transform: translateY(-2px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.btn svg { transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid var(--white-20);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.link-arrow:hover {
  border-color: var(--red-1);
  color: var(--red-2);
}
.link-arrow svg { transition: transform 0.4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. NAVBAR ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease-out), background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.nav--scrolled {
  padding: 12px 0;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--white-05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}
.nav__logo:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.nav__logo-img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav__logo--footer .nav__logo-img { height: 68px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--white-05);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav__link {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--white-70);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav__link:hover {
  color: var(--white);
  background: var(--white-05);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav__toggle:hover { border-color: var(--white-20); background: var(--white-05); }
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Drawer mobile — painel premium que cai do topo, altura = conteúdo */
.nav__drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
  z-index: 110;
}
.nav__drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--white-05);
  padding: 14px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.35s ease;
}
.nav__drawer.is-open .nav__drawer-panel {
  transform: translateY(0);
  opacity: 1;
}

.nav__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--white-05);
}

.nav__drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav__drawer-close:hover {
  border-color: var(--white-20);
  background: var(--white-05);
}

.nav__drawer-nav {
  display: flex;
  flex-direction: column;
}
.nav__drawer-link {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--white);
  padding: 14px 2px;
  letter-spacing: -0.015em;
  text-align: left;
  border-bottom: 1px solid var(--white-05);
  transition: color 0.25s ease, padding-left 0.3s var(--ease-out);
}
.nav__drawer-link:hover,
.nav__drawer-link:active {
  color: var(--red-1);
  padding-left: 10px;
}

.nav__drawer-cta {
  margin-top: 16px;
  justify-content: center;
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(110px, 14vh, 160px);
  padding-bottom: clamp(56px, 8vh, 130px);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  background-image: url('assets/Imagem1.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(60%) brightness(0.32) contrast(1.05);
  transform: scale(1.08);
  animation: heroZoom 24s var(--ease-in-out) infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.18); }
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(217, 4, 41, 0.20) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 80%, rgba(217, 4, 41, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.85) 60%, var(--bg-0) 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.hero__orb--1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--red-1) 0%, transparent 70%);
  top: 10%;
  left: -120px;
  animation: orbFloat 16s var(--ease-in-out) infinite alternate;
}
.hero__orb--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--red-3) 0%, transparent 70%);
  bottom: 5%;
  right: -80px;
  animation: orbFloat 20s var(--ease-in-out) infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, -40px); }
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow,
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-70);
  padding: 8px 14px;
  border: 1px solid var(--white-10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 80px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 22px 0 20px;
  max-width: 22ch;
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--white-70);
  max-width: 56ch;
  margin-bottom: clamp(28px, 4vh, 44px);
  font-weight: 300;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 8vh, 90px);
}

/* ---------- 8. MARQUEE ---------- */
.marquee {
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  overflow: hidden;
  background: var(--bg-1);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
  padding: 22px 0;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--white);
  white-space: nowrap;
}
.marquee__sep {
  color: var(--red-1);
  font-size: 10px;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 9. SECTIONS COMMON ---------- */
.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}

.section__head {
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 760px;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-top: 22px;
  color: var(--white);
}

.section__lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--white-70);
  margin-top: 22px;
  max-width: 60ch;
}
.section__lead--right {
  text-align: right;
  max-width: 38ch;
  margin-left: auto;
  margin-bottom: 8px;
}

/* ---------- 10. SERVICES ---------- */
.section--services { background: var(--bg-0); }

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--white-05);
  background: var(--bg-1);
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease;
}
.service:hover {
  transform: translateY(-4px);
  border-color: var(--white-20);
}

.service__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(35%) brightness(0.7);
  transition: transform 1.6s var(--ease-out), filter 0.6s ease;
}
.service:hover .service__media img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.85);
}
/* Service 01 (Climatização) — ampliar pra destacar o ar-condicionado split */
.services .service:nth-of-type(1) .service__media img {
  object-position: center 28%;
  transform: scale(1.25);
  transform-origin: center 28%;
  filter: grayscale(25%) brightness(0.78);
}
.services .service:nth-of-type(1):hover .service__media img {
  transform: scale(1.32);
  filter: grayscale(0%) brightness(0.9);
}

/* Service 02 (Mesas) — focar na mesa na base da foto, não no painel branded */
.services .service:nth-of-type(2) .service__media img {
  object-position: center 85%;
  filter: grayscale(20%) brightness(0.82);
}
.services .service:nth-of-type(2):hover .service__media img {
  filter: grayscale(0%) brightness(0.95);
}
.service__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(5, 5, 5, 0.85) 100%),
    radial-gradient(circle at 70% 20%, rgba(217, 4, 41, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.service__body { padding: 36px 36px 40px; }

.service__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 18px;
}
.service__tag span:first-child {
  color: var(--red-1);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.service__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}

.service__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--white-70);
  margin-bottom: 22px;
}

.service__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.service__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--white-70);
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1.5px;
  background: var(--red-1);
}

/* ---------- 11. EQUIPMENT ---------- */
.section--equipment {
  background: var(--bg-0);
  border-top: 1px solid var(--white-05);
}

.equipment {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 22px);
}

.equipment__card {
  position: relative;
  background: var(--bg-1);
  padding: 0;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  border: 1px solid var(--white-05);
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out);
}
.equipment__card:hover {
  border-color: var(--white-10);
}

.equipment__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  outline: none;
  overflow: hidden;
}
.equipment__media:focus-visible {
  outline: 2px solid var(--red-1);
  outline-offset: -2px;
}
.equipment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(20%) brightness(0.85);
  transition: transform 1.6s var(--ease-out), filter 0.6s ease;
}
.equipment__card:hover .equipment__media img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(1);
}

/* Focus crops para destacar AC ou mesa */
.equipment__media[data-focus="top"] img       { object-position: center 22%; }
.equipment__media[data-focus="top-left"] img  { object-position: 30% 30%; }
.equipment__media[data-focus="left"] img      { object-position: 30% 50%; }
.equipment__media[data-focus="bottom"] img    { object-position: center 78%; }

/* Botão Solicitar — overlay sobre a imagem (sutil por padrão, vermelho no hover) */
.equipment__cta {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 12px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  z-index: 2;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-out), background 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}
.equipment__cta:hover {
  background: var(--red-1);
  border-color: var(--red-1);
  box-shadow: 0 12px 30px -10px rgba(217, 4, 41, 0.55);
  transform: translate(-50%, 0) scale(1.03);
}
.equipment__cta svg { transition: transform 0.4s var(--ease-out); }
.equipment__cta:hover svg { transform: translateX(2px); }

/* Gradient sutil de fundo do botão pra dar legibilidade — sempre presente mas suave */
.equipment__card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.55) 60%, rgba(5, 5, 5, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.35s var(--ease-out);
}

/* Desktop (hover capable): botão escondido por padrão, aparece ao hover */
@media (hover: hover) and (pointer: fine) {
  .equipment__cta {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  .equipment__card::after { opacity: 0; }

  .equipment__card:hover .equipment__cta {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .equipment__card:hover::after { opacity: 1; }
}

/* ---------- 11.5 LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 5, 5, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--white-10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease-out);
  z-index: 2;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--red-1);
  border-color: var(--red-1);
  transform: translateY(-2px);
}

.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover,
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox__stage {
  width: 92vw;
  max-width: 1280px;
  height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.45s var(--ease-out), opacity 0.3s ease;
  will-change: transform;
}
.lightbox__image.is-zoomed {
  cursor: zoom-out;
  transform: scale(1.8);
}

.lightbox__bar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--white-10);
  background: rgba(5, 5, 5, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: calc(100vw - 48px);
}
.lightbox__counter {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.lightbox__counter-sep { color: var(--white-50); margin: 0 4px; }
.lightbox__caption {
  font-size: 13px;
  color: var(--white-70);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 30ch;
  min-width: 0;
}
.lightbox__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-1);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.lightbox__cta:hover {
  background: var(--red-2);
  transform: translateY(-1px);
}
.lightbox__cta svg { transition: transform 0.3s var(--ease-out); }
.lightbox__cta:hover svg { transform: translateX(2px); }

/* ---------- 12. WHY ---------- */
.section--why { background: var(--bg-1); }

.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--white-05);
  border: 1px solid var(--white-05);
}

.why__card {
  background: var(--bg-1);
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.35s ease;
}
.why__card:hover { background: var(--bg-2); }

.why__icon {
  width: 44px;
  height: 44px;
  color: var(--red-1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__icon svg { width: 100%; height: 100%; }

.why__card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
}

.why__card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--white-70);
}

/* ---------- 16. CTA FINAL ---------- */
.section--cta { background: var(--bg-0); padding-bottom: calc(var(--section-y) * 0.5); }

.cta {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(60px, 8vw, 110px) clamp(28px, 6vw, 80px);
  border: 1px solid var(--white-05);
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(217, 4, 41, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(217, 4, 41, 0.20) 0%, transparent 50%),
    linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
}
.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

.cta__content {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 24px 0 22px;
  color: var(--white);
}

.cta__lead {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--white-70);
  margin-bottom: 40px;
  max-width: 50ch;
}

/* ---------- 17. FOOTER ---------- */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--white-10);
  padding-top: 80px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--white-05);
}
.footer__cols {
  justify-self: end;
}

.footer__brand .nav__logo { margin-bottom: 18px; }

.footer__tag {
  font-size: 14.5px;
  color: var(--white-70);
  line-height: 1.5;
  max-width: 38ch;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 6px;
}
.footer__col a,
.footer__col span {
  font-size: 14px;
  color: var(--white-90);
  transition: color 0.25s ease;
}
.footer__col a:hover { color: var(--red-2); }
.footer__col span { color: var(--white-70); }

.footer__base {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12.5px;
  color: var(--white-50);
  flex-wrap: wrap;
}

/* ---------- 18. FLOAT WHATSAPP ---------- */
.float-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5);
  transition: transform 0.4s var(--ease-out), background 0.3s ease, box-shadow 0.4s ease;
  animation: floatPulse 2.6s var(--ease-in-out) infinite;
}
.float-wa:hover {
  background: #1FBA57;
  transform: translateY(-3px) scale(1.05);
  animation: none;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- 19. REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   20. RESPONSIVE — breakpoints: 1200 / 1024 / 880 / 720 / 540 / 380
   ============================================================= */

/* --- Laptop (≤ 1200px) ----------------------------------------- */
@media (max-width: 1200px) {
  :root { --section-y: clamp(52px, 6vw, 80px); }

  .section__head--row { gap: 32px; }
}

/* --- Tablet landscape (≤ 1024px) ------------------------------- */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__toggle { display: inline-flex; }

  .services { grid-template-columns: 1fr; gap: 24px; }
  .equipment { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }

  .lightbox__close { top: 18px; right: 18px; }
  .lightbox__nav { width: 42px; height: 42px; }

  .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__cols { justify-self: stretch; }

  .cta { padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 64px); }
}

/* --- Tablet portrait (≤ 880px) --------------------------------- */
@media (max-width: 880px) {
  :root {
    --section-y: clamp(48px, 6vw, 72px);
    --gutter: clamp(18px, 4vw, 32px);
  }

  .section__head { margin-bottom: clamp(36px, 6vw, 64px); }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section__lead--right { text-align: left; margin-left: 0; max-width: 60ch; }

  .service__media { aspect-ratio: 16 / 9; }
  .service__body { padding: 32px 28px 36px; }

  .why__card { padding: 32px 28px; }

  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* --- Large mobile / iPad portrait narrow (≤ 720px) ------------ */
@media (max-width: 720px) {
  :root { --section-y: clamp(44px, 9vw, 64px); }

  .hero {
    min-height: 84vh;
    min-height: 84dvh;
    padding-top: 110px;
    padding-bottom: 48px;
    justify-content: center;
  }
  .hero__title {
    letter-spacing: -0.03em;
    max-width: 100%;
    margin: 28px 0 24px;
  }
  .hero__title .text-stroke {
    -webkit-text-stroke: 0;
    color: var(--white);
  }
  .hero__subtitle {
    max-width: 100%;
    margin-bottom: 36px;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    margin-bottom: 0;
  }
  .hero__cta .btn { justify-content: center; width: 100%; }

  .equipment { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }

  .service__title { font-size: 24px; }
  .service__media { aspect-ratio: 16 / 10; }

  .lightbox__stage { width: 94vw; height: 70vh; }
  .lightbox__bar { gap: 12px; padding: 8px 12px 8px 14px; }
  .lightbox__caption { display: none; }
  .lightbox__close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox__nav { width: 38px; height: 38px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }

  .footer { padding-top: 64px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 24px; padding-bottom: 24px; }

  .cta { padding: 56px 24px; border-radius: var(--r-lg); }

  .marquee__track { padding: 16px 0; }
  .marquee__group { gap: 28px; padding-right: 28px; }

  .float-wa { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .float-wa svg { width: 22px; height: 22px; }
}

/* --- Mobile (≤ 540px) ------------------------------------------ */
@media (max-width: 540px) {
  .nav { padding: 14px 0; }
  .nav--scrolled { padding: 10px 0; }
  .nav__actions .btn--sm { display: none; }
  .nav__logo { font-size: 17px; }

  .nav__drawer-link { font-size: 17px; padding: 12px 2px; }

  .hero__eyebrow,
  .section__eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    padding: 7px 12px;
  }


  .service__body { padding: 28px 22px 32px; }
  .equipment { grid-template-columns: repeat(2, 1fr); }
  .why__card { padding: 22px 20px; gap: 12px; }
  .why__icon { width: 32px; height: 32px; }
  .why__card h3 { font-size: 16px; }
  .why__card p { font-size: 13px; line-height: 1.5; }

  .footer__inner { padding-bottom: 48px; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }

  .cta { padding: 48px 22px; }
  .cta__actions .btn { width: 100%; justify-content: center; }
}

/* --- Small mobile (≤ 380px) ------------------------------------ */
@media (max-width: 380px) {
  :root { --gutter: 16px; }

  .nav__logo-img { height: 40px; }

  .hero__title { font-size: clamp(30px, 9vw, 40px); }
  .hero__subtitle { font-size: 14.5px; }

  .btn { padding: 13px 18px; font-size: 13px; }
  .btn--lg { padding: 15px 22px; font-size: 14px; }

  .float-wa { width: 50px; height: 50px; }
}

/* --- Landscape mobile (height ≤ 520px) ------------------------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    min-height: 560px;
    padding-top: 100px;
    padding-bottom: 48px;
  }
  .hero__title { font-size: clamp(28px, 5vw, 48px); margin: 14px 0 12px; }
  .hero__subtitle { margin-bottom: 22px; }
  .hero__cta { margin-bottom: 28px; }
}

/* --- Touch device tweaks (no hover) --------------------------- */
@media (hover: none) and (pointer: coarse) {
  .service:hover { transform: none; }
  .btn:hover { transform: none; }
  .float-wa { animation: none; }
}
