/* ==========================================================================
   Design System & Premium Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --color-bg-primary: #FAF8F5;       /* Warm Champagne / Soft Sand */
  --color-bg-secondary: #FFFFFF;     /* Pure White */
  --color-text-primary: #111E2E;     /* Deep Slate / Sea Blue */
  --color-text-secondary: #4A5568;   /* Slate Gray for descriptions */
  --color-text-light: #E2E8F0;       /* Very light slate */
  
  /* Brand Accents */
  --color-accent-rose: #C97A7A;      /* Delicate Rose Gold */
  --color-accent-rose-dark: #A85A5A; /* Passionate Dark Rose */
  --color-accent-rose-light: #F6EAEA;/* Light tint of rose */
  --color-accent-forest: #3E5245;    /* Countryside Olive Green */
  --color-accent-gold: #D4A373;      /* Warm golden details */
  
  /* Layout and UI */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 28px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --box-shadow-soft: 0 10px 30px rgba(17, 30, 46, 0.05);
  --box-shadow-hover: 0 20px 40px rgba(17, 30, 46, 0.1);
  --box-shadow-premium: 0 30px 60px rgba(17, 30, 46, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography & Reusable Components
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-white { color: #FFFFFF !important; }
.text-light { color: var(--color-text-light) !important; }

/* Section Headers */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent-rose);
  margin-bottom: 12px;
}

.section-tag.style-white {
  color: var(--color-accent-rose-light);
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  max-width: 650px;
  font-size: 1.15rem;
}

.section-header.text-center .section-desc {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent-rose);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(201, 122, 122, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-accent-rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 90, 90, 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: #FFFFFF;
  color: var(--color-text-primary);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background-color: #25D366;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.icon-wa, .icon-location {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   Header & Floating Navigation
   ========================================================================== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background-color: transparent;
}

#main-header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: blur(15px);
  height: 70px;
  box-shadow: 0 4px 20px rgba(17, 30, 46, 0.05);
  border-bottom: 1.5px solid var(--glass-border);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 320px;
}

  /* Header Logo SVG Dynamic Coloring & Sizing */
  .header-logo-svg {
    height: 60px;
    width: auto;
    transition: var(--transition-smooth);
  }

  #main-header.scrolled .header-logo-svg {
    height: 50px;
  }

  /* Transparent header: White logo elements */
  #main-header:not(.scrolled) .header-logo-svg .logo-title {
    fill: #FFFFFF !important;
    transition: var(--transition-smooth);
  }

  #main-header:not(.scrolled) .header-logo-svg .logo-subtitle {
    fill: rgba(255, 255, 255, 0.75) !important;
    transition: var(--transition-smooth);
  }

  #main-header:not(.scrolled) .header-logo-svg .logo-line {
    stroke: #FFFFFF !important;
    opacity: 0.4;
    transition: var(--transition-smooth);
  }

  /* Scrolled header: Dark slate blue logo elements */
  #main-header.scrolled .header-logo-svg .logo-title {
    fill: var(--color-text-primary) !important;
    transition: var(--transition-smooth);
  }

  #main-header.scrolled .header-logo-svg .logo-subtitle {
    fill: var(--color-text-secondary) !important;
    transition: var(--transition-smooth);
  }

  #main-header.scrolled .header-logo-svg .logo-line {
    stroke: var(--color-accent-rose) !important;
    opacity: 0.3;
    transition: var(--transition-smooth);
  }

  /* Footer Logo SVG (Always white on dark background) */
  .footer-logo-svg {
    height: 64px;
    width: auto;
    align-self: flex-start;
  }

  .footer-logo-svg .logo-title {
    fill: #FFFFFF !important;
  }

  .footer-logo-svg .logo-subtitle {
    fill: rgba(255, 255, 255, 0.6) !important;
  }

  .footer-logo-svg .logo-line {
    stroke: #FFFFFF !important;
    opacity: 0.3;
  }

  /* Global Logo SVG Typography Rules */
  .logo-title {
    font-family: 'Playfair Display', 'Didot', 'Georgia', serif;
    font-weight: 600;
    font-size: 34px;
    letter-spacing: 0.15em;
  }

  .logo-subtitle {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.42em;
  }

.nav-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  position: relative;
}

#main-header.scrolled .nav-link {
  color: var(--color-text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-rose);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-rose);
}

.btn-header {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 10px 22px !important;
  border-radius: 50px;
}

#main-header.scrolled .btn-header {
  border-color: var(--color-accent-rose);
  color: var(--color-accent-rose);
}

.btn-header:hover {
  background-color: var(--color-accent-rose);
  color: #FFFFFF !important;
  border-color: var(--color-accent-rose);
}

.btn-header::after {
  display: none;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #FFFFFF;
  transition: var(--transition-smooth);
}

#main-header.scrolled .mobile-nav-toggle .bar {
  background-color: var(--color-text-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-content-wrapper {
  max-width: 900px;
  z-index: 2;
  padding-top: var(--header-height);
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 750px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.6;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}



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

/* ==========================================================================
   Region Section
   ========================================================================== */
.region-section {
  padding: 100px 0;
  background-color: var(--color-bg-primary);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.region-card {
  position: relative;
  height: 460px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-soft);
  transition: var(--transition-smooth);
}

.region-card .card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.region-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(17, 30, 46, 0) 40%, rgba(17, 30, 46, 0.85) 100%);
  transition: var(--transition-smooth);
}

.region-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 36px;
  z-index: 2;
  color: #FFFFFF;
  transition: var(--transition-smooth);
}

.region-card .card-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  backdrop-filter: blur(4px);
}

.region-card h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.region-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects */
.region-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-premium);
}

.region-card:hover .card-img {
  transform: scale(1.08);
}

.region-card:hover .card-overlay {
  background: linear-gradient(to bottom, rgba(17, 30, 46, 0.1) 20%, rgba(17, 30, 46, 0.9) 100%);
}

.region-card:hover p {
  max-height: 100px;
  opacity: 1;
  margin-top: 12px;
}

/* ==========================================================================
   Boutique Services Section
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--color-bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--box-shadow-soft);
  border: 1px solid rgba(17, 30, 46, 0.03);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(201, 122, 122, 0.2);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-accent-rose-light);
  color: var(--color-accent-rose-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.service-card h3 {
  font-size: 1.6rem;
  color: var(--color-text-primary);
  font-family: var(--font-serif);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   Personal Shopper Section (Búsqueda a Pedido)
   ========================================================================== */
.personal-shopper-section {
  padding: 100px 0;
  background-color: var(--color-bg-primary);
}

.shopper-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.shopper-visual {
  position: relative;
}

.shopper-img {
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
}

.shopper-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  padding: 24px 28px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-hover);
  max-width: 280px;
}

.shopper-floating-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-accent-rose-dark);
  margin-bottom: 6px;
}

.shopper-floating-card p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.shopper-info {
  padding-left: 12px;
}

.shopper-info p {
  margin-bottom: 24px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.shopper-cta-box {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary.style-dark {
  color: var(--color-text-primary);
  border-color: rgba(17, 30, 46, 0.2);
}

.btn-secondary.style-dark:hover {
  background-color: var(--color-text-primary);
  color: #FFFFFF;
  border-color: var(--color-text-primary);
}

/* ==========================================================================
   Captación Section & Conversational Chat UI
   ========================================================================== */
.captacion-section {
  padding: 100px 0;
  background-color: var(--color-text-primary);
  position: relative;
  overflow: hidden;
}

.captacion-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(201, 122, 122, 0.05);
  filter: blur(60px);
}

.captacion-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.captacion-intro {
  color: #FFFFFF;
}

.captacion-intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 24px;
}

.intro-points {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.point-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.point-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-accent-rose);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 2px;
}

.point-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.point-item p {
  color: rgba(255, 255, 255, 0.75);
}

.intro-quote {
  border-left: 2px solid var(--color-accent-rose);
  padding-left: 24px;
  margin-top: 40px;
}

.intro-quote p {
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.6;
  margin-bottom: 8px;
}

.intro-quote cite {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-rose);
}

/* Chatbot UI Box */
.chat-container {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-premium);
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header {
  padding: 16px 24px;
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid rgba(17, 30, 46, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-avatar-status {
  position: relative;
  width: 44px;
  height: 44px;
}

.chat-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--color-accent-rose);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
}

.status-dot.online {
  background-color: #25D366;
}

.chat-title-box h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.chat-title-box span {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  background-color: #FCFAFA;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
  animation: messageSlideIn 0.3s ease forwards;
}

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

.message.system-msg {
  align-self: flex-start;
}

.message.user-msg {
  align-self: flex-end;
}

.msg-bubble {
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.system-msg .msg-bubble {
  background-color: #F0F4F8;
  color: var(--color-text-primary);
  border-bottom-left-radius: 4px;
}

.user-msg .msg-bubble {
  background-color: var(--color-accent-rose);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
}

.msg-time {
  font-size: 0.7rem;
  color: #A0AEC0;
  margin-top: 4px;
  padding: 0 4px;
}

.system-msg .msg-time {
  align-self: flex-start;
}

.user-msg .msg-time {
  align-self: flex-end;
}

/* Dossier Summary Card in Chat */
.dossier-card {
  background: #FFFFFF;
  border: 1px solid rgba(201, 122, 122, 0.25);
  border-radius: 12px;
  padding: 16px;
  margin-top: 10px;
  box-shadow: var(--box-shadow-soft);
  width: 100%;
}

.dossier-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-rose-dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(201, 122, 122, 0.15);
  padding-bottom: 6px;
}

.dossier-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.dossier-lbl {
  color: var(--color-text-secondary);
}

.dossier-val {
  font-weight: 700;
  color: var(--color-text-primary);
}

.dossier-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-chat-action {
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-chat-action.primary {
  background-color: var(--color-accent-rose);
  color: #FFFFFF;
}

.btn-chat-action.primary:hover {
  background-color: var(--color-accent-rose-dark);
}

.btn-chat-action.secondary {
  background-color: #EDF2F7;
  color: var(--color-text-primary);
}

.btn-chat-action.secondary:hover {
  background-color: #E2E8F0;
}

/* Typing indicator */
.chat-typing-indicator {
  padding: 8px 18px;
  background-color: #F0F4F8;
  border-radius: 18px;
  align-self: flex-start;
  margin-left: 24px;
  margin-bottom: 12px;
  display: flex;
  gap: 4px;
  width: fit-content;
}

.chat-typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: var(--color-text-secondary);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.chat-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.chat-footer {
  padding: 16px 24px;
  background-color: var(--color-bg-primary);
  border-top: 1px solid rgba(17, 30, 46, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-quick-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-pill {
  padding: 8px 16px;
  background-color: #FFFFFF;
  border: 1px solid rgba(17, 30, 46, 0.08);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.quick-pill:hover {
  border-color: var(--color-accent-rose);
  color: var(--color-accent-rose-dark);
  background-color: var(--color-accent-rose-light);
}

.chat-input-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

#chat-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 50px;
  border: 1px solid rgba(17, 30, 46, 0.08);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

#chat-input:focus {
  border-color: var(--color-accent-rose);
  box-shadow: 0 0 0 3px rgba(201, 122, 122, 0.15);
}

#chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-accent-rose);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  color: #FFFFFF;
}

#chat-send:hover {
  background-color: var(--color-accent-rose-dark);
  transform: scale(1.05);
}

#chat-send svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transform: rotate(-10deg) translate(1px, -1px);
}

/* ==========================================================================
   About / Catalina Section
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: var(--color-bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-soft);
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-accent-rose);
  color: #FFFFFF;
  padding: 24px 32px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-experience-badge strong {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 2px;
}

.about-experience-badge span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  opacity: 0.9;
}

.about-info p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--color-accent-rose-dark);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-signature {
  border-top: 1px solid rgba(17, 30, 46, 0.08);
  padding-top: 24px;
  margin-top: 36px;
}

.sig-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: 2px !important;
}

.sig-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-text-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.contact-details {
  color: #FFFFFF;
}

.contact-info-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-rose);
  flex-shrink: 0;
}

.info-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.info-block h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-rose-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.info-block p {
  color: rgba(255, 255, 255, 0.8);
}

.link-hover {
  text-decoration: none;
  transition: var(--transition-smooth);
}

.link-hover:hover {
  color: var(--color-accent-rose) !important;
}

/* Traditional Form Styling */
.contact-form-box {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 48px;
  box-shadow: var(--box-shadow-premium);
}

.contact-form-box h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-instruction {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(17, 30, 46, 0.1);
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  background-color: #FCFBF9;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-rose);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(201, 122, 122, 0.15);
}

.alert-success {
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #1E7E34;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
footer {
  background-color: #0B131D;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 52px;
  width: auto;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-accent-rose);
  padding-left: 4px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-contact a {
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-contact a:hover {
  color: var(--color-accent-rose);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ==========================================================================
   Modal Overlay
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 19, 29, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease forwards;
}

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

.modal-content {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius-md);
  max-width: 500px;
  width: 90%;
  padding: 36px;
  position: relative;
  box-shadow: var(--box-shadow-premium);
  animation: modalScaleUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--color-accent-rose-dark);
}

.modal-icon-success {
  width: 60px;
  height: 60px;
  background-color: #E6F9ED;
  color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon-success svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.modal-content h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  text-align: center;
}

.modal-content p {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.modal-data-box {
  background-color: var(--color-bg-primary);
  border-radius: var(--border-radius-sm);
  padding: 18px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.modal-data-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1.5px dashed rgba(17, 30, 46, 0.05);
  padding: 8px 0;
}

.modal-data-row:last-child {
  border-bottom: none;
}

.modal-data-row span:first-child {
  color: var(--color-text-secondary);
}

.modal-data-row span:last-child {
  font-weight: 700;
  color: var(--color-text-primary);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .region-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .region-card:nth-child(3) {
    grid-column: span 2;
    height: 380px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shopper-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .shopper-img {
    height: 380px;
  }
  .shopper-floating-card {
    right: 0;
    bottom: -10px;
  }
  .captacion-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-img {
    height: 420px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Navigation Mobile */
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-secondary);
    padding: 100px 36px;
    box-shadow: -10px 0 30px rgba(17, 30, 46, 0.1);
    transition: var(--transition-smooth);
    z-index: 1000;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-link {
    color: var(--color-text-primary);
    font-size: 1.1rem;
  }
  
  #main-header.scrolled .nav-link {
    color: var(--color-text-primary);
  }
  
  .btn-header {
    border-color: var(--color-accent-rose) !important;
    color: var(--color-accent-rose) !important;
    width: 100%;
    text-align: center;
  }
  
  /* Changing hamburger color when menu is open */
  .mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-text-primary);
  }
  .mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-text-primary);
  }

  .region-grid {
    grid-template-columns: 1fr;
  }
  
  .region-card:nth-child(3) {
    grid-column: span 1;
    height: 460px;
  }
  
  .shopper-img {
    height: 320px;
  }
  
  .contact-form-box {
    padding: 24px;
  }
  
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Mobile padding optimization */
  section {
    padding: 60px 0 !important;
  }
  .hero-section {
    padding: 120px 0 60px !important;
    height: auto;
    min-height: 100vh;
  }
  
  /* Floating WhatsApp Button for Mobile Adjustments */
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp-btn svg {
    width: 26px;
    height: 26px;
  }
  
  /* Mobile Logo Size Override */
  .header-logo-svg {
    height: 50px;
  }
  #main-header.scrolled .header-logo-svg {
    height: 44px;
  }
  
  /* Responsive Title Badge Layout */
  .title-with-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .title-with-badge .section-brand-badge {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
  
  /* Center-aligned responsive overrides */
  .text-center .title-with-badge {
    align-items: center;
  }
}

/* Floating WhatsApp Button Base Styles (Desktop) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition-smooth);
  animation: pulseWa 2s infinite;
}

.floating-whatsapp-btn:hover {
  background-color: #20BA5A;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes pulseWa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Footer Creator Link Style */
.footer-creator-link {
  color: var(--color-accent-rose);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.footer-creator-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Title with Brand Badge Flex Container */
.title-with-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.title-with-badge .section-title {
  margin-bottom: 0;
}

.title-with-badge .section-brand-badge {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Section Brand Badge Base */
.section-brand-badge {
  width: 54px;
  height: 54px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

/* Center Alignment overrides for Title with Badge (Desktop) */
.text-center .title-with-badge {
  justify-content: center;
}

/* Video Background Styles */
.hero-bg {
  animation: none !important; /* Disable zoom animation on video container */
  transform: none !important;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 19, 29, 0.6) 0%, rgba(11, 19, 29, 0.8) 100%);
  z-index: -1;
}
