/* ==========================================================================
   ClimaTronic & Cleaners - Design System & Modern Stylesheet
   Colores corporativos oficiales:
   - Primario (Azul Marino Corporativo): #16325c / #0f2445
   - Secundario (Cian Eléctrico / Aqua ClimaTronic): #00a8e8 / #0284c7
   - Acento Salud & Pureza: #22c55e / #16a34a
   - Neutros: Fondos limpios #f8fafc, bordes #e2e8f0, texto #1e293b
   ========================================================================== */

:root {
  --color-primary: #0f2b48;
  --color-primary-dark: #0a1c30;
  --color-primary-light: #1b416c;
  
  --color-cyan: #00a8e8;
  --color-cyan-hover: #0093cc;
  --color-cyan-light: #e0f2fe;
  
  --color-green: #10b981;
  --color-green-dark: #059669;
  --color-green-light: #d1fae5;
  
  --color-accent-gold: #f59e0b;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-cyan: 0 10px 25px -5px rgba(0, 168, 232, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Contenedores y Utilidades */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 80px 0;
}

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

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-cyan-light);
  color: var(--color-cyan);
  margin-bottom: 14px;
}

.section-tag.green {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Top Announcement Bar */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a:hover {
  color: var(--color-cyan);
}

.top-bar-badge {
  background: rgba(0, 168, 232, 0.15);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Header & Navbar */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-cyan);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-primary);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 991px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 84px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 84px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 18px;
    box-shadow: var(--shadow-xl);
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    left: 0;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-actions .btn-demo {
    display: none;
  }
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-cyan {
  background: var(--color-cyan);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
}

.btn-cyan:hover {
  background: var(--color-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.45);
}

.btn-navy {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 43, 72, 0.3);
}

.btn-green {
  background: var(--color-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-green:hover {
  background: var(--color-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

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

.btn-outline-navy:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-pulse {
  animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0, 168, 232, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 168, 232, 0);
  }
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #091a2d 0%, #102e52 50%, #0d466f 100%);
  color: #ffffff;
  padding: 80px 0 100px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 232, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #38bdf8 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(90deg, #4ade80 0%, #a3e635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.stat-item h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.82rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Dual Card Showcase en Hero */
.hero-dual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-xl);
}

.dual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 15px;
}

.dual-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.dual-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.dual-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.dual-feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.dual-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-cyan);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dual-feature-icon.green {
  background: var(--color-green);
}

.dual-feature-info h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.dual-feature-info p {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Banner de Certificaciones y Confianza */
.trust-strip {
  background: #ffffff;
  padding: 26px 0;
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.trust-item i {
  font-size: 1.8rem;
  color: var(--color-cyan);
}

.trust-item.green i {
  color: var(--color-green);
}

.trust-item div h5 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.trust-item div p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Tarjetas de Servicios y Productos */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #bae6fd;
}

.feature-card.highlight {
  border: 2px solid var(--color-cyan);
  box-shadow: var(--shadow-cyan);
}

.feature-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-cyan);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-cyan-light);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.card-icon.navy {
  background: #e2e8f0;
  color: var(--color-primary);
}

.card-icon.green {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

.feature-card:hover .card-icon {
  transform: scale(1.08) rotate(3deg);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-checklist {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
}

.card-checklist li i {
  color: var(--color-green);
  font-size: 0.95rem;
}

/* Sección Destacada Rainbow */
.rainbow-spotlight {
  background: linear-gradient(to bottom, #ffffff 0%, #f0f9ff 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

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

@media (max-width: 991px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.split-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.split-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 43, 72, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.split-image-badge i {
  font-size: 1.8rem;
  color: #38bdf8;
}

/* Comparativa Rainbow vs Tradicional */
.comparison-table-wrap {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: 40px;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.94rem;
}

.comp-table th {
  background: var(--bg-muted);
  font-weight: 700;
  color: var(--color-primary);
}

.comp-table th.highlight-col {
  background: #e0f2fe;
  color: var(--color-cyan-hover);
  border-top: 3px solid var(--color-cyan);
}

.comp-table td.highlight-col {
  background: #f8fafc;
  font-weight: 600;
  color: var(--color-primary);
}

/* Catálogo de Accesorios */
.accessories-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-cyan);
  color: #ffffff;
  border-color: var(--color-cyan);
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.accessory-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.accessory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.accessory-img-box {
  height: 200px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}

.accessory-img-box i {
  font-size: 4.5rem;
  color: #94a3b8;
  transition: var(--transition);
}

.accessory-card:hover .accessory-img-box i {
  color: var(--color-cyan);
  transform: scale(1.1);
}

.accessory-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.accessory-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 6px;
}

.accessory-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.accessory-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.accessory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

/* Banner de Prueba Gratuita */
.cta-banner {
  background: linear-gradient(135deg, #0f2b48 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-banner-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-banner p {
  font-size: 1.1rem;
  color: #e0f2fe;
  margin-bottom: 30px;
}

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Testimonios */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-rating {
  color: var(--color-accent-gold);
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-cyan-light);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-primary);
}

.author-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.is-active {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.3s;
  color: var(--color-cyan);
}

.faq-item.is-active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.faq-item.is-active .faq-answer {
  padding-bottom: 20px;
}

/* Formularios */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #94a3b8;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.footer-brand img {
  height: 48px;
  margin-bottom: 18px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--color-cyan);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-cyan);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-cyan);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: var(--color-cyan);
  font-size: 1.1rem;
  margin-top: 3px;
}

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

/* Botón Flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.whatsapp-label-box {
  background: #ffffff;
  color: var(--color-primary);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: fadeInLabel 0.5s ease-in-out;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .whatsapp-label-box {
    display: none;
  }
}

@keyframes fadeInLabel {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Modales */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.is-open {
  display: flex;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: var(--color-primary);
  color: #ffffff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  opacity: 0.8;
  transition: var(--transition);
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 24px;
}

/* Toast de Alerta */
.toast-notice {
  position: fixed;
  bottom: 100px;
  right: 28px;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-cyan);
  box-shadow: var(--shadow-xl);
  z-index: 99999;
  display: none;
  font-size: 0.9rem;
  align-items: center;
  gap: 12px;
  animation: toastSlide 0.3s ease-out;
}

.toast-notice.is-visible {
  display: flex;
}

@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Calculadora Interactiva de BTUs
   ========================================================================== */
.btu-calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .btu-calc-grid {
    grid-template-columns: 1fr;
  }
}

.btu-calc-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
}

.btu-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-tabs {
  display: flex;
  background: #f1f5f9;
  padding: 5px;
  border-radius: 12px;
  gap: 6px;
  margin-bottom: 18px;
}

.calc-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.calc-tab-btn:hover {
  color: var(--color-primary);
}

.calc-tab-btn.active {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.calc-area-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-cyan);
  background: var(--color-cyan-light);
  padding: 4px 14px;
  border-radius: 8px;
  border: 1px solid rgba(0, 168, 232, 0.25);
}

.calc-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 14px 0 6px 0;
  cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 2px 8px rgba(0, 168, 232, 0.4);
  cursor: pointer;
  border: none;
}

.btu-calc-result-card {
  background: linear-gradient(145deg, #0f2b48 0%, #163e69 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-xl);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-header {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.calc-btu-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
  letter-spacing: -0.5px;
}

.calc-tr-value {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 500;
}

.calc-specs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.calc-spec-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.calc-spec-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.calc-spec-icon.green {
  background: rgba(16, 185, 129, 0.2);
  color: #4ade80;
}

.calc-spec-icon.yellow {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.calc-spec-item strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.calc-spec-item span {
  display: block;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.calc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
