/*
Theme Name: Funeraria Cuadros
Theme URI: https://funerariacuadros.cl
Author: CreaFlow / PST
Author URI: https://creaflow.cl
Description: Tema WordPress propio para Funeraria Cuadros. Diseño 5 Lila-Glossy con atención 24/7 en Puente Alto y Región Metropolitana.
Version: 2.0.0
Text Domain: funeraria-cuadros
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400;1,600;1,700&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   1. DESIGN SYSTEM — TOKENS LILA-GLOSSY (DISEÑO 5 DEFICITIVO)
   ========================================================================== */
:root {
  --ivory: #f8f2e6;
  --beige: #efe4d0;
  --card: #fffcf6;
  --lilac: #a98fd2;
  --lilac-deep: #7d5fa8;
  --lilac-soft: #ded0f0;
  --lilac-muted: #f2ebfa;
  --plum-ink: #3d3348;
  --plum-soft: #6b5f78;
  --gold-hint: #c9a86a;

  /* WhatsApp Verde Vivo Aprobado (Texto Blanco Cumple AA) */
  --wa-green: #1DA851;
  --wa-green-bright: #25D366;
  --wa-green-dark: #128C7E;

  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  --shadow-glossy: inset 0 1px 0 #FFFFFF, 0 12px 32px rgba(125, 95, 168, 0.12);
  --shadow-btn-lilac: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px rgba(125, 95, 168, 0.35);
  --shadow-btn-wa: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px rgba(18, 140, 126, 0.4);
  --shadow-sm: 0 4px 14px rgba(61, 51, 72, 0.06);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --max-width: 1240px;
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--plum-ink);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px; /* Espacio para barra móvil flotante */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--plum-ink);
  font-weight: 600;
}

em, .text-italic {
  font-style: italic;
  color: var(--lilac-deep);
}

a {
  color: var(--lilac-deep);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--plum-ink);
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--lilac-deep);
  outline-offset: 2px;
}

.fc-container, .container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .fc-container, .container {
    padding: 0 32px;
  }
}

/* Reducción de Movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-video-bg {
    display: none !important;
  }
  .hero-media {
    background-image: url('assets/images/hero-poster.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
  }
}

/* ==========================================================================
   2. BOTONES Y ACCIONES (CLASE DEDICADA WHATSAPP EN VERDE VIVO)
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  line-height: 1.2;
}

/* Botón Llamar en Lila Glossy */
.btn-call, .btn-glossy-lilac, .fc-btn-header-call, .fc-btn-hero-call {
  background: linear-gradient(180deg, #8A6EB5 0%, #7D5FA8 60%, #6E5099 100%);
  color: #FFFFFF !important;
  border: 1px solid #6E5099;
  box-shadow: var(--shadow-btn-lilac);
}

.btn-call:hover, .btn-glossy-lilac:hover, .fc-btn-header-call:hover, .fc-btn-hero-call:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 30px rgba(125, 95, 168, 0.45);
  background: linear-gradient(180deg, #9578BE 0%, #8364AD 60%, #73549E 100%);
}

/* Botón WhatsApp en VERDE VIVO (Cumple Contraste AA con Texto Blanco) */
.btn-whatsapp, .btn-wa, .btn-glossy-whatsapp, .fc-btn-header-wa, .fc-btn-hero-wa, .btn-wa-green, .fc-btn-interior-wa, .fc-btn-ivory-wa {
  background: linear-gradient(180deg, #1DA851 0%, #179647 50%, #128C7E 100%);
  color: #FFFFFF !important;
  border: 1px solid #128C7E;
  box-shadow: var(--shadow-btn-wa);
}

.btn-whatsapp:hover, .btn-wa:hover, .btn-glossy-whatsapp:hover, .fc-btn-header-wa:hover, .fc-btn-hero-wa:hover, .btn-wa-green:hover, .fc-btn-interior-wa:hover, .fc-btn-ivory-wa:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #25D366 0%, #1DA851 50%, #128C7E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 30px rgba(18, 140, 126, 0.5);
}

.btn-outline-lilac {
  background: rgba(255, 252, 246, 0.9);
  color: var(--lilac-deep) !important;
  border: 1.5px solid var(--lilac);
  box-shadow: var(--shadow-sm);
}

.btn-outline-lilac:hover {
  background: var(--lilac-deep);
  color: #FFFFFF !important;
  border-color: var(--lilac-deep);
  transform: translateY(-2px);
}

/* Tarjeta Glossy Reutilizable */
.glossy-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--lilac-soft);
  box-shadow: var(--shadow-glossy);
  overflow: hidden;
  transition: all 0.35s ease;
}

.glossy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.glossy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(125, 95, 168, 0.18);
  border-color: var(--lilac);
}

/* ==========================================================================
   3. TOPBAR Y HEADER HÍBRIDO
   ========================================================================== */
.topbar {
  background-color: var(--plum-ink);
  color: var(--ivory);
  font-size: 0.85rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(222, 208, 240, 0.2);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(169, 143, 210, 0.25);
  color: var(--lilac-soft);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--lilac);
}

.topbar-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 0 8px #25D366;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--lilac-soft);
}

.topbar-phone:hover {
  color: #FFFFFF;
}

/* Site Header Sticky con Logo Overlap & Shrink */
.site-header, .fc-header {
  background-color: rgba(248, 242, 230, 0.94);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--lilac-soft);
  box-shadow: 0 4px 20px rgba(61, 51, 72, 0.05);
  transform: translateZ(0);
  will-change: transform;
  overflow: visible;
}

.site-header.scrolled, .fc-header.scrolled {
  background-color: rgba(248, 242, 230, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(61, 51, 72, 0.12);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  position: relative;
  overflow: visible;
}

/* Brand Lockup (Opción 1: Monograma Dorado + Nombre en Texto Cormorant Garamond) */
.logo-slot-text {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  height: var(--header-height, 76px);
  z-index: 1010;
  position: relative;
}

.brand-monogram-pic {
  display: flex;
  align-items: center;
}

.brand-monogram-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 6px rgba(61, 51, 72, 0.12));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--plum-ink);
  letter-spacing: 0.3px;
  transition: font-size 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lilac-deep);
  text-transform: uppercase;
  letter-spacing: 2.2px;
  margin-top: 1px;
}

/* Estado Scrolled Sticky Header */
.site-header.scrolled .brand-monogram-img {
  height: 42px;
}

.site-header.scrolled .brand-title {
  font-size: 1.45rem;
}

/* Light Nav & Header Actions */
.light-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.light-nav a {
  color: var(--plum-ink);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
}

.light-nav a:hover {
  color: var(--lilac-deep);
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions-mobile {
  display: none;
}

.mobile-sheet-header, .mobile-sheet-actions {
  display: none;
}

/* ==========================================================================
   OPTIMIZACIÓN MÓVIL (BOTTOM SHEET MENU & FAST CONVERSION CONTROLS)
   ========================================================================== */
@media (max-width: 860px) {
  .logo-slot-text {
    gap: 10px;
  }

  .brand-monogram-img {
    height: 40px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  .site-header.scrolled .brand-monogram-img {
    height: 35px;
  }

  .site-header.scrolled .brand-title {
    font-size: 1.15rem;
  }

  .header-actions-desktop {
    display: none !important;
  }

  .header-actions-mobile {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-direct-call-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #8A6EB5 0%, #7D5FA8 60%, #6E5099 100%);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(125, 95, 168, 0.35);
    border: 1px solid #6E5099;
    transition: transform 0.2s ease;
  }

  .mobile-direct-call-btn:active {
    transform: scale(0.95);
  }

  .mobile-menu-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--card);
    border: 1.5px solid var(--lilac-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }

  .mobile-menu-toggle-btn span {
    width: 20px;
    height: 2px;
    background-color: var(--plum-ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Bottom Sheet Panel Navigation */
  .light-nav {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 85vh;
    background: var(--ivory-card, #fffcf6);
    border-radius: 24px 24px 0 0;
    border-top: 1px solid var(--lilac-soft);
    box-shadow: 0 -10px 40px rgba(61, 51, 72, 0.3);
    z-index: 2000;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 20px 24px 32px;
    overflow-y: auto;
  }

  .light-nav.fc-sheet-open {
    bottom: 0;
  }

  .mobile-sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 36, 54, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-sheet-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--lilac-soft);
    margin-bottom: 12px;
  }

  .mobile-sheet-header span {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--plum-ink);
  }

  .mobile-sheet-close {
    background: var(--lilac-muted);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--plum-ink);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .light-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .light-nav ul li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--plum-ink);
    border-radius: 12px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .light-nav ul li a:hover, .light-nav ul li a:focus {
    background: var(--lilac-muted);
    color: var(--lilac-deep);
  }

  .mobile-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--lilac-soft);
  }

  .mobile-sheet-actions .btn {
    width: 100%;
    min-height: 50px;
  }
}

/* ==========================================================================
   4. HERO CON PARALLAX CONTINUO Y CHAT MOCKUP BUBBLE
   ========================================================================== */
.hero-sticky-wrap {
  position: relative;
  min-height: 100vh;
}

.hero-media {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  background: var(--plum-ink);
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-glossy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(61, 51, 72, 0.78) 0%, rgba(125, 95, 168, 0.65) 50%, rgba(61, 51, 72, 0.92) 100%);
  z-index: 2;
}

.hero-content-fixed {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 940px;
  padding: 0 20px;
  color: #FFFFFF;
  will-change: transform, opacity;
}

.hero-panic-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 252, 246, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--ivory);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-content-fixed h1 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(2.4rem, 1.8rem + 3.5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-shadow: 0 4px 20px rgba(61, 51, 72, 0.4);
}

.hero-lead {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  color: var(--ivory);
  margin-bottom: 28px;
  font-weight: 300;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Chat Mockup Bubble en Hero (Cristal Blanco Glossy) */
.chat-mockup-bubble {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 252, 246, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 22px;
  border-radius: 24px;
  border: 1px solid var(--lilac-soft);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, #D9CEEA 40%, #8E7BAE 100%);
  color: var(--lilac-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px #FFFFFF, 0 2px 8px rgba(78, 62, 110, 0.3);
}

.chat-content {
  display: flex;
  flex-direction: column;
}

.chat-sender {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lilac-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-text {
  font-size: 0.88rem;
  color: var(--plum-ink);
  font-weight: 500;
  margin: 2px 0;
}

.chat-status {
  font-size: 0.72rem;
  color: #128C7E;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #25D366;
  box-shadow: 0 0 6px #25D366;
}

/* Hero Title & Subtitle Hierarchy */
.hero-title-main {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 2rem + 2.5vw, 4.2rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-emotional-subtitle {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem);
  color: var(--beige);
  margin: 6px 0 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

/* ==========================================================================
   5. PANEL "¿QUÉ HACER AHORA MISMO?" (Superpuesto al Hero)
   ========================================================================== */
.next-section {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--ivory);
  box-shadow: 0 -20px 50px rgba(61, 51, 72, 0.25);
  padding: 70px 0;
}

.drag-handle-bar {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--lilac-soft);
  margin: -40px auto 36px;
}

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

@media (max-width: 860px) {
  .pasos-grid, .pasos-grid-horizontal {
    grid-template-columns: 1fr;
  }
}

.paso-card {
  background: var(--card);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-glossy);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(61, 51, 72, 0.12);
}

.paso-number {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--lilac), var(--lilac-deep));
  color: #FFFFFF;
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(125, 95, 168, 0.3);
}

.paso-card h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--plum-ink);
  margin-bottom: 10px;
}

.paso-card p {
  font-size: 0.95rem;
  color: var(--plum-soft);
  line-height: 1.6;
}

/* ==========================================================================
   6. FRANJA DE CONFIANZA LUMINOSA (GLOSSY & GLASS)
   ========================================================================== */
.ganchos-bar, .ganchos-bar-luminous {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.95) 0%, rgba(242, 235, 250, 0.9) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(222, 208, 240, 0.8);
  border-bottom: 1px solid rgba(222, 208, 240, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 30px rgba(61, 51, 72, 0.05);
}

.ganchos-grid, .ganchos-grid-luminous {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}

.gancho-item, .gancho-item-luminous {
  background: var(--card);
  border: 1px solid var(--lilac-soft);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-glossy);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gancho-item-luminous:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(125, 95, 168, 0.15);
}

.gancho-icon, .gancho-badge-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--lilac-muted), #FFFFFF);
  border: 1px solid var(--lilac-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--lilac-deep);
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(125, 95, 168, 0.15);
}

.gancho-item {
  background: var(--card);
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--lilac-deep);
}

.gancho-icon {
  width: 42px;
  height: 42px;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
}

.gancho-item h4 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--plum-ink);
  margin-bottom: 6px;
}

.gancho-item p {
  font-size: 0.88rem;
  color: var(--plum-soft);
  line-height: 1.5;
}

/* ==========================================================================
   7. BLOQUE DE ACOMPAÑAMIENTO PERSONAL ("LE ACOMPAÑAMOS EN CADA DETALLE")
      (REEMPLAZA POR COMPLETO A LA SECCIÓN DE PLANES CON PRECIOS)
   ========================================================================== */
.sec-acompanamiento {
  padding: 90px 0;
  background: var(--ivory);
}

.acompanamiento-card-glossy {
  position: relative;
  background: linear-gradient(160deg, #FFFDF9 0%, #F5ECE0 50%, #EFE7DC 100%);
  border: 1.5px solid var(--lilac-soft);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 20px 48px -16px rgba(125, 95, 168, 0.2);
}

.acompanamiento-grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
  margin: 36px 0;
}

.acompanamiento-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 252, 246, 0.85);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(222, 208, 240, 0.6);
  box-shadow: inset 0 1px 0 #FFFFFF;
}

.feature-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lilac-muted);
  color: var(--lilac-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.feature-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--plum-ink);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--plum-soft);
  line-height: 1.45;
}

/* Section Header Reutilizable */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px auto;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--lilac-deep);
  margin-bottom: 10px;
  display: inline-block;
  background: var(--lilac-muted);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--lilac-soft);
}

.section-header h2 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  color: var(--plum-ink);
  line-height: 1.18;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--plum-soft);
  margin-top: 14px;
  font-weight: 300;
}

/* ==========================================================================
   8. NOSOTROS Y SERVICIOS INTEGRALES
   ========================================================================== */
.nosotros {
  padding: 90px 0;
  background-color: var(--beige);
}

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: center;
}

.servicios {
  padding: 90px 0;
  background-color: var(--ivory);
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
  margin-top: 36px;
}

.servicio-card {
  padding: 32px 24px;
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--lilac-soft);
  box-shadow: var(--shadow-glossy);
  transition: transform 0.3s ease;
}

.servicio-card:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   9. CATÁLOGO DISCRETO "NUESTROS MODELOS"
   ========================================================================== */
.modelos {
  padding: 90px 0;
  background-color: var(--beige);
}

.modelos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 20px;
  margin-top: 40px;
}

.modelo-figure {
  margin: 0;
}

.modelo-img-wrap {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--lilac-soft);
  box-shadow: var(--shadow-glossy);
  position: relative;
  background: var(--card);
}

.modelo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modelo-figure:hover .modelo-img-wrap img {
  transform: scale(1.04);
}

.modelo-caption {
  padding: 14px 4px 0;
}

.modelo-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--plum-ink);
  display: block;
}

.modelo-sub {
  font-size: 0.85rem;
  color: var(--plum-soft);
}

/* ==========================================================================
   10. COBERTURA POR COMUNA Y FAQ
   ========================================================================== */
.cobertura {
  padding: 80px 0;
  background-color: var(--ivory);
}

.comunas-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.chip-core {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--lilac-deep);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 12px rgba(125, 95, 168, 0.3);
}

.chip-rm {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--lilac-soft);
  color: var(--plum-ink);
  font-weight: 500;
  font-size: 0.88rem;
}

/* FAQ Accordion */
.faq-sec {
  padding: 90px 0;
  background-color: var(--beige);
}

.fc-faq-list {
  max-width: 860px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fc-faq-item {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--lilac-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.fc-faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--plum-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.fc-faq-panel {
  padding: 0 24px 20px;
  color: var(--plum-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.fc-faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--lilac-deep);
}

.fc-faq-item.active .fc-faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   11. FOOTER Y BARRA FLOTANTE MÓVIL
   ========================================================================== */
.site-footer, .fc-footer {
  background-color: var(--plum-ink);
  color: var(--ivory);
  padding: 80px 0 120px;
  border-top: 1px solid var(--lilac-soft);
}

.site-footer a {
  color: var(--lilac-soft);
}

.site-footer a:hover {
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(222, 208, 240, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--lilac-soft);
}

/* Barra Flotante Móvil en la parte inferior */
.fc-mobile-floating-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1200;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 26px;
  background: rgba(248, 242, 230, 0.92);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 14px 34px -12px rgba(61, 51, 72, 0.4);
}

@media (min-width: 769px) {
  .fc-mobile-floating-bar {
    display: none;
  }
}

.fc-btn-mobile-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 19px;
  background: linear-gradient(180deg, #8A6EB5 0%, #7D5FA8 60%, #6E5099 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.fc-btn-mobile-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 19px;
  background: linear-gradient(180deg, #1DA851 0%, #179647 50%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* FAB WhatsApp Escritorio */
.desktop-wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1DA851 0%, #179647 50%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #128C7E;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 16px 34px -12px rgba(18, 140, 126, 0.6);
  transition: all 0.35s ease;
}

@media (max-width: 768px) {
  .desktop-wa-float {
    display: none;
  }
}

.desktop-wa-float:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #25D366 0%, #1DA851 50%, #128C7E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 20px 40px -12px rgba(18, 140, 126, 0.7);
}
