/* GarageMax Landing — identidad corporativa */
:root {
  --azul-acero: #2D4A6D;
  --naranja-motor: #FF7A29;
  --gris-niebla: #F4F6F8;
  --gris-grafito: #2A2A2A;
  --gris-carbon: #1C1F24;
  --helper-text: #5B616B;
  --success: #3BAA63;
  --white: #ffffff;
  --shadow: 0 20px 40px rgba(28, 31, 36, 0.12);
  --shadow-sm: 0 8px 24px rgba(28, 31, 36, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --header-h: 72px;
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-muted: #F4F6F8;
  --text-primary: #2A2A2A;
  --text-heading: #1C1F24;
  --text-muted: #5B616B;
  --text-accent: #2D4A6D;
  --border-light: rgba(45, 74, 109, 0.08);
  --border-medium: rgba(45, 74, 109, 0.12);
  --header-bg: rgba(255, 255, 255, 0.92);
  --accent-soft: rgba(45, 74, 109, 0.08);
  --naranja-glow: rgba(255, 122, 41, 0.04);
  --impact-accent-bg: linear-gradient(135deg, rgba(255, 122, 41, 0.06) 0%, #F4F6F8 100%);
  color-scheme: light;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg-page: #0f1216;
  --bg-surface: #1a1f27;
  --bg-muted: #222830;
  --text-primary: #d4d9e0;
  --text-heading: #f0f3f7;
  --text-muted: #9aa3b2;
  --text-accent: #8eb8e8;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --header-bg: rgba(15, 18, 22, 0.92);
  --accent-soft: rgba(45, 74, 109, 0.35);
  --naranja-glow: rgba(255, 122, 41, 0.08);
  --impact-accent-bg: linear-gradient(135deg, rgba(255, 122, 41, 0.12) 0%, #222830 100%);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@supports (overflow: clip) {
  html { overflow-x: clip; }
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--text-heading);
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s, background 0.25s ease, border-color 0.25s ease;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.98);
  }

  html[data-theme="dark"] .site-header {
    background: rgba(15, 18, 22, 0.98);
  }
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo img { height: 40px; width: auto; display: block; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--azul-acero); }

.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  margin: 5px 0;
  transition: 0.3s;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--text-heading);
  cursor: pointer;
  flex-shrink: 0;
  overflow: visible;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  background: var(--border-medium);
}

.theme-toggle:active {
  transform: scale(0.96);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--azul-acero);
  outline-offset: 2px;
}

.theme-toggle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  overflow: visible;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.theme-toggle .icon-sun {
  opacity: 0;
  visibility: hidden;
}

.theme-toggle .icon-moon {
  opacity: 1;
  visibility: visible;
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  visibility: visible;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  visibility: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-surface);
  padding: 1.5rem;
  padding-left: max(1.5rem, calc(env(safe-area-inset-left, 0px) + 1rem));
  padding-right: max(1.5rem, calc(env(safe-area-inset-right, 0px) + 1rem));
  padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  flex-direction: column;
  gap: 0.5rem;
  z-index: 150;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.nav-mobile a {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.nav-mobile a:hover { background: var(--bg-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--naranja-motor);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 122, 41, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 122, 41, 0.4);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--azul-acero);
  border: 2px solid var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--azul-acero);
  background: var(--bg-muted);
}

html[data-theme="dark"] .btn-secondary {
  color: var(--text-accent);
}

html[data-theme="dark"] .btn-secondary:hover {
  border-color: var(--text-accent);
}

.btn-sm { padding: 0.625rem 1.125rem; font-size: 0.875rem; }

.hero {
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  background: linear-gradient(160deg, var(--bg-muted) 0%, var(--bg-page) 55%, var(--naranja-glow) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 74, 109, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: var(--accent-soft);
  color: var(--text-accent);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--naranja-motor);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--naranja-motor); }

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: var(--text-accent);
}

.hero-stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 2.5rem;
  max-width: 100%;
}

.hero-trio {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 520 / 420;
  filter: drop-shadow(0 28px 48px rgba(28, 31, 36, 0.14));
}

.hero-trio::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 50%;
  width: 58%;
  height: 72%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 41, 0.16) 0%, rgba(45, 74, 109, 0.08) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-trio__side,
.hero-trio__center {
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  height: auto;
}

.hero-trio__center {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46%;
  transform: translateX(-50%) translateY(-2%);
  z-index: 3;
  box-shadow: 0 24px 56px rgba(45, 74, 109, 0.22);
}

.hero-trio__left {
  position: absolute;
  left: 0;
  bottom: 4%;
  width: 38%;
  transform: rotate(-14deg) translateY(6%);
  transform-origin: bottom center;
  z-index: 1;
  opacity: 0.94;
}

.hero-trio__right {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 38%;
  transform: rotate(14deg) translateY(6%);
  transform-origin: bottom center;
  z-index: 2;
  opacity: 0.94;
}

.hero-float {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-58%);
  max-width: min(92%, 320px);
  background: var(--bg-surface);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59, 170, 99, 0.12);
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: 1.25rem;
}

section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--naranja-motor);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.section-header p { color: var(--text-muted); }

.features { background: var(--bg-muted); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}

.feature-card:hover { transform: translateY(-4px); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.screenshots-showcase {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.showcase-block {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.showcase-block--split {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
}

.showcase-block--reverse .showcase-visual { order: 2; }
.showcase-block--reverse .showcase-text { order: 1; }

.showcase-block--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  max-width: 100%;
}

.showcase-visual--single img {
  width: auto;
  max-width: min(100%, 300px);
  height: auto;
  max-height: 540px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
}

.screenshot-stack {
  position: relative;
  width: min(100%, 360px);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-stack__back,
.screenshot-stack__front {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  height: auto;
}

.screenshot-stack--left .screenshot-stack__back {
  position: absolute;
  top: 6%;
  left: 0;
  width: 68%;
  transform: rotate(-6deg);
  z-index: 1;
  opacity: 0.95;
}

.screenshot-stack--left .screenshot-stack__front {
  position: relative;
  width: 76%;
  margin-left: auto;
  transform: rotate(2deg);
  z-index: 2;
  box-shadow: var(--shadow);
}

.screenshot-stack--right .screenshot-stack__back {
  position: absolute;
  top: 2%;
  right: 0;
  width: 78%;
  transform: rotate(5deg);
  z-index: 1;
  opacity: 0.95;
}

.screenshot-stack--right .screenshot-stack__front {
  position: relative;
  width: 74%;
  margin-right: auto;
  transform: rotate(-2deg);
  z-index: 2;
  box-shadow: var(--shadow);
}

.screenshot-stack__back--landscape {
  width: 88% !important;
  top: 0 !important;
  right: -2% !important;
  transform: rotate(4deg) !important;
}

.showcase-text h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  margin-bottom: 0.75rem;
}

.showcase-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 36rem;
}

.showcase-block--center .showcase-text p {
  margin-inline: auto;
}

/* Uso del sistema — carrusel de videos */
.usage-videos { background: var(--bg-muted); }

.video-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 2.5rem;
  align-items: start;
}

.video-carousel__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.video-carousel__player {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
}

@supports not (aspect-ratio: 1) {
  .video-carousel__player {
    height: 0;
    padding-bottom: 177.78%;
  }
}

.video-carousel__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: min(100%, 360px);
}

.video-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-heading);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
}

.video-carousel__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-carousel__btn:hover {
  background: var(--accent-soft);
  border-color: var(--naranja-motor);
  transform: scale(1.05);
}

.video-carousel__counter {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
  min-width: 4.5rem;
  text-align: center;
}

.video-carousel__current-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-accent);
  text-align: center;
  max-width: 360px;
}

.video-carousel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.video-carousel__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.video-carousel__item:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.video-carousel__item.is-active {
  border-color: var(--naranja-motor);
  background: var(--naranja-glow);
  box-shadow: var(--shadow-sm);
}

.video-carousel__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--text-accent);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.video-carousel__item.is-active .video-carousel__num {
  background: var(--naranja-motor);
  color: var(--white);
}

.pricing { background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-muted) 100%); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.pricing-card {
  max-width: none;
  margin: 0;
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 122, 41, 0.2);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  border-color: var(--naranja-motor);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 122, 41, 0.15);
}

.pricing-card .btn {
  margin-top: auto;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--naranja-motor);
  color: var(--white);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
  margin: 1.5rem 0 0.25rem;
}

.pricing-price small {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-tax {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

.cta {
  background: var(--azul-acero);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.cta p {
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.site-footer {
  background: var(--gris-carbon);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--naranja-motor); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.social-links a:hover { background: var(--naranja-motor); }

.impact {
  padding: 3rem 0;
  background: var(--bg-page);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.impact-card {
  background: var(--bg-muted);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--azul-acero);
}

.impact-card--accent {
  border-left-color: var(--naranja-motor);
  background: var(--impact-accent-bg);
}

.impact-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--naranja-motor);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.impact-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.impact-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.impact-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.pillar {
  padding: 0.5rem 1rem;
  background: var(--accent-soft);
  color: var(--azul-acero);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

html[data-theme="dark"] .pillar {
  color: var(--white);
}

.ally {
  background: var(--bg-muted);
}

.ally-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ally-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ally-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.ally-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.ally-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.btn-whatsapp {
  background: #25D366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle {
    display: block;
    margin-right: max(0.25rem, env(safe-area-inset-right, 0px));
  }
  .nav-mobile { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
  .hero-trio { width: min(100%, 360px); aspect-ratio: 360 / 300; }
  .hero-trio__center { width: 50%; }
  .hero-trio__left,
  .hero-trio__right { width: 40%; }
  .hero-float { display: none; }
  .showcase-block--split,
  .showcase-block--reverse {
    grid-template-columns: 1fr;
  }
  .showcase-block--reverse .showcase-visual,
  .showcase-block--reverse .showcase-text {
    order: unset;
  }
  .showcase-block--split .showcase-text {
    text-align: center;
  }
  .showcase-block--split .showcase-text p {
    margin-inline: auto;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .ally-grid { grid-template-columns: 1fr; }
  .video-carousel {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .video-carousel__list { order: 2; }
}

html[data-theme="dark"] .site-footer {
  background: #0a0c0f;
}

@media (max-width: 720px) {
  .header-inner {
    gap: 0.5rem;
  }
  .logo {
    flex-shrink: 1;
    min-width: 0;
  }
  .logo img {
    height: 34px;
    max-width: min(150px, 42vw);
  }
  .header-actions {
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
  .site-header > .container {
    width: calc(100% - 2rem - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
    margin-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }
  .features-grid { grid-template-columns: 1fr; }
  .screenshot-stack {
    width: min(100%, 300px);
    min-height: 360px;
  }
  .showcase-visual--single img {
    max-width: min(100%, 260px);
    max-height: 480px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  section { padding: 3.5rem 0; }
  .whatsapp-float {
    bottom: max(1rem, calc(env(safe-area-inset-bottom, 0px) + 0.75rem));
    right: max(1rem, calc(env(safe-area-inset-right, 0px) + 0.75rem));
    width: 56px;
    height: 56px;
  }
}
