/* ============================================================
   SERATE — Servicios Avanzados en Telecomunicaciones
   Paleta extraída del logo:
   #203C48 (teal oscuro) · #F7922C (naranja) · #818486 (gris)
   ============================================================ */

:root {
  color-scheme: dark;
  --bg-primary: #0b1a22;
  --bg-secondary: #10242e;
  --bg-card: #142a35;
  --bg-nav: rgba(11, 26, 34, 0.82);
  --bg-nav-solid: rgba(11, 26, 34, 0.97);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-soft: rgba(255, 255, 255, 0.09);
  --border-softer: rgba(255, 255, 255, 0.16);

  /* Marca */
  --brand-dark: #203c48;
  --brand-dark-2: #17303a;
  --brand-orange: #f7922c;
  --brand-orange-2: #ffa54a;
  --brand-gray: #818486;

  --accent-primary: #f7922c;
  --accent-secondary: #2f5a6b;
  --accent-gradient: linear-gradient(135deg, #f7922c 0%, #ffb45c 100%);
  --on-accent: #12252e;

  --text-primary: #eef4f6;
  --text-secondary: #9db0b8;
  --text-muted: #6d848e;
  --border-color: rgba(255, 255, 255, 0.1);

  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.35);
  --glow-orange: 0 0 40px rgba(247, 146, 44, 0.28);
  --glow-teal: 0 0 40px rgba(47, 90, 107, 0.35);
  --grid-line: rgba(247, 146, 44, 0.045);
  --orb-opacity: 0.4;

  --wa-green: #25d366;
  --fb-blue: #1877f2;
  --ig-pink: #e1306c;
}

[data-theme="light"] {
  color-scheme: light;
  --bg-primary: #f4f7f8;
  --bg-secondary: #e9eff1;
  --bg-card: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.85);
  --bg-nav-solid: rgba(255, 255, 255, 0.97);
  --bg-glass: rgba(32, 60, 72, 0.04);
  --border-soft: rgba(32, 60, 72, 0.08);
  --border-softer: rgba(32, 60, 72, 0.15);

  --accent-primary: #d9781a;
  --accent-secondary: #2f5a6b;
  --accent-gradient: linear-gradient(135deg, #f7922c 0%, #e07c12 100%);
  --on-accent: #ffffff;

  --text-primary: #10262f;
  --text-secondary: #4a616b;
  --text-muted: #6c828c;
  --border-color: #d7e1e5;

  --shadow-card: 0 18px 40px rgba(32, 60, 72, 0.1);
  --glow-orange: 0 12px 34px rgba(247, 146, 44, 0.22);
  --glow-teal: 0 12px 34px rgba(47, 90, 107, 0.16);
  --grid-line: rgba(32, 60, 72, 0.05);
  --orb-opacity: 0.25;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================ Fondo ============================ */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient-orb {
  position: fixed;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: var(--orb-opacity);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: -220px;
  right: -120px;
  background: var(--brand-orange);
}

.orb-2 {
  bottom: -220px;
  left: -140px;
  background: var(--accent-secondary);
  opacity: 0.35;
}

/* ============================ Navegación ============================ */
body > nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.1rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s ease, padding 0.3s ease;
}

body > nav.scrolled {
  background: var(--bg-nav-solid);
  padding: 0.7rem 2rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.03);
}

/* Variantes del logo: tinta (letras oscuras) para tema claro,
   versión clara (letras blancas) para tema oscuro. */
.logo-pale,
.hero-logo-pale,
.footer-logo-pale {
  display: block;
}

.logo-ink,
.hero-logo-ink,
.footer-logo-ink {
  display: none;
}

[data-theme="light"] .logo-pale,
[data-theme="light"] .hero-logo-pale,
[data-theme="light"] .footer-logo-pale {
  display: none;
}

[data-theme="light"] .logo-ink,
[data-theme="light"] .hero-logo-ink,
[data-theme="light"] .footer-logo-ink {
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-gradient);
  color: var(--on-accent);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-orange);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.theme-toggle:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

/* Botón menú móvil */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================ Hero ============================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 860px;
  text-align: center;
}

.hero-logo-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo-wrap {
  perspective: 1000px;
  transition: transform 0.15s ease-out;
}

.hero-logo {
  width: min(560px, 88vw);
  filter: drop-shadow(0 18px 34px rgba(247, 146, 44, 0.22));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-glass);
  border: 1px solid var(--border-softer);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 0 0 rgba(247, 146, 44, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 146, 44, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(247, 146, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 146, 44, 0);
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero > .hero-content > p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.9rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--on-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-orange);
}

.btn-secondary {
  background: var(--bg-glass);
  border-color: var(--border-softer);
  color: var(--text-primary);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.45);
  color: #25d366;
}

.btn-whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-primary);
}

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

/* ============================ Franja de beneficios ============================ */
.benefits-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  overflow: hidden;
  padding: 1rem 0;
}

.benefits-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

/* Pista doble: el track se clona por JS para que el desplazamiento
   sea continuo y vuelva exactamente al punto inicial. */
.benefits-marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.benefits-strip:hover .benefits-marquee-inner {
  animation-play-state: paused;
}

.benefits-track {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
  width: max-content;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.benefit-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
}

/* ============================ Secciones ============================ */
.section {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ============================ Planes ============================ */
.plans {
  background: var(--bg-primary);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 146, 44, 0.45);
  box-shadow: var(--shadow-card);
}

.plan-featured {
  border-color: rgba(247, 146, 44, 0.55);
  background: linear-gradient(
    180deg,
    rgba(247, 146, 44, 0.12) 0%,
    var(--bg-card) 45%
  );
  box-shadow: var(--glow-orange);
}

.plan-business {
  border-color: rgba(47, 90, 107, 0.6);
  background: linear-gradient(
    180deg,
    rgba(47, 90, 107, 0.18) 0%,
    var(--bg-card) 45%
  );
}

[data-theme="light"] .plan-business {
  background: linear-gradient(
    180deg,
    rgba(47, 90, 107, 0.08) 0%,
    var(--bg-card) 45%
  );
}

/* La banda de CTA usa un degradado fijo: se adapta al tema claro */
[data-theme="light"] .cta-box {
  background: linear-gradient(
    120deg,
    #ffffff 0%,
    #eef3f5 55%,
    rgba(247, 146, 44, 0.2) 100%
  );
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: var(--on-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.plan-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 2.6em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1.25rem 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.plan-currency {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-amount {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.plan-period {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(247, 146, 44, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7922c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 9px no-repeat;
}

.plan-features strong {
  color: var(--text-primary);
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 0.8rem 1.2rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease, color 0.3s ease;
}

.btn-plan:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-softer);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: var(--glow-orange);
}

.plans-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 2.5rem;
}

/* ============================ Por qué Serate ============================ */
.why {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.why-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.why-content > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.why-content strong {
  color: var(--text-primary);
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.why-list li {
  display: flex;
  gap: 1rem;
}

.why-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 146, 44, 0.12);
  border: 1px solid rgba(247, 146, 44, 0.28);
  color: var(--accent-primary);
}

.why-icon svg {
  width: 21px;
  height: 21px;
}

.why-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.why-list p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.coverage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.coverage-ring {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(
    var(--accent-primary) 0deg 359deg,
    rgba(255, 255, 255, 0.08) 359deg 360deg
  );
  animation: spin 18s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.coverage-center {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: spin 18s linear infinite reverse;
}

.coverage-value {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.coverage-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.coverage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
}

.coverage-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-orange {
  background: var(--accent-primary);
}

.dot-teal {
  background: #4b8fa6;
}

.dot-gray {
  background: var(--brand-gray);
}

/* ============================ Noticias ============================ */
.news {
  background: var(--bg-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(247, 146, 44, 0.4);
  box-shadow: var(--shadow-card);
}

.news-media {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-media svg {
  width: 56px;
  height: 56px;
}

.news-media-orange {
  background: linear-gradient(135deg, #f7922c 0%, #d9781a 100%);
  color: #12252e;
}

.news-media-teal {
  background: linear-gradient(135deg, #2f5a6b 0%, #17303a 100%);
  color: #f7922c;
}

.news-media-gray {
  background: linear-gradient(135deg, #818486 0%, #5c6062 100%);
  color: #ffffff;
}

.news-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.news-body h3 {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.news-body p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  flex: 1;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap 0.3s ease;
}

.news-link:hover {
  gap: 0.75rem;
}

/* ============================ Contacto ============================ */
.contact {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.75rem;
  align-items: start;
}

.contact-form-card,
.contact-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 2rem;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-side-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-list-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-soft);
  color: var(--accent-primary);
}

.contact-list-icon svg {
  width: 19px;
  height: 19px;
}

.contact-list-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-list a,
.contact-list span:not(.contact-list-label) {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.contact-list a:hover {
  color: var(--accent-primary);
}

/* Formulario */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-glass);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(247, 146, 44, 0.15);
}

.form-field select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Redes sociales */
.social-lead {
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid var(--border-softer);
  background: var(--bg-glass);
  color: var(--text-primary);
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease,
    background 0.3s ease, box-shadow 0.3s ease;
}

.social-link svg {
  width: 21px;
  height: 21px;
}

.social-link:hover {
  transform: translateY(-3px);
}

.social-whatsapp {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.1);
}

.social-whatsapp:hover {
  border-color: #25d366;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.22);
}

.social-facebook {
  color: #4a9eff;
  border-color: rgba(24, 119, 242, 0.4);
  background: rgba(24, 119, 242, 0.1);
}

.social-facebook:hover {
  border-color: var(--fb-blue);
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.22);
}

.social-instagram {
  color: #ff6b9d;
  border-color: rgba(225, 48, 108, 0.4);
  background: rgba(225, 48, 108, 0.1);
}

.social-instagram:hover {
  border-color: var(--ig-pink);
  box-shadow: 0 12px 30px rgba(225, 48, 108, 0.22);
}

.social-tiktok {
  color: #25f4ee;
  border-color: rgba(37, 244, 238, 0.35);
  background: rgba(37, 244, 238, 0.08);
}

.social-tiktok:hover {
  border-color: #25f4ee;
  box-shadow: 0 12px 30px rgba(37, 244, 238, 0.2);
}

[data-theme="light"] .social-tiktok {
  color: #0d9aa6;
  border-color: rgba(13, 154, 166, 0.35);
  background: rgba(13, 154, 166, 0.08);
}

[data-theme="light"] .social-tiktok:hover {
  border-color: #0d9aa6;
}

/* ============================ CTA ============================ */
.cta-band {
  position: relative;
  z-index: 1;
  padding: 0 0 6rem;
  background: var(--bg-secondary);
}

.cta-box {
  background: linear-gradient(
    120deg,
    rgba(32, 60, 72, 0.95) 0%,
    rgba(23, 48, 58, 0.95) 60%,
    rgba(247, 146, 44, 0.16) 100%
  );
  border: 1px solid rgba(247, 146, 44, 0.3);
  border-radius: 22px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 520px;
}

.cta-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ============================ Pie de página ============================ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 340px;
  margin-bottom: 1.5rem;
}

.footer-social {
  gap: 0.6rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-links h4 {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* ============================ Botón flotante WhatsApp ============================ */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}

/* ============================ Animaciones de scroll ============================ */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================ Responsive ============================ */
@media (max-width: 1024px) {
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 82vw);
    height: 100vh;
    background: var(--bg-nav-solid);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 6rem 1.75rem 2rem;
    transition: right 0.35s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.05rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta {
    padding: 0.65rem 0.8rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }

  .social-link {
    padding: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
