/**
 * Home Page Styles
 * 
 * @package Ucondieresis
 */

/* ============================================
   Smooth Scroll Behavior
   ============================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================
   Scroll Animations (IntersectionObserver)
   ============================================ */

/* Default animation state - hidden */
.section-header,
.home-ocasiones,
.featured__grid,
.inspiracion-card,
.cta__inner,
.contact-section__left,
.contact-section__right,
.contact-info__item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state - visible */
.section-header.animate-in,
.home-ocasiones.animate-in,
.featured__grid.animate-in,
.inspiracion-card.animate-in,
.cta__inner.animate-in,
.contact-section__left.animate-in,
.contact-section__right.animate-in,
.contact-info__item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children animation */
.animate-in-child {
  animation: fadeInSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

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

/* ============================================
   Global Section Header Pattern
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #6b7280;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* ============================================
   Premium Animation Keyframes
   ============================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleInSmooth {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Hero Letter Animation - Staggered Entry */
.hero__title.hero-animate .hero-letter {
  display: inline-block;
  animation: letterSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  will-change: transform, opacity;
}

/* Forzar color de marca en las letras del hero */
.hero__title.hero-animate .hero-letter {
  color: #07A1B0; /* actual: cian/teal solicitado */
  -webkit-text-fill-color: #07A1B0;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Hero Section - Premium Design
   ============================================ */
.hero {
  min-height: 90vh;
  background: rgb(223, 128, 255);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

/* Subtle grid overlay pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.06) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.06) 75%, rgba(255, 255, 255, 0.06) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.06) 25%, rgba(255, 255, 255, 0.06) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.06) 75%, rgba(255, 255, 255, 0.06) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  opacity: 0.6;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}

/* Hero Title - Premium Typography with Great Vibes Script */
.hero__title {
  font-family: 'Great Vibes', cursive;
  /* Base target: 48px (3rem). Responsive: scale with viewport but clamp between a readable minimum and 48px max. */
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  will-change: transform, opacity;
}

/* Animation class for title fade-up - DEPRECATED (now uses letter animation) */
.hero__title.fade-up {
  /* Animation handled by JS with per-letter stagger */
}

/* Hero Subtitle - Elegant & Light in Great Vibes */
.hero__subtitle {
  font-family: 'Great Vibes', cursive;
  /* Target subtitle approx 38px (2.375rem). Responsive with clamp for smaller screens. */
  font-size: clamp(1.25rem, 3.6vw, 2.375rem);
  font-weight: 400;
  margin-bottom: 48px;
  line-height: 1.4;
  opacity: 0.92;
  letter-spacing: 0;
  will-change: opacity;
}

/* Animation class for subtitle fade-in with delay */
.hero__subtitle.fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.3s both;
}

/* ============================================
   Occasions Section
   ============================================ */
.occasions {
  padding: 80px 20px;
  background: white;
}

.occasions__container {
  max-width: 1200px;
  margin: 0 auto;
}

.occasions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.occasion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: linear-gradient(135deg, #AB3DF5 0%, #9c2fec 100%);
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 150px;
}

.occasion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(171, 61, 245, 0.4);
}

.occasion-card__icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.occasion-card__title {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   Featured Products Section
   ============================================ */
.featured {
  padding: 80px 20px;
  background: #e8bcf0;
}

.featured__container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card__image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #AB3DF5 0%, #9c2fec 100%);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.product-card__content {
  padding: 20px;
}

.product-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.product-card__excerpt {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-card__link {
  display: inline-block;
  color: #AB3DF5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.product-card__link:hover {
  color: #9c2fec;
}

.featured__view-all {
  text-align: center;
  margin-top: 60px;
}

/* ============================================
   How to Buy Section
   ============================================ */
.how-to-buy {
  padding: 80px 20px;
  background: white;
}

.how-to-buy__container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-to-buy__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step__number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #AB3DF5 0%, #9c2fec 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.step__description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .step {
    position: relative;
  }

  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #AB3DF5 0%, #9c2fec 100%);
  }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #AB3DF5 0%, #9c2fec 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

/* WhatsApp Menu Container - CTA Section */
.cta__whatsapp-menu-container {
  position: relative;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Button */
.cta__whatsapp-button-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
  opacity: 1;
}

.cta__whatsapp-button-main:hover {
  transform: scale(1.08);
}

.cta__whatsapp-button-main:active {
  transform: scale(0.96);
}

.cta__whatsapp-button-main.is-hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* Fade out button when menu opens */
.cta__whatsapp-menu-container.is-open .cta__whatsapp-button-main {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Menu Container */
.cta__whatsapp-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  pointer-events: none;
}

/* Menu Items (vertical stack) */
.cta__whatsapp-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 25px;
  border: none;
  background: white;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  transform: translateX(20px) scale(0.7);
  pointer-events: none;
  white-space: nowrap;
}

.cta__whatsapp-menu-item-icon {
  display: block;
  line-height: 1;
  font-size: 20px;
  flex-shrink: 0;
}

.cta__whatsapp-menu-item-label {
  font-size: 13px;
  font-weight: 500;
  display: inline;
}

/* Expanded State */
.cta__whatsapp-menu-container.is-open .cta__whatsapp-menu-item {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.cta__whatsapp-menu-container.is-open .cta__whatsapp-menu-item--1 {
  transition-delay: 0.05s;
}

.cta__whatsapp-menu-container.is-open .cta__whatsapp-menu-item--2 {
  transition-delay: 0.1s;
}

.cta__whatsapp-menu-container.is-open .cta__whatsapp-menu-item--3 {
  transition-delay: 0.15s;
}

.cta__whatsapp-icon {
  font-size: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
}

/* Animations */
.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .cta__buttons {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--whatsapp {
  background: #25d366;
  color: white;
}

.btn--whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

.btn--primary {
  background: white;
  color: #667eea;
}

.btn--primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn--secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
}

/* ============================================
   Floating WhatsApp Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }

  .featured,
  .how-to-buy,
  .cta-section {
    padding: 60px 20px;
  }

  .hero__buttons,
  .cta__buttons {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cta__whatsapp-icon {
    font-size: 90px;
  }


}

/* ============================================
   Floating WhatsApp Button
   ============================================ */

/* Contenedor principal */
.whatsapp-floating-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.whatsapp-floating-container.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Botón principal circular */
.whatsapp-floating-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(115, 0, 153) 0%, rgb(155, 20, 200) 100%);
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(115, 0, 153, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  animation: whatsapp-button-enter 0.6s ease backwards;
}

.whatsapp-floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(115, 0, 153, 0.5);
}

.whatsapp-floating-button:active {
  transform: scale(0.95);
}

.whatsapp-floating-button[aria-expanded="true"] {
  background: linear-gradient(135deg, rgb(155, 20, 200) 0%, rgb(115, 0, 153) 100%);
}

.whatsapp-floating-button__icon {
  display: inline-block;
  line-height: 1;
}

/* If the floating button uses an <img> inside the icon wrapper */
.whatsapp-floating-button__icon img {
  width: 28px;
  height: 28px;
  display: block;
}

/* Tooltip dinámico (cápsula) */
.whatsapp-tooltip {
  background: white;
  color: #667eea;
  padding: 12px 20px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 1;
  transform: translateX(0) translateY(0);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: whatsapp-tooltip-enter 0.3s ease forwards;
}

.whatsapp-tooltip.is-hidden {
  display: none;
  opacity: 0;
  animation: whatsapp-tooltip-exit 0.3s ease forwards;
}

.whatsapp-tooltip__text {
  display: inline-block;
}

/* Menú Flotante Minimalista */
.whatsapp-menu {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: none;
}

.whatsapp-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 25px;
  border: none;
  background: white;
  color: #333;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 45px;
  height: 45px;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.7);
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}

.whatsapp-menu__item-icon {
  display: block;
  line-height: 1;
  font-size: 20px;
  flex-shrink: 0;
}

.whatsapp-menu__item-label {
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none;
}

.whatsapp-menu__item:hover {
  transform: translateY(20px) scale(0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Staggered expansion */
.whatsapp-menu__item--1.is-expanded {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition-delay: 0.05s;
  width: auto;
  padding: 8px 14px;
}

.whatsapp-menu__item--1.is-expanded .whatsapp-menu__item-label {
  display: inline;
  opacity: 1;
}

.whatsapp-menu__item--2.is-expanded {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition-delay: 0.1s;
  width: auto;
  padding: 8px 14px;
}

.whatsapp-menu__item--2.is-expanded .whatsapp-menu__item-label {
  display: inline;
  opacity: 1;
}

.whatsapp-menu__item--3.is-expanded {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition-delay: 0.15s;
  width: auto;
  padding: 8px 14px;
}

.whatsapp-menu__item--3.is-expanded .whatsapp-menu__item-label {
  display: inline;
  opacity: 1;
}

@keyframes whatsapp-button-enter {
  from {
    opacity: 0;
    transform: translateY(30px) translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes whatsapp-tooltip-enter {
  from {
    opacity: 0;
    transform: translateX(20px) translateY(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes whatsapp-tooltip-exit {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(20px) translateY(0);
  }
}

/* ============================================
   Inspiraciones Sociales Section
   ============================================ */
.home-inspiracion {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #f9fafb 100%);
  position: relative;
  overflow: hidden;
}

.home-inspiracion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="dots" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(102, 126, 234, 0.1)"/></pattern></defs><rect width="1200" height="600" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.home-inspiracion__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Carrusel de Inspiraciones */
.inspiracion-carousel-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.inspiracion-grid {
  display: flex;
  gap: 24px;
  margin: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  padding-right: 60px;
  scroll-snap-type: x mandatory;
  
  /* Ocultar scrollbar nativo pero mantener funcionalidad */
  scrollbar-width: none;
}

.inspiracion-grid::-webkit-scrollbar {
  display: none;
}

/* Card de Inspiración */
.inspiracion-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 0 0 240px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
}

.inspiracion-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.inspiracion-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.inspiracion-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.inspiracion-card:hover .inspiracion-card__image {
  transform: scale(1.08);
}

.inspiracion-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.inspiracion-card:hover .inspiracion-card__overlay {
  opacity: 1;
}

.inspiracion-card__link {
  display: inline-flex;
  text-decoration: none;
  outline: none;
}

.inspiracion-card__badge {
  background: white;
  color: #1a1a1a;
  padding: 10px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.inspiracion-card__link:hover .inspiracion-card__badge,
.inspiracion-card__link:focus .inspiracion-card__badge {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.badge-icon {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
}

.badge-text {
  display: inline;
}

.inspiracion-card__content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.inspiracion-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botones de Navegación del Carrusel */
.inspiracion-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.inspiracion-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
}

.inspiracion-carousel-btn:hover {
  background: #667eea;
  color: white;
  transform: scale(1.1);
}

.inspiracion-carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.inspiracion-carousel-btn:disabled:hover {
  background: white;
  color: #667eea;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .home-inspiracion {
    padding: 60px 20px;
  }

  .home-inspiracion__header {
    margin-bottom: 40px;
  }

  .home-inspiracion__title {
    font-size: 1.8rem;
  }

  .home-inspiracion__subtitle {
    font-size: 1rem;
  }

  .inspiracion-grid {
    gap: 16px;
    padding-right: 45px;
  }

  .inspiracion-card {
    flex: 0 0 180px;
  }

  .inspiracion-card__image-wrapper {
    height: 180px;
  }

  .inspiracion-card__content {
    padding: 12px;
  }

  .inspiracion-card__title {
    font-size: 0.9rem;
  }

  .inspiracion-card__overlay {
    opacity: 0.8;
  }

  .inspiracion-card__badge {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .badge-icon {
    font-size: 1rem;
  }

  .inspiracion-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .home-inspiracion {
    padding: 40px 16px;
  }

  .home-inspiracion__header {
    margin-bottom: 30px;
  }

  .home-inspiracion__title {
    font-size: 1.5rem;
  }

  .home-inspiracion__subtitle {
    font-size: 0.95rem;
  }

  .inspiracion-grid {
    gap: 12px;
    padding-right: 40px;
  }

  .inspiracion-card {
    flex: 0 0 160px;
  }

  .inspiracion-card__image-wrapper {
    height: 160px;
  }

  .inspiracion-carousel-nav {
    gap: 10px;
  }

  .inspiracion-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* ============================================
   CTA + Contact Section (Merged)
   ============================================ */

.cta-contact-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cta-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-contact-section__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-contact-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.cta-contact-section__title {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.cta-contact-section__subtitle {
  font-size: 18px;
  color: #666;
  margin: 16px 0 0;
  line-height: 1.6;
}

/* Two Column Grid */
.cta-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

/* Left Column: WhatsApp Card */
.cta-contact-grid__left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-whatsapp-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.cta-whatsapp-card__main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.cta-whatsapp-card__main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.cta-whatsapp-card__main-button:active {
  transform: translateY(0);
}

.cta-whatsapp-card__icon {
  font-size: 24px;
  display: inline-flex;
  align-items: center;
}

.cta-whatsapp-card__text {
  display: inline;
  line-height: 1.2;
}

/* WhatsApp Menu */
.cta-whatsapp-card__menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-whatsapp-card__menu[hidden] {
  display: none;
}

.cta-whatsapp-card__menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: white;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.cta-whatsapp-card__menu-item:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
  transform: translateX(4px);
}

.cta-whatsapp-card__menu-icon {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cta-whatsapp-card__menu-label {
  display: inline;
  flex-grow: 1;
}

.cta-whatsapp-card__subtitle {
  margin-top: 20px;
  color: #999;
  font-size: 14px;
  line-height: 1.4;
}

.cta-whatsapp-card__description {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}

/* Right Column: Contact Info Card */
.cta-contact-grid__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
}

.contact-info-card__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card__item:last-of-type {
  border-bottom: none;
}

.contact-info-card__icon {
  font-size: 28px;
  display: inline-flex;
  align-items: flex-start;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card__content {
  flex-grow: 1;
}

.contact-info-card__label {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.contact-info-card__text {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Map Wrapper */
.contact-info-card__map-wrapper {
  margin: 0 -32px -32px;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  height: 200px;
}

.contact-info-card__map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Directions Button */
.contact-info-card__directions-button {
  display: inline-block;
  margin-top: 24px;
  width: auto;
  padding: 12px 24px;
  font-size: 14px;
  text-align: center;
}

/* Scroll Animation States */
.cta-contact-section__header,
.cta-whatsapp-card,
.contact-info-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-contact-section__header.animate-in,
.cta-whatsapp-card.animate-in,
.contact-info-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .cta-contact-section {
    padding: 80px 24px;
  }

  .cta-contact-grid {
    gap: 40px;
  }

  .cta-contact-section__title {
    font-size: 32px;
  }

  .cta-contact-section__subtitle {
    font-size: 18px;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .cta-contact-section {
    padding: 60px 16px;
  }

  .cta-contact-section__header {
    margin-bottom: 40px;
  }

  .cta-contact-section__title {
    font-size: 28px;
  }

  .cta-contact-section__subtitle {
    font-size: 16px;
  }

  .cta-contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-whatsapp-card,
  .contact-info-card {
    padding: 24px;
  }

  .contact-info-card__map-wrapper {
    margin: 0 -24px -24px;
    height: 180px;
  }

  .contact-info-card__item {
    margin-bottom: 16px;
    padding-bottom: 16px;
  }
}
