/* ============================================
   THAI CENTER EC - SISTEMA DE DISEÑO
   ============================================ */

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

:root {
  /* Colores Principales */
  --color-white: #FFFFFF;
  --color-sage: #8B9E87;
  --color-dark-green: #4A5D4A;
  --color-gold: #C9A961;
  --color-primary: #C6967F;
  --color-charcoal: #2C2C2C;

  /* Colores Secundarios */
  --color-beige: #F5F1E8;
  --color-light-sage: #E8EDE7;
  --color-cream: #FAF8F3;
  --color-soft-terracotta: #F4EBE6;

  /* Sombras */
  --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);

  /* Espaciado */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 40px;
  --spacing-xl: 6rem;

  /* Transiciones */
  --transition-smooth: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 200ms ease;
}

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

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-charcoal);
  line-height: 1.7;
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* === TIPOGRAFÍA === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

/* === CONTENEDORES === */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

/* === HEADER Y NAVEGACIÓN === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1rem 0;
  transform: translateY(-100%);
  opacity: 0;
}

.header.transparent {
  background-color: transparent;
  transform: translateY(-100%);
  opacity: 0;
}

.header.solid {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  opacity: 1;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.logo-img {
  height: 85px;
  width: auto;
  transition: var(--transition-fast);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--color-charcoal);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sage);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

/* Menú Hamburguesa */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger svg {
  width: 28px;
  height: 28px;
  color: var(--color-dark-green);
}

/* === BOTONES === */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
  background-color: #B8894E;
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
  background-color: var(--color-dark-green);
  transform: translateY(-2px);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-sage) 100%);
}

/* Decorative leaf elements */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 120px;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 Q70 30 60 50 Q50 70 50 90 Q50 70 40 50 Q30 30 50 10" fill="%238B9E87" opacity="0.1"/></svg>');
  background-size: contain;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 8%;
  width: 80px;
  height: 80px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 Q70 30 60 50 Q50 70 50 90 Q50 70 40 50 Q30 30 50 10" fill="%23C9A961" opacity="0.08"/></svg>');
  background-size: contain;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 2;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(74, 93, 74, 0.65) 0%,
      rgba(139, 158, 135, 0.45) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
  width: 90%;
  max-width: 900px;
  padding: 0px;
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  color: var(--color-white);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* === SECCIÓN BIENVENIDA === */
.welcome {
  background-color: var(--color-cream);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.welcome-decoration {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.lotus-icon {
  width: 60px;
  height: 60px;
  color: var(--color-gold);
  opacity: 1;
  overflow: visible;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.welcome-decoration:hover .lotus-icon {
  transform: scale(1.1);
}

.lotus-petal {
  transform-origin: 50px 90px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado Inicial: Flor "dormida" */
.lotus-petal-center {
  transform: scale(0.9);
  opacity: 0.9;
}

.lotus-petal-mid-left {
  transform: rotate(15deg) scale(0.85);
  opacity: 0.8;
}

.lotus-petal-mid-right {
  transform: rotate(-15deg) scale(0.85);
  opacity: 0.8;
}

.lotus-petal-out-left {
  transform: rotate(25deg) scale(0.8);
  opacity: 0.6;
}

.lotus-petal-out-right {
  transform: rotate(-25deg) scale(0.8);
  opacity: 0.6;
}

/* Estado Hover: Bucle de pétalos volando y disolviéndose */
.welcome-decoration:hover .lotus-petal-center {
  animation: fly-dissolve-center 3s infinite ease-out;
}

.welcome-decoration:hover .lotus-petal-mid-left {
  animation: fly-dissolve-left 3s infinite ease-out;
  animation-delay: 0.2s;
}

.welcome-decoration:hover .lotus-petal-mid-right {
  animation: fly-dissolve-right 3s infinite ease-out;
  animation-delay: 0.2s;
}

.welcome-decoration:hover .lotus-petal-out-left {
  animation: fly-dissolve-far-left 3s infinite ease-out;
  animation-delay: 0.4s;
}

.welcome-decoration:hover .lotus-petal-out-right {
  animation: fly-dissolve-far-right 3s infinite ease-out;
  animation-delay: 0.4s;
}

/* Keyframes para efecto de volar y disolver */
@keyframes fly-dissolve-center {
  0% {
    transform: scale(0.9) translateY(0);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.1) translateY(-10px);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.2) translateY(-25px);
    opacity: 0;
  }
}

@keyframes fly-dissolve-left {
  0% {
    transform: rotate(15deg) scale(0.85) translate(0, 0);
    opacity: 0.8;
  }

  50% {
    transform: rotate(5deg) scale(1) translate(-10px, -15px);
    opacity: 0.6;
  }

  100% {
    transform: rotate(0deg) scale(1.1) translate(-20px, -35px);
    opacity: 0;
  }
}

@keyframes fly-dissolve-right {
  0% {
    transform: rotate(-15deg) scale(0.85) translate(0, 0);
    opacity: 0.8;
  }

  50% {
    transform: rotate(-5deg) scale(1) translate(10px, -15px);
    opacity: 0.6;
  }

  100% {
    transform: rotate(0deg) scale(1.1) translate(20px, -35px);
    opacity: 0;
  }
}

@keyframes fly-dissolve-far-left {
  0% {
    transform: rotate(25deg) scale(0.8) translate(0, 0);
    opacity: 0.6;
  }

  50% {
    transform: rotate(10deg) scale(1) translate(-15px, -20px);
    opacity: 0.4;
  }

  100% {
    transform: rotate(0deg) scale(1.1) translate(-30px, -45px);
    opacity: 0;
  }
}

@keyframes fly-dissolve-far-right {
  0% {
    transform: rotate(-25deg) scale(0.8) translate(0, 0);
    opacity: 0.6;
  }

  50% {
    transform: rotate(-10deg) scale(1) translate(15px, -20px);
    opacity: 0.4;
  }

  100% {
    transform: rotate(0deg) scale(1.1) translate(30px, -45px);
    opacity: 0;
  }
}

.welcome p {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-dark-green);
  text-align: center;
}

/* === SECCIÓN BENEFICIOS === */
.benefits {
  background-color: var(--color-beige);
}

.benefits h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-dark-green);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.benefit-card {
  text-align: center;
  padding: var(--spacing-md);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-sage);
}

.benefit-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-dark-green);
}

.benefits-cta {
  text-align: center;
  margin-top: var(--spacing-lg);
}

/* === SECCIÓN SOBRE NOSOTROS === */
.about {
  background-color: var(--color-light-sage);
  position: relative;
}

/* Decorative element for about section */
.about::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 2%;
  width: 60px;
  height: 60px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 Q70 30 60 50 Q50 70 50 90 Q50 70 40 50 Q30 30 50 10" fill="%238B9E87" opacity="0.06"/></svg>');
  background-size: contain;
  z-index: 1;
}

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

/* Contenedor de imágenes */
.about-images {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.about-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.about-image-therapist {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.about-image-third {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.about-text h2 {
  color: var(--color-dark-green);
  margin-bottom: var(--spacing-md);
}

.about-text p {
  margin-bottom: var(--spacing-md);
}

.quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--color-sage);
  text-align: center;
  margin: var(--spacing-lg) 0;
  padding: var(--spacing-md);
  border-left: 4px solid var(--color-gold);
  background-color: var(--color-beige);
  border-radius: 8px;
}

/* === SECCIÓN SERVICIOS === */
.services {
  background: linear-gradient(180deg, var(--color-soft-terracotta) 0%, var(--color-cream) 100%);
}

.services h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--color-dark-green);
}

/* Featured Service - Large Asymmetric Card */
.service-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  margin-bottom: var(--spacing-xl);
  background-color: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 450px;
}

.service-featured-image {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-sage) 100%);
}

.service-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-featured:hover .service-featured-image img {
  transform: scale(1.05);
}

.service-featured-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-white);
}

.service-featured-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-dark-green);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.service-featured-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

/* Reverse variant - Image on the right */
.service-featured-reverse {
  grid-template-columns: 1fr 1.2fr;
}


/* Services Grid - Compact Cards */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.service-card-new {
  background: linear-gradient(135deg, var(--color-primary) 0%, #A67C68 100%);
  padding: var(--spacing-lg);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.service-card-new::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card-new:hover::before {
  opacity: 1;
  top: -25%;
  right: -25%;
}

.service-card-new:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #A67C68 0%, var(--color-primary) 100%);
}

.service-card-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.service-card-new h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.service-card-new p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-md);
}

.service-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  font-size: 1rem;
}

.service-link:hover {
  color: var(--color-white);
  gap: 0.75rem;
}

/* === SECCIÓN TESTIMONIOS === */
.testimonials {
  background-color: var(--color-beige);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-green);
}

.testimonials-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
  color: var(--color-charcoal);
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.testimonial {
  text-align: center;
  padding: var(--spacing-lg);
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
  pointer-events: none;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
  position: relative;
}

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

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-sage);
  opacity: 0.3;
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active {
  opacity: 1;
  background-color: var(--color-gold);
}

/* Calificación con estrellas */
.testimonial-rating {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.star-icon {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  fill: var(--color-gold);
}

/* Servicio recibido */
.testimonial-service {
  font-size: 0.875rem;
  color: var(--color-sage);
  font-weight: 600;
  text-align: center;
  margin-top: var(--spacing-xs);
  font-style: italic;
}

/* CTA para ver todas las reseñas */
.testimonials-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* === SECCIÓN FAQ === */
.faq {
  background-color: var(--color-cream);
}

.faq h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-dark-green);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-beige);
  margin-bottom: var(--spacing-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--spacing-md);
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark-green);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-sage);
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--color-sage);
  transition: var(--transition-fast);
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--color-charcoal);
}

/* === SECCIÓN CONTACTO === */
.contact {
  background-color: var(--color-beige);
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--spacing-sm);
  color: var(--color-dark-green);
}

.contact-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

/* Formulario */
.contact-form {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--color-dark-green);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--color-beige);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 158, 135, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: #E74C3C;
}

.form-error {
  color: #E74C3C;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.form-error.active {
  display: block;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Info de contacto */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: var(--color-sage);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-details h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark-green);
  margin-bottom: 0.25rem;
}

.contact-details p,
.contact-details a {
  color: var(--color-charcoal);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--color-sage);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-sage);
  color: var(--color-white);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--color-dark-green);
  transform: translateY(-4px);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.map-container {
  margin-top: var(--spacing-md);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 300px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === FOOTER === */
.footer {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
}

/* Decorative footer element */
.footer::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 100px;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 Q70 30 60 50 Q50 70 50 90 Q50 70 40 50 Q30 30 50 10" fill="%23C9A961" opacity="0.05"/></svg>');
  background-size: contain;
  z-index: 0;
}

.footer-logo {
  height: 140px;
  width: auto;
  margin-bottom: var(--spacing-md);
  filter: brightness(0) invert(1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.footer-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: var(--spacing-xs);
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* === BOTÓN FLOTANTE DE WHATSAPP === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  animation: float-whatsapp 3s ease-in-out infinite;
}

.whatsapp-button {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  text-decoration: none;
  position: relative;
}

.whatsapp-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse-ring 2s ease-out infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
  color: white;
  z-index: 1;
}

@keyframes float-whatsapp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* === MEJORAS AL FORMULARIO === */
.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(139, 158, 135, 0.1);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
  border-color: #6EAF7B;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236EAF7B' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-input:invalid:not(:placeholder-shown):not(:focus),
.form-textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #E07A5F;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E07A5F' stroke-width='3'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Modal de confirmación */
.form-success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.form-success-modal.active {
  opacity: 1;
  pointer-events: all;
}

.form-success-content {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 16px;
  max-width: 500px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.form-success-modal.active .form-success-content {
  transform: scale(1);
}

.form-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  color: #6EAF7B;
}

.form-success-content h3 {
  color: var(--color-dark-green);
  margin-bottom: var(--spacing-sm);
}

.form-success-content p {
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.form-success-content .btn {
  margin-top: var(--spacing-sm);
}

/* === UTILIDADES === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
  }

  .about-image {
    height: 300px;
  }

  .about-image-therapist {
    height: 250px;
  }

  .about-image-third {
    height: 300px;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .service-featured {
    grid-template-columns: 1fr;
    height: auto;
  }

  .service-featured-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-md);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    align-items: flex-start;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

  .hero {
    height: 100svh;
  }

  /* About images en móvil */
  .about-images {
    grid-template-columns: 1fr 1fr;
  }

  .about-image {
    grid-column: 1 / -1;
    height: 200px;
  }

  .about-image-therapist {
    height: 200px;
  }

  .about-image-third {
    height: 200px;
  }

  .services-grid-new {
    grid-template-columns: 1fr;
  }

  .service-featured-content h3 {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  /* WhatsApp flotante en móvil */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-button {
    width: 56px;
    height: 56px;
  }

  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }

  /* Formulario en móvil */
  .form-success-content {
    margin: 0 var(--spacing-md);
    padding: var(--spacing-md);
  }

  /* Touch targets mínimos */
  .btn {
    min-height: 44px;
    padding: 1rem 1.5rem;
  }

  .nav-link {
    padding: 1rem;
    display: block;
  }

  .faq-question {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .quote {
    font-size: 1.5rem;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }
}