/* ===================================
   SERVICES PAGES STYLES - SPA VALDIVIA
   Estilos específicos para páginas de servicios
   =================================== */

/* ===================================
   VARIABLES ESPECÍFICAS SERVICIOS
   =================================== */
:root {
  /* Colores modo día - optimizados para contraste */
  --service-primary: #7c3f83;
  --service-secondary: #b391b8;
  --service-accent: #e91e63;
  --service-success: #00796b;
  --service-warning: #ff8f00;
  --massage-color: #8e24aa;
  --facial-color: #e91e63;
  --waxing-color: #00796b;
}

/* Variables para modo noche */
[data-theme="dark"] {
  --service-primary: #c084e8;
  --service-secondary: #e2c9f0;
  --service-accent: #ff9dc4;
  --service-success: #4fd1c7;
  --service-warning: #fbbf24;
  --massage-color: #c084e8;
  --facial-color: #ff9dc4;
  --waxing-color: #4fd1c7;
}

/* ===================================
   HERO DE SERVICIOS
   =================================== */
.service-hero {
  padding: 120px 0 4rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><linearGradient id="a" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" stop-color="rgba(139,77,143,0.03)"/><stop offset="100%" stop-color="rgba(139,77,143,0.08)"/></linearGradient></defs><polygon fill="url(%23a)" points="0,20 100,0 100,20"/></svg>') repeat-x;
  background-size: 100px 20px;
}

.service-hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.service-hero__category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--service-accent);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-hero__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--dark-color);
}

.service-hero__description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--dark-color);
  margin-bottom: 2rem;
  font-weight: 400;
}

.service-hero__stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-hero__badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.5rem 1rem;
  background: rgba(139, 77, 143, 0.1);
  color: var(--service-primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid rgba(139, 77, 143, 0.2);
}

.service-hero__image {
  position: relative;
}

.service-hero__img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(139, 77, 143, 0.15);
  transition: transform 0.3s ease;
}

.service-hero__img:hover {
  transform: scale(1.02);
}

/* ===================================
   GRIDS DE SERVICIOS ESPECÍFICOS
   =================================== */

/* MASAJES */
.massage-types {
  background: var(--section-bg-2);
}

.massage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.massage-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(162, 123, 184, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(162, 123, 184, 0.1);
}

.massage-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(162, 123, 184, 0.15);
}

.massage-card.featured {
  border: 2px solid var(--massage-color);
}

.massage-card.premium {
  border: 2px solid var(--service-warning);
  background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
}

.massage-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--massage-color);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.massage-card.premium .massage-card__badge {
  background: var(--service-warning);
}

.massage-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.massage-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.massage-card:hover .massage-card__image img {
  transform: scale(1.1);
}

.massage-card__content {
  padding: 2rem;
}

.massage-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.massage-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.duration, .intensity {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

.duration {
  background: rgba(78, 205, 196, 0.1);
  color: var(--service-success);
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.intensity {
  background: rgba(255, 107, 157, 0.1);
  color: var(--service-accent);
  border: 1px solid rgba(255, 107, 157, 0.2);
}

.massage-card__description {
  color: var(--dark-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.massage-card__benefits {
  margin-bottom: 2rem;
}

.massage-card__benefits li {
  padding: 0.5rem 0;
  color: var(--dark-color);
  position: relative;
  padding-left: 1.5rem;
  font-weight: 400;
}

.massage-card__benefits li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--massage-color);
}

.massage-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 77, 143, 0.1);
}

.massage-card__price {
  text-align: left;
}

.price__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--massage-color);
  display: block;
  line-height: 1;
}

.price__session {
  font-size: 0.875rem;
  color: var(--gray-dark);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* FACIALES */
.facial-types {
  background: var(--section-bg-2);
}

.facial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.facial-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 139, 171, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(255, 139, 171, 0.1);
}

.facial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 139, 171, 0.15);
}

.facial-card.featured {
  border: 2px solid var(--facial-color);
}

.facial-card.popular {
  border: 2px solid var(--service-success);
  background: linear-gradient(135deg, #e0f7f7 0%, #ffffff 100%);
}

.facial-card.premium {
  border: 2px solid var(--service-warning);
  background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
}

.facial-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--facial-color);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.facial-card.popular .facial-card__badge {
  background: var(--service-success);
}

.facial-card.premium .facial-card__badge {
  background: var(--service-warning);
}

.facial-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.facial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.facial-card:hover .facial-card__image img {
  transform: scale(1.1);
}

.facial-card__content {
  padding: 2rem;
}

.facial-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.facial-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.skin-type {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 139, 171, 0.1);
  color: var(--facial-color);
  border: 1px solid rgba(255, 139, 171, 0.2);
  border-radius: 50px;
  font-weight: 600;
}

.facial-steps {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: rgba(139, 77, 143, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(139, 77, 143, 0.1);
}

.facial-steps h4 {
  font-size: 1rem;
  color: var(--facial-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.facial-steps ol {
  list-style: none;
  counter-reset: step;
}

.facial-steps ol li {
  counter-increment: step;
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--dark-color);
  font-size: 0.875rem;
  font-weight: 400;
}

.facial-steps ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 20px;
  height: 20px;
  background: var(--facial-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.facial-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 77, 143, 0.1);
}

.facial-card__price {
  text-align: left;
}

.facial-card__price .price__amount {
  color: var(--facial-color);
}

/* DEPILACIÓN */
.waxing-services {
  background: var(--section-bg-2);
}

.waxing-section {
  margin-bottom: 4rem;
}

.waxing-section__title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--waxing-color);
}

.waxing-section__icon {
  font-size: 2.5rem;
}

.waxing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.waxing-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(78, 205, 196, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(78, 205, 196, 0.1);
}

.waxing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(78, 205, 196, 0.15);
}

.waxing-card.featured {
  border: 2px solid var(--waxing-color);
}

.waxing-card.premium {
  border: 2px solid var(--service-warning);
  background: linear-gradient(135deg, #fff8e1 0%, #ffffff 100%);
}

.waxing-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--waxing-color);
  color: white;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.waxing-card.premium .waxing-card__badge {
  background: var(--service-warning);
}

.waxing-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.waxing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.waxing-card:hover .waxing-card__image img {
  transform: scale(1.1);
}

.waxing-card__content {
  padding: 1.5rem;
}

.waxing-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.waxing-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.zone {
  padding: 0.25rem 0.75rem;
  background: rgba(78, 205, 196, 0.1);
  color: var(--waxing-color);
  border: 1px solid rgba(78, 205, 196, 0.2);
  border-radius: 50px;
  font-weight: 600;
}

.waxing-card__description {
  color: var(--dark-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.waxing-card__includes {
  margin-bottom: 1.5rem;
}

.waxing-card__includes li {
  padding: 0.5rem 0;
  color: var(--dark-color);
  font-size: 0.875rem;
  font-weight: 400;
}

.waxing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 77, 143, 0.1);
}

.waxing-card__price {
  text-align: left;
}

.waxing-card__price .price__amount {
  color: var(--waxing-color);
  font-size: 1.5rem;
}

.price__note {
  font-size: 0.75rem;
  color: var(--gray-dark);
  display: block;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ===================================
   BENEFICIOS Y COMPARACIONES
   =================================== */
.massage-benefits,
.facial-benefits,
.waxing-benefits {
  background: #f8f9fa;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
}

.benefit-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--dark-color);
  line-height: 1.6;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
}

.benefits-image {
  position: relative;
}

.benefits-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(139, 77, 143, 0.1);
}

/* Comparación para depilación */
.benefits-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(139, 77, 143, 0.1);
  position: relative;
}

.comparison-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.comparison-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.comparison-pros li,
.comparison-cons li {
  padding: 0.5rem 0;
  text-align: left;
}

.comparison-pros li {
  color: var(--service-success);
}

.comparison-cons li {
  color: var(--form-error);
}

/* ===================================
   TÉCNICAS Y PROCESOS
   =================================== */
.massage-techniques,
.waxing-process {
  background: white;
}

.techniques-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.technique-item {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.technique-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(139, 77, 143, 0.1);
}

.technique-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.technique-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.technique-item p {
  color: var(--dark-color);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* Proceso de depilación */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(139, 77, 143, 0.1);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step__number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--waxing-color) 0%, #26a69a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  min-width: 50px;
}

.process-step__content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.process-step__content p {
  color: var(--dark-color);
  line-height: 1.6;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
}

/* ===================================
   RUTINAS Y FRECUENCIAS
   =================================== */
.skincare-routine {
  background: #f8f9fa;
}

.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.routine-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(139, 77, 143, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.routine-item:hover {
  transform: translateY(-5px);
}

.routine-item.featured {
  border: 2px solid var(--facial-color);
  transform: scale(1.05);
}

.routine-frequency {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--facial-color);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.routine-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.routine-item p {
  color: var(--dark-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.routine-benefits {
  text-align: left;
}

.routine-benefits li {
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--dark-color);
  font-weight: 400;
}

/* ===================================
   CUIDADOS Y CONSEJOS
   =================================== */
.waxing-care {
  background: #f8f9fa;
}

.care-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.care-tabs {
  margin-top: 2rem;
}

.care-tab {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(139, 77, 143, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.care-tab:hover {
  transform: translateX(5px);
}

.care-tab.active {
  border-left: 4px solid var(--waxing-color);
  transform: translateX(5px);
}

.care-tab h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.care-tab ul {
  margin: 0;
}

.care-tab li {
  padding: 0.5rem 0;
  color: var(--dark-color);
  font-size: 0.875rem;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 400;
}

.care-tab li:last-child {
  border-bottom: none;
}

.care-image {
  position: relative;
}

.care-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(139, 77, 143, 0.1);
}

/* ===================================
   PAQUETES Y PROMOCIONES
   =================================== */
.waxing-packages {
  background: white;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(139, 77, 143, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: var(--waxing-color);
}

.package-card.featured {
  border-color: var(--waxing-color);
  transform: scale(1.05);
}

.package-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--waxing-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.package-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.package-services {
  font-size: 1rem;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.package-price {
  margin-bottom: 1rem;
}

.original-price {
  font-size: 1rem;
  color: var(--gray-dark);
  text-decoration: line-through;
  display: block;
  font-weight: 500;
}

.discounted-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--waxing-color);
  display: block;
  line-height: 1;
}

.package-savings {
  font-size: 0.875rem;
  color: var(--service-success);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* ===================================
   FAQ ESPECÍFICOS POR SERVICIO
   =================================== */
.massage-faq,
.facial-faq,
.waxing-faq {
  background: #f8f9fa;
}

/* ===================================
   RESPONSIVE DESIGN - SERVICIOS
   =================================== */

/* Tablet */
@media (max-width: 992px) {
  .service-hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-hero__image {
    order: -1;
  }
  
  .service-hero__title {
    font-size: 2.5rem;
  }
  
  .benefits-content,
  .care-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .massage-grid,
  .facial-grid,
  .waxing-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  .service-hero__title {
    font-size: 2rem;
  }
  
  .service-hero__stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .massage-grid,
  .facial-grid,
  .waxing-grid {
    grid-template-columns: 1fr;
  }
  
  .massage-card__content,
  .facial-card__content,
  .waxing-card__content {
    padding: 1.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .techniques-content {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .routine-grid,
  .packages-grid {
    grid-template-columns: 1fr;
  }
  
  .waxing-section__title {
    font-size: 1.5rem;
    flex-direction: column;
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .service-hero__title {
    font-size: 1.75rem;
  }
  
  .massage-card,
  .facial-card,
  .waxing-card {
    border-radius: 12px;
  }
  
  .massage-card__content,
  .facial-card__content,
  .waxing-card__content {
    padding: 1rem;
  }
  
  .facial-steps {
    padding: 1rem;
  }
  
  .care-tab {
    padding: 1rem;
  }
  
  .package-card,
  .routine-item,
  .technique-item {
    padding: 1.5rem;
  }
}

/* ===================================
   ADAPTACIONES PARA MODO NOCHE
   =================================== */

/* Elementos de fondo y superficies */
[data-theme="dark"] .service-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
}

[data-theme="dark"] .massage-services,
[data-theme="dark"] .facial-services,
[data-theme="dark"] .waxing-services,
[data-theme="dark"] .skincare-routine,
[data-theme="dark"] .waxing-packages {
  background: #111827;
}

[data-theme="dark"] .massage-card,
[data-theme="dark"] .facial-card,
[data-theme="dark"] .waxing-card,
[data-theme="dark"] .routine-item,
[data-theme="dark"] .package-card {
  background: #1f2937;
  border-color: #374151;
  color: #f9fafb;
}

[data-theme="dark"] .massage-card:hover,
[data-theme="dark"] .facial-card:hover,
[data-theme="dark"] .waxing-card:hover,
[data-theme="dark"] .package-card:hover {
  border-color: var(--service-primary);
  box-shadow: 0 15px 35px rgba(192, 132, 232, 0.2);
}

/* Textos y contenido */
[data-theme="dark"] .service-hero__title,
[data-theme="dark"] .massage-card__title,
[data-theme="dark"] .facial-card__title,
[data-theme="dark"] .waxing-card__title,
[data-theme="dark"] .routine-item h3,
[data-theme="dark"] .package-card h3 {
  color: #f9fafb;
}

[data-theme="dark"] .service-hero__description,
[data-theme="dark"] .massage-card__description,
[data-theme="dark"] .facial-card__description,
[data-theme="dark"] .waxing-card__description,
[data-theme="dark"] .routine-item p,
[data-theme="dark"] .package-card p {
  color: #e5e7eb;
}

/* Elementos especiales */
[data-theme="dark"] .facial-steps {
  background: rgba(192, 132, 232, 0.1);
  border-color: rgba(192, 132, 232, 0.2);
}

[data-theme="dark"] .facial-steps ol li,
[data-theme="dark"] .process-step__content h3,
[data-theme="dark"] .process-step__content p {
  color: #e5e7eb;
}

[data-theme="dark"] .care-tab li {
  color: #e5e7eb;
  border-bottom-color: #374151;
}

/* Precios y badges */
[data-theme="dark"] .massage-card__price,
[data-theme="dark"] .facial-card__price,
[data-theme="dark"] .waxing-card__price,
[data-theme="dark"] .package-card .package-price {
  color: var(--service-accent);
}

[data-theme="dark"] .package-card .package-badge {
  background: var(--service-accent);
  color: #0f172a;
}

/* Imágenes y sombras */
[data-theme="dark"] .massage-card__image img,
[data-theme="dark"] .facial-card__image img,
[data-theme="dark"] .waxing-card__image img,
[data-theme="dark"] .care-image img {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ===================================
   CORRECCIÓN CRÍTICA - FONDOS SECCIONES OSCURAS
   =================================== */

/* FONDO GENERAL DEL BODY EN MODO OSCURO */
[data-theme="dark"] body {
  background: #2d1b4e !important;          /* Morado oscuro base */
  color: #ffffff !important;               /* Texto blanco */
}

/* TODAS LAS SECCIONES PRINCIPALES - FONDO MORADO OSCURO */
/* SECCIONES CON COLORES INTERCALADOS OSCUROS */
[data-theme="dark"] .massage-types {
  background: #0f172a !important;          /* Azul muy oscuro - Sección 1 */
}

[data-theme="dark"] .facial-types {
  background: #1e293b !important;          /* Gris azulado oscuro - Sección 2 */
}

[data-theme="dark"] .facial-treatments {
  background: #2d1b4e !important;          /* Morado oscuro - Sección 3 */
}

[data-theme="dark"] .waxing-types {
  background: #374151 !important;          /* Gris oscuro - Sección 4 */
}

[data-theme="dark"] .waxing-zones {
  background: #0f172a !important;          /* Azul muy oscuro - Sección 5 */
}

[data-theme="dark"] .service-hero {
  background: #1e293b !important;          /* Gris azulado oscuro - Hero */
}

[data-theme="dark"] .benefits-section {
  background: #2d1b4e !important;          /* Morado oscuro - Benefits */
}

[data-theme="dark"] .care-section {
  background: #374151 !important;          /* Gris oscuro - Care */
}

[data-theme="dark"] .process-section {
  background: #0f172a !important;          /* Azul muy oscuro - Process */
}

/* SECCIONES ADICIONALES CON COLORES INTERCALADOS */
[data-theme="dark"] .massage-techniques {
  background: #1e293b !important;          /* Gris azulado oscuro */
}

[data-theme="dark"] .waxing-process {
  background: #2d1b4e !important;          /* Morado oscuro */
}

[data-theme="dark"] .waxing-packages {
  background: #374151 !important;          /* Gris oscuro */
}

[data-theme="dark"] .massage-card,
[data-theme="dark"] .facial-card,
[data-theme="dark"] .waxing-card {
  background: #334155 !important;          /* Gris azulado medio para cards */
  border-color: #475569 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .comparison-item,
[data-theme="dark"] .routine-item,
[data-theme="dark"] .care-tab,
[data-theme="dark"] .package-card {
  background: #334155 !important;          /* Gris azulado medio */
  border-color: #475569 !important;
  color: #f8fafc !important;
}

/* ===================================
   PÁGINA SOBRE YASNA - DISEÑO MEJORADO
   =================================== */

/* ===================================
   MI HISTORIA - REDISEÑO DINÁMICO
   =================================== */

/* Intro con layout zigzag */
.story-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.story-intro__text {
  padding-right: 2rem;
}

.story-intro__image {
  position: relative;
  max-width: 400px;
  margin-left: auto;
}

.story-intro__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-decoration {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--service-primary), var(--service-accent));
  border-radius: 20px;
  opacity: 0.8;
  z-index: -1;
}

/* Highlight con iconos */
.story-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(124, 63, 131, 0.05), rgba(233, 30, 99, 0.05));
  border-left: 4px solid var(--service-primary);
  border-radius: 0 12px 12px 0;
}

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Timeline horizontal mejorada */
.story-timeline {
  margin-top: 4rem;
}

.timeline-header {
  text-align: center;
  margin-bottom: 3rem;
}

.timeline-header h3 {
  font-size: 1.5rem;
  color: var(--service-primary);
  margin: 0;
}

.timeline-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--service-primary), var(--service-accent));
  z-index: 0;
}

.timeline-item {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--service-primary);
  margin-bottom: 0.5rem;
}

.timeline-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.timeline-content h4 {
  color: var(--service-text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.timeline-content p {
  color: var(--service-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Quote section rediseñada */
.story-quote-section {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(124, 63, 131, 0.03), rgba(233, 30, 99, 0.03));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.story-quote {
  flex: 1;
  text-align: center;
}

.quote-icon {
  font-size: 4rem;
  color: var(--service-primary);
  opacity: 0.3;
  margin-bottom: 1rem;
  font-family: serif;
}

.story-quote blockquote {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--service-text-primary);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.story-quote cite {
  color: var(--service-primary);
  font-weight: 600;
  font-style: normal;
}

.quote-decoration {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.decoration-element {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--service-primary), var(--service-accent));
  border-radius: 50% 0;
  opacity: 0.1;
}

/* ===================================
   MI FILOSOFÍA - REDISEÑO DINÁMICO
   =================================== */

/* Header centrado */
.philosophy-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Intro con imagen (layout invertido) */
.philosophy-intro {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.philosophy-image {
  position: relative;
}

.philosophy-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.image-frame {
  position: absolute;
  inset: -10px;
  border: 3px solid var(--service-primary);
  border-radius: 24px;
  opacity: 0.3;
  z-index: -1;
}

.philosophy-text {
  padding-left: 2rem;
}

.philosophy-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(124, 63, 131, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--service-accent);
}

.value-icon {
  font-size: 1.3rem;
}

/* Principios en grid mejorado */
.philosophy-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.principle-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(124, 63, 131, 0.1);
}

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

.principle-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.principle-icon {
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--service-primary), var(--service-accent));
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
}

.principle-header h4 {
  color: var(--service-text-primary);
  margin: 0;
  font-size: 1.2rem;
}

.principle-content p {
  color: var(--service-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===================================
   RESPONSIVE PARA PÁGINA SOBRE YASNA
   =================================== */

@media (max-width: 768px) {
  /* Story intro responsive */
  .story-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .story-intro__text {
    padding-right: 0;
    order: 2;
  }
  
  .story-intro__image {
    order: 1;
    max-width: 100%;
  }
  
  .story-intro__image img {
    height: 250px;
  }
  
  /* Timeline responsive */
  .timeline-track {
    grid-template-columns: 1fr;
  }
  
  .timeline-track::before {
    display: none;
  }
  
  /* Quote responsive */
  .story-quote-section {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .quote-decoration {
    flex-direction: row;
    justify-content: center;
  }
  
  /* Philosophy intro responsive */
  .philosophy-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .philosophy-image {
    order: 1;
    max-width: 100%;
  }
  
  .philosophy-text {
    padding-left: 0;
    order: 2;
  }
  
  .philosophy-image img {
    height: 300px;
  }
  
  /* Philosophy principles responsive */
  .philosophy-principles {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   MODO OSCURO - PÁGINA SOBRE YASNA
   =================================== */

/* Story elements modo oscuro */
[data-theme="dark"] .story-highlight {
  background: linear-gradient(135deg, rgba(192, 132, 232, 0.1), rgba(255, 157, 196, 0.1));
  border-left-color: #c084e8;
}

[data-theme="dark"] .timeline-item {
  background: #334155 !important;
  color: #f8fafc;
}

[data-theme="dark"] .timeline-content h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .timeline-content p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .story-quote-section {
  background: linear-gradient(135deg, rgba(192, 132, 232, 0.05), rgba(255, 157, 196, 0.05));
}

[data-theme="dark"] .story-quote blockquote {
  color: #f8fafc !important;
}

[data-theme="dark"] .story-quote cite {
  color: #c084e8 !important;
}

[data-theme="dark"] .quote-icon {
  color: #c084e8 !important;
}

/* Philosophy elements modo oscuro */
[data-theme="dark"] .value-item {
  background: rgba(192, 132, 232, 0.1) !important;
  border-left-color: #ff9dc4;
}

[data-theme="dark"] .principle-card {
  background: #334155 !important;
  border-color: #475569 !important;
}

[data-theme="dark"] .principle-header h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .principle-content p {
  color: #cbd5e1 !important;
}

/* ===================================
   CERTIFICACIONES Y ESPECIALIDADES
   =================================== */

/* Header con stats */
.qualifications-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.qualifications-intro {
  text-align: left;
}

.qualifications-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(124, 63, 131, 0.05), rgba(233, 30, 99, 0.05));
  border-radius: 16px;
  border-left: 4px solid var(--service-primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--service-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--service-text-secondary);
  font-weight: 500;
}

/* Certificación principal destacada */
.featured-qualification {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(124, 63, 131, 0.03), rgba(233, 30, 99, 0.03));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.featured-content {
  flex: 1;
}

.featured-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--service-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.badge-icon {
  font-size: 1.2rem;
}

.featured-info h3 {
  font-size: 2rem;
  color: var(--service-text-primary);
  margin-bottom: 0.5rem;
}

.featured-info .institution {
  color: var(--service-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.featured-info .description {
  color: var(--service-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.qualification-details {
  display: flex;
  gap: 2rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  color: var(--service-text-secondary);
}

.detail-icon {
  font-size: 1rem;
}

.featured-decoration {
  position: relative;
  width: 150px;
  height: 150px;
}

.decoration-circle {
  width: 120px;
  height: 120px;
  border: 3px solid var(--service-primary);
  border-radius: 50%;
  opacity: 0.3;
}

.decoration-dots {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--service-accent) 2px, transparent 2px);
  background-size: 8px 8px;
  opacity: 0.5;
}

/* Especialidades por categorías */
.specializations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.specialization-category {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialization-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(124, 63, 131, 0.1);
}

.category-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--service-primary), var(--service-accent));
  border-radius: 16px;
  color: white;
}

.category-header h4 {
  color: var(--service-text-primary);
  margin: 0;
  font-size: 1.3rem;
}

.spec-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.spec-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 63, 131, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.spec-content h5 {
  color: var(--service-text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.spec-institution {
  color: var(--service-primary);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.spec-techniques {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.technique {
  background: rgba(233, 30, 99, 0.1);
  color: var(--service-accent);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.spec-year {
  color: var(--service-text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Educación continua */
.continuous-learning {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(124, 63, 131, 0.05), rgba(233, 30, 99, 0.05));
  border-radius: 20px;
  border-left: 5px solid var(--service-primary);
}

.learning-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex: 1;
}

.learning-icon {
  font-size: 2.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--service-primary), var(--service-accent));
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}

.learning-text h4 {
  color: var(--service-text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.learning-text p {
  color: var(--service-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.learning-achievements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
}

.achievement-icon {
  font-size: 1.3rem;
}

.achievement-item span:not(.achievement-icon) {
  font-weight: 500;
  color: var(--service-text-primary);
}

.achievement-item small {
  color: var(--service-text-secondary);
  font-size: 0.8rem;
  margin-left: auto;
}

/* ===================================
   RESPONSIVE - CERTIFICACIONES
   =================================== */

@media (max-width: 768px) {
  .qualifications-header {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .qualifications-stats {
    justify-content: space-between;
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .featured-qualification {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .qualification-details {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .featured-decoration {
    order: -1;
  }
  
  .specializations {
    grid-template-columns: 1fr;
  }
  
  .continuous-learning {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .learning-achievements {
    align-items: center;
  }
}

/* ===================================
   MODO OSCURO - CERTIFICACIONES
   =================================== */

/* Stats en modo oscuro */
[data-theme="dark"] .stat-item {
  background: linear-gradient(135deg, rgba(192, 132, 232, 0.1), rgba(255, 157, 196, 0.1));
  border-left-color: #c084e8;
}

[data-theme="dark"] .stat-number {
  color: #c084e8 !important;
}

[data-theme="dark"] .stat-label {
  color: #cbd5e1 !important;
}

/* Certificación destacada en modo oscuro */
[data-theme="dark"] .featured-qualification {
  background: linear-gradient(135deg, rgba(192, 132, 232, 0.05), rgba(255, 157, 196, 0.05));
}

[data-theme="dark"] .featured-badge {
  color: #c084e8 !important;
}

[data-theme="dark"] .featured-info h3 {
  color: #f8fafc !important;
}

[data-theme="dark"] .featured-info .institution {
  color: #c084e8 !important;
}

[data-theme="dark"] .featured-info .description {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .detail-item {
  background: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .decoration-circle {
  border-color: #c084e8;
}

/* Categorías de especialización en modo oscuro */
[data-theme="dark"] .specialization-category {
  background: #334155 !important;
  border-color: #475569 !important;
}

[data-theme="dark"] .category-header h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .spec-content h5 {
  color: #f8fafc !important;
}

[data-theme="dark"] .spec-institution {
  color: #c084e8 !important;
}

[data-theme="dark"] .spec-icon {
  background: rgba(192, 132, 232, 0.2) !important;
}

[data-theme="dark"] .technique {
  background: rgba(255, 157, 196, 0.2) !important;
  color: #ff9dc4 !important;
}

[data-theme="dark"] .spec-year {
  color: #cbd5e1 !important;
}

/* Educación continua en modo oscuro */
[data-theme="dark"] .continuous-learning {
  background: linear-gradient(135deg, rgba(192, 132, 232, 0.1), rgba(255, 157, 196, 0.1));
  border-left-color: #c084e8;
}

[data-theme="dark"] .learning-text h4 {
  color: #f8fafc !important;
}

[data-theme="dark"] .learning-text p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .achievement-item {
  background: #334155 !important;
}

[data-theme="dark"] .achievement-item span:not(.achievement-icon) {
  color: #f8fafc !important;
}

[data-theme="dark"] .achievement-item small {
  color: #cbd5e1 !important;
}

/* HEADERS DE SECCIÓN - CONTRASTE MÁXIMO */
[data-theme="dark"] .section__header,
[data-theme="dark"] .section__header--center {
  background: transparent !important;
}

[data-theme="dark"] .section__title {
  color: #ffffff !important;               /* Blanco puro */
  background: transparent !important;
}

[data-theme="dark"] .section__subtitle {
  color: #d8b4fe !important;               /* Morado claro */
  background: transparent !important;
}

[data-theme="dark"] .section__description {
  color: #e5e7eb !important;               /* Gris muy claro */
  background: transparent !important;
}

/* CARDS - SUPERFICIE MORADO MÁS CLARO */
[data-theme="dark"] .massage-card,
[data-theme="dark"] .facial-card,
[data-theme="dark"] .waxing-card {
  background: #3730a3 !important;          /* Morado intermedio */
  border-color: #6366f1 !important;        /* Borde morado claro */
  color: #ffffff !important;               /* Texto blanco */
}

/* TÍTULOS DE CARDS */
[data-theme="dark"] .massage-card__title,
[data-theme="dark"] .facial-card__title,
[data-theme="dark"] .waxing-card__title {
  color: #ffffff !important;               /* Blanco puro */
  background: transparent !important;
}

/* DESCRIPCIONES DE CARDS */
[data-theme="dark"] .massage-card__description,
[data-theme="dark"] .facial-card__description,
[data-theme="dark"] .waxing-card__description {
  color: #e5e7eb !important;               /* Gris muy claro */
  background: transparent !important;
}

/* BENEFICIOS Y LISTAS */
[data-theme="dark"] .massage-card__benefits li,
[data-theme="dark"] .facial-card__benefits li,
[data-theme="dark"] .waxing-card__benefits li {
  color: #e5e7eb !important;               /* Gris muy claro */
  background: transparent !important;
}

/* META INFO */
[data-theme="dark"] .massage-card__meta span,
[data-theme="dark"] .facial-card__meta span,
[data-theme="dark"] .waxing-card__meta span {
  color: #d1d5db !important;               /* Gris claro */
  background: transparent !important;
}

/* PRECIOS */
[data-theme="dark"] .massage-card__price,
[data-theme="dark"] .facial-card__price,
[data-theme="dark"] .waxing-card__price {
  color: #fbbf24 !important;               /* Amarillo dorado */
  background: transparent !important;
}

/* BADGES */
[data-theme="dark"] .massage-card__badge,
[data-theme="dark"] .facial-card__badge,
[data-theme="dark"] .waxing-card__badge {
  background: #fbbf24 !important;          /* Amarillo dorado */
  color: #1f2937 !important;               /* Negro sobre amarillo */
}

/* HERO DE SERVICIOS */
[data-theme="dark"] .service-hero__title {
  color: #ffffff !important;               /* Blanco puro */
  background: transparent !important;
}

[data-theme="dark"] .service-hero__description {
  color: #e5e7eb !important;               /* Gris muy claro */
  background: transparent !important;
}

/* ===================================
   CONTRASTE MEJORADO PARA CARDS EN MODO OSCURO
   =================================== */
[data-theme="dark"] .massage-card,
[data-theme="dark"] .facial-card,
[data-theme="dark"] .waxing-card {
  background: #1e293b !important;          /* Superficie oscura */
  border-color: #475569 !important;        /* Borde visible */
  color: #f8fafc !important;               /* Texto claro */
}

[data-theme="dark"] .massage-card__title,
[data-theme="dark"] .facial-card__title,
[data-theme="dark"] .waxing-card__title {
  color: #f8fafc !important;               /* Blanco explícito */
  background: transparent !important;
}

[data-theme="dark"] .massage-card__description,
[data-theme="dark"] .facial-card__description,
[data-theme="dark"] .waxing-card__description {
  color: #cbd5e1 !important;               /* Gris claro explícito */
  background: transparent !important;
}

[data-theme="dark"] .massage-card__price,
[data-theme="dark"] .facial-card__price,
[data-theme="dark"] .waxing-card__price {
  color: #ff9dc4 !important;               /* Rosa claro explícito */
  background: transparent !important;
}

/* ===================================
   FORZAR CONTRASTE EN ELEMENTOS PROBLEMÁTICOS
   =================================== */
[data-theme="dark"] .section__title,
[data-theme="dark"] .section__subtitle,
[data-theme="dark"] .section__description {
  text-shadow: none !important;
  -webkit-text-fill-color: initial !important;
}

[data-theme="dark"] section,
[data-theme="dark"] .container,
[data-theme="dark"] .grid {
  background-color: inherit !important;
}

/* ===================================
   CORRECCIÓN ESPECÍFICA - PROCESS STEPS Y TECHNIQUE ITEMS
   =================================== */
[data-theme="dark"] .process-step {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .process-step__content h3 {
  color: #f8fafc !important;
  background: transparent !important;
}

[data-theme="dark"] .process-step__content p {
  color: #cbd5e1 !important;
  background: transparent !important;
}

[data-theme="dark"] .technique-item {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .technique-item h3 {
  color: #f8fafc !important;
  background: transparent !important;
}

[data-theme="dark"] .technique-item p {
  color: #cbd5e1 !important;
  background: transparent !important;
}

/* ===================================
   CORRECCIÓN ELEMENTOS ADICIONALES CON FONDO BLANCO
   =================================== */
[data-theme="dark"] .routine-item {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .routine-item h3,
[data-theme="dark"] .routine-item h4 {
  color: #f8fafc !important;
  background: transparent !important;
}

[data-theme="dark"] .routine-item p,
[data-theme="dark"] .routine-item li {
  color: #cbd5e1 !important;
  background: transparent !important;
}

[data-theme="dark"] .care-tab {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .care-tab h4,
[data-theme="dark"] .care-tab h3 {
  color: #f8fafc !important;
  background: transparent !important;
}

[data-theme="dark"] .care-tab p {
  color: #cbd5e1 !important;
  background: transparent !important;
}

[data-theme="dark"] .skincare-routine {
  background: var(--section-bg-2) !important;
}

[data-theme="dark"] .waxing-care {
  background: var(--section-bg-2) !important;
}

/* ===================================
   REGLAS PREVENTIVAS - EVITAR TEXTO BLANCO SOBRE FONDO BLANCO
   =================================== */
/* Cualquier elemento con fondo blanco hardcodeado */
[data-theme="dark"] *[style*="background: white"],
[data-theme="dark"] *[style*="background:#fff"],
[data-theme="dark"] *[style*="background: #fff"] {
  background: #1e293b !important;
  color: #f8fafc !important;
}

/* Elementos con clases que podrían tener fondos blancos */
[data-theme="dark"] .card,
[data-theme="dark"] .item,
[data-theme="dark"] .step,
[data-theme="dark"] .tab,
[data-theme="dark"] .box {
  background: #1e293b !important;
  color: #f8fafc !important;
}

/* Asegurar que todos los títulos y párrafos tengan buen contraste */
[data-theme="dark"] .card h1, [data-theme="dark"] .card h2, [data-theme="dark"] .card h3, [data-theme="dark"] .card h4,
[data-theme="dark"] .item h1, [data-theme="dark"] .item h2, [data-theme="dark"] .item h3, [data-theme="dark"] .item h4,
[data-theme="dark"] .step h1, [data-theme="dark"] .step h2, [data-theme="dark"] .step h3, [data-theme="dark"] .step h4,
[data-theme="dark"] .tab h1, [data-theme="dark"] .tab h2, [data-theme="dark"] .tab h3, [data-theme="dark"] .tab h4,
[data-theme="dark"] .box h1, [data-theme="dark"] .box h2, [data-theme="dark"] .box h3, [data-theme="dark"] .box h4 {
  color: #f8fafc !important;
  background: transparent !important;
}

[data-theme="dark"] .card p, [data-theme="dark"] .item p, [data-theme="dark"] .step p, [data-theme="dark"] .tab p, [data-theme="dark"] .box p {
  color: #cbd5e1 !important;
  background: transparent !important;
}

[data-theme="dark"] .service-hero__category {
  background: #d8b4fe !important;          /* Morado claro */
  color: #1f2937 !important;               /* Negro sobre morado claro */
}
