@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alata&family=Comfortaa:wght@300..700&display=swap');

:root {
  --platinum: #e6e8e6;
  --platinum-dark: #ced0ce;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f5f5f7;
  --gray-mid: #8e8e93;
  --gold: #d4af37;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 8px 40px rgba(0, 0, 0, 0.08);
  --section-spacing: 80px;
  --font-family: "Alata", sans-serif;
  --overlay-gradient-start: rgba(0, 0, 0, 0.85);
  --overlay-gradient-mid: rgba(0, 0, 0, 0.7);
  --overlay-gradient-end: rgba(0, 0, 0, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.white-title{
  color: var(--white);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ==========================================================================
   HEADER & LOGO
   ========================================================================== */
.header {
  padding: 12px 0;
  position: relative;
  z-index: 1000;
  margin-left: 0;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.logo {
  max-width: 420px;
  height: auto;
  filter: contrast(1.1) brightness(1.05);
  transition: var(--transition);
  margin-left: 0;
}

.logo:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   VIDEO HERO SECTION - COMPLETAMENTE REPARADO
   ========================================================================== */
.video-hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--black);
  margin: 0;
  padding: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  -webkit-overflow-scrolling: touch;
}

/* Video posicionado a la izquierda */
.video-container {
  position: absolute;
  top: 0;
  left: 25px;  /* Cambiado de right a left */
  width: 50%;
  height: 90%;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(140%) brightness(110%) saturate(115%);
  transition: filter 0.5s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.video-container video:hover {
  filter: contrast(150%) brightness(115%) saturate(125%);
}

/* Overlay del video */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  z-index: 2;
  background: linear-gradient(180deg,
      var(--overlay-gradient-start) 0%,
      var(--overlay-gradient-mid) 50%,
      var(--overlay-gradient-end) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Contenido sobre el video */
.video-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8% 0 140px;
}

/* Contenedor del texto con fondo semitransparente */
.video-text {
  width: 45%;
  max-width: 798px;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(3px);
  color: white;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--white);
}

/* Título del video */
.video-title {
  font-family: var(--font-family);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2);
  margin: 0 0 20px 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtítulo del video */
.video-subtitle {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 3px 6px rgba(0, 0, 0, 0.3);
  margin: 0 0 30px 0;
  max-width: 600px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Botón CTA */
.video-cta-container {
  margin-top: 10px;
}

.video-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--white);
 background: var(--black);
  border: 2px solid var(--white);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.video-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.video-cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333333;
  z-index: -2;
  transition: background 0.3s ease;
  border-radius: 40px;
}

.video-cta-button:hover,
.video-cta-button:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.video-cta-button:hover::before,
.video-cta-button:focus::before {
  left: 100%;
}

.video-cta-button:hover::after,
.video-cta-button:focus::after {
  background: #222222;
}

.video-cta-button i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.video-cta-button:hover i,
.video-cta-button:focus i {
  transform: translateY(3px);
}

/* En el contenedor padre */
.parent-container {
  display: grid;
  place-items: center; /* Centra horizontal y verticalmente */
  padding-top: 20px;
}

/* Controles del video */
.video-controls {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 4;
  display: flex;
  gap: 15px;
  user-select: none;
}

.video-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
}

.video-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.video-btn:active {
  transform: scale(0.95);
}

.video-btn i {
  font-size: 1.2rem;
  -webkit-font-smoothing: antialiased;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ==========================================================================
   HERO SECTION (TEXTO PRINCIPAL)
   ========================================================================== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--white);
  min-height: 100vh;
  margin: 0;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 80px auto 0;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(30px);
  animation: titleReveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.8s;
}

.hero-subtitle {
  font-family: var(--font-family);
  font-size: 1.3rem;
  color: var(--gray-mid);
  margin-bottom: 50px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
  animation: subtitleReveal 1s ease forwards 1.2s;
}

/* ==========================================================================
   FEATURES SECTION (MEDICINA ESTÉTICA)
   ========================================================================== */
.hero-features {
  margin: 50px 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 16px;
  border: 1px solid var(--platinum);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--platinum-dark);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title {
  font-family: var(--font-family);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--black);
}

.feature-desc {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-desc strong {
  color: var(--black);
  font-weight: 600;
}

.hero-impact {
  margin: 50px 0;
  padding: 40px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--platinum) 100%);
  border-radius: 20px;
  text-align: center;
}

.impact-title {
  font-family: var(--font-family);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--black);
}

.impact-subtitle {
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.impact-subtitle strong {
  color: var(--black);
  font-weight: 600;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--platinum);
}

.benefit-icon {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text {
  color: var(--black);
  font-weight: 500;
  font-size: 0.95rem;
}

/* ==========================================================================
   CARRUSEL ANTES/DESPUÉS
   ========================================================================== */
.before-after-container {
  margin: 60px 0;
}

.before-after-carousel {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
}

.carousel-inner-beforeafter {
  position: relative;
  min-height: 500px;
}

.before-after-item {
  display: none;
  animation: fadeIn 0.5s ease;
}

.before-after-item.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}




.case-info {
  margin-top: 30px;
  text-align: center;
}

.case-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.case-description {
  color: var(--gray-mid);
  margin-bottom: 20px;
  line-height: 1.6;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 10px;
}

.detail-item {
  text-align: center;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--gray-mid);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
}

.carousel-controls-beforeafter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.prev-btn,
.next-btn {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--platinum);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.carousel-indicators-beforeafter {
  display: flex;
  gap: 10px;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--platinum-dark);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot.active {
  background: var(--black);
  transform: scale(1.2);
}

.clinical-disclaimer {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px;
  background: var(--gray-light);
  border-radius: 10px;
  text-align: center;
}

.disclaimer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
}

.disclaimer-text {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* ==========================================================================
   CTA BUTTONS
   ========================================================================== */
.cta-container {
  margin-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: ctaReveal 1s ease forwards 1.6s;
}

@keyframes ctaReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: var(--black);
  color: var(--white);
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--black);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-subtle);
}

.whatsapp-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.whatsapp-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
  z-index: -2;
  transition: all 0.3s ease;
}

.whatsapp-button:hover::before {
  left: 100%;
}

.whatsapp-button:hover::after {
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  transform: scale(1.02);
}

.whatsapp-button:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  border-color: #2a2a2a;
}

.whatsapp-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.1) rotate(5deg);
}

.cta-note {
  margin-top: 20px;
  color: var(--gray-mid);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta-note i {
  color: var(--gold);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-header-image {
  position: relative;
  width: 100vw;
  height: 400px;
  overflow: hidden;
  margin-bottom: 80px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.services-header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.header-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-image-content {
  text-align: center;
  color: var(--white);
  padding: 0 20px;
  max-width: 800px;
}

.header-image-title {
  font-family: var(--font-family);
  font-size: 2.8rem;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.header-image-subtitle {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.services-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-mid);
  line-height: 1.7;
}

.services-intro strong {
  color: var(--black);
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 18px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--platinum);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--platinum) 0%, var(--platinum-dark) 100%);
  transition: var(--transition);
}

.service-card:hover::before {
  width: 6px;
  background: linear-gradient(to bottom, var(--gold) 0%, #B38B2D 100%);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--platinum-dark);
}

.service-icon {
  font-size: 2.8rem;
  color: var(--black);
  margin-bottom: 25px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-name {
  font-family: var(--font-family);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--black);
  line-height: 1.3;
}

.service-desc {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px !important;
}




.treatment-item:last-child {
  text-align: left;           /* Cambiado de flex-start a left (más compatible) */
  align-items: flex-start !important;  /* Esto alinea los items hijos en la parte superior */
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* ==========================================================================
   ALINEACIÓN SUPERIOR FORZADA PARA TODAS LAS TARJETAS
   ========================================================================== */

/* Contenedor principal de la lista */
.service-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;    /* ALINEACIÓN SUPERIOR */
  justify-content: flex-start !important; /* ALINEACIÓN SUPERIOR */
  text-align: left !important;
  margin-top: 2px;
  width: 100%;
}

/* Cada item de tratamiento */
.treatment-item {
  display: flex !important;
  align-items: flex-start !important;    /* ÍCONO Y TEXTO ALINEADOS ARRIBA */
  justify-content: flex-start !important;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(206, 208, 206, 0.2);
  width: 100%;
}

/* Íconos */
.treatment-icon {
  color: var(--platinum-dark);
  font-size: 1rem;
  margin-top: 0 !important;              /* SIN MARGEN SUPERIOR */
  margin-bottom: 0 !important;
  flex-shrink: 0;
  min-width: 20px;
  line-height: 1.4;                       /* IGUAL QUE EL TEXTO */
  align-self: flex-start !important;      /* ALINEACIÓN SUPERIOR */
  display: inline-block;
}

/* Texto del tratamiento */
.treatment-name {
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;                        /* CONSISTENTE */
  text-align: left;
  flex: 1;
  margin-top: 0 !important;                /* SIN MARGEN SUPERIOR */
  align-self: flex-start !important;       /* ALINEACIÓN SUPERIOR */
}

/* Detalles adicionales si existen */
.treatment-detail {
  color: var(--gray-mid);
  font-size: 0.8rem;
  font-style: italic;
  display: block;
  line-height: 1.4;
  margin-top: 2px;
}

/* Features con iconos de check */
.diagnosis-features,
.skin-care-features,
.wellness-benefits,
.tattoo-removal-features {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;      /* ALINEACIÓN SUPERIOR */
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(206, 208, 206, 0.3);
  width: 100%;
}

/* Items de features */
.diagnosis-features .feature-item,
.skin-care-features .feature-item,
.wellness-benefits .benefit-item,
.tattoo-removal-features .feature-item {
  display: flex !important;
  align-items: flex-start !important;      /* ICONO Y TEXTO ARRIBA */
  gap: 10px;
  width: 100%;
  margin-bottom: 5px;
}

/* Iconos de check en features */
.diagnosis-features i,
.skin-care-features i,
.wellness-benefits i,
.tattoo-removal-features i {
  margin-top: 2px;                          /* PEQUEÑO AJUSTE VISUAL */
  flex-shrink: 0;
  line-height: 1.4;
}

/* Texto de features */
.feature-text,
.benefit-text {
  line-height: 1.4;
  text-align: left;
  flex: 1;
}

.treatment-highlight {
  color: var(--black);
  font-weight: 600;
  background: var(--platinum);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 5px;
  display: inline-block;
}

.services-conclusion {
  margin-top: 80px;
  padding: 50px;
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--platinum) 100%);
  border-radius: 20px;
  text-align: center;
}

.conclusion-content {
  max-width: 800px;
  margin: 0 auto;
}

.conclusion-icon {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 25px;
  opacity: 0.7;
}

.conclusion-text {
  font-size: 1.2rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 35px;
  font-style: italic;
}

.conclusion-text strong {
  color: var(--black);
  font-weight: 600;
}

.whatsapp-button-services {
  background: var(--black);
  color: var(--white);
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-button-services:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevated);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background: linear-gradient(to bottom, var(--white) 0%, var(--gray-light) 100%);
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-family);
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
  color: var(--black);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--platinum) 0%, var(--platinum-dark) 100%);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-item {
  background: var(--white);
  border-radius: 15px;
  border: 1px solid var(--platinum);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-elevated);
}

.faq-item.active {
  border-color: var(--platinum-dark);
}

.faq-question {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
}

.faq-title {
  font-family: var(--font-family);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--black);
  margin: 0;
  flex: 1;
  padding-right: 20px;
  line-height: 1.4;
}

.faq-toggle {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-toggle:hover {
  background: var(--platinum);
}

.faq-toggle i {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 25px 30px;
  max-height: 1000px;
}

.faq-answer p {
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 15px;
}

.faq-answer strong {
  color: var(--black);
  font-weight: 600;
}

.faq-answer ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.faq-answer li {
  color: var(--gray-mid);
  margin-bottom: 8px;
  line-height: 1.5;
}

.comparison-table {
  margin: 20px 0;
  background: var(--gray-light);
  border-radius: 10px;
  padding: 20px;
}

.comparison-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.comparison-col h4 {
  font-family: var(--font-family);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--black);
}

.faq-cta {
  text-align: center;
  margin-top: 80px;
  padding: 60px;
  background: linear-gradient(135deg, var(--white) 0%, var(--platinum) 100%);
  border-radius: 20px;
  border: 2px solid var(--platinum-dark);
}

.faq-cta-title {
  font-family: var(--font-family);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--black);
}

.faq-cta-text {
  font-size: 1.1rem;
  color: var(--gray-mid);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.faq-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.whatsapp-button-faq {
  background: var(--black);
  color: var(--white);
  padding: 16px 35px;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--black);
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.whatsapp-button-faq:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.phone-button-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  color: var(--black);
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--black);
}

.phone-button-faq:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   TECHNOLOGY SECTION
   ========================================================================== */
.technology-section {
  background: var(--white);
  padding: var(--section-spacing) 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.tech-card {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background: var(--gray-light);
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-elevated);
}

.tech-icon {
  font-size: 2.5rem;
  color: var(--black);
  margin-bottom: 20px;
}

.tech-name {
  font-family: var(--font-family);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--black);
}

.tech-desc {
  color: var(--gray-mid);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--platinum) 100%);
  padding: var(--section-spacing) 0;
}

.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow-subtle);
  margin: 0 10px;
  text-align: center;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-mid);
  margin-bottom: 25px;
  font-style: italic;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--platinum-dark);
  font-family: var(--font-family);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--platinum);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gray-mid);
}

.author-info h4 {
  font-weight: 600;
  color: var(--black);
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--gray-mid);
}

/* ==========================================================================
   HERO BANNER, HISTORY, ESSENCE, TEAM, ACCREDITATION
   ========================================================================== */
.hero-banner {
  position: relative;
  height: 60vh;
  min-height: 500px;
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/img/clinica-interior.jpg') center/cover no-repeat;
  opacity: 0.2;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.banner-title {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: var(--font-family);
}

.banner-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.history-section {
  padding: 100px 0;
  background: var(--white);
}

.history-timeline {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--platinum), var(--platinum-dark));
}

.timeline-item {
  display: flex;
  margin-bottom: 50px;
  position: relative;
}

.timeline-year {
  width: 60px;
  height: 60px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 40px;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  padding-top: 10px;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--black);
}

.essence-section {
  background: linear-gradient(135deg, var(--gray-light) 0%, var(--platinum) 100%);
  padding: 100px 0;
}

.essence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.essence-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.essence-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-elevated);
}

.essence-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 25px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.essence-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--black);
}

.team-section {
  padding: 100px 0;
  background: var(--white);
}

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

.team-member {
  text-align: center;
}

.member-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 25px;
  overflow: hidden;
  border: 3px solid var(--platinum);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--black);
}

.member-role {
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 15px;
}

.accreditation-section {
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
  color: var(--white);
  padding: 100px 0;
}

.accreditation-badge-large {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.accreditation-icon-large {
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 50px 0 30px;
  text-align: center;
  color: var(--gray-mid);
  font-size: 0.85rem;
  border-top: 1px solid rgba(206, 208, 206, 0.3);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 247, 0.95) 100%);
  position: relative;
  z-index: 2;
}

.footer p {
  margin: 10px 0;
  line-height: 1.5;
}

.footer strong {
  color: var(--black);
  font-weight: 500;
}

.footer-address {
  color: var(--gray-mid);
  font-size: 0.9rem;
  font-style: normal;
  letter-spacing: 0.3px;
}

.footer-copyright {
  margin-top: 15px;
  color: var(--gray-mid);
  font-size: 0.8rem;
}

.footer-dev {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(206, 208, 206, 0.2);
  color: var(--gray-mid);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.dev-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0 5px;
}

.dev-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 5px;
  right: 5px;
  height: 1px;
  background: var(--platinum-dark);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}

.dev-link:hover {
  color: var(--black);
}

.dev-link:hover::after {
  transform: scaleX(1);
}

.dev-desc {
  font-style: italic;
  color: var(--gray-mid);
  font-size: 0.7rem;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */
.loading-screen {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #090909 25%, #0a0a0a 50%, #141414 75%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, transparent 30%, rgba(255, 255, 255, 0.03) 70%, transparent 100%);
  animation: subtleGlow 8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes subtleGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.loading-logo {
  width: 440px;
  height: auto;
  max-width: 100%;
  animation: logoFadeIn 1.5s ease forwards, logoExplode 0.7s ease-out 1.5s forwards;
  opacity: 0;
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: scale(0.98); filter: brightness(0.8); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1.1); }
}

@keyframes logoExplode {
  0% { opacity: 1; transform: scale(1); filter: brightness(1.1); }
  30% { opacity: 1; transform: scale(1.2); filter: brightness(2) drop-shadow(0 0 30px white); }
  100% { opacity: 0; transform: scale(1.8); filter: brightness(3) drop-shadow(0 0 100px white); }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes subtitleReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes servicesReveal {
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible,
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   FORM ELEMENTS
   ========================================================================== */
.form-control.error {
  border-color: #ff4757 !important;
}

.error-message {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--platinum);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-mid);
  border-radius: 4px;
}

/* ==========================================================================
   FOCUS & SELECTION
   ========================================================================== */
:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

::selection {
  background-color: var(--gold);
  color: var(--white);
}

/* ==========================================================================
   SEO HELPER
   ========================================================================== */
.seo-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   FALLBACKS
   ========================================================================== */
@supports not (filter: brightness(1)) {
  .loading-logo {
    animation: logoFadeInNoFilter 1.5s ease forwards, logoExplodeNoFilter 0.7s ease-out 1.5s forwards;
  }
  
  @keyframes logoFadeInNoFilter {
    0% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
  }
  
  @keyframes logoExplodeNoFilter {
    0% { opacity: 1; transform: scale(1); }
    30% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1.8); }
  }
}

/* ==========================================================================
   WEBKIT SPECIFIC FIXES
   ========================================================================== */
@supports (-webkit-touch-callout: none) {
  .video-hero-section {
    height: -webkit-fill-available;
  }
  
  .video-container,
  .video-background,
  .video-overlay,
  .service-card,
  .features-card,
  .benefit-item {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .video-background {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* Firefox optimization */
@-moz-document url-prefix() {
  .video-btn {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.5) 100%);
  }
}

/* ==========================================================================
   DARK MODE SUPPORT
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  .video-btn {
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .video-cta-button {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .video-container video {
    filter: contrast(145%) brightness(115%) saturate(120%) hue-rotate(5deg);
  }
  
  .video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.6) 100%);
  }
}

@media (prefers-color-scheme: light) {
  .video-container video {
    filter: contrast(135%) brightness(105%) saturate(110%) drop-shadow(0 0 10px rgba(0,0,0,0.1));
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 50%, rgba(0, 0, 0, 0.7) 100%);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .loading-logo {
    animation: none;
    opacity: 1;
    transform: scale(1);
    filter: brightness(1);
  }
  
  .scroll-indicator,
  .video-cta-button,
  .whatsapp-button,
  .service-card,
  .faq-answer {
    animation: none;
    transition: none;
  }
  
  .scroll-indicator {
    animation: none;
  }
  
  .video-overlay {
    transition: none;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large Desktop */
@media (min-width: 1400px) {
  .loading-logo {
    width: 500px;
  }
}

/* Desktop 1200px */
@media screen and (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .video-content {
    padding: 0 60px;
  }
  
  .video-text {
    width: 50%;
    padding: 35px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .header-image-title {
    font-size: 2.4rem;
  }
}

/* Tablet Landscape / Small Desktop 992px */
@media screen and (max-width: 992px) {
  .video-content {
    padding: 0 40px;
  }
  
  .video-text {
    width: 55%;
    padding: 30px;
  }
  
  .video-title {
    font-size: 2rem;
  }
  
  .video-subtitle {
    font-size: 1.1rem;
  }
  
  .video-cta-button {
    padding: 10px 24px;
    font-size: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .hero-impact {
    padding: 30px 25px;
  }
  
  .case-details {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-header-image {
    height: 350px;
    margin-bottom: 60px;
  }
  
  .service-card {
    padding: 35px 25px;
  }
  
  .services-conclusion {
    padding: 40px 30px;
  }
  
  .faq-section {
    padding: 80px 0;
  }
  
  .faq-cta {
    padding: 50px 40px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .section {
    padding: 60px 0;
  }
}

/* Tablet Portrait 768px */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .video-hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    right: 0;
    height: 60%;
    margin-bottom: 0;
  }
  
  .video-overlay {
    height: 60%;
  }
  
  .video-content {
    position: relative;
    height: 40%;
    padding: 20px;
    justify-content: center;
    align-items: flex-start;
  }
  
  .video-text {
    width: 100%;
    max-width: 100%;
    padding: 25px;
    margin: 0;
    background: rgba(0, 0, 0, 0.7);
    border-left: none;
  }
  
  .video-title {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .video-subtitle {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
  }
  
  .video-cta-container {
    text-align: center;
  }
  
  .video-cta-button {
    padding: 12px 24px;
    font-size: 1rem;
    margin: 0 auto;
  }
  
  .video-controls {
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-indicator {
    bottom: 15px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .logo {
    max-width: 250px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-card {
    padding: 30px 25px;
  }
  
  .service-icon {
    font-size: 2.5rem;
    height: 70px;
  }
  
  .service-name {
    font-size: 1.3rem;
  }
  
  .diagnosis-features,
  .skin-care-features,
  .wellness-benefits,
  .tattoo-removal-features {
    grid-template-columns: 1fr;
  }
  
  .services-conclusion {
    padding: 35px 25px;
    margin-top: 60px;
  }
  
  .conclusion-text {
    font-size: 1.1rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .faq-column {
    gap: 20px;
  }
  
  .faq-question {
    padding: 20px 25px;
  }
  
  .faq-title {
    font-size: 1.1rem;
  }
  
  .faq-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .whatsapp-button-faq,
  .phone-button-faq {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .faq-cta {
    padding: 35px 25px;
    margin-top: 50px;
  }
  
  .faq-cta-title {
    font-size: 1.8rem;
  }
  
  .faq-cta-text {
    font-size: 1rem;
  }
  
  .header-image-title {
    font-size: 2rem;
  }
  
  .header-image-subtitle {
    font-size: 1rem;
  }
  
  .testimonial-slide {
    padding: 30px 20px;
  }
  
  .history-timeline::before {
    left: 20px;
  }
  
  .timeline-year {
    width: 50px;
    height: 50px;
    font-size: 1rem;
    margin-right: 30px;
  }
  
  .essence-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .essence-card,
  .team-member {
    padding: 30px 20px;
  }
  
  .banner-title {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .whatsapp-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .cta-note {
    flex-direction: column;
    gap: 5px;
  }
  
  .loading-logo {
    width: 320px;
    animation: logoFadeIn 1s ease forwards, logoExplode 0.5s ease-out 1s forwards;
  }
  
  .image-comparison {
    height: 350px;
  }
}

/* Mobile 576px */
@media screen and (max-width: 576px) {
  .video-title {
    font-size: 1.5rem;
  }
  
  .video-subtitle {
    font-size: 0.9rem;
  }
  
  .video-text {
    padding: 20px;
  }
  
  .video-btn {
    width: 40px;
    height: 40px;
  }
  
  .video-btn i {
    font-size: 1rem;
  }
  
  .video-controls {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .feature-icon {
    font-size: 2rem;
    height: 50px;
  }
  
  .feature-title {
    font-size: 1.2rem;
  }
  
  .impact-title {
    font-size: 1.6rem;
  }
  
  .impact-subtitle {
    font-size: 1rem;
  }
  
  .case-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .services-header-image {
    height: 250px;
    margin-bottom: 40px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .whatsapp-button-services {
    padding: 16px 30px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }
  
  .services-conclusion {
    padding: 30px 20px;
    margin-top: 50px;
  }
  
  .faq-question {
    padding: 18px 20px;
  }
  
  .faq-title {
    font-size: 1rem;
    padding-right: 15px;
  }
  
  .faq-toggle {
    width: 35px;
    height: 35px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 18px 20px;
  }
  
  .comparison-table {
    padding: 15px;
  }
  
  .faq-cta {
    padding: 30px 20px;
    margin-top: 40px;
  }
  
  .faq-cta-title {
    font-size: 1.6rem;
  }
  
  .header-image-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .header-image-subtitle {
    font-size: 0.95rem;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .image-comparison {
    height: 300px;
  }
  
  .loading-logo {
    width: 280px;
    animation: logoFadeInMobile 0.8s ease forwards, logoExplode 0.4s ease-out 0.8s forwards;
  }
  
  @keyframes logoFadeInMobile {
    0% { opacity: 0; transform: scale(0.95); filter: brightness(0.85); }
    100% { opacity: 1; transform: scale(1); filter: brightness(1.05); }
  }
}

/* Small Mobile 480px */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero {
    padding: 8px 0 60px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .logo {
    max-width: 200px;
  }
  
  .video-title {
    font-size: 1.3rem;
  }
  
  .video-subtitle {
    font-size: 0.85rem;
  }
  
  .video-text {
    padding: 15px;
  }
  
  .video-cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    gap: 8px;
  }
  
  .whatsapp-button {
    width: 100%;
    max-width: 320px;
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .benefit-item {
    padding: 10px 15px;
  }
  
  .banner-title {
    font-size: 1.8rem;
  }
  
  .loading-logo {
    width: 240px;
  }
}

/* Extra Small Mobile 375px */
@media screen and (max-width: 375px) {
  .video-title {
    font-size: 1.2rem;
  }
  
  .video-subtitle {
    font-size: 0.8rem;
  }
  
  .video-btn {
    width: 35px;
    height: 35px;
  }
  
  .video-cta-button {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
  
  .services-header-image {
    height: 220px;
  }
  
  .header-image-title {
    font-size: 1.6rem;
  }
  
  .treatment-item {
    flex-direction: column;
    gap: 8px;
  }
  
  .faq-cta-title {
    font-size: 1.4rem;
  }
  
  .loading-logo {
    width: 200px;
  }
}

/* Mobile Landscape */
@media screen and (orientation: landscape) and (max-height: 600px) {
  .video-content {
    padding: 0 30px;
  }
  
  .video-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  .video-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .video-cta-container {
    margin-top: 10px;
  }
  
  .hero {
    padding: 20px 0;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    margin-bottom: 30px;
  }
  
  .cta-container {
    margin-top: 30px;
  }
  
  .video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 25%, rgba(0, 0, 0, 0.65) 100%);
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .video-container video {
    filter: contrast(145%) brightness(112%) saturate(118%) drop-shadow(0 0 1px rgba(255, 255, 255, 0.1));
  }
  
  .video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.87) 0%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.52) 100%);
  }
}

/* Print Styles */
@media print {
  .video-hero-section,
  .video-controls,
  .video-cta-button,
  .video-btn,
  .scroll-indicator,
  .loading-screen {
    display: none !important;
  }
  
  .video-content {
    position: static;
    color: #000;
  }
}

/* ==========================================================================
   CORRECCIÓN DEFINITIVA - ALINEACIÓN SUPERIOR
   ========================================================================== */

.treatment-item {
  align-items: flex-start !important;
}

.treatment-icon {
  margin-top: 0 !important;
  align-self: flex-start !important;
}

.treatment-name {
  margin-top: 0 !important;
  align-self: flex-start !important;
}

.feature-item, .benefit-item {
  align-items: flex-start !important;
}

  .gallery-4fotos {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 30px;
        }
        .gallery-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        .gallery-item img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.3s ease;
        }
        .gallery-item:hover img {
            transform: scale(1.03);
        }
        .gallery-label {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
            color: white;
            padding: 20px 15px 10px;
            font-weight: 600;
            font-size: 1rem;
            text-align: center;
        }
        @media (max-width: 768px) {
            .gallery-4fotos {
                grid-template-columns: 1fr;
            }
        }
  