:root {
  --bg: #020202;
  --text: #f6f6f6;
  --muted: rgba(246, 246, 246, 0.78);
  --panel: rgba(8, 8, 8, 0.58);
  --panel-strong: rgba(10, 10, 10, 0.72);
  --border: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #000; color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.fullscreen-carousel,
.slides,
.slide {
  width: 100vw;
  height: 100vh;
}

.fullscreen-carousel {
  position: relative;
  overflow: hidden;
  background: #000;
}

.slides {
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-backdrop,
.slide-overlay,
.slide-content {
  position: absolute;
  inset: 0;
}

.slide-backdrop iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.slide-overlay {
  background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.62) 30%, rgba(0,0,0,0.08) 62%, rgba(0,0,0,0.24) 100%);
}

.slide-overlay.map-clean-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.12) 100%);
}

.slide-overlay.strong {
  background: linear-gradient(180deg, rgba(0,0,0,0.52) 0%, rgba(0,0,0,0.58) 100%);
}

.slide-overlay.video-clean-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.08) 100%);
}

.slide-content {
  z-index: 2;
  display: flex;
  padding: 36px;
}

.left-block {
  align-items: flex-end;
  justify-content: flex-start;
}

.clean-map-actions {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 88px;
}

.center-block {
  align-items: center;
  justify-content: center;
}

.content-panel,
.hero-stack {
  display: grid;
  gap: 18px;
}

.content-panel {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.content-panel.minimal-panel {
  width: auto;
  padding: 10px;
  border-radius: 999px;
  background: rgba(8,8,8,0.42);
}

.hero-stack.wide {
  width: min(1180px, calc(100vw - 72px));
  text-align: center;
  justify-items: center;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-line.centered {
  justify-content: center;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker.centered,
.lead.centered {
  text-align: center;
}

h1,
h2,
h3,
p { margin: 0; }

h1,
h2 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  line-height: 0.93;
  max-width: 11ch;
}

.hero-stack h2 {
  max-width: 14ch;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.actions,
.floating-controls { display: flex; align-items: center; gap: 12px; }

.primary-btn,
.ghost-btn,
.nav-btn,
.dot {
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.primary-btn,
.ghost-btn,
.nav-btn {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 12px 18px;
}

.primary-btn {
  background: #fff;
  color: #111;
  font-weight: 700;
}

.ghost-btn,
.nav-btn {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.primary-btn:hover,
.ghost-btn:hover,
.nav-btn:hover,
.dot:hover { transform: translateY(-1px); }

.image-commercial,
.image-domestic,
.video-backdrop {
  background-position: center;
  background-size: cover;
}

.image-commercial {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.6)), url('./assets/carga-comercial.jpg');
}

.image-domestic {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.62)), url('./assets/carga-domestica.jpg');
}

.video-backdrop {
  overflow: hidden;
  background: #000;
}

.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.feature-grid,
.goal-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.feature-card,
.goal-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  backdrop-filter: blur(16px);
  display: grid;
  align-content: start;
  gap: 12px;
  text-align: left;
}

.feature-card p,
.goal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.goal-number {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.floating-controls {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(6,6,6,0.68);
  backdrop-filter: blur(14px);
}

.floating-controls-minimal {
  padding: 8px 10px;
}

.fullscreen-carousel:fullscreen .floating-controls,
.fullscreen-carousel:-webkit-full-screen .floating-controls {
  display: none;
}

.nav-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  cursor: pointer;
}

.fullscreen-btn {
  padding-inline: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
}

.dot.is-active { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .slide,
  .primary-btn,
  .ghost-btn,
  .nav-btn,
  .dot { transition: none; }
}

@media (max-width: 980px) {
  html, body { overflow: auto; }
  .slide-content { padding: 20px; }
  .content-panel,
  .hero-stack.wide { width: min(100%, calc(100vw - 40px)); }
  .feature-grid,
  .goal-grid { grid-template-columns: 1fr; }
  h1,
  h2 { max-width: none; font-size: clamp(2rem, 9vw, 3.2rem); }
  .left-block { align-items: flex-end; }
  .floating-controls {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    justify-content: center;
    flex-wrap: wrap;
  }
}
