@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors from uploaded image */
  --color-primary: #6E63A5;      /* Deep Purple */
  --color-secondary: #B2A8D4;    /* Lavender */
  --color-accent: #F59893;       /* Coral/Salmon */
  --color-light-pink: #FBD9DF;   /* Light Pink */
  --color-pink: #E0ACCF;         /* Pink/Purple */
  
  /* UI Colors */
  --color-text: #2D2A3B;
  --color-text-light: #5A5672;
  --color-bg: #FFFFFF;
  --color-bg-alt: #FFF5F7; /* Very subtle pink tint matching brand */
  --color-white: #FFFFFF;
  
  /* Typography */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  
  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(110, 99, 165, 0.08);
  --shadow-md: 0 10px 20px -3px rgba(110, 99, 165, 0.12);
  --shadow-lg: 0 20px 25px -5px rgba(110, 99, 165, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg-alt {
  background: radial-gradient(circle at center, #FFFFFF 30%, var(--color-bg-alt) 100%);
}

.text-center { text-align: center; }
.text-light { color: var(--color-text-light); font-size: 18px;}
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Flexbox & Grid */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-family: var(--font-family);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(110, 99, 165, 0.39);
}

.btn-primary:hover {
  background-color: #5d538e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 99, 165, 0.23);
  color: var(--color-white);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(245, 152, 147, 0.39);
}

.btn-accent:hover {
  background-color: #e58782;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 152, 147, 0.23);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: padding var(--transition-normal), background var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(110, 99, 165, 0.1);
}

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

.logo-text {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text);
  font-size: 15px;
}

.nav-link:hover {
  color: var(--color-primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-alt) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
}

.blob-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background-color: var(--color-light-pink);
}

.blob-2 {
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background-color: var(--color-secondary);
  opacity: 0.3;
}

.hero-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: center;
}

.hero-title {
  font-size: 68px;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-placeholder {
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 16px;
  transform: rotate(2deg);
  transition: transform var(--transition-normal);
}

.hero-image-placeholder:hover {
  transform: rotate(0deg);
}

.hero-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 550px;
  object-fit: cover;
}

/* --- Cards (Servicios) --- */
.card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-icon-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.service-card-bg {
  position: relative;
  overflow: hidden;
  color: white;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.service-card-bg:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card-bg > * {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9);
}

.service-card-bg h3 {
  color: white;
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.service-card-bg p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.service-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.4);
  padding-top: 12px;
  margin-top: auto;
  color: white !important;
}

.card h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

/* --- Profile Cards (Especialistas) --- */
.profile-card {
  text-align: center;
  transition: transform var(--transition-normal);
}

.profile-card:hover {
  transform: translateY(-8px);
}

.profile-img-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-secondary) 100%);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-white);
}

.profile-info {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.profile-info h4 {
  font-size: 20px;
  margin-bottom: 4px;
}

.profile-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

.profile-desc {
  font-size: 14px;
  color: var(--color-text-light);
}

/* --- Video / Recomendaciones Cards --- */
.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: transform var(--transition-normal);
}

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

.video-placeholder {
  width: 160px;
  height: 100%;
  min-height: 140px;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-placeholder.bg-pink {
  background: var(--color-pink);
}

.play-btn {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  padding-left: 4px; /* optical alignment */
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.video-placeholder:hover .play-btn {
  transform: scale(1.1);
}

.video-info {
  padding: 24px;
}

.video-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* --- Testimonios --- */
.testimonial-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.quote-icon {
  font-size: 80px;
  line-height: 1;
  color: var(--color-light-pink);
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: serif;
  z-index: -1;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* --- Blog Cards --- */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

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

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 32px;
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-light-pink);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.blog-content h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.blog-content p {
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-size: 15px;
}

.read-more {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 15px;
}

.read-more:hover {
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 40px;
}

.footer-title {
  color: var(--color-white);
  font-size: 32px;
  margin-bottom: 16px;
}

.footer-subtitle {
  color: var(--color-light-pink);
  font-size: 20px;
  margin-bottom: 24px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* --- Marketing & Trust --- */
.trust-section {
  padding: 60px 0;
  background: var(--color-white);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  flex-wrap: wrap;
}

.trust-item {
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  flex: 1;
  min-width: 250px;
  border: 1px solid rgba(110, 99, 165, 0.15);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.trust-item:hover {
  transform: translateY(-4px);
}

.trust-number {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: 8px;
  line-height: 1;
}

.trust-item p {
  color: var(--color-text-light);
  font-weight: 500;
}

.cta-section {
  padding: 120px 0;
  margin-top: 40px;
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(224,172,207,0.1) 100%);
}

/* --- Internal Pages (Servicios, Especialistas, Blog) --- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 160px 0 80px;
}

.page-title {
  font-size: 48px;
  margin-bottom: 16px;
}

.page-subtitle {
  max-width: 600px;
  margin: 0 auto;
}

.service-detail {
  gap: 64px;
}

.service-text {
  flex: 1;
}

.service-image {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 16px;
}

.service-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.row-reverse {
  flex-direction: row-reverse;
}

.benefit-list {
  list-style: none;
  margin-bottom: 24px;
}

.benefit-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.profile-card-detailed {
  display: flex;
  gap: 32px;
  padding: 32px;
  border-radius: var(--radius-xl);
  align-items: flex-start;
}

.profile-img-detailed {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-img-detailed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info-detailed h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

/* Responsive */
.testimonial-carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
}
.testimonial-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.testimonial-carousel-track .testimonial-card {
  min-width: calc(33.333% - 20px);
  margin: 0 10px;
  box-sizing: border-box;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-accent);
  cursor: pointer;
  transition: background 0.3s;
}
.indicator.active {
  background: var(--primary-color);
}

@media (max-width: 992px) {
  .hero {
    align-items: flex-start;
  }
  .testimonial-carousel-track .testimonial-card {
    min-width: calc(100% - 20px);
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .nav {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail, .row-reverse {
    flex-direction: column;
    text-align: center;
  }

  .benefit-list li {
    text-align: left;
  }

  .profile-card-detailed {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-img {
    height: 400px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  h2 {
    font-size: 28px;
  }

  .page-title {
    font-size: 36px;
  }
}


