/* ==========================================================================
   NUBI VIAJES - LANDING PAGE STYLESHEET (PUNTA CANA RAFFLE CAMPAIGN)
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables & Custom Properties */
:root {
  /* Color Palette - Nubi Brand (Blue, White, Yellow) */
  --primary-color: #004E98;      /* Royal Blue */
  --primary-dark: #002855;       /* Deep Navy Blue */
  --primary-light: #EBF3FC;      /* Soft Light Blue */
  --accent-color: #FFC300;       /* Golden Yellow */
  --accent-hover: #E6B000;       /* Darker Yellow */
  --accent-light: #FFF9E6;       /* Soft Yellow tint */
  
  /* Neutral Colors */
  --text-dark: #1A2530;          /* Deep Slate */
  --text-muted: #606F7B;         /* Slate Gray */
  --text-light: #FFFFFF;
  --bg-light: #F8F9FC;           /* Base Light Gray-Blue */
  --bg-white: #FFFFFF;
  --bg-dark: #001C3D;            /* Extra Deep Blue for Footer/Hero */
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  --grad-accent: linear-gradient(135deg, var(--accent-color), #FFAA00);
  --grad-hero: linear-gradient(135deg, rgba(0, 40, 85, 0.88), rgba(0, 78, 152, 0.88));
  --grad-ticket-vip: linear-gradient(135deg, #FFC300, #FF5733);
  
  /* Design Tokens */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px rgba(0, 40, 85, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 40, 85, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 40, 85, 0.18);
  --shadow-glow: 0 0 25px rgba(255, 195, 0, 0.5);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-width: 1200px;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

img, iframe {
  max-width: 100%;
  border: 0;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 5rem 0;
}

.section-title {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 30%;
  width: 40%;
  height: 4px;
  background: var(--accent-color);
  border-radius: var(--radius-full);
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--grad-primary);
  color: var(--text-light);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 78, 152, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background: var(--accent-color);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem; /* Keep it visible and clear of desktop buttons */
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  font-size: 30px;
  transition: all var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Fix floating positions to avoid overlays */
@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-fast);
  padding: 1.2rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  border-bottom: 2px solid var(--primary-light);
}

.nav-container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-light);
}

.header.scrolled .logo {
  color: var(--primary-color);
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link:hover, .header.scrolled .nav-link:hover {
  color: var(--accent-color);
}

.nav-cta {
  display: none;
}

@media(min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* ==========================================================================
   HERO / CAMPAIGN HEADER (PUNTA CANA CAMPAIGN)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  padding: 9rem 0 6rem 0;
  background: url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-hero);
  z-index: 1;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  background: rgba(255, 195, 0, 0.15);
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.15;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--accent-color);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-highlight {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

@media(min-width: 768px) {
  .hero-title {
    font-size: 4.2rem;
  }
  .hero-description {
    font-size: 1.45rem;
  }
  .hero-highlight {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   SECCIÓN PREMIO (TODO ESTO PUEDE SER TUYO)
   ========================================================================== */
.prize-section {
  background: var(--bg-white);
  position: relative;
}

.prize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media(min-width: 576px) {
  .prize-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width: 992px) {
  .prize-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Suite Privada occupies double column on large layouts */
  .prize-card.wide {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
  }
}

@media(min-width: 1200px) {
  .prize-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .prize-card.wide {
    grid-column: span 2;
  }
}

.prize-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 78, 152, 0.05);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.prize-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.prize-image {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.prize-card.wide .prize-image {
  width: 50%;
  height: auto;
  min-height: 200px;
}

.prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.prize-card:hover .prize-image img {
  transform: scale(1.05);
}

.prize-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.prize-card.wide .prize-body {
  width: 50%;
  justify-content: center;
}

.prize-icon-wrapper {
  background: var(--primary-light);
  color: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.prize-card-title {
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.prize-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN CONTADOR (COUNTDOWN TIMER)
   ========================================================================== */
.countdown-section {
  background: var(--bg-light);
  padding: 4rem 0;
  border-bottom: 1px solid var(--primary-light);
  border-top: 1px solid var(--primary-light);
  position: relative;
  z-index: 5;
}

.countdown-container {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.countdown-title {
  font-size: 1.3rem;
  color: var(--primary-dark);
  font-weight: 850;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.countdown-card {
  background: var(--bg-white);
  border: 1px solid rgba(0, 78, 152, 0.1);
  padding: 1.5rem 0.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 0.4rem;
  letter-spacing: 1px;
}

@media(min-width: 576px) {
  .countdown-timer {
    gap: 1.5rem;
  }
  .countdown-card {
    padding: 1.8rem;
  }
  .countdown-number {
    font-size: 3.5rem;
  }
  .countdown-label {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   SECCIÓN COMPRA DE TICKETS (PRICING GRID)
   ========================================================================== */
.tickets-section {
  background: var(--bg-white);
}

/* ==========================================================================
   TICKETS LIST LAYOUT (GLASSMORPHIC ROWS DESIGN)
   ========================================================================== */
.tickets-list-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.ticket-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(0, 78, 152, 0.08);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.8rem;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
  gap: 1rem;
}

.ticket-row-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
  background: var(--bg-white);
}

/* Row highlights */
.ticket-row-item.popular {
  border: 2px solid var(--accent-color);
  background: rgba(255, 253, 245, 0.85);
}

.ticket-row-item.popular:hover {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm), var(--shadow-glow);
}

.ticket-row-item.vip {
  border: 2px solid var(--primary-color);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 243, 252, 0.9) 100%);
}

.ticket-row-item.vip:hover {
  background: var(--bg-white);
}

.ticket-row-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ticket-qty-highlight {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.ticket-row-item.popular .ticket-qty-highlight {
  color: var(--primary-color);
}

.ticket-row-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ticket-save-badge {
  display: inline-block;
  background: rgba(255, 195, 0, 0.15);
  color: #B58600;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ticket-row-item.vip .ticket-save-badge {
  background: rgba(0, 78, 152, 0.1);
  color: var(--primary-color);
}

.ticket-row-right {
  display: flex;
  align-items: center;
}

.ticket-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

/* Inline Badge for Special/Popular items */
.ticket-badge-inline {
  position: absolute;
  top: -10px;
  left: 1.8rem;
  background: var(--accent-color);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 850;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.ticket-row-item.vip .ticket-badge-inline {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Responsive Styles for Ticket Rows & Header */
@media (max-width: 767px) {
  .nav-menu {
    display: none;
  }
  
  .nav-container {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .tickets-list-container {
    padding: 0.8rem;
    border-radius: var(--radius-md);
  }

  .ticket-row-item {
    padding: 0.9rem 1.1rem;
    gap: 0.5rem;
  }

  .ticket-row-left {
    gap: 0.4rem;
  }

  .ticket-qty-highlight {
    font-size: 1.1rem;
  }

  .ticket-row-text {
    font-size: 0.85rem;
  }

  .ticket-save-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
  }

  .ticket-price {
    font-size: 1.3rem;
  }

  .ticket-badge-inline {
    left: 1.1rem;
  }
}

/* ==========================================================================
   ¿QUIÉNES SOMOS? (VERIFIED AGENCY DETAILS)
   ========================================================================== */
.about-section {
  background: var(--bg-light);
  border-top: 1px solid var(--primary-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media(min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.about-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-desc strong {
  color: var(--primary-dark);
}

.agency-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

@media(min-width: 576px) {
  .agency-info-list {
    grid-template-columns: 1fr 1fr;
  }
}

.agency-info-item {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border-left: 4px solid var(--primary-color);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.agency-info-icon {
  background: var(--primary-light);
  color: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* Visual Block (Photo & Map) */
.about-visual-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: auto;
}

.office-image-container img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-normal);
}

.office-image-container:hover img {
  transform: scale(1.05);
}

.office-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 40, 85, 0.85);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 250px;
  position: relative;
}

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

/* ==========================================================================
   SECCIÓN CONFIANZA
   ========================================================================== */
.trust-section {
  background: var(--bg-white);
  border-top: 1px solid var(--primary-light);
}

.trust-flex-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media(min-width: 992px) {
  .trust-flex-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background: var(--bg-light);
  border-left: 4px solid var(--accent-color);
  transition: all var(--transition-fast);
}

.checklist-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.checklist-icon {
  background: var(--accent-light);
  color: #B58600;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.checklist-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Passenger Gallery Grid */
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0, 40, 85, 0.8) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.9rem;
  color: var(--text-light);
  z-index: 5;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--transition-fast);
}

.gallery-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-info p {
  font-size: 0.75rem;
  opacity: 0.8;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   SECCIÓN TESTIMONIOS (CAROUSEL SLIDER)
   ========================================================================== */
.testimonials-section {
  background: var(--bg-light);
  border-top: 1px solid var(--primary-light);
}

.slider-outer-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.testimonial-slide {
  min-width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

.testimonial-card {
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 78, 152, 0.05);
  box-shadow: var(--shadow-sm);
}

.quote-icon {
  font-size: 4rem;
  color: rgba(0, 78, 152, 0.08);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-family: var(--font-heading);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  font-size: 1rem;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-dark);
}

.user-dest {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Slider Controls */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-white);
  border: 1px solid rgba(0, 40, 85, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  color: var(--primary-color);
}

.slider-nav-btn:hover {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.slider-prev { left: -1rem; }
.slider-next { right: -1rem; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 78, 152, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--primary-color);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SECCIÓN FAQ (QUESTIONS & ANSWERS)
   ========================================================================== */
.faq-section {
  background: var(--bg-white);
  border-top: 1px solid var(--primary-light);
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1.5px solid rgba(0, 78, 152, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-light);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  padding: 1.2rem 1.5rem;
  background: transparent;
  width: 100%;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.faq-item.active {
  background: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust based on content height */
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   SECCIÓN FINAL (CTA FINAL)
   ========================================================================== */
.final-cta-section {
  background: var(--grad-primary);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
  opacity: 0.12;
  z-index: 1;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.final-cta-title {
  font-size: 2.5rem;
  font-weight: 950;
  line-height: 1.2;
}

.final-cta-subtitle {
  font-size: 1.3rem;
  color: var(--accent-color);
  font-weight: 700;
}

.final-cta-desc {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   REGISTRATION MODAL FORM
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 28, 61, 0.85);
  backdrop-filter: blur(5px);
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  overflow-y: auto;
  padding: 2rem 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 650px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transform: translateY(-20px);
  transition: transform var(--transition-fast);
  margin: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.modal-selected-pack {
  background: var(--primary-light);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
}

/* Form Grid & Layout */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

@media(min-width: 576px) {
  .form-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.form-control {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid rgba(0, 78, 152, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 78, 152, 0.12);
}

.modal-card .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Clipboard Copy Button Styling */
.btn-copy {
  background: var(--primary-light);
  border: none;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: #E8F5E9 !important;
  color: #2E7D32 !important;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.15);
}

/* ==========================================================================
   SECCIÓN CONFIRMACIÓN (SUCCESS MODAL / STATE)
   ========================================================================== */
.success-card {
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  background: #E8F5E9;
  color: #2E7D32;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 2.2rem;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
}

.success-title {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.success-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Loading spinner utility */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  border-top-color: currentColor;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media(min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.82fr 0.88fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-light);
}

.footer-logo img {
  height: 45px;
  width: auto;
  border-radius: var(--radius-sm);
}

.footer-desc {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  color: var(--primary-dark);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 2.5px;
  background: var(--accent-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  font-size: 0.95rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.contact-item svg {
  color: var(--accent-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-item-text {
  opacity: 0.85;
  line-height: 1.5;
}

.contact-item-text a {
  display: block;
  margin-top: 0.1rem;
}

.contact-item-text a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
}

@media(min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-legal-links a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 28, 61, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80vh;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--text-light);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

.lightbox-caption {
  color: var(--text-light);
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
