/* ==========================================================================
   ABB International — Modern Tech Theme (light + navy)
   ========================================================================== */

:root {
  /* Light base */
  --bg: #f4f7fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --surface: rgba(11, 37, 69, 0.04);
  --surface-2: rgba(11, 37, 69, 0.07);
  --border: rgba(11, 37, 69, 0.09);
  --border-strong: rgba(11, 37, 69, 0.16);
  --text: #0b1b33;
  --muted: #55657d;
  --dim: #8392a8;
  --shadow: 0 1px 2px rgba(11, 37, 69, .04), 0 12px 32px -12px rgba(11, 37, 69, .14);
  --shadow-lg: 0 2px 4px rgba(11, 37, 69, .04), 0 30px 60px -20px rgba(11, 37, 69, .28);

  /* Brand (from the ABB logo navy) */
  --navy: #0b2545;
  --navy-2: #13386a;
  --brand: #0f5fa8;
  --accent: #0ea5e9;
  --accent-ink: #0369a1;
  --gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #4f46e5 100%);
  --gradient-navy: linear-gradient(140deg, #0b2545 0%, #12376b 55%, #1b4f8f 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

/* Navy sections re-map the tokens */
.theme-dark {
  --card: rgba(255, 255, 255, 0.06);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --text: #f1f6fd;
  --muted: #b3c3da;
  --dim: #8297b5;
  --accent: #38bdf8;
  --accent-ink: #7dd3fc;
  --shadow: none;
  color: var(--text);
}

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

html { scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: rgba(14, 165, 233, .25); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 120px 0; }
.section--alt { background: var(--bg-2); }
.section--navy { background: var(--gradient-navy); overflow: hidden; }
.section--navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}
.section--navy::after {
  content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56,189,248,.28), transparent); pointer-events: none;
}
.section--navy > .container { position: relative; z-index: 1; }

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-dark .text-gradient { background-image: linear-gradient(135deg, #7dd3fc 0%, #60a5fa 50%, #a5b4fc 100%); }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--gradient); }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--gradient); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn .icon { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 28px -10px rgba(37, 99, 235, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(37, 99, 235, .8); }
.btn--ghost { background: var(--card); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn--glass { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.loader-ring { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.nav.is-scrolled, .nav.is-open {
  color: var(--text);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--border);
  box-shadow: 0 8px 30px -18px rgba(11, 37, 69, .35);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { position: relative; display: block; height: 42px; width: 74px; }
.nav__logo img { position: absolute; inset: 0; height: 42px; width: auto; transition: opacity .4s; }
.nav__logo .logo-color { opacity: 0; }
.nav.is-scrolled .logo-white, .nav.is-open .logo-white { opacity: 0; }
.nav.is-scrolled .logo-color, .nav.is-open .logo-color { opacity: 1; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: inherit; opacity: .78;
  border-radius: 999px;
  transition: opacity .25s, background .25s, color .25s;
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active { opacity: 1; background: rgba(255,255,255,.16); }
.nav.is-scrolled .nav__link.is-active, .nav.is-open .nav__link.is-active { background: rgba(14,165,233,.1); color: var(--accent-ink); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.dropdown { position: relative; }
.dropdown__toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; }
.dropdown__toggle .icon { font-size: 14px; transition: transform .25s; }
.dropdown__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 190px; padding: 8px;
  background: #fff; color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .25s var(--ease);
}
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown.is-open .dropdown__toggle .icon { transform: rotate(180deg); }
.dropdown__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.dropdown__menu a:hover { background: var(--surface); color: var(--text); }

.nav__toggle {
  display: none; position: relative;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid currentColor; border-color: rgba(127,127,127,.35);
  background: transparent; cursor: pointer;
}
.nav__toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero — carousel behind a glass panel
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 140px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(50% 60% at 10% 30%, rgba(14, 165, 233, .25), transparent 70%),
    radial-gradient(40% 50% at 30% 90%, rgba(79, 70, 229, .25), transparent 70%),
    linear-gradient(160deg, #0a213f 0%, #0b2545 50%, #0e2f58 100%);
  color: #fff;
}
.hero__slides { position: absolute; inset: 0; z-index: -3; }
.hero__slide {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: var(--pos, center);
  opacity: 0;
  will-change: transform, -webkit-mask-position, mask-position;
}
/* Active slide: slow zoom-out (Ken Burns) */
.hero__slide.is-active {
  z-index: 2; opacity: 1;
  -webkit-animation: heroZoom 9s cubic-bezier(.2, .6, .3, 1) both;
  animation: heroZoom 9s cubic-bezier(.2, .6, .3, 1) both;
}
/* On change: soft-edged reveal sweeping in from the side it comes from */
.hero__slides.is-ready .hero__slide.is-active {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 70%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 30%, #000 70%, #000 100%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-animation: heroReveal 2.8s cubic-bezier(.35, .1, .35, 1) both, heroZoom 9s cubic-bezier(.2, .6, .3, 1) both;
  animation: heroReveal 2.8s cubic-bezier(.35, .1, .35, 1) both, heroZoom 9s cubic-bezier(.2, .6, .3, 1) both;
}
.hero__slides.is-ready[data-dir="prev"] .hero__slide.is-active {
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, transparent 30%, #000 70%, #000 100%);
  mask-image: linear-gradient(270deg, transparent 0%, transparent 30%, #000 70%, #000 100%);
  -webkit-animation-name: heroRevealPrev, heroZoom;
  animation-name: heroRevealPrev, heroZoom;
}
/* Leaving slide: stays underneath, drifts the opposite way and darkens */
.hero__slide.is-leaving {
  z-index: 1; opacity: 1;
  -webkit-animation: heroLeaveNext 2.8s cubic-bezier(.35, .1, .35, 1) both;
  animation: heroLeaveNext 2.8s cubic-bezier(.35, .1, .35, 1) both;
}
.hero__slides[data-dir="prev"] .hero__slide.is-leaving { -webkit-animation-name: heroLeavePrev; animation-name: heroLeavePrev; }
@keyframes heroZoom {
  from { transform: scale(1.14); }
  to   { transform: scale(1.02); }
}
@keyframes heroReveal {
  from { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
  to   { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
}
@keyframes heroRevealPrev {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}
@keyframes heroLeaveNext {
  from { transform: scale(1.03); filter: brightness(1); }
  to   { transform: translateX(-10%) scale(1.03); filter: brightness(.35); }
}
@keyframes heroLeavePrev {
  from { transform: scale(1.03); filter: brightness(1); }
  to   { transform: translateX(10%) scale(1.03); filter: brightness(.35); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 26, 52, .5) 0%, transparent 22%, transparent 75%, rgba(8, 26, 52, .55) 100%);
}
/* Desktop: photo occupies the right side and fades into the navy, so the panel never hides the devices */
@media (min-width: 1081px) {
  .hero__slides {
    left: max(calc(50% - 160px), 470px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.65) 120px, #000 280px);
    mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.65) 120px, #000 280px);
  }
  .hero__panel { max-width: 600px; }
}
@media (min-width: 1081px) and (max-width: 1300px) {
  .hero__panel { max-width: 520px; }
}
@media (max-width: 1080px) {
  .hero::before { background: linear-gradient(180deg, rgba(8, 26, 52, .55), rgba(8, 26, 52, .3) 50%, rgba(8, 26, 52, .6)); }
}
.hero__arrow {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; font-size: 22px; cursor: pointer;
  transform: translateY(-50%);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.hero__arrow:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.55); }
.hero__arrow--prev { left: 28px; }
.hero__arrow--next { right: 28px; }
.hero__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.hero__arrow--next:hover { transform: translateY(-50%) translateX(3px); }
/* Not enough side room: arrows move next to the dots */
@media (max-width: 1360px) {
  .hero__arrow { top: auto; bottom: 74px; transform: none; width: 44px; height: 44px; font-size: 18px; }
  .hero__arrow--prev { left: calc(50% - 152px); }
  .hero__arrow--next { right: calc(50% - 152px); }
  .hero__arrow--prev:hover, .hero__arrow--next:hover { transform: none; }
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 70% at 20% 50%, #000 10%, transparent 70%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px; } }

.hero__panel {
  position: relative;
  max-width: 720px;
  padding: 48px 48px 44px;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(3, 12, 28, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.hero__panel::before {
  content: ""; position: absolute; left: 48px; top: 0; width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, #7dd3fc, transparent);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  font-size: 13px; color: rgba(255,255,255,.85);
}
.badge__dot {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(125, 211, 252, .2); color: #bae6fd;
  font-weight: 600; font-size: 12px;
}
.badge__dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 0 0 rgba(125,211,252,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(125,211,252,0); } 100% { box-shadow: 0 0 0 0 rgba(125,211,252,0); } }
.hero h1 { margin-top: 24px; font-size: clamp(36px, 5.6vw, 68px); font-weight: 600; letter-spacing: -0.035em; }
.hero__rotator { display: block; min-height: 1.15em; }
.hero__rotator span { display: inline-block; transition: opacity .5s, transform .5s var(--ease); }
.hero__rotator span.is-out { opacity: 0; transform: translateY(12px); }
.hero .text-gradient { background-image: linear-gradient(135deg, #7dd3fc 0%, #93c5fd 50%, #c7d2fe 100%); }
.hero__lead { margin-top: 22px; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.82); }
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__dots { position: absolute; bottom: 92px; z-index: 2; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dot { position: relative; width: 36px; height: 4px; border-radius: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.3); overflow: hidden; }
.hero__dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { animation: progress 7s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.03em; color: var(--navy); }
.stat__label { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); }
.about__media::before {
  content: ""; position: absolute; left: -20px; top: -20px; width: 160px; height: 160px; z-index: -1;
  border-radius: 28px;
  background-image: radial-gradient(rgba(15, 95, 168, .35) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
}
.about__float {
  position: absolute; right: -28px; bottom: 40px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.about__float strong { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--navy); }
.about__float span { font-size: 13px; color: var(--muted); }
.icon-box {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(14,165,233,.14), rgba(79,70,229,.12));
  border: 1px solid rgba(37, 99, 235, .16);
  color: var(--brand); font-size: 22px;
}
.theme-dark .icon-box { background: rgba(125,211,252,.12); border-color: rgba(125,211,252,.25); color: #7dd3fc; }
.about__text p { color: var(--muted); font-size: 17px; }
.about__text p + p { margin-top: 18px; }
.checklist { margin: 28px 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checklist .icon { color: #fff; font-size: 22px; padding: 4px; border-radius: 50%; background: var(--gradient); stroke-width: 2.4; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(14,165,233,.09), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(14,165,233,.35); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.theme-dark .card { backdrop-filter: blur(8px); }
.theme-dark .card:hover { border-color: rgba(125,211,252,.4); }

/* ---------- Channels ---------- */
.channels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.channel { display: flex; flex-direction: column; padding: 12px; background: var(--bg); }
.channel__img { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; background: #fff; overflow: hidden; }
.channel__img img { width: 82%; transition: transform .6s var(--ease); }
.channel:hover .channel__img img { transform: scale(1.06); }
.channel__body { padding: 20px 10px 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.channel__body small { display: block; font-size: 13px; color: var(--muted); }
.channel__body h3 { font-size: 22px; margin-top: 4px; font-weight: 600; }
.channel__arrow {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: #fff;
  font-size: 18px; color: var(--brand);
  transition: background .3s, transform .3s var(--ease), border-color .3s, color .3s;
}
.channel:hover .channel__arrow { background: var(--gradient); border-color: transparent; color: #fff; transform: rotate(-45deg); }

/* ---------- Brands ---------- */
.brands__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.brand { flex: 0 1 calc((100% - 64px) / 5); min-width: 140px; display: grid; place-items: center; aspect-ratio: 1.5; padding: 18px; }
.brand img { width: 120px; max-width: 100%; filter: grayscale(1); opacity: .75; transition: opacity .35s, transform .35s var(--ease), filter .35s; }
.brand:hover img { opacity: 1; transform: scale(1.06); filter: grayscale(1) brightness(.55); }

/* ---------- Features (navy) ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 36px 32px; }
.feature .icon-box { width: 56px; height: 56px; font-size: 26px; }
.feature h3 { margin-top: 28px; font-size: 22px; font-weight: 600; }
.feature p { margin-top: 12px; color: var(--muted); }
.feature__num { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-size: 14px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__aside .section-head { margin-bottom: 32px; }
.faq__list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(14,165,233,.4); box-shadow: 0 0 0 4px rgba(14,165,233,.08), var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; font-weight: 600; font-size: 17px;
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--brand); transition: background .3s, color .3s; }
.faq-item__icon::before, .faq-item__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 11px; height: 2px; border-radius: 2px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .3s var(--ease);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--gradient); color: #fff; }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border-radius: 32px; overflow: hidden;
  background: var(--gradient-navy);
  box-shadow: var(--shadow-lg);
}
.cta__media { position: relative; min-height: 380px; }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, #12376b); }
.cta__body { padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.cta__body h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; margin-top: 16px; }
.cta__body p { margin: 16px 0 32px; color: var(--muted); font-size: 17px; }

/* ---------- Products ---------- */
.filters { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 40px; }
.filter { padding: 9px 20px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 500; font-size: 14px; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--gradient); color: #fff; box-shadow: 0 6px 16px -6px rgba(37,99,235,.6); }
.products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.products__head .section-head { margin-bottom: 40px; }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product__meta { gap: 10px; }
.product { cursor: zoom-in; }
.product.is-hidden { display: none; }
.product__img { aspect-ratio: 1; overflow: hidden; background: #fff; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__img img { transform: scale(1.07); }
.product__meta { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-top: 1px solid var(--border); }
.product__meta h3 { font-size: 16px; font-weight: 600; line-height: 1.25; }
.product__meta .tag { flex-shrink: 0; }
.product__meta small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; background: rgba(14,165,233,.1); color: var(--accent-ink); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 24px;
  background: rgba(8, 22, 44, .88); backdrop-filter: blur(12px);
  color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 86vh; max-width: min(900px, 100%); border-radius: 18px; transform: scale(.95); transition: transform .4s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); font-size: 20px; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Quotes ---------- */
.quotes { text-align: center; }
.quotes__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 22px; }
.quotes__track { position: relative; max-width: 880px; margin: 36px auto 0; min-height: 190px; }
.quote {
  position: absolute; inset: 0; margin: 0;
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px);
  font-weight: 500; line-height: 1.35; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quotes__dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.quotes__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.3); transition: width .3s, background .3s; }
.quotes__dots button.is-active { width: 28px; border-radius: 8px; background: #7dd3fc; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.info-card small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.info-card a, .info-card strong { display: block; margin-top: 6px; font-weight: 600; font-size: 16px; }
.info-card a:hover { color: var(--brand); }
.info-card span { display: block; color: var(--muted); font-size: 14px; }

.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); min-height: 420px; background: #e6edf5; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.form-card { padding: 36px; }
.form-card:hover { transform: none; border-color: var(--border); }
.form-card h3 { font-size: 24px; font-weight: 600; }
.form-card > p { color: var(--muted); margin-top: 6px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-control {
  width: 100%; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--bg); outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.form-control::placeholder { color: var(--dim); }
.form-control:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(14,165,233,.14); }
textarea.form-control { resize: vertical; min-height: 130px; }
.validation { color: #dc2626; font-size: 13px; margin-top: 6px; display: none; }
#validation_captcha { color: #dc2626; font-size: 13px; margin-top: 6px; }
#sendmessage, #errormessage { display: none; margin-bottom: 14px; padding: 14px 16px; border-radius: 12px; font-size: 14px; font-weight: 500; }
#sendmessage { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
#errormessage { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
#sendmessage.show, #errormessage.show { display: block; }
.form-card .btn { width: 100%; margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; padding: 96px 0 0; background: #081a33; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 440px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56,189,248,.18), transparent);
  pointer-events: none;
}
.footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__brand img { height: 56px; width: auto; }
.footer__brand p { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 340px; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-family: var(--font); font-weight: 600; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a, .footer__links li { color: var(--muted); font-size: 15px; transition: color .25s; }
.footer__links a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-size: 18px; transition: all .3s var(--ease);
}
.socials a:hover { color: #fff; border-color: transparent; background: var(--gradient); transform: translateY(-3px); }
.footer__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.footer__gallery img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; opacity: .85; transition: opacity .3s; background: #fff; }
.footer__gallery a:hover img { opacity: 1; }
.footer__bottom {
  position: relative; margin-top: 72px; padding: 28px 0;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--dim);
}
.footer__bottom strong { color: var(--muted); font-weight: 600; }

/* ---------- Floating buttons ---------- */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; font-size: 30px;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.whatsapp:hover { transform: scale(1.08); }

.to-top {
  position: fixed; right: 32px; bottom: 100px; z-index: 200;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37,99,235,.6);
  font-size: 18px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 28px;
    background: #fff; color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .35s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
  .nav.is-open { background: #fff; }
  .nav__link { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .dropdown__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .dropdown.is-open .dropdown__menu { display: block; }
  .dropdown__toggle { width: 100%; justify-content: space-between; }
  .nav__toggle { display: block; }
  .nav__actions .btn { display: none; }

  .about__grid, .faq__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__float { right: 16px; }
  .faq__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }
  .hero__panel { padding: 36px 28px 32px; }
  .hero__panel::before { left: 28px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .channels__grid, .features__grid, .contact__info { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid, .cta { grid-template-columns: 1fr; }
  .cta__media { min-height: 260px; }
  .cta__media::after { background: linear-gradient(180deg, transparent 45%, #12376b); }
  .cta__body { padding: 40px 28px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding-bottom: 120px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 26, 52, .55), rgba(8, 26, 52, .35) 50%, rgba(8, 26, 52, .6)); }
  .hero__panel { padding: 28px 20px 24px; border-radius: 22px; }
  .hero__panel::before { left: 20px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__dots { bottom: 84px; }
  .hero__arrow { bottom: 64px; }
  .stat { padding: 22px 18px; }
  .brand { flex-basis: calc((100% - 16px) / 2); min-width: 0; }
  .products__grid { grid-template-columns: 1fr; }
  .filters { display: flex; overflow-x: auto; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 26px; }
  .to-top { right: 21px; bottom: 84px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 24px; transform: none; }
}
