/* ================================================
   CSS VARIABLES
================================================ */
:root {
  --base-color:        #c9a850;
  --base-color-dark:   #a8882e;
  --dark-bg:           #0d0406;
  --dark-bg-2:         #1a0507;
  --card-bg:           rgba(20, 5, 8, 0.90);
  --card-border:       rgba(201, 168, 80, 0.25);
  --whatsapp-green:    #1a7a3a;
  --whatsapp-hover:    #145f2d;
  --text-white-80:     rgba(255, 255, 255, 0.80);
  --text-white-70:     rgba(255, 255, 255, 0.70);
  --text-white-50:     rgba(255, 255, 255, 0.50);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark-bg);
  color: #ffffff;
  overflow-x: hidden;
}

/* ================================================
   TYPOGRAPHY UTILITIES
================================================ */
.text-gold        { color: var(--base-color); }
.text-white-80    { color: var(--text-white-80); }
.text-white-70    { color: var(--text-white-70); }
.text-white-50    { color: var(--text-white-50); }
.bg-base-color    { background-color: var(--base-color); }

.fs-15            { font-size: 15px; }
.fs-badge         { font-size: 13px; line-height: 1.4; }
.fs-city          { font-size: 11px; line-height: 1.3; }
.fs-sm            { font-size: 13px; }
.letter-spacing-2 { letter-spacing: 1.5px; }

.icon-extra-medium { font-size: 22px; }

/* ================================================
   SECTION LIGHT (versión blanca)
================================================ */
.section-light {
  background-color: #ffffff;
  position: relative;
}

.section-light .container {
  position: relative;
  z-index: 1;
}

.text-dark-muted {
  color: rgba(30, 15, 15, 0.62);
}

/* ================================================
   SECTION BACKGROUNDS & OVERLAYS
================================================ */
.section-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 2, 3, 0.83);
  z-index: 0;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ================================================
   NAVBAR
================================================ */
#mainNav {
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index: 1050;
}

#mainNav.scrolled {
  background-color: rgba(13, 4, 6, 0.96) !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.logo-desktop { height: 80px;  width: auto; }
.logo-mobile  { height: 65px;  width: auto; }

.nav-link-custom {
  color: rgba(255, 255, 255, 0.90) !important;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px !important;
  transition: color 0.2s ease;
}

.nav-link-custom:hover {
  color: var(--base-color) !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 2, 3, 0.97);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 10px;
  }
}

/* ================================================
   BUTTONS
================================================ */
.btn-extra-large {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.btn-extra-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--base-color);
  border: 2px solid var(--base-color) !important;
}

.btn-outline-gold:hover {
  background-color: var(--base-color);
  color: #0d0406;
}

/* ================================================
   HERO
================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Imagen de fondo desktop: absoluta cubriendo la sección */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Imagen mobile: flujo normal, ancho completo, altura natural */
.hero-mobile-full {
  display: block;
  width: 100%;
  height: 150svh;
}

.hero-section::before {
  content: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.hero-body {
  font-size: 15px;
  line-height: 1.75;
  max-width: 540px;
}

.hero-bouquet {
  max-height: 680px;
  object-fit: contain;
  filter: drop-shadow(0 0 50px rgba(201, 168, 80, 0.12));
}

/* Hero icon badges */
.badge-icon-wrap {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(201, 168, 80, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================
   SECTION TITLES
================================================ */
.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
}

.section-title-sm {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.deco-icon {
  display: block;
  margin-bottom: 0.5rem;
}

/* ================================================
   FEATURE ICON CIRCLES
================================================ */
.feature-icon-circle {
  width: 72px;
  height: 72px;
  border: 2px solid var(--base-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 80, 0.08);
}

.feature-icon-circle i {
  color: var(--base-color);
}

/* ================================================
   SWIPER: ARREGLOS
================================================ */
.arreglos-swiper {
  padding-bottom: 52px !important; /* espacio para paginación */
  overflow: hidden;
}

/* Botones prev/next en dorado */
.arreglos-prev,
.arreglos-next {
  color: var(--base-color) !important;
  background: rgba(13, 4, 6, 0.70);
  border: 1px solid rgba(201, 168, 80, 0.40);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.arreglos-prev:hover,
.arreglos-next:hover {
  background: rgba(201, 168, 80, 0.15);
  border-color: var(--base-color);
}

.arreglos-prev::after,
.arreglos-next::after {
  font-size: 16px !important;
  font-weight: 700;
}

/* Paginación en dorado */
.arreglos-pagination .swiper-pagination-bullet {
  background: rgba(201, 168, 80, 0.40);
  opacity: 1;
  width: 8px;
  height: 8px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.arreglos-pagination .swiper-pagination-bullet-active {
  background: var(--base-color);
  transform: scale(1.3);
}

/* ================================================
   PRODUCT CARDS – versión light (fondo blanco)
================================================ */
.section-light .product-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.section-light .product-card:hover {
  box-shadow: 0 12px 36px rgba(201, 168, 80, 0.18);
  border-color: rgba(201, 168, 80, 0.35);
}

/* Botones Swiper sobre fondo blanco */
.section-light .arreglos-prev,
.section-light .arreglos-next {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(201, 168, 80, 0.50);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.section-light .arreglos-prev:hover,
.section-light .arreglos-next:hover {
  background: var(--base-color);
  border-color: var(--base-color);
  color: #ffffff !important;
}

.section-light .arreglos-prev:hover::after,
.section-light .arreglos-next:hover::after {
  color: #ffffff;
}

/* Bullets de paginación sobre fondo blanco */
.section-light .arreglos-pagination .swiper-pagination-bullet {
  background: rgba(30, 15, 15, 0.20);
}

.section-light .arreglos-pagination .swiper-pagination-bullet-active {
  background: var(--base-color);
}

/* ================================================
   PRODUCT CARDS (Arreglos)
================================================ */
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(201, 168, 80, 0.14);
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
}

/* ================================================
   STEP CARDS (Proceso)
================================================ */
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 270px;
  margin: 0 auto;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--base-color);
  color: var(--base-color);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================================================
   CITY ICONS (Cobertura)
================================================ */
.city-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(201, 168, 80, 0.40);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ================================================
   MAPA GOOGLE MAPS
================================================ */
.map-wrapper {
  border: 1px solid rgba(201, 168, 80, 0.20);
  line-height: 0; /* elimina espacio inferior del inline iframe */
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

@media (max-width: 767.98px) {
  .map-wrapper iframe {
    height: 380px;
  }
}

/* ================================================
   CONTACT FORM
================================================ */
.form-field-wrap {
  position: relative;
}

.form-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--base-color);
  font-size: 15px;
  z-index: 2;
  pointer-events: none;
}

.form-field-icon--top {
  top: 17px;
  transform: none;
}

.form-dark {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 13px 15px 13px 44px !important;
  font-size: 15px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-dark::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.form-dark:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--base-color) !important;
  box-shadow: 0 0 0 3px rgba(201, 168, 80, 0.15) !important;
  color: #ffffff !important;
  outline: none;
}

.form-select-dark {
  color: rgba(255, 255, 255, 0.55) !important;
  appearance: auto;
}

.form-select-dark option {
  background-color: #1a0507;
  color: #ffffff;
}

textarea.form-dark {
  resize: none;
}

/* ================================================
   CONTACT INFO
================================================ */
.contact-icon-circle {
  width: 54px;
  height: 54px;
  border: 1px solid var(--base-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 80, 0.10);
}

.contact-icon-circle i {
  color: var(--base-color);
}

/* ================================================
   FOOTER
================================================ */
.footer-dark {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.footer-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-dark .container {
  position: relative;
  z-index: 1;
}

.footer-padding {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 100px;
  width: auto;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 600px;
  margin: 0 auto;
}

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width: 991.98px) {
  /* Hero mobile: imagen en flujo normal, texto encima */
  .hero-section {
    display: block;
    min-height: auto;
    height: auto;
  }

  /* Gradiente oscuro en la zona superior para legibilidad del texto */
  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: linear-gradient(
      to bottom,
      rgba(10, 2, 3, 0.78) 0%,
      rgba(10, 2, 3, 0.40) 70%,
      transparent 100%
    );
    z-index: 1;
    pointer-events: none;
  }

  /* Texto absoluto encima de la imagen */
  .hero-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 90px;
    padding-bottom: 2rem;
    background: transparent;
    z-index: 2;
  }

  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .step-card {
    max-width: 100%;
  }

  .hero-bouquet {
    max-height: 420px;
  }
}

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

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

  .section-title-sm {
    font-size: 1.65rem;
  }

  .hero-container {
    padding-top: 100px;
  }

  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 575.98px) {
  .btn-extra-large {
    padding: 12px 20px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.85rem;
  }

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

  .section-title-sm {
    font-size: 1.5rem;
  }

  .hero-badges .fs-badge {
    font-size: 11px;
  }

  .feature-icon-circle {
    width: 60px;
    height: 60px;
  }
}
