/* ── Inovaluz Electricidad — CSS Premium v1.0 ────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #f8fafc;
  --bg2: #ffffff;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --surface: rgba(0, 0, 0, 0.04);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --nav-text: #0f172a;
  --nav-muted: #64748b;
  --overlay: rgba(255, 255, 255, 0.85);
  --text: #0f172a;
  --muted: #64748b;
  --primary: #F6960E;
  --primary2: #EF4444;
  --accent: #F6960E;
  --green: #22c55e;
  --glow: 0 0 40px rgba(246, 150, 14, 0.2);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Modo oscuro eliminado por petición del cliente - Forzamos modo claro */

/* Estilos de pie de página fijos */

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

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2
}

h1 {
  font-size: 45px;
  font-weight: 800;
  word-break: break-word;
  color: #F6960E;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3)
}

.text-gradient {
  color: #F6960E
}

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

.section {
  padding: 80px 0
}

.section-title {
  margin-bottom: 16px;
  color: var(--text)
}

.section-sub {
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-size: 1.1rem
}

.text-center {
  text-align: center
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000;
  box-shadow: var(--glow)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.4)
}

.btn-outline {
  background: var(--primary);
  color: #000;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: #e58a0d;
  border-color: #e58a0d;
  color: #000;
  transform: translateY(-2px);
}

.btn-wa, .btn-whatsapp, .botón-Whatsapp {
  background: #25D366;
  color: #fff !important;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.3);
  border: none
}

.btn-wa:hover, .btn-whatsapp:hover, .botón-Whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(37, 211, 102, 0.5)
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
  animation: pulse-red 2s infinite
}

.btn-danger:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 60px rgba(239, 68, 68, 0.5)
}

@keyframes pulse-red {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4)
  }

  50% {
    box-shadow: 0 0 50px rgba(239, 68, 68, 0.7)
  }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 8px 0;
  background: rgba(10, 10, 15, 0.95); /* Forzado oscuro */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(236, 124, 3, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: all .3s
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff /* Forzado blanco */
}

.nav-logo img {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  max-width: 100%;
  object-fit: contain
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap
}

.nav-links a {
  color: #8888aa; /* Forzado muted claro sobre fondo oscuro */
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .2s
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(245, 158, 11, 0.08)
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  color: #000 !important;
  padding: 8px 18px !important;
  border-radius: 100px !important
}

.nav-emergency {
  background: linear-gradient(135deg, #EF4444, #DC2626) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  animation: pulse-red 2s infinite
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--nav-muted);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .8rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s
}

.lang-btn:hover,
.lang-btn.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  border-color: rgba(245, 158, 11, 0.4)
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff; /* Forzado blanco para que se vea en el nav oscuro */
  transition: all .3s
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden
}

.slider-hero {
  padding: 0;
  min-height: 100vh
}

.slider-bgs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

.slider-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 12s linear;
  transform: scale(1.05)
}

.slider-bg.active {
  opacity: 1;
  transform: scale(1)
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%)
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%
}

.hero-content {
  padding: 40px 0
}

.hero-logo {
  margin-bottom: 24px
}

.hero-logo img {
  height: 70px;
  width: auto
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px
}

/* ── Slider Dots & Controls ── */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all .3s
}

.dot.active {
  background: var(--primary);
  transform: scale(1.3)
}

.slider-arrow {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0 8px;
  transition: all .3s
}

.slider-arrow:hover {
  color: var(--primary);
  transform: scale(1.2)
}

/* ── Emergency Banner ── */
.emergency-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.emergency-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #EF4444;
  flex-shrink: 0;
  animation: pulse-dot 1.5s infinite
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7)
  }

  70% {
    box-shadow: 0 0 0 12px rgba(239, 68, 68, 0)
  }
}

@keyframes flicker {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .85
  }

  75% {
    opacity: .95
  }
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden
}

.trust-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 800;
  color: #F6960E;
  white-space: nowrap
}

.trust-chip span {
  color: #F6960E;
  font-size: 1.1rem;
}

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .3s;
  cursor: pointer;
  position: relative;
  overflow: hidden
}

.service-card:hover {
  border-color: rgba(236, 124, 3, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--glow)
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 8px
}

.service-card p {
  font-size: .9rem
}

.service-card .tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  background: rgba(236, 124, 3, 0.1);
  color: #F6960E;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600
}

.service-accordion-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all .4s ease;
  margin-top: 0;
  border-top: 1px solid transparent;
  padding-top: 0
}

.service-card.open .service-accordion-content {
  max-height: 500px;
  opacity: 1;
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 20px
}

/* ── Emergency Section ── */
.emergency-section {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.03));
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  padding: 80px 0
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.emergency-big-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 48px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 60px rgba(239, 68, 68, 0.4);
  animation: pulse-red 2s infinite;
  transition: all .3s;
  text-align: center
}

.emergency-big-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 100px rgba(239, 68, 68, 0.6);
  color: #fff
}

.emergency-steps {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.emergency-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px
}

.emergency-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0
}

/* ── Process timeline ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 48px auto 0
}

.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 32px
}

.timeline-item:last-child {
  padding-bottom: 0
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--border)
}

.timeline-item:last-child::after {
  display: none
}

.timeline-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif
}

.timeline-content h4 {
  color: var(--text);
  margin-bottom: 6px
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  transition: all .3s
}

.contact-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(4px)
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0
}

.contact-item strong {
  display: block;
  color: var(--text);
  font-size: .95rem
}

.contact-item span {
  color: var(--muted);
  font-size: .85rem
}

/* ── Form ── */
.form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px
}

.form-group {
  margin-bottom: 20px
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
  outline: none
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: rgba(245, 158, 11, 0.04);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1)
}

.form-group textarea {
  resize: vertical;
  min-height: 120px
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.alert {
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500
}

.alert-ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green)
}

.alert-err {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #EF4444
}

/* ── Tags SEO ── */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 32px
}

.tag-link {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  font-size: .85rem;
  transition: all .2s
}

.tag-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(245, 158, 11, 0.06)
}

/* ── Footer ── */
footer {
  background: var(--bg2);
  border-top: 8px solid #F6960E;
  padding: 80px 0 32px
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start
}

.footer-info-box {
  background: #000;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15)
}

.footer-info-box p {
  color: #fff;
  font-size: 1rem;
  margin-top: 20px;
  line-height: 1.6
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px
}

.footer-logo img {
  height: 60px
}

.footer-links h5 {
  color: var(--text);
  margin-bottom: 20px;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700
}

.footer-links a,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:active {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  color: #000 !important;
  font-size: .95rem;
  padding: 8px 0;
  transition: all .2s;
  text-decoration: none !important;
  width: 100%;
  font-family: inherit
}

.footer-links a span {
  color: #F6960E !important;
  font-size: 1.1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.wa-icon-footer {
  width: 20px;
  height: 20px;
  background-color: #25D366 !important;
  display: inline-block;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-5.5-2.8-23.4-8.6-44.5-27.4-16.4-14.6-27.5-32.6-30.7-38.1-3.2-5.6-.3-8.6 2.5-11.4 2.5-2.5 5.5-6.5 8.3-9.7 2.8-3.2 3.7-5.5 5.5-9.2 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 13.2 5.8 23.5 9.2 31.6 11.8 13.3 4.2 25.4 3.6 35 2.2 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-5.5-2.8-23.4-8.6-44.5-27.4-16.4-14.6-27.5-32.6-30.7-38.1-3.2-5.6-.3-8.6 2.5-11.4 2.5-2.5 5.5-6.5 8.3-9.7 2.8-3.2 3.7-5.5 5.5-9.2 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 13.2 5.8 23.5 9.2 31.6 11.8 13.3 4.2 25.4 3.6 35 2.2 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  margin-right: 10px
}

.footer-links a:hover {
  color: var(--primary) !important;
  transform: translateX(5px)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px
}

.footer-legal {
  display: flex;
  gap: 20px
}

.footer-legal a,
.footer-legal a:visited {
  color: #000 !important;
  font-size: .8rem;
  transition: color .2s;
  text-decoration: none !important
}

.footer-legal a:hover {
  color: var(--primary) !important
}

/* ── Floating WA ── */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.4);
  animation: wa-bounce 3s ease-in-out infinite;
  text-decoration: none;
  transition: all .3s
}

.floating-wa:hover {
  transform: scale(1.05) translateY(-2px);
  color: #fff
}

@keyframes wa-bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

/* ── Floating Emergency ── */
.floating-emergency {
  position: fixed;
  bottom: 82px;
  right: 24px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4);
  animation: pulse-red 2s infinite;
  text-decoration: none
}

.floating-emergency:hover {
  color: #fff;
  transform: scale(1.05)
}

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(100%);
  transition: transform .4s
}

.cookie-banner.show {
  transform: translateY(0)
}

.cookie-text {
  font-size: .85rem;
  color: var(--muted);
  flex: 1
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s
}

.cookie-accept {
  background: var(--primary);
  color: #000
}

.cookie-reject {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted)
}

/* ── Theme toggle ── */
.theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--nav-text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  font-size: 1rem
}

.theme-toggle:hover {
  background: rgba(245, 158, 11, 0.2);
  color: var(--primary);
  border-color: var(--primary)
}

/* ── Lang toggle ── */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 4px
}

/* ── Testimonials ── */
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform .3s
}

.testimonial-card:hover {
  transform: translateY(-5px)
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px
}

.testimonial-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary)
}

.testimonial-header strong {
  display: block;
  font-size: 1rem;
  color: var(--text)
}

.stars {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-top: 2px
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 16px
}

.testimonial-date {
  font-size: 0.8rem;
  color: #94A3B8
}

/* ── Nosotros ── */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

@media(max-width:900px) {
  .nosotros-grid {
    grid-template-columns: 1fr
  }
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 24px;
  flex-wrap: wrap
}

.breadcrumb a {
  color: var(--muted);
  transition: color .2s
}

.breadcrumb a:hover {
  color: var(--primary)
}

.breadcrumb span {
  color: var(--primary)
}

/* ── Price bubble ── */
.price-bubble {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #000;
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  display: inline-block
}

.price-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em
}

.price-value {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800
}

/* ── Legal modal ── */
.legal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--overlay);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center
}

.legal-overlay.open {
  display: flex
}

.legal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  position: relative
}

.legal-close {
  position: sticky;
  top: 0;
  display: block;
  margin-bottom: 24px;
  padding: 8px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif
}

/* ── Responsive ── */
.mobile-urgency {
  display: none
}

@keyframes mobile-pulse-red {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4)
  }

  50% {
    transform: scale(1.06);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.8)
  }
}

@media(max-width:900px) {
  .mobile-urgency {
    display: flex;
    align-items: center;
    background: #EF4444;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    margin-left: auto;
    margin-right: 15px;
    animation: mobile-pulse-red 1.5s infinite ease-in-out
  }

  .mobile-urgency:hover {
    background: #DC2626
  }

  .hero-inner,
  .emergency-grid,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .hero-visual {
    display: none
  }

  .services-grid {
    grid-template-columns: 1fr 1fr
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr
  }

  .nav-links {
    display: none
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 70px;
    background: var(--nav-bg);
    padding: 32px 24px;
    gap: 16px;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: calc(100vh - 70px);
    overflow-y: auto;
    align-items: center
  }

  .nav-links.open a {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 16px
  }

  .nav-links.open .lang-switcher {
    margin-top: 10px
  }

  .hamburger {
    display: flex
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
  }

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

@media(max-width:600px) {
  .services-grid {
    grid-template-columns: 1fr
  }

  .footer-inner {
    grid-template-columns: 1fr
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px
  }

  .emergency-big-btn {
    font-size: 1.2rem;
    padding: 20px 32px
  }

  .floating-emergency {
    display: none
  }
}

@media(max-width:400px) {
  .nav-logo img {
    height: 36px
  }

  .mobile-urgency {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* ── Floating Buttons ── */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1001;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-wa:hover { transform: scale(1.1) rotate(5deg); }
.floating-wa img { width: 34px; height: 34px; object-fit: contain; }

.floating-emergency {
  position: fixed;
  bottom: 24px;
  right: 100px;
  z-index: 1000;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff !important;
  border-radius: 100px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 4px 24px rgba(239, 68, 68, 0.4);
  animation: pulse-red 2s infinite;
  text-decoration: none;
}
.floating-emergency:hover { transform: scale(1.05); }

@media(min-width:900px) {
  .floating-emergency { display: flex; }
}

@media(max-width:600px) {
  .floating-wa { width: 54px; height: 54px; bottom: 24px; right: 24px; }
}