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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to bottom, #d8b4fe, #c084fc, #a855f7);
  min-height: 100vh;
}

/* Header */
.header {
  position: relative;
  z-index: 20;
  padding: 1.5rem 1rem;
  transition: all 0.3s ease;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  gap: 3rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 300;
  transition: color 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.nav-link:hover {
  color: #e9d5ff;
}

.nav-right {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  border-radius: 0.25rem;
}

.social-icon:hover {
  color: #e9d5ff;
}

.social-icon i {
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(88, 28, 135, 0.2);
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 300;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 300;
  color: white;
  margin-bottom: 2rem;
  letter-spacing: 0.2em;
  opacity: 0.9;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: white;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 48rem;
  font-weight: 300;
}

.hero-button {
  background: #7c3aed;
  color: white;
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  border: 2px solid #8b5cf6;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.hero-button:hover {
  background: #6d28d9;
  border-color: #a78bfa;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Title */
.section-title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  color: white;
  text-align: center;
  margin-bottom: 4rem;
}

/* Terapias Section */
.terapias {
  position: relative;
  z-index: 10;
  padding: 5rem 1rem;
}

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

.terapia-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.terapia-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.terapia-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terapia-icon i {
  font-size: 3rem;
  color: #7c3aed;
}

.terapia-title {
  font-size: 2rem;
  font-weight: 300;
  color: #581c87;
  margin-bottom: 1rem;
}

.terapia-description {
  color: #7c3aed;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Testimonios Section */
.testimonios {
  position: relative;
  z-index: 10;
  padding: 5rem 1rem;
}

.testimonio-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 64rem;
  margin: 0 auto;
}

.quote-mark {
  font-size: 6rem;
  color: #a855f7;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.testimonio-text {
  font-size: 1.25rem;
  color: #581c87;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.quote-line {
  width: 4rem;
  height: 0.25rem;
  background: #a855f7;
  margin: 0 auto;
}

/* Contacto Section */
.contacto {
  position: relative;
  z-index: 10;
  padding: 5rem 1rem;
  text-align: center;
}

.contacto-description {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

.contacto-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .contacto-buttons {
    flex-direction: row;
  }
}

.whatsapp-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  color: white;
  font-size: 1.125rem;
  font-weight: 300;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.whatsapp-button.green {
  background: #10b981;
}

.whatsapp-button.green:hover {
  background: #059669;
}

.whatsapp-button.purple {
  background: #7c3aed;
}

.whatsapp-button.purple:hover {
  background: #6d28d9;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-circle {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.social-circle:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.social-circle.whatsapp i {
  color: #10b981;
  font-size: 2rem;
}

.social-circle.instagram i {
  color: #7c3aed;
  font-size: 2rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 10;
  padding: 2rem 1rem;
  text-align: center;
}

.footer p {
  color: white;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  background: #059669;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: none;
}

.floating-whatsapp i {
  color: white;
  font-size: 2rem;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Instagram Section */
.instagram-section {
  position: relative;
  z-index: 10;
  padding: 5rem 1rem;
}

.instagram-description {
  text-align: center;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 3rem;
  font-weight: 300;
  opacity: 0.9;
}

.instagram-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.instagram-post {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.instagram-post:hover {
  transform: scale(1.05);
}

.post-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

.post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139, 92, 246, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.instagram-post:hover .post-overlay {
  opacity: 1;
}

.post-overlay i {
  font-size: 3rem;
  color: white;
}

.instagram-cta {
  text-align: center;
}

.instagram-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 300;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.instagram-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.instagram-button i {
  font-size: 1.5rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-left {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .nav-right {
    gap: 1.5rem;
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .hero-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 2rem;
  }

  .terapias {
    padding: 3rem 1rem;
  }

  .terapias-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .terapia-card {
    padding: 1.5rem;
  }

  .terapia-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
  }

  .terapia-icon i {
    font-size: 2rem;
  }

  .terapia-title {
    font-size: 1.5rem;
  }

  .testimonios {
    padding: 3rem 1rem;
  }

  .testimonio-card {
    padding: 2rem 1.5rem;
  }

  .quote-mark {
    font-size: 4rem;
    margin-bottom: 1rem;
  }

  .testimonio-text {
    font-size: 1.125rem;
  }

  .contacto {
    padding: 3rem 1rem;
  }

  .contacto-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .contacto-buttons {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }

  .whatsapp-button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .social-icons {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .social-circle {
    width: 3.5rem;
    height: 3.5rem;
  }

  .social-circle i {
    font-size: 1.5rem;
  }

  .floating-whatsapp {
    width: 3.5rem;
    height: 3.5rem;
    bottom: 1rem;
    right: 1rem;
  }

  .floating-whatsapp i {
    font-size: 1.5rem;
  }

  .desktop-break {
    display: none;
  }

  .instagram-section {
    padding: 3rem 1rem;
  }

  .instagram-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .instagram-feed {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .post-overlay i {
    font-size: 2rem;
  }

  .instagram-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1rem 0.5rem;
  }

  .nav-left {
    gap: 0.5rem;
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.25rem;
  }

  .hero-content {
    padding: 1.5rem 0.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 15vw, 3rem);
    letter-spacing: 0.05em;
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 5vw, 1.25rem);
    letter-spacing: 0.1em;
  }

  .hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .container {
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }

  .terapias,
  .testimonios,
  .contacto {
    padding: 2rem 0.5rem;
  }

  .terapia-card,
  .testimonio-card {
    padding: 1.25rem;
  }

  .contacto-buttons {
    padding: 0 0.5rem;
  }

  .whatsapp-button {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .floating-whatsapp {
    width: 3rem;
    height: 3rem;
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .floating-whatsapp i {
    font-size: 1.25rem;
  }

  .button-text {
    font-size: 0.875rem;
  }

  .instagram-feed {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .instagram-post {
    border-radius: 0.5rem;
  }

  .post-image img,
  .post-overlay {
    border-radius: 0.5rem;
  }

  .post-overlay i {
    font-size: 1.5rem;
  }
}

@media (max-width: 320px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .nav-left {
    gap: 0.25rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .terapias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contacto-buttons {
    flex-direction: row;
    gap: 1rem;
  }

  .whatsapp-button {
    padding: 1rem 1.75rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .nav-link,
  .social-icon,
  .whatsapp-button,
  .social-circle {
    min-height: 44px;
    min-width: 44px;
  }

  .hero-button {
    min-height: 48px;
    padding: 1rem 2rem;
  }

  .floating-whatsapp {
    min-height: 56px;
    min-width: 56px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
