/* ==================== CSS VARIABLES ==================== */
:root {
  /* Colors */
  --color-primary: #36b7c6;
  --color-secondary: #8bc34a;
  --color-dark: #1a202c;
  --color-text: #718096;
  --color-text-light: #718096;
  --color-white: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-bg-card: #e8eef7;
  --color-footer-dark: #546e7a;

  /* Gradient */
  --gradient-primary: linear-gradient(50deg, #36b7c6 0%, #8bc34a 100%);
  --gradient-footer: linear-gradient(135deg, #798497 0%, #505a6c 100%);

  /* Typography */
  --font-family: "Poppins", sans-serif;
  --font-size-base: 16px;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-md: 15px;
  --font-size-lg: 18px;
  --font-size-xl: 22px;
  --font-size-2xl: 28px;
  --font-size-3xl: 40px;

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;
  --spacing-3xl: 80px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 20px;
}

/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ==================== UTILITIES ==================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-md);
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--color-bg-light);
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  text-align: center;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.section-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-light);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
}

.image-block {
  border-radius: var(--radius-xl);
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ==================== TOP HEADER ==================== */
.top-header {
  background: var(--gradient-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
}

.top-header-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 35px;
  gap: var(--spacing-sm);
  padding-right: 6%;
}

.top-header-left,
.top-header-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.top-header span {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-header-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top-header-item:hover {
  opacity: 0.75;
}

/* ==================== HEADER ==================== */
.header {
  background: var(--color-bg-light);
  padding: var(--spacing-xs) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.custom-logo {
  width: auto;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo img.custom-logo {
  max-height: 52px;
}

.nav {
  display: block;
}

.nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  padding: var(--spacing-md) 0;
  box-shadow: var(--shadow-md);
}

.nav-list {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: var(--spacing-md);
  padding: 0 var(--container-padding);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-light) !important;
}

.nav-link {
  font-size: var(--font-size-md);
  transition: opacity 0.3s ease;
  padding: var(--spacing-sm) 0;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-list a {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Línea animada */
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

/* Hover */
.nav-list a:hover {
  color: var(--color-primary);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list a.active {
  color: var(--color-primary);
}

.nav-list a.active::after {
  width: 100%;
}

.nav-social {
  display: none;
}

.header-icons {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}

.icon-btn {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  background: transparent;
  margin-left: var(--spacing-sm);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  gap: var(--spacing-xs);
  align-items: center;
  position: relative;
  padding-top: var(--spacing-2xl);
  z-index: 1;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  max-width: 14ch;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.hero-text p {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-light);
  text-align: left;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.hero-image {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-xl);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  min-height: 300px;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 30px 20px rgba(0, 0, 0, 0.15));
}

.hero-whatsapp-float {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 5;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero-whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.2);
}

/* Icono */
.hero-whatsapp-icon {
  width: 30px;
  height: 30px;
  background: rgba(113, 128, 150, 0.2);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-whatsapp-icon i {
  font-size: 20px;
  background: var(--gradient-primary);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  color: transparent;
}

/* Texto */
.hero-whatsapp-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

.hero-whatsapp-text .title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
}

.hero-whatsapp-text .subtitle {
  font-size: 12px;
  color: #718096;
}

/* ==================== STATS SECTION ==================== */
.stats {
  background: var(--gradient-primary);
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  align-items: center;
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: white;
}

.stat-icon {
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stat-icon svg {
  width: 50px;
  height: 50px;
  color: var(--gradient-primary);
}

.stat-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  display: block;
  margin-bottom: 4px;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-light);
  opacity: 0.95;
}

/* ==================== COMMITMENT SECTION ==================== */
.commitment {
  padding: var(--spacing-2xl) 0;
  background: var(--color-white);
}

.commitment-content {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
}

.commitment-image {
  border-radius: var(--radius-xl);
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.commitment-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.commitment-badge {
  position: absolute;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  text-align: center;
}

.commitment-badge-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.commitment-badge-text {
  font-size: var(--font-size-sm);
}

.commitment-text h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.commitment-text p {
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  font-size: var(--font-size-md);
}

.commitment-text ul {
  list-style: none;
  margin: var(--spacing-md) 0;
}

.commitment-text li {
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  padding: 6px 0;
  padding-left: var(--spacing-md);
  position: relative;
  font-size: var(--font-size-md);
}

.commitment-text li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: var(--font-weight-semibold);
}

.commitment-dots {
  display: flex;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

.commitment-list {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.commitment-list.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.treatments {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-light);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.treatment-card {
  background: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.treatments-slider {
  position: relative;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.treatment-card h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

.treatment-card p {
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
  font-size: var(--font-size-sm);
}

.treatment-card ul {
  list-style: none;
  margin-bottom: var(--spacing-xs);
}

.treatment-card li {
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  padding: 4px 0;
  padding-left: var(--spacing-md);
  position: relative;
  font-size: var(--font-size-sm);
}

.treatment-card li::before {
  content: "✓";
  color: var(--color-secondary);
  position: absolute;
  left: 0;
  font-weight: var(--font-weight-semibold);
}

.treatment-link {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
}

.treatment-link:hover {
  text-decoration: underline;
}

.treatment-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #e5e5e5;
  border-radius: 50%;
}

.treatment-icon img {
  width: 30px;
  height: 30px;
  display: block;
}

.treatments-viewport {
  overflow: hidden;
  width: 100%;
  padding-bottom: var(--spacing-sm);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.treatments-slide {
  flex: 0 0 100%;
}

.embla-treatments {
  position: relative;
}

.embla-treatments__viewport {
  overflow: hidden;
  width: 100%;
}

.embla-treatments__container {
  display: flex;
  gap: 18px;
}

.embla-treatments__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  padding-bottom: 10px;
}

.embla-treatments__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.embla-treatments__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.embla-treatments__dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-secondary);
}

/* ==================== SCHEDULE SECTION ==================== */
.schedule {
  padding: var(--spacing-2xl) 0;
  background: var(--gradient-primary);
}

.schedule .section-title,
.schedule .section-subtitle {
  color: var(--color-white);
  text-align: left;
}

.schedule .section-subtitle {
  max-width: initial;
  margin-bottom: var(--spacing-lg);
}
.section-subtitle {
  font-weight: var(--font-weight-light);
}

.schedule-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.schedule-table-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-md);
}

.schedule-table-wrapper h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  padding: var(--spacing-xs) var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
}

.schedule-table th,
.schedule-table td {
  padding: var(--spacing-xs) var(--spacing-sm);
  text-align: left;
  border-bottom: 1px solid var(--color-bg-light);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-light);
}

.schedule-table th {
  color: var(--color-dark);
  font-weight: var(--font-weight-semibold);
}

.schedule-table td {
  color: var(--color-text-light);
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-image {
  background: rgba(232, 238, 247, 0.5);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  text-align: left;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
  text-align: right;
}

.schedule-image {
  background: none;
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 100%;
}

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

/* ==================== BOOKING SECTION ==================== */
.booking {
  padding: var(--spacing-2xl) 0;
  background: var(--color-white);
}

.booking-steps {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.booking-step {
  background: var(--color-bg-light);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.step-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  display: block;
  margin-bottom: var(--spacing-sm);
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.booking-step h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
}

.booking-step p {
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-light);
}

/* ==================== TREATMENTS CARDS SECTION ==================== */
.treatments-cards {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-light);
}

.treatments-cards-grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(2, 1fr);
}

.treatment-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.treatment-card-image {
  background: var(--color-bg-card);
  height: 180px;
  display: flex;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.treatment-card-content {
  background: var(--gradient-primary);
  padding: var(--spacing-md);
  color: var(--color-white);
  text-align: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.treatment-card-content h3 {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--spacing-xs);
}

.treatment-card-content p {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--spacing-xs);
  opacity: 0.95;
}

.treatments-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.treatments-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.treatments-carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--color-secondary);
}

/* .treatments-card-carousel {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
} */

.treatments-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease-in-out;
}

.treatment-card-item:nth-child(4n) {
  margin-right: 0;
}

.treatments-card-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
}

.treatments-card-track {
  display: flex;
  gap: 0;
  transition: transform 0.4s ease-in-out;
}

/* .treatments-card-item {
  flex: 0 0 25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
} */

.treatments-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.treatments-card-image {
  background: var(--color-bg-card);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatments-card-content {
  background: var(--gradient-primary);
  padding: var(--spacing-md);
  color: var(--color-white);
  text-align: center;
}

/* .treatments-card-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--spacing-lg);
}

.treatments-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.treatments-card-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-secondary);
} */

.treatment-card-item .btn {
  padding: 8px 28px;
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
  background-color: var(--color-white);
}

p.treatment-price {
  margin-bottom: 20px;
  font-weight: var(--font-weight-medium);
}

.treatment-card-item .btn.treatment-cta:hover {
  filter: brightness(1.1);
}

.treatment-card-item .btn-treatments-cards-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  display: inline-block;
}

.treatment-card-item {
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  flex: 0 0 calc((100% - 60px) / 4);
  margin-right: 1.25rem;
}

.treatments-carousel {
  --cards-visible: 4;
}

.embla {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  overflow: visible;
}

.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 10px;
}

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

/* Botones de navegación */
.embla__prev,
.embla__next {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 15px 20px;
  cursor: pointer;
  font-size: 24px;
  z-index: 30;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.embla__prev {
  left: 20px;
}

.embla__next {
  right: 20px;
}

.embla__prev:hover,
.embla__next:hover {
  background: var(--color-secondary);
  color: #fff;
}

.embla__slide {
  flex: 0 0 25%; /* 100% ÷ 3 = 33.333% */
  min-width: 0;
  padding: 0 10px; /* Espacio entre slides */
}

.embla__slide {
  /* flex: 0 0 calc(25%); */
  min-width: 0;
  border-radius: 20px;
}

.embla__slide:last-child {
  margin-right: 0;
}

/* Contenedor de dots */
.embla__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

/* Cada dot individual */
.embla__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(0, 0, 0, 0.3);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

/* Dot al hacer hover */
.embla__dot:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.2);
}

/* Dot activo */
.embla__dot--selected {
  background: #333;
  border-color: #333;
  transform: scale(1.3);
}

/* Opcional: efecto de pulso en el dot activo */
.embla__dot--selected {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(51, 51, 51, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(51, 51, 51, 0);
  }
}

/* ================= EMBLA DOTS - DESIGN SYSTEM ================= */

.embla__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

/* Dot base */
.embla__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
}

/* Hover */
.embla__dot:hover {
  opacity: 0.8;
}

/* Active dot → pill */
.embla__dot--selected {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-secondary);
}

/* ==================== PROFESSIONAL UPDATE SECTION ==================== */
.professional-update {
  padding: var(--spacing-2xl) 0;
  background: var(--color-white);
}

.update-content {
  display: grid;
  gap: var(--spacing-xl);
  align-items: center;
}

.update-slider {
  overflow: hidden;
  width: 100%;
}

.update-slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.update-slide {
  min-width: 100%;
}

.update-slide ul {
  list-style: none;
}

.update-slide li {
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  padding: 6px 0;
  padding-left: var(--spacing-md);
  position: relative;
  font-size: var(--font-size-md);
}

.update-slide li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-weight: var(--font-weight-semibold);
}

.update-dots {
  display: flex;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.update-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.update-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

.update-text h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.update-text p {
  color: var(--color-text-light);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
  font-size: var(--font-size-md);
}

.update-image {
  border-radius: var(--radius-xl);
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.update-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.update-badge {
  position: absolute;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  text-align: center;
}

.update-badge-number {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.update-badge-text {
  font-size: var(--font-size-sm);
}

/* ==================== CTA SECTION ==================== */
.cta {
  padding: var(--spacing-2xl) 0;
  background: var(--gradient-footer);
  text-align: center;
}

.cta h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-md);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-light);
}

.testimonials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.testimonials-image img {
  width: 100%;
  margin: 0 auto;
  display: block;
}

.testimonials-slider {
  position: relative;
}

.testimonials-track {
  position: relative;
}

.testimonial-card {
  display: none;
}

.testimonial-card.active {
  display: block;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.testimonial-dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

.testimonial-card {
  background: var(--color-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
  min-height: 305px;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.testimonial-rating {
  color: var(--color-secondary);
  font-size: var(--font-size-md);
  margin-bottom: 4px;
}

.testimonial-author {
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  font-size: var(--font-size-md);
}

.testimonial-quote {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  font-size: 60px;
  color: var(--color-secondary);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-card {
  position: relative;
}

.testimonial-text {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-light);
}

.testimonial-footer {
  text-align: center;
}

/* ==================== BLOG SECTION ==================== */
.blog {
  background: var(--color-white);
}

.events {
  padding: var(--spacing-2xl) 0;
}

.blog-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-image {
  background: var(--color-bg-card);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  overflow: hidden;
}

.blog-content {
  padding: var(--spacing-lg);
}

.blog-content h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.blog-content p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-light);
}

.blog-content,
.blog-image img {
  position: static;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--gradient-footer);
  padding: var(--spacing-2xl) 0 var(--spacing-md);
  color: var(--color-white);
}

.footer-logo {
  margin-bottom: var(--spacing-md);
}


.footer-logo img.custom-logo {
  max-width: 110px;
  width: 100%;
  height: auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-content {
  display: grid;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-weight-light);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  transition: opacity 0.3s ease;
  display: block;
  padding: 4px 0;
}

.footer-section a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--spacing-md);
  text-align: center;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.7);
}

.carousel-dots {
  position: relative;
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-top: var(--spacing-md);
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--color-secondary);
  width: 24px;
  border-radius: 4px;
}

.text-gradient-primary {
  background: var(--gradient-primary);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  color: transparent;

  display: inline-block;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--font-weight-medium);
  transition: opacity 0.3s ease;
}

.footer-credit:hover {
  opacity: 0.7;
}

