/* =====================================================
   ELECTRODOM V2 — CSS Principal
   Diseño moderno, dinámico, orientado a conversión
   ===================================================== */

/* ---- Variables ---- */
:root {
  --primary:          #439FD9;
  --primary-dark:     #2a7ab5;
  --primary-light:    #e8f4fd;
  --gradient:         linear-gradient(135deg, #439FD9 0%, #2a7ab5 100%);
  --gradient-hero:    linear-gradient(135deg, #0d1b35 0%, #0f3460 55%, #1a5276 100%);
  --dark:             #16213e;
  --text:             #2D2D2D;
  --gray:             #6C6C6C;
  --light-gray:       #f0f4f8;
  --light:            #f8fafc;
  --white:            #ffffff;
  --green:            #25D366;
  --green-dark:       #128C7E;
  --border:           #e2e8f0;
  --shadow-sm:        0 2px 10px rgba(0,0,0,.07);
  --shadow:           0 8px 32px rgba(67,159,217,.15);
  --shadow-lg:        0 20px 60px rgba(0,0,0,.12);
  --radius:           16px;
  --radius-sm:        10px;
  --radius-lg:        24px;
  --transition:       all .3s cubic-bezier(.4,0,.2,1);
  --font-main:        'Asap', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-bold:        'Futura-Bold', 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
}

/* ---- Fonts ---- */
@font-face {
  font-family: 'Futura-Bold';
  src: url('../../../themes/serviciohaceb/fonts/FuturaBold.woff2') format('woff2'),
       url('../../../themes/serviciohaceb/fonts/FuturaBold.woff')  format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Asap';
  src: url('../../../themes/serviciohaceb/fonts/Asap-Regular.woff2') format('woff2'),
       url('../../../themes/serviciohaceb/fonts/Asap-Regular.woff')  format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Asap';
  src: url('../../../themes/serviciohaceb/fonts/Asap-Medium.woff2') format('woff2'),
       url('../../../themes/serviciohaceb/fonts/Asap-Medium.woff')  format('woff');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Asap';
  src: url('../../../themes/serviciohaceb/fonts/Asap-SemiBold.woff2') format('woff2'),
       url('../../../themes/serviciohaceb/fonts/Asap-SemiBold.woff')  format('woff');
  font-weight: 600;
  font-display: swap;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ---- Helpers ---- */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-py  { padding: 6rem 0; }
.text-center { text-align: center; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-bold); line-height: 1.2; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .3rem .9rem;
  border-radius: 30px;
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin-bottom: .7rem;
}
.section-subtitle {
  font-size: 1.02rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.75;
}

/* ---- Botones ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-bold);
  font-size: .95rem;
  padding: .82rem 1.9rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}
.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(67,159,217,.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(67,159,217,.55);
}
.btn-green {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  box-shadow: 0 4px 22px rgba(37,211,102,.38);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.48);
}
.btn-white-ghost {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.btn-white-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.main-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}
.main-navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: .75rem 0;
  box-shadow: 0 1px 24px rgba(0,0,0,.07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.navbar-logo img {
  height: 44px; width: auto;
  transition: var(--transition);
}
.main-navbar:not(.scrolled) .navbar-logo img { filter: brightness(0) invert(1); }

/* Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.navbar-menu a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  transition: var(--transition);
  position: relative;
  padding-bottom: 3px;
}
.main-navbar.scrolled .navbar-menu a { color: var(--text); }
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s ease;
}
.navbar-menu a:hover::after,
.navbar-menu a.active::after { width: 100%; }
.navbar-menu a:hover { color: var(--primary); }
.main-navbar:not(.scrolled) .navbar-menu a:hover { color: var(--white); opacity: .8; }
.main-navbar:not(.scrolled) .navbar-menu a.active { color: var(--white); }
.main-navbar:not(.scrolled) .navbar-menu a.active::after { background: var(--white); }

.navbar-cta { flex-shrink: 0; }

/* Hamburger */
.navbar-toggler {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .45rem;
  margin-left: auto;
}
.navbar-toggler span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.main-navbar.scrolled .navbar-toggler span { background: var(--dark); }
.navbar-toggler.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar-toggler.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.navbar-toggler.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile collapse */
.navbar-collapse {
  display: none;
  padding: 1.25rem 1.5rem 1.75rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.navbar-collapse.show { display: block; }
.navbar-collapse .navbar-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  margin-left: 0;
  margin-bottom: 1.25rem;
}
.navbar-collapse .navbar-menu a { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Foto de fondo con baja opacidad */
.hero-img-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}

/* Círculo decorativo */
.hero-circle {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67,159,217,.18) 0%, transparent 65%);
  top: -200px; right: -200px;
  pointer-events: none;
  z-index: 0;
}

/* Wave bottom */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 2;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 2rem 0 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  font-size: .83rem;
  font-weight: 500;
  padding: .4rem 1rem .4rem .6rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: blink 2s ease infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.08;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #81cbf5, #c3e8fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.12rem;
  color: rgba(255,255,255,.78);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--gradient);
  padding: 2.75rem 0;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-item {
  text-align: center;
  color: var(--white);
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: rgba(255,255,255,.25);
}
.stat-num {
  font-family: var(--font-bold);
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: .86rem;
  opacity: .85;
  line-height: 1.4;
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.services-section { padding: 6rem 0; }
.services-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.services-header .section-subtitle { margin: 0 auto; }

.services-grid-desktop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.75rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .ico {
  width: 62px; height: 62px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card:hover .ico { background: var(--gradient); }
.service-card:hover .ico img { filter: brightness(0) invert(1); }
.service-card .ico img { width: 30px; height: 30px; }

.service-card h3 {
  font-size: .98rem;
  color: var(--dark);
  margin-bottom: .55rem;
  line-height: 1.4;
}
.service-card p {
  font-size: .88rem;
  color: var(--gray);
  flex: 1;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.card-link svg { transition: transform .3s ease; }
.card-link:hover svg { transform: translateX(4px); }
.card-link:hover { color: var(--primary-dark); }

/* Swiper mobile */
.services-swiper { overflow: hidden; padding-bottom: 2.5rem !important; }
.services-swiper .swiper-pagination-bullet-active { background: var(--primary); }

/* ============================================================
   CÓMO FUNCIONA
   ============================================================ */
.how-section {
  padding: 6rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.how-section::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67,159,217,.1) 0%, transparent 65%);
  bottom: -250px; right: -150px;
  pointer-events: none;
}
.how-header {
  text-align: center;
  margin-bottom: 4rem;
}
.how-header .section-label { background: rgba(67,159,217,.18); }
.how-header .section-title { color: var(--white); }
.how-header .section-subtitle { color: rgba(255,255,255,.6); margin: 0 auto; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}
/* Línea conectora */
.how-steps::before {
  content: '';
  position: absolute;
  top: 46px; left: calc(16.66% + 40px); right: calc(16.66% + 40px);
  height: 1px;
  background: linear-gradient(90deg, rgba(67,159,217,.5), rgba(67,159,217,.1), rgba(67,159,217,.5));
  pointer-events: none;
}

.how-step { text-align: center; padding: 0 1rem; }

.step-icon {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(67,159,217,.15), rgba(67,159,217,.04));
  border: 1px solid rgba(67,159,217,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.how-step:hover .step-icon {
  background: linear-gradient(135deg, rgba(67,159,217,.3), rgba(67,159,217,.1));
  border-color: rgba(67,159,217,.5);
  transform: scale(1.06);
}
.step-num-badge {
  position: absolute;
  top: -5px; right: -5px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-bold);
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { color: var(--primary); }

.how-step h3 {
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: .55rem;
}
.how-step p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

/* ============================================================
   CANALES DE CONTACTO
   ============================================================ */
.contact-section {
  padding: 6rem 0;
  background: var(--light);
}
.contact-header { margin-bottom: 3rem; }

.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.channel-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.channel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(67,159,217,.3);
}
.ch-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.channel-card:hover .ch-icon { background: var(--gradient); }
.channel-card:hover .ch-icon img { filter: brightness(0) invert(1); }
.ch-icon img { width: 26px; height: 26px; }
.ch-info p { font-size: .8rem; color: var(--gray); margin-bottom: .2rem; }
.ch-info span {
  font-family: var(--font-bold);
  font-size: .98rem;
  color: var(--dark);
}

.coverage-banner {
  margin-top: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.coverage-banner h3 {
  font-size: 1.08rem;
  color: var(--dark);
  max-width: 460px;
  line-height: 1.5;
}
.coverage-note {
  font-size: .82rem;
  color: var(--gray);
  margin-top: .4rem;
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials-section { padding: 6rem 0; }
.testimonials-header { margin-bottom: 3.5rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-light);
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: rgba(67,159,217,.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: .9rem;
}
.star {
  width: 16px; height: 16px;
  color: #f59e0b;
}
.testimonial-text {
  font-size: .93rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-bold);
  font-size: .88rem;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: .9rem; color: var(--dark); margin-bottom: .1rem; }
.author-info span { font-size: .8rem; color: var(--gray); }

/* ============================================================
   MUNDO ELECTRODOM
   ============================================================ */
.mundo-section {
  padding: 6rem 0;
  background: var(--light);
}
.mundo-header { margin-bottom: 3rem; }

.mundo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

/* Feature grande izquierda */
.mundo-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: block;
}
.mundo-feature img.bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.mundo-feature:hover img.bg { transform: scale(1.04); }
.mundo-feature .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,53,.92) 0%, rgba(13,27,53,.3) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.play-btn {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.mundo-feature:hover .play-btn { background: var(--primary); }
.mundo-feature h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .5rem; }
.mundo-feature p { color: rgba(255,255,255,.72); font-size: .88rem; }

/* Columna derecha */
.mundo-right { display: flex; flex-direction: column; gap: 1.25rem; }

.mundo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  transition: var(--transition);
  flex: 1;
}
.mundo-card:hover {
  border-color: rgba(67,159,217,.35);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.mundo-card .thumb {
  width: 120px;
  flex-shrink: 0;
  overflow: hidden;
}
.mundo-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.mundo-card:hover .thumb img { transform: scale(1.06); }
.mundo-card .info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mundo-card .info h4 { font-size: .95rem; color: var(--dark); margin-bottom: .4rem; line-height: 1.35; }
.mundo-card .info p { font-size: .85rem; color: var(--gray); line-height: 1.55; margin-bottom: .6rem; }
.mundo-card .link {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: var(--transition);
}
.mundo-card .link svg { transition: transform .3s ease; }
.mundo-card:hover .link svg { transform: translateX(3px); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 6rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../../assets/img/img-ad-banner-1.png') center/cover no-repeat;
  opacity: .06;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner .section-label { background: rgba(67,159,217,.22); }
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-banner p {
  font-size: 1.04rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}
.cta-banner-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer { background: var(--dark); }

.footer-top { padding: 4.5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 1.25rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.75; max-width: 280px; }

.footer-social {
  display: flex;
  gap: .55rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-col h4 {
  font-size: .77rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  font-size: .83rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom a { color: var(--primary); }

/* ============================================================
   FLOTANTES
   ============================================================ */
.float-contacts {
  position: fixed;
  right: 1.5rem;
  bottom: 1.75rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
}
.float-btn {
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 6px 24px rgba(0,0,0,.22);
}
.float-btn:hover { transform: scale(1.12); }
.float-btn--call { background: var(--gradient); }
.float-btn--wp   { background: linear-gradient(135deg, #25D366, #128C7E); }
.float-btn img   { width: 28px; height: 28px; filter: brightness(0) invert(1); }

.float-btn .tooltip-label {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--dark);
  color: var(--white);
  font-size: .8rem;
  padding: .35rem .85rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.float-btn .tooltip-label::after {
  content: '';
  position: absolute;
  right: -5px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--dark);
}
.float-btn:hover .tooltip-label { opacity: 1; transform: translateX(0); }

@keyframes pulse-wp {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.45); }
  60%       { box-shadow: 0 6px 24px rgba(37,211,102,.35), 0 0 0 14px rgba(37,211,102,0); }
}
.float-btn--wp { animation: pulse-wp 2.5s ease infinite; }

/* ============================================================
   ANIMACIONES SCROLL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .65s ease, transform .65s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s ease, transform .65s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

.scale-up {
  opacity: 0;
  transform: scale(.93);
  transition: opacity .55s ease, transform .55s ease;
}
.scale-up.visible { opacity: 1; transform: scale(1); }

/* ============================================================
   PÁGINA ESCRÍBENOS
   ============================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: 9.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../../assets/img/portadaweb.jpeg') center/cover no-repeat;
  opacity: .1;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.page-hero .section-label { background: rgba(67,159,217,.22); }
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.78;
  max-width: 520px;
}

/* Layout formulario */
.form-section-layout { padding: 5.5rem 0; }
.form-layout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-card-header { margin-bottom: 2rem; }
.form-card-header h2 { font-size: 1.5rem; color: var(--dark); margin-bottom: .35rem; }
.form-card-header p { font-size: .9rem; color: var(--gray); line-height: 1.65; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .38rem;
  margin-bottom: 1rem;
}
.form-group label { font-size: .84rem; font-weight: 600; color: var(--dark); }
.form-group .req { color: var(--primary); }
.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font: inherit;
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67,159,217,.12);
}
.form-control.error { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,.1); }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236C6C6C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.5rem;
}
.checkbox-group input {
  margin-top: .2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  width: 16px; height: 16px;
  cursor: pointer;
}
.checkbox-group label { font-size: .87rem; color: var(--gray); line-height: 1.65; cursor: pointer; }
.checkbox-group a { color: var(--primary); }
.checkbox-group a:hover { text-decoration: underline; }

.btn-submit {
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  font-family: var(--font-bold);
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 22px rgba(67,159,217,.38);
  border: none;
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(67,159,217,.48);
}
.btn-submit:disabled { opacity: .55; cursor: not-allowed; }

/* Sidebar contacto */
.contact-sidebar { position: sticky; top: 100px; }

.contact-dark-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.contact-dark-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.contact-dark-card > p { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 1.75rem; line-height: 1.65; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  margin-bottom: .7rem;
  transition: var(--transition);
  text-decoration: none;
}
.contact-item:hover { background: rgba(67,159,217,.2); }
.contact-item .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item .icon img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.contact-item .text p { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: .12rem; }
.contact-item .text span { font-family: var(--font-bold); font-size: .93rem; color: var(--white); }

.coverage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}
.coverage-card h4 { font-size: .88rem; color: var(--dark); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: .28rem .82rem;
  border-radius: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid-desktop { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
  .how-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-py { padding: 4rem 0; }

  /* Navbar mobile */
  .navbar-menu,
  .navbar-cta { display: none; }
  .navbar-toggler { display: flex; }
  .main-navbar {
    padding: .85rem 0 !important;
    background: rgba(13,27,53,.97) !important;
    backdrop-filter: blur(20px) !important;
  }
  .main-navbar .navbar-logo img { filter: brightness(0) invert(1) !important; }
  .main-navbar .navbar-toggler span { background: var(--white) !important; }

  .hero { padding-top: 0; min-height: 85vh; }
  .hero-content { padding: 1.5rem 0 2rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .stat-item:nth-child(2)::after { display: none; }

  .channels-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .mundo-grid { grid-template-columns: 1fr; }
  .coverage-banner { flex-direction: column; align-items: flex-start; }

  .form-layout-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }

  .cta-banner-btns { flex-direction: column; align-items: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom .inner { flex-direction: column; text-align: center; }
}

@media (max-width: 580px) {
  .services-grid-desktop { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .stat-num { font-size: 2rem; }
  .mundo-card .thumb { width: 90px; }
  .form-card { padding: 1.5rem; }
  .contact-dark-card { padding: 1.75rem; }
}
@media (min-width: 581px) {
  .services-swiper { display: none !important; }
}
