:root{ --navy:#00205b; --ink:#0a2e5c; --blue:#0072ce; --green:#00c853; --bg:#f7f9fc; --text:#0b1f3a; --muted:#5d6c82; --line:#e2e8f0; --radius:14px; --card-bg:#fff; }
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--text);background:var(--bg)}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display: block;}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.top{position:sticky;top:0;background:var(--card-bg);border-bottom:1px solid var(--line);z-index:10}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px; flex-wrap: wrap; gap: 10px;}
.brand{display:flex;align-items:center;gap:14px; flex-wrap: nowrap;}
.brand img{display:block}
.brand .tag{font-size:12px;color:#fff;background:var(--navy);padding:6px 10px;border-radius:999px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border-radius:12px;border:1px solid var(--line);font-weight:700}
.btn-primary{background:var(--green);color:#062; border-color:transparent}
.btn-ghost{background:var(--card-bg);color:var(--navy)}

.logo.electrolux-logo { height: 35px; }
.logo.continental-logo { height: 30px; }

/* --- MAQUETACIÓN HERO (Texto Izquierda, Formulario Derecha) --- */
.hero{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); 
  gap:28px;
  align-items:center;
  padding: 36px 28px; 
  background-color: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 36px;
  background-image: 
    linear-gradient(rgba(0,114,206,0.07) 1px, transparent 1px), 
    linear-gradient(90deg, rgba(0,114,206,0.07) 1px, transparent 1px);
  background-size: 25px 25px;
}
@media(max-width:700px){
  .hero{ grid-template-columns:1fr; padding: 24px 18px; }
  .topbar{justify-content:center;}
  .brand .tag{display: none;}
}

h1{font-size:40px;line-height:1.2;margin:0 0 10px;color:var(--navy)}
.lead{color:var(--muted);margin:0 0 16px}
.card{background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.hero .card { background: transparent; border: none; padding: 0; }
.input,select,textarea{width:100%;padding:12px;border-radius:10px;border:1px solid var(--line);background:var(--card-bg);color:var(--text)}

.kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:14px }
.kpi{background:var(--card-bg);border:1px solid var(--line);border-radius:12px;padding:14px;text-align:center}
.kpi strong{font-size:22px;color:var(--navy)}
.badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}

.badges span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background:#eef4ff;
  border:1px solid #d9e6ff;
  color:#1f3e7a;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight: 500;
}

.section{padding:16px 0}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:700px){.grid-3{grid-template-columns:1fr}}

.gallery img {
  width:100%;
  height:380px; 
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
  transition: transform 0.3s ease;
}
.gallery picture:hover img {
  transform: scale(1.03);
}

.table{width:100%;border-collapse:collapse}
.table th,.table td{border-bottom:1px solid var(--line);padding:14px 18px;text-align:left}
.table th{color:var(--navy);background:transparent;padding-top:18px;padding-bottom:18px}
.table tbody tr { transition: background-color 0.2s ease; }
.table tbody tr:hover { background-color: var(--bg); }

.footer{border-top:1px solid var(--line);color:var(--muted);padding:24px 0;margin-top:18px}
.notice{background:#eef4ff;border:1px solid #d9e6ff;border-radius:12px;padding:12px;color:#1f3e7a}
.stars{color:#f5a524;font-weight:800}
.sticky{position:sticky;bottom:0;background:var(--card-bg);border:1px solid var(--line);border-radius:12px;padding:10px;margin-top:12px}
.fab{position:fixed;right:18px;bottom:18px;background:var(--green);color:#062;border:none;border-radius:999px;padding:14px 18px;font-weight:800;box-shadow:0 8px 30px rgba(0,0,0,.12);z-index:999}
.pulsing-btn{animation: pulse 2s infinite}
@keyframes pulse {0% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);}70% { box-shadow: 0 0 0 10px rgba(0, 200, 83, 0);}100% { box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);}}
.carousel-container{overflow:hidden;position:relative;margin:12px 0;border:1px solid var(--line);border-radius:var(--radius);padding:10px}
.testimonials-carousel{display:flex;transition:transform 0.5s ease-in-out}
.testimonial-slide{min-width:calc(33.333% - 8px);margin-right:12px;flex-shrink:0}
@media(max-width:1100px){.testimonial-slide{min-width:calc(50% - 6px)}}
@media(max-width:640px){.testimonial-slide{min-width:100%;margin-right:0}}
.testimonial{background:var(--card-bg);border:1px solid var(--line);border-radius:12px;padding:14px;height:100%}
.comment-item{background:#f0f4f8;border-radius:8px;padding:10px;border:1px solid var(--line);height:100%}

#web-chat-button{position:fixed;right:18px;bottom:90px;z-index:998;background:var(--blue);color:#fff;border-radius:50%;width:50px;height:50px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.2);font-size:24px}
#web-chat-box{position:fixed;right:18px;bottom:150px;width:320px;max-height:420px;background:var(--card-bg);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 30px rgba(0,0,0,.2);z-index:997;padding:15px;display:none;flex-direction:column}
@media(max-width:400px){#web-chat-box{width:90%;right:5%}}
.chat-message-container{overflow-y:auto;flex-grow:1;padding:10px 0;margin-bottom:10px}
.chat-message{background:#e6e6e6;border-radius:10px;padding:8px 12px;margin:5px 0;max-width:85%;clear:both;color:var(--text); line-height: 1.4;}
.chat-message.bot { float: left; background-color: #eef4ff; border: 1px solid #d9e6ff; color: #1f3e7a; }
.chat-message.user{ float: right; background:var(--blue); color:#fff; }
.chat-options { clear: both; padding-top: 5px; }
.chat-options button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  margin: 4px;
  cursor: pointer;
}
.chat-options button:hover { background: var(--bg); }

#chat-form { display: flex; gap: 8px; }
#chat-form input { flex-grow: 1; }
#chat-form button {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

:focus{outline:3px solid rgba(0,114,206,0.15);outline-offset:2px}

.icon-btn {
  width:56px;
  height:56px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 30px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor:pointer;
  border: none;
}
.icon-btn:hover { transform: translateY(-4px) scale(1.03); box-shadow:0 12px 40px rgba(0,0,0,.18); }
.icon-btn:active { transform: translateY(-2px) scale(0.99); }
.icon-btn svg { display:block; width:22px; height:22px; }

#fab-whatsapp { background: var(--green); color:#fff; position:fixed; right:18px; bottom:18px; z-index:999; }
#fab-whatsapp svg path { fill:#fff; }
#web-chat-button { background: var(--blue); color:#fff; position:fixed; right:18px; bottom:90px; z-index:998; }
#web-chat-button svg path { fill:#fff; }

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(0,200,83,0.7); }
  70% { box-shadow: 0 0 0 14px rgba(0,200,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,200,83,0); }
}
@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0,114,206,0.7); }
  70% { box-shadow: 0 0 0 14px rgba(0,114,206,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,114,206,0); }
}
#fab-whatsapp.pulsing-btn { animation: pulse-green 2s infinite; }
#web-chat-button.pulsing-btn { animation: pulse-blue 3s infinite; }

.rating-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
#comment-rating {
  display: inline-block;
  direction: rtl; 
}
#comment-rating input[type="radio"] {
  display: none; 
}
#comment-rating label {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.2s ease;
}
#comment-rating label:hover,
#comment-rating label:hover ~ label {
  color: #f5a524;
}
#comment-rating input[type="radio"]:checked ~ label {
  color: #f5a524;
}


/* --- Detección Automática de Modo Oscuro --- */
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #90caf9;
    --ink: #aed5f5;
    --blue: #0072ce;
    --green: #00c853;
    --bg: #121212;
    --text: #e0e0e0;
    --muted: #8a99af;
    --line: #3a3a3a;
    --card-bg: #1e1e1e;
  }

  .hero {
    background-color: var(--card-bg);
    background-image: 
      linear-gradient(rgba(144,202,249,0.08) 1px, transparent 1px), 
      linear-gradient(90deg, rgba(144,202,249,0.08) 1px, transparent 1px);
  }
  .hero .card { background: transparent; }
  .table tbody tr:hover { background-color: var(--bg); }

  .brand .tag {
     background: var(--blue);
     color: #fff;
  }
  .btn-ghost {
     background: var(--card-bg);
     color: var(--navy);
  }
  
  .badges span {
    background: #2a3a5e;
    border-color: #395080;
    color: #dbe6ff;
  }
  .notice {
    background: #2a3a5e;
    border-color: #395080;
    color: #dbe6ff;
  }
  .chat-message.bot {
    background: #2a3a5e;
    border-color: #395080;
    color: #dbe6ff;
  }
  .chat-message {
    background: #333;
    color: var(--text);
  }
  .chat-message.user{
    background: var(--blue);
    color: #fff;
  }
  .comment-item {
    background: #2c3e50;
    border: 1px solid #3a4c5e;
  }
  
  #comment-rating label {
    color: #4a4a4a; 
  }
  #comment-rating label:hover,
  #comment-rating label:hover ~ label,
  #comment-rating input[type="radio"]:checked ~ label {
    color: #f5a524; 
  }
  
}

.hidden {
  display: none;
}

.hero-content-left {
  display: flex;
  flex-direction: column;
  text-align: center; 
}

.hero-content-left .badges {
  justify-content: center; 
}

.hero-content-left .sticky {
  width: 100%; 
  max-width: 400px; 
  margin-left: auto; 
  margin-right: auto; 
}

.hero-content-left .sticky .btn {
  width: 100%; 
  justify-content: center; 
}

/* **CAMBIO: Botones simétricos para el formulario de técnico** */
.tecnico-buttons-wrapper {
  display: flex;
  gap: 10px; 
}

.tecnico-buttons-wrapper .btn {
  flex: 1; /* Hace que ambos botones ocupen el 50% */
  justify-content: center; /* Centra el contenido del botón (texto/icono) */
}