/* ==========================================================================
   INVITIA.MX - LANDING PAGE STYLES
   Paleta: Marfil Sutil (#FDFBF7), Dorado Invitia (#C29B47), Negro Elegante (#1E1E24)
   ========================================================================== */

:root {
  --gold-primary: #C29B47;
  --gold-light: #DFC07A;
  --gold-dark: #99752A;
  --gold-subtle: #FBF8F0;
  --gold-border: rgba(194, 155, 71, 0.25);
  --gold-glow: rgba(194, 155, 71, 0.35);
  --gold-gradient: linear-gradient(135deg, #DFC07A 0%, #C29B47 50%, #99752A 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(223, 192, 122, 0.12) 0%, rgba(194, 155, 71, 0.05) 100%);
  --dark-primary: #18181C;
  --dark-secondary: #27272F;
  --bg-body: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-alt: #F4EFE6;
  --text-main: #2A2A32;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -5px rgba(28, 28, 35, 0.06), 0 4px 12px rgba(194, 155, 71, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(194, 155, 71, 0.22);
  --shadow-gold: 0 8px 25px rgba(194, 155, 71, 0.35);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   GENERAL & TYPOGRAPHY
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  color: var(--dark-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.font-script {
  font-family: 'Sacramento', cursive;
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 1;
}

p {
  color: var(--text-muted);
}

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

/* Gold Text Gradient */
.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.bg-gold-subtle {
  background-color: var(--gold-subtle);
}

.badge-gold {
  background: var(--gold-gradient-soft);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-gold {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(194, 155, 71, 0.45);
  color: #FFFFFF;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark) !important;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 50px;
  border: 1.5px solid var(--gold-primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-dark-elegant {
  background: var(--dark-primary);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-dark-elegant:hover {
  background: #000000;
  color: var(--gold-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar-invitia {
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(194, 155, 71, 0.15);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar-invitia.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 8px 0;
}

.navbar-brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-primary) !important;
  font-size: 0.95rem;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--gold-dark) !important;
  font-weight: 600 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ==========================================================================
   HERO SECTION (CON VIDEO EN LOOP CINEMÁTICO)
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 135px 0 85px 0;
  background-color: #FAF8F5;
  overflow: hidden;
  z-index: 1;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.32;
  pointer-events: none;
  filter: saturate(1.25) contrast(1.08) brightness(1.02);
  transition: opacity 0.5s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.88) 0%, rgba(250, 248, 245, 0.72) 45%, rgba(255, 255, 255, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-ornament-bg {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 155, 71, 0.12) 0%, transparent 70%);
  top: 10%;
  right: -5%;
  pointer-events: none;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 15px rgba(194, 155, 71, 0.1);
  margin-bottom: 24px;
}

.hero-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-primary);
}

.hero-feature-item i {
  color: var(--gold-primary);
  font-size: 1rem;
}

/* ==========================================================================
   SMARTPHONE MOCKUP (INTERACTIVE LIVE PREVIEW)
   ========================================================================== */

.mockup-wrapper {
  position: relative;
  max-width: 330px;
  margin: 0 auto;
}

.phone-mockup-frame {
  position: relative;
  background: #18181C;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 25px 60px -15px rgba(28, 28, 35, 0.35),
    0 0 0 2px #33333D,
    0 0 0 5px #1E1E24,
    0 0 40px rgba(194, 155, 71, 0.25);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-screen {
  background: #FFFFFF;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  height: 600px;
  display: flex;
  flex-direction: column;
}

/* Phone Notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #18181C;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-speaker {
  width: 36px;
  height: 4px;
  background: #33333D;
  border-radius: 4px;
}

.phone-camera {
  width: 6px;
  height: 6px;
  background: #252530;
  border-radius: 50%;
}

/* Phone Screen Content */
.phone-content {
  overflow-y: auto;
  height: 100%;
  scrollbar-width: none;
  background: #FAF8F5;
}

.phone-content::-webkit-scrollbar {
  display: none;
}

.demo-hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 24, 28, 0.8) 0%, rgba(24, 24, 28, 0.4) 60%, rgba(250, 248, 245, 1) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=600&q=80') center/cover no-repeat;
  padding: 45px 18px 25px 18px;
  text-align: center;
  color: #FFFFFF;
}

.demo-couple-names {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.demo-event-type {
  font-family: 'Sacramento', cursive;
  font-size: 1.6rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.demo-date-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Interactive Countdown inside Mockup */
.demo-countdown-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 15px 14px;
  background: #FFFFFF;
  padding: 10px 8px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(194, 155, 71, 0.12);
  border: 1px solid var(--gold-border);
}

.countdown-box {
  text-align: center;
}

.countdown-number {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}

.countdown-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Music Control Mini Widget */
.demo-music-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  margin: 0 14px 12px 14px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.music-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.music-wave-bar {
  width: 3px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: musicWave 1.2s ease-in-out infinite alternate;
}

.music-wave-bar:nth-child(1) {
  height: 14px;
  animation-delay: 0.1s;
}

.music-wave-bar:nth-child(2) {
  height: 18px;
  animation-delay: 0.3s;
}

.music-wave-bar:nth-child(3) {
  height: 8px;
  animation-delay: 0.2s;
}

.music-wave-bar:nth-child(4) {
  height: 16px;
  animation-delay: 0.4s;
}

.music-wave-bar.paused {
  animation-play-state: paused;
  height: 4px !important;
}

@keyframes musicWave {
  0% {
    height: 4px;
  }

  100% {
    height: 18px;
  }
}

.music-toggle-btn {
  background: var(--gold-gradient);
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(194, 155, 71, 0.4);
}

/* Quick Action Buttons inside Mockup */
.demo-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 14px 15px 14px;
}

.demo-action-card {
  background: #FFFFFF;
  border: 1px solid rgba(194, 155, 71, 0.18);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.demo-action-card:hover {
  background: var(--gold-subtle);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.demo-action-icon {
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.demo-action-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark-primary);
}

/* Floating Badges around mockup */
.mockup-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite;
}

.badge-top-left {
  top: 15%;
  left: -40px;
}

.badge-bottom-right {
  bottom: 12%;
  right: -35px;
  animation-delay: 2s;
}

@keyframes floatAnim {

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

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

/* ==========================================================================
   STEPS SECTION (CÓMO FUNCIONA)
   ========================================================================== */

.section-padding {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 55px;
}

.section-subtitle {
  font-family: 'Sacramento', cursive;
  font-size: 2.2rem;
  color: var(--gold-primary);
  margin-bottom: -5px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  color: var(--dark-primary);
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(194, 155, 71, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--shadow-card);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-hover);
}

.step-number-badge {
  width: 52px;
  height: 52px;
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 22px auto;
  box-shadow: var(--shadow-gold);
}

.step-icon-wrapper {
  width: 72px;
  height: 72px;
  background: var(--gold-subtle);
  border: 1.5px solid var(--gold-border);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.1);
}

/* ==========================================================================
   PARALLAX BACKGROUND SECTIONS (BODAS Y 15 AÑOS)
   ========================================================================== */

.parallax-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.parallax-bg-layer {
  position: absolute;
  top: -140px;
  left: 0;
  right: 0;
  bottom: -140px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: -2;
  transition: transform 0.1s linear;
}

.parallax-wedding-bg {
  background-image: url('../images/wedding_parallax_bg.jpg');
}

.parallax-xv-bg {
  background-image: url('../images/xv_celebration_bg.jpg');
}

.parallax-overlay-gold {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.93) 0%, rgba(250, 248, 245, 0.84) 50%, rgba(250, 248, 245, 0.94) 100%);
  z-index: -1;
  pointer-events: none;
}

.parallax-overlay-darkgold {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(250, 248, 245, 0.91) 0%, rgba(250, 248, 245, 0.82) 50%, rgba(250, 248, 245, 0.93) 100%);
  z-index: -1;
  pointer-events: none;
}

/* ==========================================================================
   FEATURES GRID (TODO INCLUIDO)
   ========================================================================== */

.feature-box {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(194, 155, 71, 0.22);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold-gradient);
  transition: height 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 155, 71, 0.6);
  box-shadow: var(--shadow-hover);
  background: #FFFFFF;
}

.feature-box:hover::before {
  height: 100%;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.feature-box:hover .feature-icon-wrapper {
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   TEMPLATES / CATEGORIES TABS
   ========================================================================== */

/* ==========================================================================
   PHONE MOCKUP TEMPLATES (VISTAS CON CELULARES Y PÁGINAS)
   ========================================================================== */

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-btn {
  background: #FFFFFF;
  border: 1px solid rgba(194, 155, 71, 0.25);
  color: var(--dark-primary);
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.template-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194, 155, 71, 0.2);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.template-phone-wrapper {
  background: radial-gradient(circle at 50% 30%, rgba(223, 192, 122, 0.18) 0%, rgba(250, 248, 245, 0.8) 100%);
  padding: 30px 15px 15px 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(194, 155, 71, 0.12);
}

.template-phone-frame {
  width: 220px;
  height: 420px;
  background: #151518;
  border-radius: 36px;
  padding: 7px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.3),
    0 0 0 2px #2A2A33,
    0 0 20px rgba(194, 155, 71, 0.15);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-card:hover .template-phone-frame {
  transform: scale(1.04);
}

.template-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 13px;
  background: #000000;
  border-radius: 12px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
}

.template-dynamic-island::after {
  content: '';
  width: 4px;
  height: 4px;
  background: #111e38;
  border-radius: 50%;
}

.template-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #FAF8F5;
}

.template-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.template-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(24, 24, 28, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(194, 155, 71, 0.3);
  z-index: 5;
}

.template-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL / LO QUE DICEN NUESTROS CLIENTES
   ========================================================================== */

.testimonials-section {
  background: radial-gradient(circle at 15% 50%, rgba(223, 192, 122, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(194, 155, 71, 0.1) 0%, transparent 50%),
    #FAF8F5;
  position: relative;
  overflow: hidden;
}

.testimonial-carousel-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(194, 155, 71, 0.25);
  border-radius: 24px;
  padding: 45px 40px;
  box-shadow: 0 15px 40px -10px rgba(194, 155, 71, 0.15), 0 5px 15px rgba(0, 0, 0, 0.04);
  position: relative;
  max-width: 900px;
  margin: 10px auto;
  transition: var(--transition);
  text-align: center;
}

.testimonial-carousel-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 20px 50px -10px rgba(194, 155, 71, 0.25);
}

.testimonial-quote-giant {
  font-size: 3.5rem;
  color: var(--gold-primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -15px;
}

.testimonial-text-large {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.75;
  color: var(--dark-primary);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 28px;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid var(--gold-primary);
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(194, 155, 71, 0.3);
}

.testimonial-author-name-lg {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-primary);
  margin-bottom: 2px;
}

.testimonial-event-badge {
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.carousel-control-prev-gold,
.carousel-control-next-gold {
  width: 52px;
  height: 52px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  color: var(--gold-dark) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
  opacity: 0.9;
  z-index: 10;
}

.carousel-control-prev-gold:hover,
.carousel-control-next-gold:hover {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-gold);
}

.carousel-indicators-gold button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background-color: var(--gold-primary) !important;
  opacity: 0.35 !important;
  margin: 0 6px !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.carousel-indicators-gold button.active {
  opacity: 1 !important;
  width: 32px !important;
  border-radius: 10px !important;
  background: var(--gold-gradient) !important;
}

.testimonial-stat-box {
  background: #FFFFFF;
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  padding: 12px 28px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

/* ==========================================================================
   PRICING CARD (PRECIO ÚNICO $199 MXN)
   ========================================================================== */

.pricing-section {
  background: radial-gradient(circle at 50% 50%, rgba(223, 192, 122, 0.12) 0%, transparent 60%),
    #FAF8F5;
  position: relative;
}

.pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(194, 155, 71, 0.18);
  position: relative;
  overflow: hidden;
  max-width: 680px;
  margin: 0 auto;
}

.pricing-badge-popular {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gold-gradient);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 45px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}

.price-tag-big {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.2rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--dark-primary);
  line-height: 1;
  margin-bottom: 5px;
}

.price-currency {
  font-size: 1.8rem;
  color: var(--gold-primary);
  vertical-align: super;
  font-weight: 700;
}

.price-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
  border: 1px solid var(--gold-border);
}

.pricing-checklist {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 24px;
  text-align: left;
}

.pricing-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--dark-primary);
}

.pricing-checklist li i {
  color: var(--gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   REGISTRATION FORM SECTION
   ========================================================================== */

.register-card {
  background: #FFFFFF;
  border: 1px solid rgba(194, 155, 71, 0.22);
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  box-shadow: var(--shadow-card);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-primary);
  margin-bottom: 6px;
}

.form-control-gold,
.form-select-gold {
  border: 1.5px solid rgba(194, 155, 71, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition);
  background-color: #FAF8F5;
}

.form-control-gold:focus,
.form-select-gold:focus {
  background-color: #FFFFFF;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(194, 155, 71, 0.15);
  outline: none;
}

.input-icon-group {
  position: relative;
}

.input-icon-group i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  pointer-events: none;
}

/* ==========================================================================
   ACCORDION / FAQ (ESTILO PLATA / PLATINUM ELEGANCE)
   ========================================================================== */

.faq-silver-section {
  background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 50%, #F8FAFC 100%);
  position: relative;
  border-top: 1px solid #CBD5E1;
  border-bottom: 1px solid #CBD5E1;
}

.faq-silver-section .section-subtitle {
  color: #475569;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #CBD5E1;
  padding: 5px 18px;
  border-radius: 50px;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.faq-silver-section .section-title {
  color: #1E293B;
  font-family: 'Cinzel', serif;
}

.faq-silver-section .section-title::after {
  background: linear-gradient(90deg, #94A3B8 0%, #475569 50%, #94A3B8 100%);
}

.accordion-invitia .accordion-item {
  border: 1.5px solid #CBD5E1;
  border-radius: 16px !important;
  margin-bottom: 16px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.accordion-invitia .accordion-item:hover {
  border-color: #94A3B8;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.accordion-invitia .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1E293B;
  padding: 20px 24px;
  background: #FFFFFF;
  transition: var(--transition);
}

.accordion-invitia .accordion-button:not(.collapsed) {
  color: #0F172A;
  background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 100%);
  border-bottom: 1px solid #CBD5E1;
  box-shadow: none;
}

.accordion-invitia .accordion-button:focus {
  box-shadow: none;
  border-color: #94A3B8;
}

.accordion-invitia .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23475569'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-invitia .accordion-body {
  padding: 20px 24px;
  background: #FFFFFF;
  color: #475569 !important;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ==========================================================================
   STEPS TIMELINE & CAMINITO INTERACTIVO
   ========================================================================== */

.steps-timeline-container {
  position: relative;
  margin-top: 20px;
}

.steps-pathway-line {
  position: absolute;
  top: 60px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold-primary), var(--gold-primary) 10px, transparent 10px, transparent 20px);
  z-index: 0;
  display: none;
}

@media (min-width: 768px) {
  .steps-pathway-line {
    display: block;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(194, 155, 71, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 26px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  height: 100%;
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-hover);
}

.step-number-badge {
  width: 56px;
  height: 56px;
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: var(--shadow-gold);
  border: 3px solid #FFFFFF;
  position: relative;
}

.step-number-badge::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-primary);
}

.step-icon-wrapper {
  width: 68px;
  height: 68px;
  background: var(--gold-subtle);
  border: 1.5px solid var(--gold-border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--gold-primary);
  margin: 0 auto 18px auto;
  transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
  background: var(--gold-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.08) rotate(5deg);
}

.step-pill-tag {
  display: inline-block;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--gold-border);
  margin-top: 14px;
}

/* ==========================================================================
   FOOTER (TEXTO BLANCO Y ALTO CONTRASTE)
   ========================================================================== */

.footer-invitia {
  background: var(--dark-primary);
  color: #FFFFFF !important;
  padding: 65px 0 28px 0;
  position: relative;
}

.footer-invitia p,
.footer-invitia .text-muted,
.footer-invitia .small,
.footer-invitia span {
  color: #E5E7EB !important;
}

.footer-invitia a {
  color: #FFFFFF !important;
}

.footer-invitia a:hover,
.footer-invitia .text-gold {
  color: var(--gold-light) !important;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(194, 155, 71, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light) !important;
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-icon-btn:hover {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  transform: translateY(-3px);
  border-color: transparent;
}

.footer-link {
  color: #E5E7EB !important;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--gold-light) !important;
  padding-left: 4px;
}

/* ==========================================================================
   MODALS FOR INTERACTIVE DEMO (RSVP, QR PASS, MAP)
   ========================================================================== */

.modal-content-luxury {
  border-radius: 20px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modal-header-luxury {
  background: var(--gold-subtle);
  border-bottom: 1px solid var(--gold-border);
  padding: 18px 24px;
}

.qr-pass-ticket {
  background: #FFFFFF;
  border: 2px dashed var(--gold-primary);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  text-align: center;
}

.qr-code-img {
  width: 160px;
  height: 160px;
  margin: 15px auto;
  padding: 10px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & BACK TO TOP)
   ========================================================================== */

.floating-buttons-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-floating-whatsapp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  position: relative;
}

.btn-floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF !important;
}

.btn-floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: pulseWhatsapp 2.2s infinite;
}

@keyframes pulseWhatsapp {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.25);
    opacity: 0;
  }

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

.btn-floating-back-to-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-border);
  color: var(--gold-dark) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  cursor: pointer;
}

.btn-floating-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-floating-back-to-top:hover {
  background: var(--gold-gradient);
  color: #FFFFFF !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   GLOBAL OVERFLOW & VIEWPORT FIXES
   ========================================================================== */

html,
body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 991.98px) {
  .navbar-invitia {
    padding: 10px 0;
  }

  .navbar-collapse {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 22px 20px;
    margin-top: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1.5px solid var(--gold-border);
    max-height: 80vh;
    overflow-y: auto;
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 1rem;
  }

  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .hero-section {
    padding: 100px 0 50px 0;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features-list {
    justify-content: center;
  }

  .mockup-wrapper {
    margin-top: 30px;
  }

  .mockup-floating-badge {
    display: none !important;
  }

  .hero-ornament-bg {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .carousel-control-prev-gold {
    left: 4px;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .carousel-control-next-gold {
    right: 4px;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .testimonial-carousel-card {
    padding: 32px 18px;
    border-radius: 18px;
  }

  .testimonial-text-large {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .floating-buttons-container {
    bottom: 16px;
    right: 16px;
  }

  .btn-floating-whatsapp,
  .btn-floating-back-to-top {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }

  .register-card {
    padding: 30px 18px;
  }

  .pricing-card {
    padding: 35px 18px;
  }
}

@media (max-width: 575.98px) {
  .phone-mockup-frame {
    border-radius: 36px;
    padding: 8px;
    max-width: 100%;
  }

  .phone-screen {
    border-radius: 28px;
    height: 520px;
  }

  .template-phone-frame {
    border-radius: 32px;
    padding: 6px;
  }

  .template-phone-screen {
    height: 370px;
  }

  .testimonial-stat-box {
    border-radius: 20px;
    padding: 14px 16px;
    gap: 10px;
  }

  .price-tag-big {
    font-size: 3rem;
  }
}