/* ============================================
   TOTY'S MAGIC BOX - MAIN STYLES
   Premium Cinematographic Design
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Color Palette - Updated for Elegance */
  --rosa-principal: #E6A8B7;
  /* Dusty Rose */
  --rosa-claro: #F5D6DC;
  /* Blush Suave */
  --rosa-medio: #E6A8B7;
  /* Unified with Dusty Rose */
  --naranja: #F5D6DC;
  /* Replaced with Blush for consistency or soft accent */
  --dorado: #C8A45D;
  /* Soft Gold */
  --blanco-crema: #FAF7F4;
  /* Ivory Background */
  --blanco-puro: #ffffff;
  --texto-oscuro: #2F2F2F;
  /* Soft Charcoal */
  --texto-suave: #8C8C8C;
  /* Warm Gray */
  --sombra-suave: rgba(47, 47, 47, 0.05);
  /* Much softer shadow */
  --sombra-media: rgba(47, 47, 47, 0.1);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-accent: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --font-subtitle: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-elastic: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index layers */
  --z-cursor: 9999;
  --z-preloader: 9998;
  --z-header: 1000;
  --z-lightbox: 2000;
  --z-modal: 1500;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  max-width: 100vw;
  overflow-x: hidden;
}

html.has-scroll-smooth {
  overflow: hidden;
}

html.has-scroll-dragging {
  user-select: none;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--texto-oscuro);
  background-color: var(--blanco-crema);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.has-scroll-smooth body {
  overflow: hidden;
}

main {
  overflow-x: hidden;
  max-width: 100vw;
}

[data-scroll-container] {
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* Selection */
::selection {
  background-color: var(--rosa-principal);
  color: var(--blanco-puro);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--texto-oscuro);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.script-text {
  font-family: var(--font-script);
  font-weight: 400;
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background-color: var(--blanco-puro);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor.hover .cursor-inner {
  width: 12px;
  height: 12px;
  background-color: var(--rosa-principal);
}

.cursor.hover .cursor-outer {
  width: 60px;
  height: 60px;
  border-color: var(--rosa-principal);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: var(--z-preloader);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-half {
  position: absolute;
  width: 50%;
  height: 100%;
  background-color: var(--rosa-principal);
}

.preloader-left {
  left: 0;
}

.preloader-right {
  right: 0;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  width: 150px;
  height: auto;
  animation: pulse 1.5s ease-in-out infinite;
  display: block;
  /* Ensure it behaves as a block in flex context if needed */
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  margin-top: var(--spacing-md);
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.preloader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blanco-puro), var(--dorado));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--rosa-principal), var(--rosa-claro), var(--dorado));
  z-index: calc(var(--z-header) + 1);
  transition: width 0.1s linear;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  z-index: var(--z-header);
  transition: all var(--transition-slow);
}

.header.scrolled {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px var(--sombra-suave);
}

.header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.header-logo {
  width: 120px;
  height: auto;
  transition: transform var(--transition-base);
}

.header.scrolled .header-logo {
  width: 80px;
}

.header-logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: var(--spacing-md);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--spacing-xs) 0;
  position: relative;
  color: var(--texto-oscuro);
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rosa-principal), var(--rosa-claro));
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--rosa-principal);
}

.btn-cta {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--rosa-principal);
  /* Soft border */
  border-radius: var(--radius-full);
  color: var(--texto-oscuro);
  background: transparent;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-cta:hover {
  background-color: var(--rosa-principal);
  color: var(--blanco-puro);
  border-color: var(--rosa-principal);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--sombra-suave);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  z-index: 10;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--texto-oscuro);
  transition: all var(--transition-base);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  /* Prevent layout shifts */
  contain: layout paint;
  content-visibility: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blanco-crema);
  padding-top: 120px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.15;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--dorado) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: float 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 var(--spacing-md);
}

.hero-title {
  margin-bottom: var(--spacing-md);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--texto-oscuro);
  /* Responsive font sizes */
  font-size: 2.25rem;
  /* 36px mobile */
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
    /* 48px tablet */
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
    /* 60px desktop */
  }
}

@media (min-width: 1440px) {
  .hero-title {
    font-size: 4.5rem;
    /* 72px extra large */
  }
}

.hero-title .line {
  display: block;
  overflow: hidden;
  line-height: 1.2;
  min-height: 1.2em;
  /* Reserve space for text */
}

.hero-title .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* Regular text - Playfair Display Bold */
.hero-title .word-regular {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--texto-oscuro);
}

/* Gradient text - "momentos mágicos" */
.hero-title .word-gradient {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rosa-principal);
  /* Solid Dusty Rose */
}

/* Script text - "recuerdos inolvidables" */
.hero-title .word-script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--rosa-principal);
  /* Larger responsive sizes for script */
  font-size: 3rem;
  /* 48px mobile */
}

@media (min-width: 768px) {
  .hero-title .word-script {
    font-size: 3.75rem;
    /* 60px tablet */
  }
}

@media (min-width: 1024px) {
  .hero-title .word-script {
    font-size: 4.5rem;
    /* 72px desktop */
  }
}

@media (min-width: 1440px) {
  .hero-title .word-script {
    font-size: 6rem;
    /* 96px extra large */
  }
}

/* Hero Decorations - Stars and Dots */
.hero-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-star {
  position: absolute;
  font-size: 1.5rem;
  color: var(--dorado);
  animation: twinkle 2s ease-in-out infinite;
  will-change: transform, opacity;
  /* Optimization */
}

.hero-star.star-1 {
  top: 25%;
  left: 15%;
  font-size: 1.2rem;
  animation-delay: 0s;
}

.hero-star.star-2 {
  top: 20%;
  right: 20%;
  font-size: 1rem;
  animation-delay: 0.5s;
}

.hero-star.star-3 {
  top: 35%;
  left: 45%;
  font-size: 1.8rem;
  animation-delay: 1s;
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  background-color: var(--rosa-principal);
  will-change: transform, opacity;
  /* Optimization */
}

.hero-dot.dot-1 {
  width: 8px;
  height: 8px;
  top: 30%;
  right: 15%;
  opacity: 0.6;
}

.hero-dot.dot-2 {
  width: 6px;
  height: 6px;
  top: 45%;
  left: 10%;
  opacity: 0.4;
}

.hero-dot.dot-3 {
  width: 10px;
  height: 10px;
  bottom: 35%;
  right: 25%;
  opacity: 0.5;
}

.hero-dot.dot-4 {
  width: 5px;
  height: 5px;
  bottom: 40%;
  left: 20%;
  opacity: 0.3;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-subtitle {
  font-family: var(--font-subtitle);
  font-size: 1.125rem;
  /* 18px mobile */
  color: var(--texto-suave);
  line-height: 1.6;
  max-width: 672px;
  margin: 0 auto var(--spacing-lg) auto;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
    /* 20px tablet */
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.5rem;
    /* 24px desktop */
  }
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 3rem;
  background: var(--rosa-principal);
  /* Solid Dusty Rose */
  color: var(--blanco-puro);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  opacity: 0;
  /* Animated by JS/CSS entry */
  box-shadow: 0 10px 30px var(--sombra-suave);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  /* Subtle shimmer */
  transition: 0.5s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  background-color: var(--dorado);
  /* Soft Gold on hover */
  box-shadow: 0 15px 40px var(--sombra-media);
  border-color: transparent;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  opacity: 0;
}

.hero-scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--texto-suave);
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--rosa-principal);
  border-bottom: 2px solid var(--rosa-principal);
  transform: rotate(45deg);
  animation: scrollArrow 1.5s ease-in-out infinite;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
  padding: 5rem 0;
  /* Reduced from spacing-xl */
  position: relative;
}

/* Section transitions removed - kept clean for now */

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-label {
  display: block;
  font-family: var(--font-script);
  font-size: 3.5rem;
  /* Smaller than 5.5rem */
  color: var(--rosa-principal);
  text-transform: none;
  margin-bottom: var(--spacing-xs);
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  /* Medium weight */
  color: var(--texto-oscuro);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.text-gradient {
  color: var(--rosa-principal);
  /* Solid Dusty Rose */
}

.section-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  /* Smaller, elegant */
  font-weight: 300;
  color: var(--texto-suave);
  /* Warm Gray */
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--blanco-crema);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: var(--spacing-md);
  box-shadow:
    0 4px 30px var(--sombra-suave),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-slow);
  transform-style: preserve-3d;
  perspective: 1000px;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, var(--rosa-principal), var(--rosa-claro), var(--dorado));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover {
  box-shadow:
    0 20px 60px var(--sombra-media),
    0 10px 20px rgba(255, 102, 191, 0.15);
  transform: translateY(-10px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.service-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
  aspect-ratio: 4/3;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(240, 45, 114, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover .service-image-overlay {
  opacity: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--rosa-claro), var(--rosa-principal));
  color: var(--blanco-puro);
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
  transition: transform var(--transition-elastic);
}

.service-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--texto-oscuro);
}

.service-divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--rosa-principal), var(--dorado));
  margin-bottom: var(--spacing-sm);
  transition: width var(--transition-base);
}

.service-card:hover .service-divider {
  width: 80px;
}

.service-description {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rosa-principal);
  transition: all var(--transition-base);
}

.service-link span {
  transition: transform var(--transition-base);
}

.service-link:hover span {
  transform: translateX(5px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: var(--blanco-crema);
  overflow: hidden;
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 45, 114, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.about::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 180, 66, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid var(--rosa-claro);
  border-radius: var(--radius-xl);
  opacity: 0.5;
  z-index: -1;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--rosa-principal), var(--dorado));
  border-radius: var(--radius-xl);
  opacity: 0.2;
  z-index: -2;
}

.about-image {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(240, 45, 114, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.02);
  box-shadow: 0 35px 80px rgba(240, 45, 114, 0.25);
}

.about-image-decoration {
  display: none;
}



.about-content {
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(240, 45, 114, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.about-script {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--rosa-principal);
  margin-bottom: var(--spacing-md);
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--texto-suave);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: var(--spacing-md);
}

.about-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--rosa-principal), var(--rosa-claro), var(--dorado));
  border-radius: 2px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.about-value {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  border-radius: var(--radius-md);
  border: 1px solid rgba(240, 45, 114, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--texto-oscuro);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(240, 45, 114, 0.1), rgba(255, 180, 66, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-value:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(240, 45, 114, 0.15);
  border-color: rgba(240, 45, 114, 0.3);
}

.about-value:hover::before {
  opacity: 1;
}

.about-visuals {
  position: relative;
  z-index: 1;
  width: 100%;
}

.about-visuals::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--rosa-principal), var(--dorado));
  border-radius: 20px;
  opacity: 0.2;
  z-index: -1;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.about-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Ensure decoration stays on top if desired, or adjust z-index */
.about-image-decoration {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 100px;
  /* Estimated size or use existing */
  height: 100px;
  border: 3px solid var(--rosa-claro);
  border-radius: 20px;
  opacity: 0.5;
  z-index: -1;
  /* Restore the decoration box */
  display: block;
}

.about-value-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(240, 45, 114, 0.15), rgba(255, 180, 66, 0.15));
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.about-value:hover .about-value-icon {
  transform: scale(1.15) rotate(10deg);
  background: linear-gradient(135deg, rgba(240, 45, 114, 0.25), rgba(255, 180, 66, 0.25));
  box-shadow: 0 5px 15px rgba(240, 45, 114, 0.2);
}

.about-value span:last-child {
  position: relative;
  z-index: 1;
}

/* Mobile stacking */
@media (max-width: 991px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .about-content {
    padding: var(--spacing-sm);
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .about-visuals {
    max-width: 100%;
    overflow: hidden;
  }

  .about-visuals::after {
    display: none;
  }

  .about-image-wrapper {
    overflow: hidden;
    max-width: 100%;
  }

  .about-image-wrapper::before,
  .about-image-wrapper::after {
    display: none;
  }

  .about-image {
    height: 300px;
    max-width: 100%;
  }

  .about-image-decoration {
    display: none;
  }

  .about-script {
    font-size: 1.75rem;
    word-wrap: break-word;
  }

  .about-text {
    text-align: center;
    padding-left: 0;
  }

  .about-text::before {
    display: none;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .about-value {
    justify-content: center;
  }
}

/* ============================================
   TIMELINE SECTION
/* ============================================
   PROCESS/TIMELINE SECTION
   ============================================ */
.timeline-section {
  background: linear-gradient(180deg, var(--blanco-crema) 0%, var(--blanco-puro) 100%);
  padding: var(--spacing-lg) 0;
}

.timeline-section {
  background: var(--blanco-crema);
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.process-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-sm);
  gap: var(--spacing-sm);
}

/* Connecting line background */
.process-grid::before {
  content: '';
  position: absolute;
  top: 100px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: repeating-linear-gradient(90deg, #e0e0e0 0, #e0e0e0 10px, transparent 10px, transparent 20px);
  z-index: 0;
}

.process-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 var(--spacing-xs);
  overflow: visible;
}

/* Hover target area fix */
.process-card::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  right: -10px;
  z-index: -1;
}

.process-card-icon {
  width: 80px;
  height: 80px;
  background: var(--blanco-puro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft shadow */
  border: 4px solid var(--blanco-puro);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Colored ring around icon */
.process-card-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--rosa-principal), var(--dorado)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: all 0.4s ease;
}

/* Number badge */
.process-card-number {
  position: absolute;
  top: -10px;
  right: -5px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--rosa-principal), var(--rosa-claro));
  color: var(--blanco-puro);
  border-radius: 50%;
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--blanco-puro);
  box-shadow: 0 5px 15px rgba(240, 45, 114, 0.3);
  opacity: 1;
  transform: rotate(-10deg);
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.process-card:hover .process-card-number {
  transform: rotate(0deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(240, 45, 114, 0.4);
}

.process-card:hover .process-card-icon {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 15px 35px rgba(240, 45, 114, 0.2);
}

.process-card:hover .process-card-icon::before {
  opacity: 1;
  inset: -8px;
}

.process-card-title {
  font-family: var(--font-body);
  /* Poppins */
  font-size: 1.3rem;
  color: var(--texto-oscuro);
  margin-bottom: var(--spacing-xs);
  padding: 0 var(--spacing-xs);
  transition: color 0.3s ease;
  font-weight: 600;
}

.process-card:hover .process-card-title {
  color: var(--rosa-principal);
}

.process-card-text {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.5;
  padding: 0 var(--spacing-xs);
}

.process-card-decoration {
  display: none;
  /* Hide old decoration */
}

/* Responsive Vertical Timeline */
@media (max-width: 900px) {
  .process-grid {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 0;
  }

  /* Vertical Line */
  .process-grid::before {
    top: 20px;
    bottom: 20px;
    left: 58px;
    right: auto;
    width: 4px;
    height: auto;
    background: repeating-linear-gradient(180deg, #e0e0e0 0, #e0e0e0 10px, transparent 10px, transparent 20px);
  }

  .process-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    margin-bottom: var(--spacing-lg);
    width: 100%;
  }

  .process-card-icon {
    width: 80px;
    height: 80px;
    margin-right: var(--spacing-md);
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .process-card-number {
    right: -5px;
    top: -5px;
  }

  .process-card-content-wrapper {
    padding-top: var(--spacing-xs);
  }

  .process-card:last-child {
    margin-bottom: 0;
  }
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
  background-color: var(--blanco-crema);
  overflow: hidden;
}

/* ============================================
   INFINITE MARQUEE GALLERY
   ============================================ */
.gallery-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 3rem 0;
  /* Soft fade mask on edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  background: v;
  /* Optional background inside container if needed */
}

.marquee-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* Space between rows */
  width: 100%;
}

.marquee-row {
  display: flex;
  gap: 20px;
  /* Space between cards */
  width: max-content;
  will-change: transform;
}

/* Animations */
.marquee-left {
  animation: scrollLeft 60s linear infinite;
}

.marquee-right {
  animation: scrollRight 60s linear infinite;
}

/* Hover Slowdown is handled by JS Web Animations API for smoothness */

@keyframes scrollLeft {
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* Marquee Card Styling */
.marquee-card {
  position: relative;
  border-radius: var(--radius-md);
  /* Discrete rounded */
  overflow: hidden;
  flex-shrink: 0;
  /* Gradient Border */
  padding: 4px;
  /* White border */
  background: var(--blanco-puro);
  box-shadow: 0 10px 20px var(--sombra-suave);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
  /* Indicate clickable */
}

.marquee-card:hover {
  transform: scale(1.02);
  /* Less aggressive */
  box-shadow: 0 15px 30px var(--sombra-media);
  z-index: 10;
}

/* Irregular Aspect Ratios */
.marquee-card.landscape {
  width: 280px;
  height: 180px;
  aspect-ratio: 16/9;
}

.marquee-card.portrait {
  width: 140px;
  /* Thinner to maintain height ~180px */
  height: 180px;
  aspect-ratio: 3/4;
}

.marquee-card.square {
  width: 180px;
  height: 180px;
  aspect-ratio: 1/1;
}

.marquee-card.ultrawide {
  width: 360px;
  height: 180px;
  aspect-ratio: 21/9;
}



.marquee-image-wrapper {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 9px;
  /* 12px - 3px padding */
  overflow: hidden;
  position: relative;
}

.marquee-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.marquee-card:hover img {
  transform: scale(1.1);
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
  .gallery-marquee-container {
    padding: 2rem 0;
    -webkit-mask-image: none;
    /* Remove mask on mobile if detailed view needed, or keep it */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  }

  /* Fixed height for mobile uniformity or scaled down variations? */
  /* Let's scale down but keep ratios */

  .marquee-card.landscape {
    width: 200px;
    height: 120px;
  }

  .marquee-card.portrait {
    width: 90px;
    height: 120px;
  }

  .marquee-card.square {
    width: 120px;
    height: 120px;
  }

  .marquee-card.ultrawide {
    width: 260px;
    height: 120px;
  }

  .marquee-row {
    gap: 15px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.9);
  transition: transform var(--transition-slow);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blanco-puro);
  border: 2px solid var(--blanco-puro);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.lightbox-close:hover {
  background-color: var(--rosa-principal);
  border-color: var(--rosa-principal);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blanco-puro);
  border: 2px solid var(--blanco-puro);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.lightbox-nav:hover {
  background-color: var(--rosa-principal);
  border-color: var(--rosa-principal);
}

.lightbox-prev {
  left: var(--spacing-md);
}

.lightbox-next {
  right: var(--spacing-md);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--rosa-claro);
  /* Blush background */
  padding: var(--spacing-xl) 0;
  overflow: hidden;
  position: relative;
  /* Soft fade mask */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 120px, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0px, black 120px, black 100%);
}

/* Animated background orbs */
.testimonials::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: moveOrb1 8s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(230, 168, 183, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: moveOrb2 10s infinite alternate ease-in-out;
  pointer-events: none;
  z-index: 0;
}

@keyframes moveOrb1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(20%, 20%) scale(1.15);
  }
}

@keyframes moveOrb2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-20%, -20%) scale(1.2);
  }
}

.testimonials .section-header {
  color: var(--texto-oscuro);
  position: relative;
  z-index: 1;
}

.testimonials .section-label {
  font-family: var(--font-script);
  font-size: 3.5rem;
  color: var(--rosa-principal);
  text-transform: none;
  margin-bottom: var(--spacing-xs);
  display: block;
  text-shadow: none;
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.testimonials .section-label,
.testimonials .section-title,
.testimonials .section-subtitle {
  color: inherit;
}

.testimonials .section-title {
  color: var(--texto-oscuro);
}

.testimonials .section-subtitle {
  color: var(--texto-suave);
}

.testimonials-wrapper {
  position: relative;
  padding: var(--spacing-md) 0;
}

.testimonials-track {
  display: flex;
  animation: marquee 40s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  padding: var(--spacing-lg);
  margin: 0 var(--spacing-sm);
  background: rgba(255, 255, 255, 0.6);
  /* Glassmorphism light */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px var(--sombra-suave);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Gradient border effect - Simplified */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

/* Shimmer effect - Subtle */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 40px var(--sombra-media);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card:hover::after {
  left: 100%;
}

/* Highlighted card (for cycling animation) */
.testimonial-card.highlight {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 50px var(--sombra-media);
}

.testimonial-card.highlight::before {
  opacity: 1;
}

.testimonial-quote {
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: var(--font-script);
  font-size: 3rem;
  color: rgba(230, 168, 183, 0.3);
  /* Dusty Rose transparent */
  line-height: 1;
  z-index: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.testimonial-star {
  color: var(--dorado);
  font-size: 1.1rem;
  animation: twinkle 2s ease-in-out infinite;
}

.testimonial-star:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-star:nth-child(3) {
  animation-delay: 0.4s;
}

.testimonial-star:nth-child(4) {
  animation-delay: 0.6s;
}

.testimonial-star:nth-child(5) {
  animation-delay: 0.8s;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  color: var(--texto-oscuro);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-claro), var(--dorado));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blanco-puro);
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-info {
  flex: 1;
}

.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--texto-oscuro);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--texto-suave);
  display: flex;
  align-items: center;
  gap: 5px;
}

.testimonial-role::before {
  content: '✨';
  font-size: 0.8rem;
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
.instagram {
  background-color: var(--blanco-puro);
  text-align: center;
}

.instagram-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.instagram-header .section-subtitle {
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  color: var(--rosa-principal);
  margin-top: -0.5rem;
  font-weight: 700;
  transform: rotate(-3deg);
  display: inline-block;
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.instagram-icon {
  font-size: 2rem;
  color: var(--rosa-principal);
  animation: pulse 2s ease-in-out infinite;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(240, 45, 114, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.instagram-item:hover .instagram-item-overlay {
  opacity: 1;
}

.instagram-item-overlay svg {
  width: 30px;
  height: 30px;
  fill: var(--blanco-puro);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, rgba(240, 45, 114, 0.05), rgba(255, 102, 191, 0.1));
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--rosa-principal);
  border: 1px solid rgba(240, 45, 114, 0.2);
  transition: all var(--transition-base);
}

.instagram-link:hover {
  background: linear-gradient(135deg, var(--rosa-principal), var(--rosa-medio));
  color: var(--blanco-puro);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(240, 45, 114, 0.3);
  border-color: transparent;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--blanco-crema);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 45, 114, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 180, 66, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-form {
  background: var(--blanco-puro);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 60px var(--sombra-suave);
}

.form-group {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem;
  padding-top: 1.5rem;
  padding-left: 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(240, 45, 114, 0.15);
  border-radius: var(--radius-md);
  background-color: rgba(255, 250, 245, 0.5);
  transition: all var(--transition-base);
  outline: none;
  font-weight: 500;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--rosa-principal);
}

.form-label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--texto-suave);
  pointer-events: none;
  transition: all var(--transition-base);
}

.form-textarea~.form-label {
  top: 1.5rem;
  transform: none;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label,
.form-textarea:focus~.form-label,
.form-textarea:not(:placeholder-shown)~.form-label {
  top: 0.5rem;
  transform: none;
  font-size: 0.75rem;
  color: var(--rosa-principal);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--rosa-principal);
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blanco-puro);
  background: linear-gradient(135deg, var(--rosa-principal), var(--rosa-medio));
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
  width: 400px;
  height: 400px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--sombra-media);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  padding: 0;
  margin-top: var(--spacing-md);
}

.contact-info-title {
  grid-column: 1 / -1;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  text-align: center;
  color: var(--texto-oscuro);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);

  /* Gradient Border Trick */
  background: linear-gradient(var(--blanco-puro), var(--blanco-puro)) padding-box,
    linear-gradient(135deg, var(--rosa-principal), var(--dorado)) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  /* Soft, elegant shadow */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
}

.contact-info-item::before {
  /* Removed top line, replaced by full border */
  display: none;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(240, 45, 114, 0.15);
  border-color: rgba(240, 45, 114, 0.2);
}

.contact-info-item:hover::before {
  opacity: 1;
}

.contact-info-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 102, 191, 0.1), rgba(255, 180, 66, 0.1));
  color: var(--rosa-principal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-bottom: var(--spacing-xs);
  transition: all 0.4s ease;
}

.contact-info-item:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--rosa-principal), var(--dorado));
  color: var(--blanco-puro);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(240, 45, 114, 0.2);
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--texto-suave);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto-oscuro);
  line-height: 1.4;
}

.contact-info-value a {
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: color var(--transition-base);
}

.contact-info-value a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rosa-principal);
  transition: width 0.3s ease;
}

.contact-info-item:hover .contact-info-value a {
  color: var(--rosa-principal);
}

.contact-info-item:hover .contact-info-value a::after {
  width: 100%;
}

@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--blanco-crema);
  position: relative;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--blanco-puro);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(240, 45, 114, 0.08);
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(240, 45, 114, 0.12);
  transform: translateY(-2px);
  border-color: rgba(240, 45, 114, 0.15);
}

.faq-item.active {
  border-color: var(--rosa-principal);
  box-shadow: 0 10px 35px rgba(240, 45, 114, 0.15);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: var(--texto-oscuro);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--rosa-principal);
}

.faq-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--rosa-principal);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 0;
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.7;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--texto-oscuro);
  color: var(--blanco-puro);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  width: 150px;
  margin-bottom: var(--spacing-sm);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-tagline {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--dorado);
  margin-bottom: var(--spacing-sm);
}

.footer-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--blanco-puro);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
  position: relative;
}

.footer-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--dorado);
  transition: width var(--transition-base);
}

.footer-link:hover {
  color: var(--dorado);
}

.footer-link:hover::before {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.footer-social-link:hover {
  background-color: var(--rosa-principal);
  border-color: var(--rosa-principal);
  transform: rotate(360deg);
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  margin: var(--spacing-lg) auto 0;
  padding: var(--spacing-md) var(--spacing-sm) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright span {
  color: var(--rosa-principal);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

.footer-legal-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
}

.footer-legal-link:hover {
  color: var(--dorado);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: var(--spacing-md);
  right: var(--spacing-md);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanco-puro);
  color: var(--texto-oscuro);
  border: 1px solid var(--rosa-principal);
  border-radius: 50%;
  box-shadow: 0 4px 15px var(--sombra-suave);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--rosa-principal);
  color: var(--blanco-puro);
  box-shadow: 0 8px 20px var(--sombra-media);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  animation: none;
  /* No bounce loop, minimalist */
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
/* WhatsApp Floating Button */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  left: 20px;
  /* Position on left to balance back-to-top on right */
  background-color: var(--blanco-puro);
  color: var(--texto-oscuro);
  /* Neutral */
  border: 1px solid var(--rosa-principal);
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px var(--sombra-suave);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: var(--rosa-principal);
  transform: translateY(-5px);
  color: var(--blanco-puro);
  box-shadow: 0 8px 20px var(--sombra-media);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  /* Inherit color */
}

/* Specific spacing for Gallery Header as requested */
.gallery .section-header {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.text-center {
  text-align: center;
}

.text-gradient {
  color: var(--rosa-principal);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}