/* =========================================================
   ECO360 · Ajustes globales 2026 (se carga después de style.css)
   ========================================================= */

/* ---------- Protección de contenido ---------- */
body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}
img, video { -webkit-user-drag: none; }

@media print {
  body * { display: none !important; }
  body::after {
    content: "Contenido protegido · ECO360 · www.eco360.cl";
    display: block;
    padding: 40px;
    font: 600 18px/1.4 Arial, sans-serif;
    color: #1b4332;
  }
}

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: #1b4332;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible {
  outline: 3px solid #52b788;
  outline-offset: 2px;
}
.flip-card:focus-visible,
.srv-card:focus-visible,
.vid-card:focus-visible,
.mat-card:focus-visible { outline: 3px solid #52b788; outline-offset: 4px; }

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

/* Enlaces de la franja de ventajas */
.band-bullets a { color: inherit; text-decoration: none; }
.band-bullets a:hover { text-decoration: underline; }

/* Íconos de "Propuesta de valor" (Nosotros) */
.adv-icon-wrap { display: grid; place-items: center; }
.adv-icon-wrap .bi { font-size: 1.35rem; line-height: 1; color: #fff; }

/* ---------- Botón flotante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1030;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.wa-float img { filter: brightness(0) invert(1); }

/* Redes del footer (ícono YouTube) */
.socials .bi { font-size: 18px; margin-right: 4px; }

/* ---------- Formulario de cotización ---------- */
.zona-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 767.98px) { .zona-options { grid-template-columns: 1fr; } }
.zona-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1.5px solid #d8e7de;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.zona-opt input { margin-top: 4px; accent-color: #2d6a4f; }
.zona-opt span { display: flex; flex-direction: column; line-height: 1.3; }
.zona-opt small { color: #6b7280; }
.zona-opt:has(input:checked) {
  border-color: #2d6a4f;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(82, 183, 136, .18);
}
.was-validated .zona-options:has(input:invalid) .zona-opt { border-color: #dc3545; }

.mat-checks .form-check {
  padding: 8px 10px 8px 34px;
  border: 1px solid #e3eee7;
  border-radius: 10px;
  background: #fbfdfc;
  height: 100%;
}
.mat-checks .form-check-input { margin-left: -24px; }
.mat-checks .form-check-input:checked { background-color: #2d6a4f; border-color: #2d6a4f; }

/* Corrige espacio en blanco bajo el carrusel de Inicio en móviles */
@media (max-width: 768px) {
  .hero:not(.hero-video) { height: auto; }
  .hero .carousel-item { height: 78vh; min-height: 460px; }
}
