/* ================================
   HOME PAGE STYLES
   ================================ */

/* Hero Section Modernizado */
.hero {
  position: relative;
  min-height: 90vh;
  /* Aún más alto para impacto estilo revista */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Alineación izquierda para diseño moderno */
  color: white;
  padding: var(--spacing-xl) var(--spacing-sm);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Degradado lateral más dramático */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 0;
}

/* Overlay más oscuro para servicios en móvil */
@media (max-width: 768px) {
  section.hero.service-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 100%) !important;
  }

  /* Asegurar que el contenido esté por encima del overlay */
  section.hero.service-hero .hero-content {
    z-index: 5 !important;
  }

  section.hero.service-hero .hero-content h1 {
    z-index: 10 !important;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Grid técnico muy sutil */
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  /* Reduced padding */
  /* Remove background box to let video shine, just shadow for readability */
  background: rgba(0, 0, 0, 0.25);
  /* More transparent background as requested */
  /* Solid subtle overlay for text readability */
  border-left: none;
  /* Clean look */
  animation: slideInLeft 1s ease-out;
  /* Grid Layout */
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 1rem 4rem;
  border-radius: 12px;
  /* Slight radius */
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero h1 {
  grid-column: 1;
  grid-row: 1 / 4;
  color: white;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  /* Estilo más fino y elegante */
  font-weight: 300;
  margin-bottom: 0px;
  line-height: 1.1;
  letter-spacing: 0px;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  /* Stronger separator for contrast */
  padding-right: 3rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  /* Shadow for readability */
}

/* Excluir servicios del estilo general del hero */
.hero.service-hero h1 {
  font-size: clamp(1.17rem, 2.6vw, 1.625rem) !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
}

.hero h1 span {
  color: var(--primary-color);
  display: block;
  font-size: 0.5em;
  /* Subtítulo integrado en el H1 */
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero-subtitle {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 650px;
  line-height: 1.6;
  border-left: none;
  padding-left: 0;
  align-self: end;
}

.hero-cta {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  align-self: start;
}

/* Ajustes específicos botones Hero */
/* Ajustes específicos botones Hero */
.hero-cta .btn {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  /* Standard radius */
  clip-path: none;
  /* Remove angular cut */
  background: rgba(255, 255, 255, 0.15);
  /* Glassy base */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
}

.hero-cta .btn-primary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-cta .btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-cta .btn-secondary:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.hero-cta .btn-whatsapp {
  background: rgba(37, 211, 102, 0.2);
  /* Slight green tint */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.hero-cta .btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-whatsapp svg {
  fill: currentColor;
  margin-right: 8px;
}

.hero-cta .btn-phone {
  background: rgba(255, 255, 255, 0.15);
  /* Fondo transparente similar al botón primario */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.hero-cta .btn-phone:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta .btn-phone svg {
  fill: currentColor;
  margin-right: 8px;
}


.hero-badges {
  grid-column: 2;
  grid-row: 3;
  display: flex;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 1rem;
}

.badge {
  background: transparent;
  padding: 0;
  color: white;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  display: block;
  transform: rotate(45deg);
  /* Rombo */
}

/* Benefits Grid Modernizado */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  /* Centrado moderno */
  padding: 2.5rem 2rem;
  background-color: white;
  border-radius: 16px;
  /* Más redondeado */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Sombra suave y difusa */
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #ffdb4d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-item:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  font-size: 2.5rem;
  width: 80px;
  height: 80px;
  background-color: rgba(244, 180, 0, 0.1);
  /* Fondo sutil */
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  /* Centrado */
  transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--primary-color);
  color: white;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  text-transform: none;
  /* Más legible */
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -0.5px;
}

.benefit-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Zones Section */
.zones-layout {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.zones-image-small {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.zones-image-small img {
  width: 100%;
  height: auto;
  display: block;
}

.zones-container {
  max-width: 1000px;
  margin: 0;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.zone-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.zone-card:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
}

/* Testimonials Grid */
/* Testimonials Grid Rediseñado */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Header de la sección de testimonios */
.section-testimonials .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonials-header {
  margin-bottom: 3.5rem;
  max-width: 800px;
}

.section-verified-badge {
  display: inline-block;
  background-color: #f1f3f4;
  color: #5f6368;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.testimonials-title {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.testimonials-subtitle {
  font-size: 1.1rem;
  color: #5f6368;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards Testimonios Google Style */
.testimonial-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
  content: none;
  /* Quitamos las comillas grandes antiguas */
}

/* Header del testimonio: Avatar + Info + Google Logo */
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background-color: #f1f3f4;
  color: #5f6368;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.testimonial-info strong {
  color: #202124;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: #70757a;
}

.testimonial-google-icon {
  margin-left: auto;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: #F4B400;
  /* Google Star Color */
  justify-content: flex-start;
  /* Alinear a la izquierda */
  letter-spacing: 0;
}

.testimonial-text {
  font-style: normal;
  /* No italic */
  font-size: 0.95rem;
  color: #4d5156;
  /* Google gray text */
  line-height: 1.6;
  text-align: left;
  margin-bottom: 0;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  /* Clean font */
}

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

  .testimonial-card {
    padding: 1.5rem;
  }
}

/* CTA Section Rediseñado */
.cta-section {
  background: linear-gradient(135deg, #1a2530 0%, #2c3e50 100%);
  /* Fondo oscuro elegante */
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 6rem 1rem;
  color: white;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.cta-section::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -50%;
  width: 50%;
  height: 200%;
  background: var(--primary-color);
  transform: rotate(15deg);
  opacity: 0.05;
  pointer-events: none;
}

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

.cta-content h2 {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.2rem 2.5rem;
  min-width: 250px;
}

.cta-buttons .btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  font-weight: 800;
}

.cta-buttons .btn-primary:hover {
  background-color: #ffdb4d;
  color: white;
  transform: translateY(-5px);
}

.cta-buttons .btn-whatsapp {
  background: #25D366;
  color: white;
  border: 1px solid #25D366;
  font-weight: 800;
  border-radius: 4px;
  /* Maintain button radius */
}

.cta-buttons .btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.cta-buttons .btn-whatsapp svg {
  fill: currentColor;
  margin-right: 8px;
}

.cta-buttons .btn-secondary {
  background-color: #25D366;
  color: white;
  border: 1px solid #25D366;
  font-weight: 800;
}

.cta-buttons .btn-secondary:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* Servicios Grid Rediseñado */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  border: none;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 250px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  z-index: 1;
}

.card-title {
  background: white;
  padding: 1.5rem 2rem 0.5rem;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary-color);
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  /* Solapamiento */
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.card-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
}

.card-text {
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

.card .btn {
  margin: 0 2rem 2rem;
  width: calc(100% - 4rem);
  background: transparent;
  border: 2px solid #eee;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card .btn:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

/* Transformation Box Styles */
.transformation-box {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.transformation-image {
  flex: 1 1 400px;
  min-height: 350px;
  position: relative;
}

.transformation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.transformation-content {
  flex: 1 1 400px;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom right, #fff, #f9f9f9);
}

.transformation-content h2 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: 2.5rem;
  line-height: 1.1;
}

.transformation-content p {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Responsive Adjustments - Solo para hero del index */
@media (max-width: 768px) {
  .hero:not(.service-hero) {
    min-height: 600px;
    justify-content: center;
    text-align: center;
  }

  .hero:not(.service-hero) .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 0;
    padding: 2rem;
    border-left: none;
    border-bottom: 4px solid var(--primary-color);
  }

  .hero h1 {
    border-right: none;
    padding-right: 0;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .hero:not(.service-hero) h1 {
    font-size: 2.5rem;
  }

  .hero:not(.service-hero) .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    padding-left: 0;
  }

  .hero:not(.service-hero) .hero-cta {
    justify-content: center;
    flex-direction: row;
    /* Keep in row */
    gap: 1rem;
    /* Smaller gap */
  }

  .hero:not(.service-hero) .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero:not(.service-hero) .hero-cta .btn {
    clip-path: none;
    width: auto;
    /* Not full width */
    padding: 0.8rem 1.2rem;
    /* Compact padding */
    font-size: 0.85rem;
    flex: 0 1 auto;
    /* Don't grow unnecessarily */
  }

  .card-title {
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 1rem;
  }

  .card .btn {
    margin: 0 1rem 1.5rem;
    width: calc(100% - 2rem);
  }

  .cta-buttons .btn {
    width: 100%;
    min-width: auto;
  }
}

/* ================================
   HERO PARA PÁGINAS DE SERVICIOS
   Más estrecho y con botones a la derecha
   ================================ */

/* Hero más estrecho para páginas de servicios - Mayor especificidad */
section.hero.service-hero {
  min-height: 25vh !important;
  /* Más compacto */
  max-height: 32vh !important;
  align-items: center;
  padding: 1rem var(--spacing-sm) !important;
  overflow: visible !important;
}

section.hero.service-hero .hero-content {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  padding: 0.85rem 1.25rem !important;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem !important;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  border-left: 5px solid var(--primary-color);
}

/* Contenedor para texto (H1 y subtítulo) */
section.hero.service-hero .hero-content>h1 {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0.4rem !important;
  line-height: 1.1 !important;
  color: white !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

section.hero.service-hero .hero-content>.hero-subtitle {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

section.hero.service-hero .hero-cta {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 0.65rem !important;
  margin-bottom: 0;
  align-items: stretch;
  justify-content: center;
}

section.hero.service-hero .hero-badges {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 0.65rem !important;
  padding-top: 0.65rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem !important;
  font-size: 0.75rem !important;
}

/* H1 específico para servicios - Máxima especificidad */
section.hero.service-hero .hero-content h1,
section.hero.service-hero .container .hero-content h1,
section.hero.service-hero h1 {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem) !important;
  margin-bottom: 0.3rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: white !important;
  text-transform: uppercase !important;
  letter-spacing: -0.5px !important;
  font-style: italic !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6) !important;
}

/* H1 específico para servicios - Mayor especificidad */
section.hero.service-hero .hero-content h1,
section.hero.service-hero h1 {
  font-size: clamp(1.17rem, 2.6vw, 1.625rem) !important;
  margin-bottom: 0.4rem !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  color: white !important;
  text-transform: uppercase !important;
  letter-spacing: -1px !important;
  font-style: italic !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}

section.hero.service-hero .hero-subtitle {
  margin-bottom: 0 !important;
  max-width: 100%;
  font-size: clamp(0.85rem, 1.3vw, 0.95rem) !important;
  line-height: 1.4 !important;
  padding-left: 0 !important;
  border-left: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

section.hero.service-hero .hero-cta .btn {
  padding: 0.7rem 1.15rem !important;
  font-size: 0.8rem !important;
  clip-path: none !important;
  border-radius: 4px;
  white-space: nowrap;
  min-width: 150px;
}

/* Responsive para hero de servicios */
@media (max-width: 992px) {
  section.hero.service-hero {
    min-height: 28vh !important;
    max-height: 35vh !important;
    padding-top: 4rem !important;
  }

  section.hero.service-hero .hero-content {
    grid-template-columns: 1fr;
    gap: 0.85rem !important;
    padding: 0.85rem !important;
  }

  section.hero.service-hero .hero-content>h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(1.2rem, 4vw, 1.6rem) !important;
    margin-bottom: 0.4rem !important;
    display: block !important;
    visibility: visible !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
  }

  section.hero.service-hero .hero-content>.hero-subtitle {
    grid-column: 1;
    grid-row: 2;
  }

  section.hero.service-hero .hero-cta {
    grid-column: 1;
    grid-row: 3;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem !important;
    margin-top: 0.75rem !important;
  }

  section.hero.service-hero .hero-cta .btn {
    flex: 1;
    min-width: auto;
  }

  section.hero.service-hero .hero-badges {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  section.hero.service-hero {
    min-height: 30vh !important;
    max-height: 38vh !important;
    padding: 4.5rem var(--spacing-sm) 0.85rem var(--spacing-sm) !important;
    margin-top: 0 !important;
  }

  section.hero.service-hero .hero-content {
    padding: 0.75rem !important;
    gap: 0.7rem !important;
    margin-top: 0 !important;
  }

  section.hero.service-hero .hero-content>h1,
  section.hero.service-hero .container .hero-content h1,
  section.hero.service-hero h1 {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.15 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #FFFFFF !important;
    text-shadow:
      3px 3px 10px rgba(0, 0, 0, 0.95),
      0 0 15px rgba(0, 0, 0, 0.8),
      2px 2px 4px rgba(0, 0, 0, 1),
      0 0 20px rgba(0, 0, 0, 0.5) !important;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.7) !important;
    position: relative !important;
    z-index: 10 !important;
    font-weight: 900 !important;
  }

  section.hero.service-hero .hero-content>.hero-subtitle {
    font-size: clamp(0.8rem, 2.5vw, 0.95rem) !important;
    margin-bottom: 0.5rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    font-weight: 600 !important;
  }

  section.hero.service-hero .hero-cta {
    flex-direction: column;
    gap: 0.65rem !important;
    margin-top: 0.5rem !important;
  }

  section.hero.service-hero .hero-cta .btn {
    width: 100%;
    min-width: auto;
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }

  section.hero.service-hero .hero-badges {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
    font-size: 0.7rem !important;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  section.hero.service-hero {
    min-height: 32vh !important;
    padding: 4.5rem var(--spacing-sm) 0.75rem var(--spacing-sm) !important;
    margin-top: 0 !important;
  }

  section.hero.service-hero .hero-content {
    padding: 0.65rem !important;
    gap: 0.65rem !important;
    margin-top: 0 !important;
  }

  section.hero.service-hero .hero-content>h1,
  section.hero.service-hero .container .hero-content h1,
  section.hero.service-hero h1 {
    font-size: clamp(1.1rem, 6vw, 1.4rem) !important;
    margin-bottom: 0.35rem !important;
    text-shadow:
      3px 3px 12px rgba(0, 0, 0, 0.95),
      0 0 18px rgba(0, 0, 0, 0.8),
      2px 2px 5px rgba(0, 0, 0, 1),
      0 0 25px rgba(0, 0, 0, 0.6) !important;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #FFFFFF !important;
    position: relative !important;
    z-index: 10 !important;
    font-weight: 900 !important;
  }

  section.hero.service-hero .hero-content>.hero-subtitle {
    font-size: clamp(0.75rem, 3vw, 0.9rem) !important;
    color: rgba(255, 255, 255, 0.98) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.8) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
    font-weight: 600 !important;
  }
}

/* Asegurar visibilidad en móvil con text-shadow - Regla final con máxima prioridad */
@media (max-width: 768px) {

  section.hero.service-hero .hero-content h1,
  section.hero.service-hero .container .hero-content h1,
  section.hero.service-hero h1 {
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.5) !important;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.4) !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    position: relative !important;
    z-index: 10 !important;
    margin-bottom: 0.5rem !important;
  }
}


@media (max-width: 768px) {
  .transformation-content {
    padding: 2rem;
  }

  .transformation-content h2 {
    font-size: 1.8rem;
  }

  .zones-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zones-image-small {
    max-width: 100%;
  }
}

/* Contact Section Redesign */
.contact-section {
  padding: 5rem 0;
  background-color: #f1f5f9;
  /* Slate-100: Slightly darker background for the section to make the white card pop */
}

.contact-wrapper-new {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

/* Left Column */
.contact-left {
  flex: 0 0 40%;
  padding-top: 1rem;
}

.contact-title-new {
  font-size: 3rem;
  font-weight: 600;
  /* Bolder */
  color: #0f172a;
  /* Slate-900 */
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-desc-new {
  font-size: 1.1rem;
  color: #475569;
  /* Slate-600 */
  margin-bottom: 3rem;
  line-height: 1.6;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: white;
  /* White box on gray bg */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  /* Shadow */
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 800;
  /* Extra bold */
  color: #64748b;
  /* Slate-500 */
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.contact-value-bold {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.contact-subtext {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Right Column */
.contact-right {
  flex: 1;
}

.form-card-new {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* Stronger shadow */
  border: 1px solid #cbd5e1;
  /* Visible border Slate-300 */
}

.form-row-new {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group-new {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group-new label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  /* Slate-700 - Darker and clearer */
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.form-group-new input,
.form-group-new textarea {
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  border: 2px solid #cbd5e1;
  /* Visible thicker border Slate-300 */
  border-radius: 8px;
  font-size: 1rem;
  color: #0f172a;
  /* Very dark text Slate-900 */
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group-new input:focus,
.form-group-new textarea:focus {
  background-color: #ffffff;
  border-color: #0f172a;
  /* Dark focus border */
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.form-group-new input::placeholder,
.form-group-new textarea::placeholder {
  color: #94a3b8;
  /* Slate-400 */
}

.btn-submit-new {
  width: 100%;
  background-color: #0f172a;
  color: white;
  padding: 1.25rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-submit-new:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper-new {
    flex-direction: column;
    gap: 3rem;
  }

  .contact-left {
    flex: 1;
    width: 100%;
  }

  .contact-right {
    width: 100%;
    /* Force full width on mobile/tablet */
  }

  .contact-title-new {
    font-size: 2.5rem;
  }

  .form-card-new {
    padding: 2rem;
    width: 100%;
    /* Ensure card fills container */
  }
}

@media (max-width: 576px) {
  .form-row-new {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-title-new {
    font-size: 2rem;
  }
}

/* Showroom Responsive Image Logic */
.showroom-image-mobile {
  display: none;
}

@media (max-width: 768px) {
  .showroom-image-desktop {
    display: none !important;
  }

  .showroom-image-mobile {
    display: block !important;
  }

  /* Reset flex properties for mobile wrapper just in case */
  .showroom-wrapper {
    flex-direction: column;
    gap: 2rem !important;
  }

  .showroom-content h2 {
    font-size: 2rem !important;
    /* Ajuste para movil y para evitar desbordamiento */
  }

  .showroom-content {
    padding: 0 1rem;
  }
}

/* ================================
   STEP-BY-STEP CARDS DESIGN
   Modern bubble-style process steps
   ================================ */

.showroom-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateX(8px);
  border-color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.step-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  position: relative;
  transition: all 0.3s ease;
}

.step-number::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(15, 23, 42, 0.2);
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.2;
  }
}

.step-card:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-heading);
}

.step-description {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Responsive adjustments for step cards */
@media (max-width: 768px) {
  .step-card {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .step-title {
    font-size: 1.15rem;
  }

  .step-description {
    font-size: 0.95rem;
  }

  .step-card:hover {
    transform: translateX(4px);
  }
}

/* ================================
   WHATSAPP CONTACT BUTTON
   ================================ */

.btn-whatsapp-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp-contact svg {
  flex-shrink: 0;
}

.btn-whatsapp-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  color: white;
}

.btn-whatsapp-contact:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .btn-whatsapp-contact {
    width: 100%;
    justify-content: center;
    padding: 1.25rem 1.5rem;
  }
}

/* ================================
   PROCESO REFORMAS INTEGRALES
   ================================ */

.section-proceso {
  background-color: #f8fafc;
  padding: 5rem 0;
}

.proceso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.proceso-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.proceso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #ffdb4d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.proceso-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.proceso-card:hover::before {
  transform: scaleX(1);
}

.proceso-icon {
  font-size: 3rem;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.1) 0%, rgba(244, 180, 0, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.proceso-card:hover .proceso-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(244, 180, 0, 0.2) 0%, rgba(244, 180, 0, 0.1) 100%);
}

.proceso-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.proceso-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .proceso-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .proceso-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .proceso-card {
    padding: 2rem 1.5rem;
  }

  .proceso-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }
}

/* ================================
   HERO PARA PÁGINAS DE SERVICIOS
   ================================ */

.hero.service-hero {
  min-height: auto !important;
  /* Permitir que crezca */
  height: auto !important;
  padding-top: 250px !important;
  /* Aumentado drásticamente */
  padding-bottom: 100px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
}

.hero.service-hero .container {
  z-index: 5 !important;
  width: 100% !important;
}

.hero.service-hero .hero-content {
  display: block !important;
  max-width: 1000px !important;
  padding: 3rem !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(10px);
  margin-top: 50px !important;
  /* Margen extra */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero.service-hero h1 {
  grid-column: auto;
  grid-row: auto;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  font-weight: 800 !important;
  /* Más peso para legibilidad */
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
  letter-spacing: -0.5px !important;
  border-right: none !important;
  padding-right: 0 !important;
  text-transform: uppercase !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.hero.service-hero .hero-subtitle {
  grid-column: auto;
  grid-row: auto;
  font-size: 1.3rem !important;
  margin-bottom: 2.5rem !important;
  max-width: 100% !important;
  color: #f0f0f0 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Ajustes específicos para Móvil */
@media (max-width: 991px) {
  .hero.service-hero {
    padding-top: 180px !important;
    /* Mucho espacio para el header móvil */
    padding-bottom: 60px !important;
    align-items: flex-start !important;
    /* Alinear arriba para asegurar visibilidad */
  }

  .hero.service-hero .hero-content {
    padding: 2rem 1.5rem !important;
    margin-top: 20px !important;
    max-width: 100% !important;
  }

  .hero.service-hero h1 {
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
  }

  .hero.service-hero .hero-subtitle {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 576px) {
  .hero.service-hero {
    padding-top: 160px !important;
  }

  .hero.service-hero h1 {
    font-size: 1.8rem !important;
  }
}

/* ================================
   FAQ SECTION STYLES - Premium Cards
   ================================ */
.faq-section {
  padding: 5rem 0;
  background-color: #fff;
}

.faq-category {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-category-title {
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Estilo Burbuja / Tarjeta para cada item */
details.faq-item {
  background: #ffffff;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  /* Sombra muy sutil inicial */
}

/* Hover: invita al clic */
details.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

details.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #1e293b;
  list-style: none;
  position: relative;
  padding-right: 4rem;
  /* Espacio para flecha */
  font-size: 1.05rem;
  transition: color 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Flecha animada (Chevron) */
details.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Estado Hover item completo */
details.faq-item:hover summary::after {
  border-color: var(--primary-color);
}

/* Estado ABIERTO (Open) */
details.faq-item[open] {
  background-color: #f8fafc;
  /* Fondo gris muy suave para diferenciar */
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

details.faq-item[open] summary {
  color: var(--primary-color);
  /* Color destacado */
  border-bottom: 1px solid #e2e8f0;
}

details.faq-item[open] summary::after {
  transform: translateY(-15%) rotate(225deg);
  /* Rota hacia arriba */
  border-color: var(--primary-color);
}

.faq-answer {
  padding: 1.5rem;
  color: #334155;
  /* Gris oscuro para lectura */
  font-size: 0.95rem;
  line-height: 1.7;
  background-color: #f8fafc;
  /* Mantener continuidad visual */
}

.faq-note {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 1.5rem;
  background-color: #fff7ed;
  /* Tonito cálido muy suave */
  border: 1px solid #ffedd5;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  font-size: 0.95rem;
  color: #7c2d12;
  line-height: 1.6;
}

.faq-note strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #9a3412;
}

/* ================================
   HERO MINIMAL STYLES (Contacto)
   ================================ */

.hero.hero-minimal {
  height: auto !important;
  min-height: 400px !important;
  /* Altura contenida */
  padding-top: 120px !important;
  /* Espacio para header */
  padding-bottom: 4rem !important;
  display: flex !important;
  align-items: flex-end !important;
  /* Alinear abajo para dar aire al header */
  justify-content: center !important;
}

/* Modificar el contenedor de contenido para centrarlo perfecto */
.hero.hero-minimal .hero-content-minimal {
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.hero.hero-minimal h1 {
  font-size: 3rem !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem !important;
  border: none !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

.hero.hero-minimal .hero-subtitle {
  font-size: 1.25rem !important;
  max-width: 600px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

@media (max-width: 768px) {
  .hero.hero-minimal {
    min-height: 350px !important;
    padding-top: 140px !important;
    align-items: center !important;
  }

  .hero.hero-minimal h1 {
    font-size: 2.2rem !important;
  }

  .hero.hero-minimal .hero-subtitle {
    font-size: 1.1rem !important;
    padding: 0 1rem;
  }
}