/* ================================================================
   EFECTOS PREMIUM — Materiales visuales, sombras, glow y profundidad
   Inspirado en Porsche, Audi RS, BMW M, Mercedes AMG, Tesla, Apple.
   ================================================================ */

/* --- Efecto glassmorphism en paneles flotantes --- */
.service-card,
.stat-readout,
.contact-info,
.video-gauge-frame {
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(191, 196, 201, 0.15);
  background: linear-gradient(135deg,
    rgba(27, 27, 27, 0.7),
    rgba(47, 52, 58, 0.5)
  );
}

/* --- Textura metálica en superficies premium --- */
.service-card::before,
.stat-readout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(191, 196, 201, 0.05) 0%,
      transparent 50%,
      rgba(191, 196, 201, 0.02) 100%
    );
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.service-card:hover::before,
.stat-readout:hover::before {
  opacity: 1;
}

/* --- Bordes con gradiente sutil --- */
.service-card,
.faq-item,
.stat-readout {
  position: relative;
  border-image-source: linear-gradient(135deg,
    rgba(191, 196, 201, 0.3),
    rgba(191, 196, 201, 0.1)
  );
}

/* --- Sombras profundas tipo premium --- */
.service-card,
.video-gauge-frame,
.stat-readout,
.contact-info {
  box-shadow:
    /* Sombra base profunda */
    0 20px 60px rgba(0, 0, 0, 0.5),
    /* Sombra de elevación sutil */
    0 0 1px rgba(191, 196, 201, 0.2) inset,
    /* Glow interno tenue */
    0 0 20px rgba(230, 57, 70, 0.05) inset;
}

/* Sombra mejorada en hover */
.service-card:hover,
.video-gauge-frame:hover {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 1px rgba(191, 196, 201, 0.25) inset,
    0 0 30px rgba(230, 57, 70, 0.08) inset;
}

/* --- Botones con efecto metálico y profundidad --- */
.btn-primary {
  position: relative;
  box-shadow:
    /* Sombra profunda */
    0 12px 28px rgba(220, 40, 65, 0.25),
    /* Borde interno de luz */
    0 0 0 1px rgba(191, 196, 201, 0.2) inset,
    /* Glow adicional */
    0 0 20px rgba(230, 57, 70, 0.2);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-primary:hover {
  box-shadow:
    0 16px 36px rgba(220, 40, 65, 0.35),
    0 0 0 1px rgba(191, 196, 201, 0.3) inset,
    0 0 30px rgba(230, 57, 70, 0.3);
}

.btn-accent {
  box-shadow:
    0 12px 28px rgba(230, 57, 70, 0.3),
    0 0 0 1px rgba(191, 196, 201, 0.2) inset;
}

.btn-accent:hover {
  box-shadow:
    0 16px 36px rgba(230, 57, 70, 0.4),
    0 0 0 1px rgba(191, 196, 201, 0.3) inset,
    0 0 25px rgba(230, 57, 70, 0.35);
}

/* --- Secciones con gradientes de fondo premium --- */
.section-taller {
  background: linear-gradient(180deg,
    var(--ink-1) 0%,
    var(--panel-1) 50%,
    var(--ink-0) 100%
  );
  position: relative;
}

.section-nosotros {
  background: linear-gradient(180deg,
    var(--ink-0) 0%,
    var(--ink-1) 50%,
    var(--panel-1) 100%
  );
}

.section-contacto {
  background: linear-gradient(135deg,
    var(--ink-1) 0%,
    rgba(47, 52, 58, 0.5) 100%
  );
}

/* --- CTA band mejorado con materiales visuales --- */
.cta-band {
  background:
    /* Gradiente principal de profundidad */
    linear-gradient(120deg,
      rgba(92, 20, 32, 0.4) 0%,
      rgba(58, 13, 16, 0.5) 50%,
      rgba(13, 13, 13, 0.6) 100%
    ),
    /* Textura de carbono sutil */
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(0, 0, 0, 0.02) 1px,
      transparent 2px
    );
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%,
      rgba(230, 57, 70, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 50%,
      rgba(191, 196, 201, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* --- Líneas de división mejoradas --- */
.section::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(191, 196, 201, 0.2) 20%,
    rgba(191, 196, 201, 0.2) 80%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(191, 196, 201, 0.05);
}

/* --- Etiquetas y tags con efecto de vidrio --- */
.service-tag,
.process-index {
  background: rgba(27, 27, 27, 0.6);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  border: 1px solid rgba(191, 196, 201, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.eyebrow {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

/* --- Textura en videos con bordes redondeados premium --- */
.video-gauge-frame {
  border: 2px solid rgba(191, 196, 201, 0.2);
  background: linear-gradient(135deg,
    rgba(27, 27, 27, 0.8),
    rgba(47, 52, 58, 0.6)
  );
  position: relative;
}

.video-gauge-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(191, 196, 201, 0.1) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  border-radius: 28px;
  pointer-events: none;
}

/* --- Efectos de hover con profundidad --- */
.service-card {
  position: relative;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg,
    rgba(47, 52, 58, 0.8),
    rgba(58, 66, 73, 0.6)
  );
}

/* --- Contraste mejorado en elementos interactivos --- */
.faq-q {
  transition:
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.faq-q:hover {
  border-top-color: var(--laser);
  border-top-width: 2px;
  background: rgba(47, 52, 58, 0.3);
}

.faq-item[open] .faq-q {
  background: rgba(47, 52, 58, 0.4);
  border-left: 3px solid var(--laser);
}

/* --- Formularios con estilo premium --- */
.field input,
.field textarea,
.field select {
  background: rgba(27, 27, 27, 0.7);
  border: 1px solid rgba(191, 196, 201, 0.15);
  backdrop-filter: blur(6px) saturate(110%);
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--laser);
  background: rgba(27, 27, 27, 0.85);
  box-shadow:
    0 0 0 3px rgba(230, 57, 70, 0.1),
    0 0 20px rgba(230, 57, 70, 0.15);
}

/* --- Social buttons con glow --- */
.social-btn {
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  padding: 0.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.2);
  color: var(--laser);
}

/* --- FAB (Floating Action Button) premium --- */
.whatsapp-fab {
  box-shadow:
    0 8px 28px rgba(220, 40, 65, 0.35),
    0 0 0 1px rgba(191, 196, 201, 0.1) inset;
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  background: linear-gradient(135deg,
    rgba(220, 40, 65, 0.85),
    rgba(230, 57, 70, 0.9)
  );
  border: 1px solid rgba(191, 196, 201, 0.2);
}

.whatsapp-fab:hover {
  box-shadow:
    0 12px 36px rgba(220, 40, 65, 0.4),
    0 0 0 2px rgba(191, 196, 201, 0.15) inset;
  transform: scale(1.1);
}

/* --- Header mejorado con efecto premium --- */
.site-header {
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  border-bottom: 1px solid rgba(191, 196, 201, 0.1);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(191, 196, 201, 0.12);
}

/* --- Responsive premium --- */
@media (max-width: 640px) {
  .service-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .btn-primary,
  .btn-accent {
    padding: 0.8rem 1.4rem;
    font-size: 0.88rem;
  }
}
