/**
 * Tu Mecánico Web - Estilos principales
 * tumecanicoweb.es
 *
 * Paleta de colores:
 * - Azul Mecánico: #1E3A5F
 * - Naranja Señalización: #FF6B35
 * - Gris Acero: #4A5568
 * - Blanco Taller: #F7F8FA
 * - Verde Luz: #22C55E
 * - Rojo Avería: #DC2626
 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --azul: #1E3A5F;
  --azuloscuro: #0d1a2a;
  --naranja: #FF6B35;
  --gris: #5A5A6E;
  --blanco: #F7F8FA;
  --verde: #22C55E;
  --rojo: #DC2626;

  /* Paleta blanca limpia con sombras neumórficas */
  --fondo: #ffffff;
  --fondo-alt: #ffffff;
  --fondo-claro: #ffffff;
  --fondo-neu: #E8E8E8;
  --tinta: #000;
  --tinta-sec: #5A5A6E;
  --neu-claro: rgba(255, 255, 255, 1);
  --neu-oscuro: rgba(197, 197, 197, 0.5);
  --neu-claro-intense: rgba(255, 255, 255, 1);
  --neu-oscuro-intense: rgba(197, 197, 197, 1);
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--tinta);
  overflow-x: hidden;
}

/* ===========================================
   STACKING SECTIONS - Efecto secciones apiladas
   Solo activo en escritorio (>768px)
   =========================================== */

/* Contenedor para el efecto de apilado */
.stacking-container {
  position: relative;
}

/* Secciones que se apilan - SOLO DESKTOP */
section {
  position: relative;
  will-change: transform;
  /* Padding base para todas las secciones */
  padding: 4rem 2rem;
}

/* Sombras de sección eliminadas - fondo blanco limpio */

/* Todas las secciones sobre fondo blanco */
.hero {
  /* background: #ffffff; */
  z-index: 1;
}

.quien-soy {
  /* background: #ffffff; */
  z-index: 2;
}

.problema {
  /* background: #ffffff; */
  z-index: 3;
}

.servicios {
  /* background: #ffffff; */
  z-index: 4;
}

.faq {
  /* background: #ffffff; */
  z-index: 5;
}

.proceso {
  /* background: #ffffff; */
  z-index: 6;
}

.testimonios {
  /* background: #ffffff; */
  z-index: 7;
}

.garantias {
  /* background: #ffffff; */
  z-index: 8;
}

.cta-final {
  z-index: 9;
}

footer {
  z-index: 10;
  position: relative;
}

/* DESKTOP: Secciones fluyen naturalmente sobre fondo blanco */
@media (min-width: 769px) {
  section:not(.hero) {
    border-radius: 0;
    margin-top: 0;
    box-shadow: none;
  }
}

/* MOBILE: Sin efecto stacking, flujo normal */
@media (max-width: 768px) {
  section {
    /* Sin bordes redondeados ni márgenes negativos en móvil */
    border-radius: 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    /* Padding más compacto */
    padding: 2.5rem 1.2rem !important;
  }

  /* Sin separador en móvil - fondo blanco continuo */
}

/* ===========================================
   NAV - SIEMPRE VISIBLE
   =========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.06); */
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--tinta);
  text-decoration: none;
}



.nav-logo span { color: var(--naranja); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--tinta);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  transition: all 0.3s;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--naranja);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--naranja);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--naranja);
  color: white !important;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  opacity: 1 !important;
  box-shadow:
    4px 4px 8px #C5C5C5,
    -4px -4px 8px #ffffff;
  transition: all 0.15s ease;
}

/* ===========================================
   DROPDOWN DE SERVICIOS
   =========================================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  /* background: #ffffff; */
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 0.8rem 0;
  min-width: 220px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  box-shadow:
    6px 6px 12px rgba(197, 197, 197, 1),
    -6px -6px 12px rgba(255, 255, 255, 1);
  z-index: 1001;
  margin-top: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li {
  padding: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--tinta);
  opacity: 0.85;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 107, 53, 0.08);
  color: var(--naranja);
  opacity: 1;
  padding-left: 1.5rem;
}

.nav-dropdown-menu a::after {
  display: none;
}

/* Scroll margin para anclas de servicios */
.servicio-card[id] {
  scroll-margin-top: 100px;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px #C5C5C5,
    inset -3px -3px 6px #ffffff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  width: 25px;
  height: 3px;
  background: var(--tinta);
  transition: all 0.3s ease;
  border-radius: 2px;
  left: 50%;
  transform: translateX(-50%);
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav{
        padding: 0rem 2rem;
  }

  .nav-logo svg {
    height: 50px;
    width: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    align-items: flex-start;
    transition: right 0.3s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }
  /* .nav-links li:last-child {
    margin-top:1rem;
  } */

  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-links a.nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem !important;
    margin-top: 1rem;
  }

  /* Dropdown en móvil */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static !important;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    left: auto !important;
    background: rgba(0, 0, 0, 0.03);
    border: none;
    border-left: 3px solid var(--naranja);
    border-radius: 0;
    margin: 0.5rem 0 0 0;
    padding: 0;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: none;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .nav-dropdown-menu a {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }

  .nav-dropdown-menu a:hover {
    padding-left: 1.2rem;
  }

  /* Ocultar la flecha underline en móvil */
  .nav-dropdown-toggle::after {
    display: none;
  }
}

/* ===========================================
   HERO CON IMAGEN DE FONDO
   =========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* background: radial-gradient(circle at 20% 80%, rgba(255,107,53,0.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(30,58,95,0.04) 0%, transparent 50%); */
}

.hero-image {
  position: absolute;
  inset: 0;

  opacity: 0.04;
  z-index: 0;
}

.floating-tool {
  position: absolute;
  font-size: 10rem;
  color: var(--naranja);
  opacity: 0.15;
  pointer-events: none;
  filter: drop-shadow(0 0 15px rgba(255,107,53,0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  text-align: center;
}

.hero h1 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: var(--tinta);
}

.hero h1 .line {
  display: block;
}

.hero h1 .highlight {
  color: var(--naranja);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  color: var(--tinta-sec);
}

.cta-hero-button{
  margin: 0 auto 2.5rem;
}

.cta-button {
  background: var(--naranja);
  color: white;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.2rem 2.8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  transition: all 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow:
    8px 8px 16px #C5C5C5,
    -8px -8px 16px #ffffff;
}

.cta-button:active {
  transform: translateY(1px);
  box-shadow:
    inset rgba(0, 0, 0, 0.15) 3px 3px 6px,
    inset rgba(255, 255, 255, 0.3) -2px -2px 4px;
}

/* ===========================================
   QUIEN SOY CON FOTO
   =========================================== */
.quien-soy {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
}

.quien-soy-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.quien-soy-avatar-wrapper {
  text-align: center;
}

.quien-soy-avatar {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  margin: 0 auto;
  border: none;
  overflow: hidden;
  position: relative;
  background: #E8E8E8;
  /* Neumorphic circular */
  box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff;
  transition: all 0.3s ease;
}

.quien-soy-avatar:hover {
  transform: scale(1.03);
}

.quien-soy-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quien-soy-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  /* background: linear-gradient(135deg, var(--azul) 0%, #2a4a6f 100%); */
      padding: 20px;
}

.avatar-prompt {
  font-size: 0.75rem;
  color: var(--gris);
  font-style: italic;
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.4;
}

.quien-soy-text h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  color: var(--tinta);
}

.quien-soy-text .subtitle {
  color: var(--naranja);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.quien-soy-text p {
  color: var(--tinta-sec);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.quien-soy-text strong {
  color: var(--tinta);
}

@media (max-width: 768px) {
  .hero {
    padding: 10rem 1.5rem 3rem !important;
    min-height: auto;
  }

  .hero h1 {
    margin-bottom: 1.5rem;
  }
  

  .hero-subtitle {
    margin-bottom: 1.5rem;
  }
  .cta-hero-button{
    margin-bottom: 1.5rem;
  }
  
  .quien-soy{
        padding: 4rem 2rem;
  }

  .quien-soy-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .quien-soy-text h2 {
  font-size: clamp(2.5rem, 4vw, 2.8rem);
}

  .quien-soy-avatar {
    width: 200px;
    height: 200px;
  }

  .quien-soy-avatar-placeholder {
    font-size: 3.5rem;
  }

  .quien-soy-text .subtitle {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }
}

/* ===========================================
   PROBLEMA
   =========================================== */
.problema {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.problema-bg-image {
  position: absolute;
  inset: 0;
  /* background-image: url('../assets/images/problema-background.png'); */
  /* background-size: cover; */
  /* background-position: center; */
  /* opacity: 0.02; */
  z-index: 0;
}

.problema-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.problema h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 2rem;
  text-align: center;
}

.problema-intro {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  color: var(--tinta-sec);
}

.problema-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: auto;
}

.problema-grid::-webkit-scrollbar {
  display: none;
}

.problema-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  min-width: 280px;
  background: #0C1A2A;
  padding: 2rem;
  border-radius: 30px;
  border-left: none;
  transition: all 0.2s ease;
  position: relative;
  /* Neumorphic inner shadow container */
  /* box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff; */
}

/* .problema-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 0;
} */

.problema-card > * {
  position: relative;
  z-index: 1;
}

.problema-card:hover {
  transform: translateY(-3px);
}

.problema-card h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  /* color: var(--tinta); */
  color: #fff;
}

.problema-card p {
  /* color: var(--tinta-sec); */
  color:#fff;
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .problema-grid {
    gap: 1.5rem;
    margin: 0 -1.2rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .problema-card {
    flex: 0 0 260px;
    min-width: 240px;
    padding: 1.2rem;
  }

  .problema-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .problema-card p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

/* ===========================================
   SERVICIOS CON ICONOS/IMÁGENES
   =========================================== */
.servicios {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
}

.servicios h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.servicios-intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 4rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: var(--tinta-sec);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-card {
  background: #E8E8E8;
  border: none;
  border-radius: 30px;
  padding: 2rem;
  transition: all 0.2s ease;
  /* Neumorphic inner shadow container */
  box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.servicio-card::before {
  content: "";
  position: absolute;
  inset: 0px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 0;
}

.servicio-card > * {
  position: relative;
  z-index: 1;
}

.servicio-card:hover {
  transform: translateY(-4px);
}

.servicio-card:active {
  transform: translateY(0);
}

.servicio-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
  position: relative;
}

.servicio-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.servicio-icon {
  font-size: 2.8rem;
  display: block;
  text-align: center;
}

.servicio-card h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--tinta);
  text-align: center;
}

.servicio-card p {
  color: var(--tinta-sec);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
  text-align: center;
}

.servicio-price {
  font-family: "Parisienne", cursive;
  font-weight: 900;
  font-style: normal;
  /* font-family: 'Space Mono', monospace; */
  /* color: var(--naranja); */
  color: #000;
  font-size: 2rem;
  /* font-weight: bold; */
  text-align: center;
  display: block;
}

.image-prompt {
  font-size: 0.7rem;
  color: #999;
  font-style: italic;
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.3;
}

.image-prompt-1 {
  background-image: url('../assets/images/image1.png');
  background-size: cover;
  background-position: center;
  height: 200px;
  z-index: 0;
}

.image-prompt-2 {
  background-image: url('../assets/images/image2.png');
  background-size: cover;
  background-position: center;
  height: 200px;
  z-index: 0;
}

.image-prompt-3 {
  background-image: url('../assets/images/image3.png');
  background-size: cover;
  background-position: center;
  height: 200px;
  z-index: 0;
}

.image-prompt-4 {
  background-image: url('../assets/images/image4.png');
  background-size: cover;
  background-position: center;
  height: 200px;
  z-index: 0;
}

.image-prompt-5 {
  background-image: url('../assets/images/image5.png');
  background-size: cover;
  background-position: center;
  height: 200px;
  z-index: 0;
}

.image-prompt-6 {
  background-image: url('../assets/images/image6.png');
  background-size: cover;
  background-position: center;
  height: 200px;
  z-index: 0;
}

@media (max-width: 768px) {
  .servicios {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .servicios-intro {
    margin-bottom: 2.5rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .servicio-card {
    padding: 1.2rem;
    border-radius: 12px;
  }

  .servicio-icon-wrapper {
    width: 55px;
    height: 55px;
    margin-bottom: 0.8rem;
  }

  .servicio-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .servicio-card p {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .servicio-price {
    font-size: 1.2rem;
  }

  .servicio-detalles {
    font-size: 0.78rem;
  }

  .servicio-detalles li {
    padding: 0.25rem 0;
    padding-left: 1.2rem;
  }

  .image-prompt {
    font-size: 0.6rem;
  }

  .image-prompt-1,
  .image-prompt-2,
  .image-prompt-3,
  .image-prompt-4,
  .image-prompt-5,
  .image-prompt-6 {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .servicio-card {
    padding: 1.5rem;
  }

  .servicio-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .servicio-card h3 {
    font-size: 1.25rem;
  }

  .servicio-card p {
    font-size: 0.95rem;
  }

  .servicio-price {
    font-size: 1.5rem;
  }
}

/* ===========================================
   FAQ - PREGUNTAS FRECUENTES
   =========================================== */
.faq {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-intro {
  font-size: 1.15rem;
  text-align: center;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  /* background: #E8E8E8; */
  border-radius: 20px;
  overflow: hidden;
  border-left: none;
  /* box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff; */
  transition: all 0.2s ease;
  position: relative;
}

/* .faq-item::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 0;
  pointer-events: none;
} */

.faq-item > * {
  position: relative;
  z-index: 1;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--tinta);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--naranja);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: var(--tinta-sec);
  line-height: 1.7;
}

.faq-answer strong {
  color: var(--naranja);
}

@media (max-width: 768px) {
  .faq-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .faq-question {
    padding: 1.2rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 1.2rem 1.2rem;
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

/* ===========================================
   SERVICIOS AMPLIADOS
   =========================================== */
.servicio-detalles {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  font-size: 0.9rem;
  text-align: left;
}

.servicio-detalles li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--tinta-sec);
}

.servicio-detalles li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--naranja);
}

/* Card destacada (Mantenimiento) */
.servicio-card--destacado {
  grid-column: span 3;
}

@media (max-width: 768px) {
  .servicio-card--destacado {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .servicio-card--destacado {
    grid-column: span 1;
  }
}

.mantenimiento-planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* 4 planes */
.mantenimiento-planes.planes-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .mantenimiento-planes.planes-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .mantenimiento-planes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mantenimiento-planes,
  .mantenimiento-planes.planes-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .plan {
    padding: 1rem;
  }

  .plan-emoji {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .plan strong {
    font-size: 0.88rem;
  }

  .plan-precio {
    font-size: 1.1rem;
  }

  .plan-anual {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }

  .plan ul {
    font-size: 0.75rem;
  }

  .plan ul li {
    padding: 0.2rem 0;
    padding-left: 1rem;
  }
}

@media (max-width: 400px) {
  .mantenimiento-planes,
  .mantenimiento-planes.planes-4 {
    grid-template-columns: 1fr;
  }
}

.plan {
  background: #f5f5f5;
  padding: 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow:
    4px 4px 8px #C5C5C5,
    -4px -4px 8px #ffffff;
}

.plan:hover {
  transform: translateY(-3px);
}

.plan-emoji {
  display: block;
  font-size: 3rem;
  margin-bottom: 0.5rem;
    filter: grayscale(1);
}

.plan-perfil {
  display: block;
  font-size: 0.75rem;
  color: var(--tinta-sec);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.plan--destacado {
  background: rgba(255, 107, 53, 0.06);
  border-color: var(--naranja);
  position: relative;
}

.plan--destacado::before {
  content: 'Recomendado';
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--naranja);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.plan--premium {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.08) 0%, rgba(255, 107, 53, 0.06) 100%);
  border-color: var(--azul);
  position: relative;
}

.plan--premium::before {
  content: 'VIP';
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--azul);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.plan strong {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  color: var(--tinta);
  margin-bottom: 0.3rem;
}

.plan-precio {
  display: block;
  /* font-family: 'Space Mono', monospace; */
   font-family: "Parisienne", cursive;
  font-weight: 900;
  font-style: normal;
  font-size: 1.5rem;
  color: var(--naranja);
  /* font-weight: 700; */
  margin-bottom: 0.2rem;
}

.plan-precio sup {
  font-size: 0.6rem;
  vertical-align: super;
}

.plan-anual {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--tinta-sec);
  margin-bottom: 0.8rem;
}

.planes-nota {
  text-align: center;
  font-size: 0.8rem;
  color: var(--tinta-sec);
  margin-top: 1.5rem;
  font-style: italic;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}

.plan ul li {
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--tinta-sec);
}

.plan ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: bold;
}

.plan ul li.plan-no {
  color: var(--tinta-sec);
  opacity: 0.6;
}

.plan ul li.plan-no::before {
  content: '✗';
  color: #dc2626;
}

/* ===========================================
   PROCESO CON ILUSTRACIONES
   =========================================== */
.proceso {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
}

.proceso h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.proceso-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--tinta-sec);
  line-height: 1.8;
}

.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.proceso-step {
  text-align: center;
  position: relative;
  /* background: #E8E8E8; */
  padding: 0rem 0.5rem;
  border-radius: 30px;
  /* Neumorphic inner shadow container */
  /* box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff; */
  transition: all 0.2s ease;
  z-index: 1;
}

/* .proceso-step::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 0;
  pointer-events: none;
} */

.proceso-step > * {
  position: relative;
  z-index: 1;
}

.proceso-step:hover {
  transform: translateY(-3px);
}

/* Línea conectora entre pasos */
.proceso-line {
  position: absolute;
  top: 37px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 107, 53, 0.3) 10%,
    rgba(255, 107, 53, 0.3) 90%,
    transparent 100%
  );
  z-index: 0;
}

.proceso-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--naranja), #ff8f6b);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
  transition: width 1.5s ease-out;
}

.proceso-line.active::before {
  width: 100%;
}

.step-illustration {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  position: relative;
}

.step-illustration img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-number {
  width: 75px;
  height: 75px;
  /* background: var(--naranja); */
  background: #0C1A2A;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-family: 'Work Sans', sans-serif; */
  font-family: "Parisienne", cursive;
  font-weight: 900;
  font-style: normal;
  font-size: 1.9rem;
  margin: 0 auto 1.3rem;
  /* box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff; */
  transition: all 0.2s ease;
}

.step-number:hover {
  transform: scale(1.05);
}

.proceso-step h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--tinta);
}

.proceso-step p {
  color: var(--tinta-sec);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .proceso-intro {
    margin-bottom: 2.5rem;
  }

  .proceso-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .step-illustration {
    width: 70px;
    height: 70px;
  }

  .step-number {
    width: 55px;
    height: 55px;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .proceso-step h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .proceso-step p {
    font-size: 0.85rem;
  }
}

/* ===========================================
   TESTIMONIOS
   =========================================== */
.testimonios {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
  overflow: hidden;
}

.testimonios h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonios-grid {
  display: flex;
  gap: 0.5rem;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  height: auto;
}

.testimonios-grid::-webkit-scrollbar {
  display: none;
}

.testimonio-card {
  /* background: #E8E8E8; */
  padding: 1rem;
  border-radius: 30px;
  border-left: none;
  position: relative;
  /* Neumorphic inner shadow container */
  /* box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff; */
  transition: all 0.2s ease;
  flex: 0 0 380px;
  min-width: 340px;
  scroll-snap-align: start;
}

/* .testimonio-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 0;
  pointer-events: none;
} */

.testimonio-card > * {
  position: relative;
  z-index: 1;
}

.testimonio-card:hover {
  transform: translateY(-3px);
}

.testimonio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  /* border: 3px solid var(--naranja); */
}

.testimonio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonio-avatar-placeholder {
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, var(--naranja), #ff8f6b); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.testimonio-info h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  color: var(--tinta);
}

.testimonio-info p {
  font-size: 0.85rem;
  color: var(--tinta-sec);
}

.testimonio-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--tinta-sec);
  font-style: italic;
}

@media (max-width: 768px) {
  .testimonios h2 {
    margin-bottom: 1.5rem;
  }

  .testimonio-header {
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .testimonio-avatar {
    width: 45px;
    height: 45px;
  }

  .testimonio-info h4 {
    font-size: 0.95rem;
  }

  .testimonio-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}

/* ===========================================
   GARANTIAS
   =========================================== */
.garantias {
  /* background: #ffffff; */
  color: var(--tinta);
  padding: 6rem 2rem;
}

.garantias h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}

.garantias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  max-width: 1000px;
  margin: 0 auto;
}

.garantia-item {
  background: #E8E8E8;
  padding: 2rem;
  border-radius: 30px;
  text-align: center;
  border-top: none;
  transition: all 0.2s ease;
  box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff;
  position: relative;
}

.garantia-item::after {
  content: '';
  position: absolute;
  inset: 8px;
  /* background: #ffffff; */
  border-radius: 18px;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 0;
  pointer-events: none;
}

.garantia-item > * {
  position: relative;
  z-index: 1;
}

.garantia-item:hover {
  transform: translateY(-3px);
}

.garantia-item:active {
  transform: translateY(0);
}

.garantia-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.garantia-item h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--tinta);
}

.garantia-item p {
  color: var(--tinta-sec);
  line-height: 1.6;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .garantias h2 {
    margin-bottom: 2rem;
  }

  .garantias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: none;
  }

  .garantia-item {
    padding: 1.2rem;
    border-radius: 10px;
  }

  .garantia-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .garantia-item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .garantia-item p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .garantias-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===========================================
   CTA FINAL
   =========================================== */
.cta-final {
  min-height: 60vh;
  /* background: #E8E8E8; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  margin: 2rem;
  box-shadow:
    inset 4px 4px 12px #C5C5C5,
    inset -4px -4px 12px #ffffff;
}

.cta-final h2,
.cta-final p {
  color: var(--tinta);
}

/* Icono de fondo decorativo - SVG en lugar de emoji */
.cta-final::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  opacity: 0.08;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' fill='none' stroke='white' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14 50l22-22'/%3E%3Ccircle cx='44' cy='20' r='12'/%3E%3Cpath d='M44 12v16M36 20h16'/%3E%3Cpath d='M10 54l4-4 4 4-4 4z'/%3E%3C/svg%3E"); */
  background-size: contain;
  background-repeat: no-repeat;
}

.cta-final h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-final p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  opacity: 0.95;
  margin-bottom: 2.5rem;
  max-width: 600px;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

.cta-final .cta-button {
  background: var(--naranja);
  font-size: 1.2rem;
  padding: 1.4rem 3.5rem;
  position: relative;
  z-index: 2;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
}

@media (max-width: 768px) {
  .cta-final {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .cta-final h2 {
    margin-bottom: 1rem;
  }

  .cta-final p {
    margin-bottom: 1.5rem;
  }

  .cta-final .cta-button {
    font-size: 1rem;
    padding: 1rem 2.5rem;
  }
}

/* ===========================================
   CTA FLOTANTE
   =========================================== */
.cta-flotante {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--naranja);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 999;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s ease;
  pointer-events: none;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff,
    0 4px 20px rgba(255, 107, 53, 0.3);
}

.cta-flotante.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cta-flotante:hover {
  transform: translateY(-3px);
  box-shadow:
    8px 8px 16px #C5C5C5,
    -8px -8px 16px #ffffff,
    0 8px 30px rgba(255, 107, 53, 0.35);
}

.cta-flotante:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px #C5C5C5,
    inset -3px -3px 6px #ffffff;
}

.cta-flotante svg {
  width: 24px;
  height: 24px;
  fill: white;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

@media (max-width: 768px) {
  .cta-flotante {
    bottom: 20px;
    right: 20px;
    padding: 0.9rem 1.2rem;
    font-size: 0.85rem;
  }

  .cta-flotante span {
    display: none;
  }

  .cta-flotante svg {
    width: 28px;
    height: 28px;
  }
}

/* ===========================================
   FOOTER COMPLETO
   =========================================== */
footer {
  /* background: linear-gradient(180deg, var(--azul) 0%, #0d1a2a 100%); */
  padding: 0;
  /* border-top: 1px solid rgba(255, 107, 53, 0.2); */
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
}

.footer-brand .footer-logo {
  font-family: 'Work Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo span {
  color: var(--naranja);
}

.footer-brand > p {
  opacity: 0.7;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-sellos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sello {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 107, 53, 0.08);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow:
    rgba(0, 0, 0, 0.3) 3px 3px 6px;
  transition: all 0.2s ease;
}

.sello:hover {
  background: rgba(255, 107, 53, 0.15);
  box-shadow:
    rgba(0, 0, 0, 0.4) 4px 4px 8px;
}

.sello svg {
  width: 20px;
  height: 20px;
  color: var(--naranja);
  stroke: var(--naranja);
}

.sello span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--naranja);
}

.footer-servicios h4,
.footer-contacto h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--naranja);
}

.footer-servicios ul {
  list-style: none;
}

.footer-servicios li {
  margin-bottom: 0.6rem;
}

.footer-servicios a {
  
  color:var(--tinta);
  text-decoration: none;
  opacity: 0.7;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-servicios a:hover {
  opacity: 1;
  color: var(--naranja);
  padding-left: 5px;
}

.horario {
  margin-bottom: 1.5rem;
}

.horario-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.horario-item .dia {
  opacity: 0.7;
}

.horario-item .hora {
  font-weight: 600;
}

.horario-item.urgencia {
  border-bottom: none;
  color: var(--rojo);
}

.horario-item.urgencia .hora {
  color: var(--rojo);
}

.footer-contacto-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contacto-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color:var(--tinta);
  text-decoration: none;
  opacity: 0.7;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-contacto-links a:hover {
  opacity: 1;
  color: var(--naranja);
}

.footer-contacto-links svg {
  width: 18px;
  height: 18px;
  stroke: var(--naranja);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.5;
  font-size: 0.85rem;
}

.footer-bottom a {
  color:var(--tinta);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-bottom a:hover {
  opacity: 1;
  color: var(--naranja);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.5rem 2rem;
    text-align: center;
  }

  .footer-sellos {
    justify-content: center;
  }

  .footer-servicios ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .horario-item {
    justify-content: center;
    gap: 1rem;
  }

  .footer-contacto-links {
    align-items: center;
  }

  .floating-tool {
    /* display: none; */
    scale:0.3;
  }
}

/* ===========================================
   ESTILOS NEUMÓRFICOS - SOFT UI
   =========================================== */

:root {
  --neu-height: 1;
  --neu-light: rgba(255, 255, 255, 0.65);
  --neu-shadow: rgba(0, 0, 0, 0.18);
  --neu-light-dark: rgba(255, 255, 255, 0.08);
  --neu-shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Tile base neumórfico */
.neu-tile {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
}

.neu-tile::before,
.neu-tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}

/* Efecto elevado (up) - para fondos claros */
.neu-up {
  box-shadow:
    var(--neu-shadow) calc(0.33rem * var(--neu-height)) calc(0.33rem * var(--neu-height)) 0.6rem;
}

.neu-up::before {
  box-shadow:
    var(--neu-light) calc(-0.33rem * var(--neu-height)) calc(-0.33rem * var(--neu-height)) 0.6rem;
}

/* Efecto hundido (down) - para fondos claros */
.neu-down {
  box-shadow:
    inset var(--neu-shadow) calc(0.25rem * var(--neu-height)) calc(0.25rem * var(--neu-height)) 0.6rem;
}

.neu-down::before {
  box-shadow:
    inset var(--neu-light) calc(-0.25rem * var(--neu-height)) calc(-0.25rem * var(--neu-height)) 0.6rem;
}

/* Efecto elevado para fondos oscuros */
.neu-up-dark {
  box-shadow:
    var(--neu-shadow-dark) calc(0.4rem * var(--neu-height)) calc(0.4rem * var(--neu-height)) 0.8rem,
    rgba(255, 255, 255, 0.03) calc(-0.2rem * var(--neu-height)) calc(-0.2rem * var(--neu-height)) 0.4rem;
}

/* Efecto hundido para fondos oscuros */
.neu-down-dark {
  box-shadow:
    inset var(--neu-shadow-dark) calc(0.3rem * var(--neu-height)) calc(0.3rem * var(--neu-height)) 0.6rem,
    inset var(--neu-light-dark) calc(-0.2rem * var(--neu-height)) calc(-0.2rem * var(--neu-height)) 0.4rem;
}

/* Botón neumórfico con transición */
.neu-button {
  position: relative;
  cursor: pointer;
  box-shadow:
    var(--neu-shadow) calc(0.33rem * var(--neu-height)) calc(0.33rem * var(--neu-height)) 0.6rem;
  transition: box-shadow 0.15s 0.15s ease-in, transform 0.15s ease;
}

.neu-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  box-shadow:
    var(--neu-light) calc(-0.33rem * var(--neu-height)) calc(-0.33rem * var(--neu-height)) 0.6rem;
  transition: box-shadow 0.15s 0.15s ease-in;
  pointer-events: none;
}

.neu-button:hover {
  box-shadow: var(--neu-shadow) 0 0 0;
  transition: box-shadow 0.15s ease-out;
}

.neu-button:hover::before {
  box-shadow: var(--neu-light) 0 0 0;
  transition: box-shadow 0.15s ease-out;
}

.neu-button:active {
  box-shadow:
    inset var(--neu-shadow) calc(0.25rem * var(--neu-height)) calc(0.25rem * var(--neu-height)) 0.6rem;
}

.neu-button:active::before {
  box-shadow:
    inset var(--neu-light) calc(-0.25rem * var(--neu-height)) calc(-0.25rem * var(--neu-height)) 0.6rem;
}

/* Círculo neumórfico elevado */
.neu-circle {
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, var(--neu-light), transparent, var(--neu-shadow));
  box-shadow: var(--neu-shadow) 0.33rem 0.33rem 0.6rem;
}

/* Círculo neumórfico hundido */
.neu-circle-down {
  border-radius: 50%;
  background: radial-gradient(circle at 75% 75%, var(--neu-light), transparent, var(--neu-shadow));
}

/* Círculo botón neumórfico */
.neu-circle-button {
  cursor: pointer;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    var(--neu-light) 15%,
    transparent 30%,
    var(--neu-shadow)
  );
  background-position: -4rem -4rem;
  background-size: 200% 200%;
  box-shadow: var(--neu-shadow) 0.33rem 0.33rem 0.6rem;
  transition: background 0.3s ease-in-out, box-shadow 0.15s 0.15s ease-in-out;
}

.neu-circle-button:hover {
  background-position: -2rem -2rem;
  box-shadow: var(--neu-shadow) 0 0 0;
  transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* ===========================================
   EFECTOS PARALLAX - INSPIRADO EN BOLD.BZ
   =========================================== */

/* Secciones con efecto de superposición */
.section-parallax {
  position: relative;
  z-index: 1;
}

/* Contenedor para el texto que se queda fijo */
.parallax-pin-container {
  position: relative;
  height: 200vh; /* Espacio para el scroll */
}

.parallax-pin-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* Sección que sube y cubre el contenido anterior */
.section-overlay {
  position: relative;
  z-index: 10;
  background: inherit;
  margin-top: -100vh;
}

.section-overlay::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, inherit);
  pointer-events: none;
}

/* Transiciones suaves entre secciones */
.section-transition {
  position: relative;
  overflow: hidden;
}

.section-transition::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Efecto de revelación al hacer scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto de escala y opacidad para elementos que se desvanecen */
.fade-scale-out {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Contenedor con clip para efectos de máscara */
.clip-container {
  overflow: hidden;
  position: relative;
}

/* Línea animada de progreso de sección */

/* Efecto de blur suave al hacer scroll */
.blur-on-scroll {
  transition: filter 0.3s ease;
}

/* Animación de entrada desde abajo con retraso escalonado */
.stagger-reveal > * {
  opacity: 0;
  transform: translateY(40px);
}

.stagger-reveal.active > *:nth-child(1) { transition-delay: 0s; }
.stagger-reveal.active > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-reveal.active > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-reveal.active > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-reveal.active > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-reveal.active > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-reveal.active > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ===========================================
   ICONOS ESTILO SALPICADERO
   =========================================== */

/* Iconos flotantes del hero */
.floating-tool {
  width: 25vw;
  height: 25vh;
  font-size: inherit;
  overflow: hidden;
}

.floating-tool svg {
  width: 100%;
  height: 100%;
}

.floating-tool .dashboard-icon {
  width: 100%;
  height: 100%;
  color: var(--azul);
  /* Efecto sutil para iconos flotantes en fondo claro */
  filter: drop-shadow(0 0 4px rgba(30, 58, 95, 0.15))
          drop-shadow(0 0 10px rgba(30, 58, 95, 0.08));
}

/* Indicador de dashboard para servicios */
.dashboard-indicator {
  width: 80px;
  height: 80px;
  /* background: linear-gradient(145deg, #0d1a2a, #1a2d45); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Estilo neumórfico esférico */
  /* box-shadow:
    rgba(0, 0, 0, 0.5) 6px 6px 12px,
    rgba(255, 255, 255, 0.03) -3px -3px 6px,
    inset rgba(0, 0, 0, 0.3) 2px 2px 4px,
    inset rgba(255, 255, 255, 0.05) -1px -1px 3px,
    0 0 15px rgba(255, 107, 53, 0.3); */
  /* border: 2px solid rgba(255, 107, 53, 0.4); */
  position: relative;
  transition: all 0.2s ease;
}

/* .servicio-card:hover .dashboard-indicator {
  box-shadow:
    rgba(0, 0, 0, 0.6) 8px 8px 16px,
    rgba(255, 255, 255, 0.05) -4px -4px 8px,
    inset rgba(0, 0, 0, 0.2) 1px 1px 2px,
    inset rgba(255, 255, 255, 0.08) -1px -1px 2px,
    0 0 25px rgba(255, 107, 53, 0.5);
} */

/* Efecto de luz de salpicadero - halo exterior */
/* .dashboard-indicator::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 60%);
  z-index: -1;
} */

/* Efecto de cristal/lente interior */
/* .dashboard-indicator::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
} */

.dashboard-indicator .servicio-svg {
  width: 48px;
  height: 48px;
  color: var(--naranja);
  stroke: var(--naranja);
  /* Efecto emisivo/glow - luz de salpicadero encendida */
  /* filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.9))
          drop-shadow(0 0 8px rgba(255, 107, 53, 0.6))
          drop-shadow(0 0 12px rgba(255, 107, 53, 0.3)); */
}
 .servicio-card:hover .dashboard-indicator .plan-emoji {
  transition: all 0.5s;
  filter: grayscale(0);
}

 .plan:hover .plan-emoji {
  transition: all 0.5s;
  filter: grayscale(0);
}

/* Efecto hover - luz mas intensa */
/* .servicio-card:hover .dashboard-indicator .servicio-svg {
  filter: drop-shadow(0 0 6px rgba(255, 107, 53, 1))
          drop-shadow(0 0 12px rgba(255, 107, 53, 0.8))
          drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
} */

/* Indicador en estado de alerta (para urgencias) */
/* .dashboard-indicator.alert {
  background: linear-gradient(145deg, #1a0a0a, #2d1212);
  border-color: rgba(220, 38, 38, 0.6);
  animation: pulse-alert 1.5s ease-in-out infinite;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.05),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(220, 38, 38, 0.4);
}

.dashboard-indicator.alert::before {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.4) 0%, transparent 60%);
} */

.dashboard-indicator.alert .servicio-svg {
  color: var(--rojo);
  stroke: var(--rojo);

  /* filter: drop-shadow(0 0 4px rgba(220, 38, 38, 1))

          drop-shadow(0 0 10px rgba(220, 38, 38, 0.8))
          drop-shadow(0 0 16px rgba(220, 38, 38, 0.5)); */
}

@keyframes pulse-alert {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      0 0 15px rgba(220, 38, 38, 0.4);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.4),
      0 0 30px rgba(220, 38, 38, 0.7),
      0 0 40px rgba(220, 38, 38, 0.4);
  }
}

/* Card de urgencias */
.servicio-card.urgencia {
  border-color: rgba(220, 38, 38, 0.3);
}

.servicio-card.urgencia:hover {
  border-color: var(--rojo);
  box-shadow: 0 12px 35px rgba(220, 38, 38, 0.2);
}

/* Iconos de garantías - estilo salpicadero */
.garantia-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--naranja);
  /* Contenedor circular oscuro tipo salpicadero */
  background: linear-gradient(145deg, #0d1a2a, #1a2d45);
  border-radius: 50%;
  padding: 12px;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.05),
    inset 0 -1px 4px rgba(0, 0, 0, 0.3),
    0 0 12px rgba(255, 107, 53, 0.2);
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.garantia-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--naranja);
  /* Efecto glow emisivo */
  filter: drop-shadow(0 0 3px rgba(255, 107, 53, 0.8))
          drop-shadow(0 0 6px rgba(255, 107, 53, 0.4));
}

.garantia-item:hover .garantia-icon svg {
  filter: drop-shadow(0 0 5px rgba(255, 107, 53, 1))
          drop-shadow(0 0 10px rgba(255, 107, 53, 0.6));
}

/* Avatar fallback */
.avatar-fallback {
  display: none;
  width: 60%;
  height: 60%;
  color: var(--naranja);
}

.quien-soy-avatar-placeholder.show-fallback .avatar-fallback {
  display: block;
}

/* Testimonios - iconos de persona */
.testimonio-avatar-placeholder svg {
  width: 70%;
  height: 70%;
  color: var(--tinta-sec);
  stroke: var(--tinta-sec);
}

/* Estilos responsive para iconos */
@media (max-width: 768px) {
  .dashboard-indicator {
    width: 55px;
    height: 55px;
  }

  .dashboard-indicator .servicio-svg {
    width: 32px;
    height: 32px;
  }

  .garantia-icon {
    width: 44px;
    height: 44px;
  }

  .garantia-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ===========================================
   AVISO DE COOKIES - No invasivo
   =========================================== */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  color: var(--tinta);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 400px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  pointer-events: none;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-notice.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cookie-notice p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: var(--tinta-sec);
}

.cookie-link {
  color: var(--naranja);
  text-decoration: none;
  font-weight: 500;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-accept {
  background: var(--naranja);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow:
    3px 3px 6px #C5C5C5,
    -2px -2px 4px #ffffff;
}

.cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow:
    4px 4px 8px #C5C5C5,
    -3px -3px 6px #ffffff;
}

.cookie-accept:active {
  transform: translateY(0);
  box-shadow:
    inset rgba(0, 0, 0, 0.12) 1px 1px 3px;
}

@media (max-width: 480px) {
  .cookie-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
    flex-direction: column;
    text-align: center;
  }
}

/* ===========================================
   BANNER KIT DIGITAL
   =========================================== */
.kit-digital-banner {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: #ffffff;
  color: var(--tinta);
  padding: 1.2rem;
  border-radius: 16px;
  max-width: 360px;
  z-index: 998;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  pointer-events: none;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.kit-digital-banner.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.kit-digital-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: var(--tinta);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.kit-digital-close:hover {
  background: rgba(255, 107, 53, 0.15);
}

.kit-digital-close svg {
  width: 16px;
  height: 16px;
}

.kit-digital-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.kit-digital-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 53, 0.4);
}

.kit-digital-icon svg {
  width: 24px;
  height: 24px;
  color: var(--naranja);
  stroke: var(--naranja);
  filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.6));
}

.kit-digital-text strong {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--naranja);
}

.kit-digital-text p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: var(--tinta-sec);
}

.kit-digital-cta {
  display: inline-block;
  background: var(--naranja);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow:
    3px 3px 6px #C5C5C5,
    -2px -2px 4px #ffffff;
}

.kit-digital-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    4px 4px 8px #C5C5C5,
    -3px -3px 6px #ffffff;
}

@media (max-width: 768px) {
  .kit-digital-banner {
    right: 10px;
    left: 10px;
    bottom: 140px;
    max-width: none;
  }
}

/* ===========================================
   EXIT INTENT POPUP - Reparación Gratis
   =========================================== */

.exit-popup-overlay {
  position: fixed;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.85); */
  background: #fff;
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.exit-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.exit-popup {
  position: relative;
  /* background: linear-gradient(145deg, #1E3A5F, #152A45); */
  border: 3px solid var(--naranja);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.8) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 0 60px rgba(255, 107, 53, 0.4),
    0 25px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.exit-popup-overlay.visible .exit-popup {
  transform: scale(1) translateY(0);
}

.exit-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.exit-popup-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--blanco);
  opacity: 0.7;
}

.exit-popup-close:hover {
  background: rgba(255, 107, 53, 0.3);
  transform: rotate(90deg);
}

.exit-popup-close:hover svg {
  opacity: 1;
  stroke: var(--naranja);
}

.exit-popup-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--naranja), #ff8c5a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow:
    0 10px 30px rgba(255, 107, 53, 0.5),
    0 0 0 8px rgba(255, 107, 53, 0.15);
  animation: exitPopupPulse 2s ease-in-out infinite;
}

@keyframes exitPopupPulse {
  0%, 100% {
    box-shadow:
      0 10px 30px rgba(255, 107, 53, 0.5),
      0 0 0 8px rgba(255, 107, 53, 0.15);
  }
  50% {
    box-shadow:
      0 10px 40px rgba(255, 107, 53, 0.7),
      0 0 0 15px rgba(255, 107, 53, 0.1);
  }
}

.exit-popup-icon svg {
  width: 40px;
  height: 40px;
  stroke: white;
  stroke-width: 2.5;
}

.exit-popup h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color:var(--tinta);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.exit-popup p {
  color:var(--tinta);
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.exit-popup p strong {
  color: var(--naranja);
  font-weight: 700;
}

.exit-popup-code {
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 107, 53, 0.5);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.code-label {
  /* color: var(--blanco); */
  color:#000;
  opacity: 0.7;
  font-size: 0.9rem;
}

.code-value {
  font-family: 'Space Mono', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--naranja);
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.code-copy {
  background: rgba(255, 107, 53, 0.2);
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-copy svg {
  width: 20px;
  height: 20px;
  stroke: var(--naranja);
}

.code-copy:hover {
  background: rgba(255, 107, 53, 0.4);
  transform: scale(1.1);
}

.code-copy.copied {
  background: rgba(34, 197, 94, 0.3);
}

.code-copy.copied svg {
  stroke: var(--verde);
}

.exit-popup-cta {
  display: block;
  background: linear-gradient(135deg, var(--naranja), #ff8c5a);
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 25px rgba(255, 107, 53, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.exit-popup-cta:hover {
  transform: translateY(-3px);
  box-shadow:
    0 12px 35px rgba(255, 107, 53, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.exit-popup-cta:active {
  transform: translateY(-1px);
}

.exit-popup-disclaimer {
  font-size: 0.75rem !important;
  opacity: 0.5 !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* Responsive popup */
@media (max-width: 480px) {
  .exit-popup {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .exit-popup h3 {
    font-size: 1.3rem;
  }

  .exit-popup-icon {
    width: 65px;
    height: 65px;
  }

  .exit-popup-icon svg {
    width: 32px;
    height: 32px;
  }

  .code-value {
    font-size: 1.2rem;
  }

  .exit-popup-cta {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
}

/* =============================================
   TRUST BAR - Barra de confianza bajo el hero
   ============================================= */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  /* background: #ffffff; */
  position: relative;
  z-index: 5;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--tinta);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--naranja);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-bar {
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    padding: 0.8rem 1rem;
    justify-content: center;
  }

  .trust-item {
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .trust-item svg {
    width: 15px;
    height: 15px;
  }
}

/* =============================================
   SERVICIO CTA - Botones de acción en tarjetas
   ============================================= */
.servicio-cta {
  display: inline-block;
  margin: 1rem auto;
  padding: 0.7rem 1.5rem;
  background: var(--naranja);
  /* background: rgba(12, 26, 42,0.6); */
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: all 0.2s ease;
  width: 100%;
  max-width: fit-content;
  box-sizing: border-box;
  box-shadow:
    4px 4px 8px #C5C5C5,
    -4px -4px 8px #ffffff;
}

.servicio-cta:hover {
  background: #e06a00;
  transform: translateY(-2px);
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
}

.servicio-cta:active {
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px #C5C5C5,
    inset -3px -3px 6px #ffffff;
}

.servicio-cta--urgencia {
  background: #dc3545;
  animation: pulse-urgencia 2s ease-in-out infinite;
}

.servicio-cta--urgencia:hover {
  background: #c82333;
}

@keyframes pulse-urgencia {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(220, 53, 69, 0); }
}

@media (max-width: 768px) {
  .servicio-cta {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    margin-top: 0.8rem;
  }
}

/* =============================================
   SERVICIOS EXTRA - display:contents en desktop, ocultar en móvil
   ============================================= */
.servicios-extra {
  display: contents;
}

@media (max-width: 768px) {
  .servicios-extra {
    display: none;
  }

  .servicios-extra.visible {
    display: contents;
  }
}

/* =============================================
   VER TODOS BTN - Botón toggle servicios
   ============================================= */
.ver-todos-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem auto 0;
  padding: 0.8rem 2rem;
  background: #E8E8E8;
  color: var(--naranja);
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  grid-column: 1 / -1;
  box-shadow:
    inset 3px 3px 8px #C5C5C5,
    inset -3px -3px 8px #ffffff;
}

.ver-todos-btn:hover {
  background: var(--naranja);
  color: white;
}

.ver-todos-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.ver-todos-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.ver-todos-btn .ver-menos-text {
  display: none;
}

.ver-todos-btn[aria-expanded="true"] .ver-todos-text {
  display: none;
}

.ver-todos-btn[aria-expanded="true"] .ver-menos-text {
  display: inline;
}

@media (max-width: 768px) {
  .ver-todos-btn {
    display: flex;
  }
}

/* =============================================
   MAPA SECTION - Sección de mapa
   ============================================= */
.mapa-section {
  padding: 0;
  background: var(--negro);
  position: relative;
  z-index: 7;
}

.mapa-iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 30px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow:
    6px 6px 12px #C5C5C5,
    -6px -6px 12px #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .mapa-iframe {
    height: 250px;
    border-radius: 0;
  }

  .mapa-section {
    padding: 0;
  }
}

/* =============================================
   SOCIAL PROOF COUNTER - Contador de reseñas
   ============================================= */
.social-proof-counter {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--tinta);
  margin-bottom: 2rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .social-proof-counter {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

/* =============================================
   INTRO MARGINS - Reducción en móvil
   ============================================= */
@media (max-width: 768px) {
  .problema-intro {
    margin-bottom: 1.5rem !important;
  }

  .servicios-intro {
    margin-bottom: 1.5rem;
  }
}

/* =============================================
   SLIDER WRAPPER + FLECHAS DE NAVEGACIÓN
   ============================================= */
.slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #E8E8E8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 2px 2px 6px #C5C5C5,
    inset -2px -2px 6px #ffffff;
  transition: all 0.2s ease;
}

.slider-arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--tinta);
  transition: stroke 0.2s ease;
}

.slider-arrow:hover {
  background: var(--naranja);
  box-shadow:
    4px 4px 10px #C5C5C5,
    -4px -4px 10px #ffffff;
}

.slider-arrow:hover svg {
  stroke: #ffffff;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(0.93);
}

.slider-arrow--left {
  left: -4px;
}

.slider-arrow--right {
  right: -4px;
}

.slider-arrow.hidden {
  opacity: 0.25;
  pointer-events: none;
}

/* En móvil, ocultar flechas y volver al scroll touch */
@media (max-width: 768px) {

  .slider-wrapper {

  padding: 0 10px;
}
  .slider-arrow {
    display: none;
  }

  .problema-grid,
  .testimonios-grid {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .problema-grid::-webkit-scrollbar,
  .testimonios-grid::-webkit-scrollbar {
    display: none;
  }

  .problema-card,
  .testimonio-card {
    scroll-snap-align: start;
  }

  .testimonios-grid {
    margin: 0 -1.2rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .testimonio-card {
    flex: 0 0 80%;
    min-width: 280px;
  }
}

/* ===========================================
   F1 TUMECANICO - Scroll horizontal animation
   =========================================== */
.f1-wrapper {
  width: 100%;
  overflow: hidden;
  overflow: clip;
  position: relative;
  pointer-events: none;
}

#f1tumecanico {
  display: block;
  width: 600px;
  height: auto;
  will-change: transform;
}

@media (max-width: 768px) {
  #f1tumecanico {
    width: 350px;
  }
}

