/* =========================================================
   VARIABLES & CONFIGURACIÓN BASE
========================================================= */
:root {
  --primary-blue: #0ea5e9;
  --primary-blue-dark: #0284c7;
  --accent-light: #38bdf8;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --navbar-bg: #ffffff;
  --radius-nav: 12px;
  --radius-btn: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  overflow-x: hidden;
}


/* =========================================================
   HERO CONTAINER & FONDOS
========================================================= */
.hero-container {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 620px;
  overflow: hidden;
  background: #020617;
}

/* Video de fondo */
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.02);
}

/* Capa de contraste */
.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.92) 0%,
    rgba(2, 6, 23, 0.72) 38%,
    rgba(2, 6, 23, 0.35) 75%,
    rgba(2, 6, 23, 0.55) 100%
  );
}

/* Efecto Luz / Glow Azul */
.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  left: -250px;
  top: 80px;
  z-index: 3;
  background: rgba(14, 165, 233, 0.22);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

/* Malla de cuadrícula tecnológica */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}


/* =========================================================
   ELEMENTOS DECORATIVOS AZULES (WEDGES)
========================================================= */
.top-blue-wedge {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 5;
  opacity: 0.95;
}

.bottom-blue-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75px;
  z-index: 5;
  background: linear-gradient(120deg, var(--primary-blue-dark), var(--primary-blue));
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}












/* =========================================================
   NAVBAR MODERNO - AGENDAPP
========================================================= */

:root {
    --primary-sky: #0284c7;
    --primary-hover: #0369a1;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(226, 232, 240, 0.8);
}

/* Wrapper Fijo arriba con desenfoque */
.nav-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.navbar {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo span {
    color: var(--primary-sky);
}

.logo-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-sky);
    border-radius: 50%;
    display: inline-block;
    margin-left: 2px;
}

/* CONTENEDOR NAV (Escritorio) */
.nav-container {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* LINKS */
.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s ease;
    padding: 0.4rem 0;
}

.nav-link:hover {
    color: var(--primary-sky);
}

.chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-link:hover .chevron {
    transform: translateY(2px);
}

/* CTA BOTÓN */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-sky);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.ws-icon {
    width: 18px;
    height: 18px;
}

/* HAMBURGUESA MÓVIL */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* RESPONSIVO (MÓVIL) */
@media (max-width: 850px) {
    .nav-toggle {
        display: flex;
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border-glass);
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        
        /* Oculto por defecto */
        display: none;
    }

    /* Clase active para abrir menú desde JS */
    .nav-container.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        font-size: 1.05rem;
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 0.85rem;
    }
}











/* =========================================================
   NAVBAR FLOTANTE
========================================================= */
.nav-wrapper {
  position: relative;
  z-index: 30;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 20px 10px 24px;
  border-radius: var(--radius-nav);
  background: var(--navbar-bg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--primary-blue);
  white-space: nowrap;
}

.logo span {
  color: var(--text-dark);
}

.logo-dot {
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--primary-blue);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.8);
}

/* Contenedor del Menú (Escritorio) */
.nav-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

/* Lista de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--primary-blue);
  font-size: 0.92rem;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.chevron {
  width: 14px;
  height: 14px;
  stroke: var(--primary-blue);
  transition: transform 0.25s ease;
}

.nav-link:hover .chevron {
  transform: translateY(2px);
}

/* Botón CTA Navbar */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.45);
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

/* Botón Hamburguesa (Oculto en Escritorio) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 26px;
  z-index: 40;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* =========================================================
   HERO CONTENT
========================================================= */
.hero-content-wrapper {
  position: absolute;
  z-index: 15;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1280px;
  padding: 0 24px;
}

.hero-content {
  max-width: 780px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.15);
  backdrop-filter: blur(10px);
  color: #bae6fd;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

.hero-title {
  font-size: clamp(4.5rem, 9.5vw, 8.5rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-title span {
  color: var(--accent-light);
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.hero-description {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 400;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */
.scroll-indicator {
  position: absolute;
  z-index: 20;
  bottom: 28px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.scroll-line {
  width: 38px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}


/* =========================================================
   RESPONSIVE (MÓVILES Y TABLETS < 900px)
========================================================= */
@media (max-width: 900px) {
  .navbar {
    position: relative;
  }

  /* Mostrar el botón toggle */
  .nav-toggle {
    display: flex;
  }

  /* Animación del icono a 'X' */
  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  /* Menú Flotante Colapsable en Móvil */
  .nav-container {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    padding: 24px 20px;
    border-radius: var(--radius-nav);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    gap: 20px;
    margin-left: 0;

    /* Oculto por defecto con efecto fade y slide */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
  }

  /* Estado visible al presionar el menú */
  .nav-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    padding: 8px 0;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 0.95rem;
  }

  .hero-content-wrapper {
    top: 56%;
  }

  .hero-title {
    font-size: clamp(3.8rem, 14vw, 6.5rem);
  }

  .hero-content {
    max-width: 650px;
  }
}

@media (max-width: 600px) {
  .hero-container {
    height: 78vh;
    min-height: 580px;
  }

  .nav-wrapper {
    padding: 14px 14px 0;
  }

  .navbar {
    padding: 10px 16px;
    border-radius: 10px;
  }

  .hero-content-wrapper {
    top: 55%;
    padding: 0 20px;
  }

  .hero-badge {
    font-size: 0.7rem;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(3.5rem, 17vw, 5.2rem);
    letter-spacing: -0.05em;
  }

  .hero-subtitle {
    font-size: 1.35rem;
    max-width: 350px;
  }

  .hero-description {
    font-size: 0.88rem;
    max-width: 320px;
  }

  .top-blue-wedge {
    width: 180px;
    height: 180px;
  }

  .bottom-blue-bar {
    height: 55px;
  }

  .scroll-indicator {
    display: none;
  }
}






/* =========================================================
   SECCIÓN DE ESTADÍSTICAS / CINTA DE MÉTRICAS
========================================================= */
.stats-section {
  width: 100%;
  background: #ffffff;
  padding: 40px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary-blue, #0ea5e9);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: #cbd5e1;
}

/* Adaptación Móvil */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    gap: 28px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }
}








/* =========================================================
   AGENDAPP - SECCIÓN DE SOLUCIONES
   ========================================================= */

.solutions-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 110px 32px 120px;
    position: relative;
    overflow: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;
}

/* =========================================================
   ENCABEZADO
   ========================================================= */

.solutions-header {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Pequeño identificador superior */
.solutions-header::before {
    content: "SOLUCIONES AGENDAPP";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 16px;
    margin-bottom: 22px;

    border-radius: 999px;

    background: #e0f2fe;
    color: #0284c7;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* TÍTULO PRINCIPAL */

.solutions-title {
    margin: 0 auto;

    max-width: 850px;

    color: #0f172a;

    font-size: clamp(2.8rem, 6vw, 5.3rem);
    line-height: 0.92;

    font-weight: 950;
    letter-spacing: -0.055em;

    text-transform: uppercase;

    text-align: center;
}

/* Palabra destacada opcional */
.solutions-title span {
    color: #0284c7;
}

/* SUBTÍTULO */

.solutions-subtitle {
    margin: 24px auto 0;

    max-width: 620px;

    color: #64748b;

    font-size: 1rem;
    line-height: 1.6;

    font-weight: 400;

    text-align: center;
}

/* =========================================================
   CONTENEDOR DEL CARRUSEL
   ========================================================= */

.solutions-carousel-wrapper {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;

    padding: 0 45px;
}

/*
   IMPORTANTE:

   El grid ya NO muestra todas las tarjetas.
   Funciona como una ventana que oculta
   las tarjetas que están fuera.
*/

.cards-grid {
    width: 100%;

    display: flex;
    gap: 20px;

    overflow: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.cards-grid::-webkit-scrollbar {
    display: none;
}

/* =========================================================
   TARJETAS
   ========================================================= */

.flip-card {
    flex: 0 0 calc((100% - 40px) / 3);

    height: 350px;

    perspective: 1200px;

    cursor: pointer;
}

.flip-card-inner {
    width: 100%;
    height: 100%;

    position: relative;

    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);

    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* =========================================================
   FRENTE
   ========================================================= */

.flip-card-front,
.flip-card-back {
    position: absolute;

    width: 100%;
    height: 100%;

    top: 0;
    left: 0;

    border-radius: 22px;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    overflow: hidden;
}

/* Frente */

.flip-card-front {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(14, 165, 233, 0.10),
            transparent 45%
        ),
        #ffffff;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.06);

    padding: 28px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.flip-card:hover .flip-card-front {
    box-shadow:
        0 30px 70px rgba(14, 165, 233, 0.14);
}

/* =========================================================
   ICONO
   ========================================================= */

.card-icon-wrapper {
    width: 58px;
    height: 58px;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #e0f2fe,
        #f0f9ff
    );

    color: #0284c7;

    box-shadow:
        0 12px 25px rgba(14, 165, 233, 0.12);
}

.card-icon-wrapper svg {
    width: 27px;
    height: 27px;
}

/* =========================================================
   TÍTULO DE TARJETA
   ========================================================= */

.card-title {
    margin: auto 0 12px;

    color: #0f172a;

    font-size: 1.25rem;
    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -0.03em;
}

/* =========================================================
   BOTÓN "CONOCER MÁS"
   ========================================================= */

.btn-card-front {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;

    color: #0284c7;

    font-size: 0.75rem;
    font-weight: 800;

    transition: gap 0.25s ease;
}

.btn-card-front::after {
    content: "→";

    font-size: 16px;

    transition: transform 0.25s ease;
}

.flip-card:hover .btn-card-front::after {
    transform: translateX(5px);
}

/* Línea inferior */

.flip-card-front::after {
    content: "";

    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 0;

    height: 3px;

    background: #0ea5e9;

    border-radius: 5px 5px 0 0;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;
}

.flip-card:hover .flip-card-front::after {
    transform: scaleX(1);
}

/* =========================================================
   PARTE TRASERA
   ========================================================= */

.flip-card-back {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(14, 165, 233, 0.25),
            transparent 45%
        ),
        #0f172a;

    color: white;

    padding: 30px;

    transform: rotateY(180deg);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-back-badge {
    color: #38bdf8;

    font-size: 0.7rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    margin-bottom: 18px;
}

.flip-card-back h4 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: 1.45rem;

    font-weight: 900;

    letter-spacing: -0.03em;
}

.flip-card-back p {
    margin: 0;

    color: #cbd5e1;

    font-size: 0.9rem;

    line-height: 1.65;
}

/* =========================================================
   BOTONES DEL CARRUSEL
   ========================================================= */

.carousel-btn {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 48px;
    height: 48px;

    border-radius: 50%;

    border: 1px solid #e2e8f0;

    background: rgba(255,255,255,0.95);

    color: #0284c7;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow:
        0 10px 30px rgba(15,23,42,0.10);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn:hover {
    background: #0284c7;
    color: #ffffff;

    box-shadow:
        0 15px 35px rgba(14,165,233,0.25);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.92);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .solutions-section {
        padding: 80px 20px 90px;
    }

    .solutions-header {
        margin-bottom: 45px;
    }

    .solutions-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .solutions-carousel-wrapper {
        padding: 0 35px;
    }

    .flip-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .solutions-section {
        padding: 70px 15px 80px;
    }

    .solutions-header {
        margin-bottom: 35px;
    }

    .solutions-title {
        font-size: 2.5rem;
        line-height: 0.95;
    }

    .solutions-subtitle {
        font-size: 0.9rem;
    }

    .solutions-carousel-wrapper {
        padding: 0 10px;
    }

    .cards-grid {
        gap: 15px;
    }

    .flip-card {
        flex: 0 0 100%;
        height: 330px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -2px;
    }

    .next-btn {
        right: -2px;
    }
}





/* =========================================================
   AGENDAPP - TIPOS DE NEGOCIO
   ========================================================= */

.business-type-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    padding: 110px 30px 120px;

    font-family: system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, sans-serif;

    position: relative;
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.business-type-header {
    max-width: 850px;
    margin: 0 auto 55px;

    text-align: center;
}


/* Etiqueta superior */

.business-type-header::before {
    content: "PARA CADA TIPO DE NEGOCIO";

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 7px 16px;
    margin-bottom: 22px;

    border-radius: 999px;

    background: #e0f2fe;

    color: #0284c7;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.12em;
}


/* Título */

.business-type-title {
    margin: 0;

    color: #0f172a;

    font-size: clamp(2.8rem, 6vw, 5rem);

    line-height: 0.95;

    font-weight: 950;

    letter-spacing: -0.055em;
}


/* Descripción */

.business-type-description {
    max-width: 700px;

    margin: 25px auto 0;

    color: #64748b;

    font-size: 1rem;

    line-height: 1.7;
}


/* Frase final */

.business-type-tagline {
    margin: 14px 0 0;

    color: #0284c7;

    font-size: 0.95rem;

    letter-spacing: 0.01em;
}


/* =========================================================
   GRID
   ========================================================= */

.business-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    max-width: 1000px;

    margin: 0 auto;
}


/* =========================================================
   TARJETA / BOTÓN
   ========================================================= */

.business-pill {

    position: relative;

    min-height: 145px;

    padding: 22px;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(14, 165, 233, 0.08),
            transparent 45%
        ),
        #ffffff;

    color: #0f172a;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: space-between;

    text-align: left;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.04);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Línea azul inferior */

.business-pill::after {

    content: "";

    position: absolute;

    left: 22px;
    right: 22px;

    bottom: 0;

    height: 3px;

    border-radius: 4px 4px 0 0;

    background: #0ea5e9;

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.35s ease;
}


/* Hover */

.business-pill:hover {

    transform: translateY(-5px);

    border-color: #bae6fd;

    box-shadow:
        0 20px 45px rgba(14, 165, 233, 0.12);
}


.business-pill:hover::after {

    transform: scaleX(1);
}


/* =========================================================
   ICONO
   ========================================================= */

.pill-icon {

    width: 52px;
    height: 52px;

    border-radius: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f0f9ff;

    color: #0284c7;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}


.pill-icon svg {

    width: 25px;
    height: 25px;
}


.business-pill:hover .pill-icon {

    transform: scale(1.08);

    background: #e0f2fe;
}


/* =========================================================
   TEXTO
   ========================================================= */

.business-pill span {

    display: block;

    color: #0f172a;

    font-size: 0.95rem;

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.015em;

    padding-right: 15px;
}


/* =========================================================
   ESTADO ACTIVO
   ========================================================= */

.business-pill.active {

    background:
        linear-gradient(
            145deg,
            #0284c7,
            #0369a1
        );

    border-color: #0284c7;

    color: #ffffff;

    box-shadow:
        0 20px 45px rgba(2, 132, 199, 0.25);

    transform: translateY(-4px);
}


/* Icono activo */

.business-pill.active .pill-icon {

    background: rgba(255,255,255,0.16);

    color: #ffffff;
}


/* Texto activo */

.business-pill.active span {

    color: #ffffff;
}


/* Línea activa */

.business-pill.active::after {

    background: #ffffff;

    transform: scaleX(1);
}


/* =========================================================
   PEQUEÑO INDICADOR ACTIVO
   ========================================================= */

.business-pill.active::before {

    content: "✓";

    position: absolute;

    top: 18px;
    right: 18px;

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: rgba(255,255,255,0.16);

    color: #ffffff;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 12px;

    font-weight: 900;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .business-type-section {

        padding: 85px 20px 90px;
    }

    .business-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .business-type-title {

        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .business-type-section {

        padding: 70px 16px 80px;
    }

    .business-type-header {

        margin-bottom: 35px;
    }

    .business-type-title {

        font-size: 2.7rem;

        line-height: 0.95;
    }

    .business-type-description {

        font-size: 0.9rem;

        line-height: 1.6;
    }

    .business-grid {

        grid-template-columns: 1fr;

        gap: 12px;
    }

    .business-pill {

        min-height: 105px;

        padding: 18px;

        flex-direction: row;

        align-items: center;

        gap: 15px;
    }

    .pill-icon {

        width: 48px;
        height: 48px;

        flex-shrink: 0;
    }

    .business-pill span {

        font-size: 0.9rem;
    }

    .business-pill.active::before {

        top: 50%;

        right: 18px;

        transform: translateY(-50%);
    }
}




/* =========================================================
   ESTILOS BASE Y FONDO SKY-500 PARA AGENDAPP
========================================================= */

.agendapp-section {
    position: relative;

    width: 100%;
    max-width: none;

    margin: 0;

    padding: 5rem 1.25rem 10rem;

    box-sizing: border-box;

    background-color: #0ea5e9;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;

    overflow: hidden;
}


/* =========================================================
   DIAGONAL INFERIOR
========================================================= */

.agendapp-section::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 150px;

    background: #ffffff;

    clip-path: polygon(
        0 100%,
        100% 0,
        100% 100%
    );

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   TARJETA PRINCIPAL
========================================================= */

.agendapp-card {

    position: relative;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 65%,
            #f8fcff 100%
        );

    border: 1px solid #eef2f7;

    border-radius: 2rem;

    padding: 2rem;

    color: #0f172a;

    box-shadow:
        0 25px 60px
        rgba(15, 23, 42, 0.12);

    overflow: hidden;

    z-index: 2;
}


/* =========================================================
   LÍNEA DECORATIVA SUPERIOR
========================================================= */

.agendapp-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 8%;

    width: 84%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #38bdf8,
            #0284c7,
            transparent
        );

    opacity: 0.65;
}


/* =========================================================
   GLOW MUY SUAVE
========================================================= */

.agendapp-card::after {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -220px;
    right: -150px;

    border-radius: 50%;

    background:
        rgba(14, 165, 233, 0.06);

    filter: blur(70px);

    pointer-events: none;
}


@media (min-width: 768px) {

    .agendapp-card {

        padding: 4rem;

    }

}


/* =========================================================
   GRID
========================================================= */

.agendapp-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1fr;

    gap: 3.5rem;

    align-items: center;

}


@media (min-width: 1024px) {

    .agendapp-grid {

        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(350px, 0.85fr);

        gap: 5rem;

    }

}


/* =========================================================
   BADGE
========================================================= */

.agendapp-badge {

    display: inline-flex;

    align-items: center;

    gap: 0.6rem;

    padding:
        0.45rem 0.9rem;

    margin-bottom: 1.4rem;

    border-radius: 9999px;

    background:
        linear-gradient(
            135deg,
            #f0f9ff,
            #e0f2fe
        );

    color: #0284c7;

    font-size: 0.7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.07em;

    box-shadow:
        inset 0 0 0 1px
        rgba(14,165,233,0.08);

}


/* =========================================================
   PULSE DOT
========================================================= */

.pulse-dot {

    position: relative;

    width: 0.5rem;
    height: 0.5rem;

    border-radius: 50%;

    background-color: #0284c7;

    box-shadow:
        0 0 0 4px
        rgba(14,165,233,0.10);

}


.pulse-dot::after {

    content: "";

    position: absolute;

    inset: -4px;

    border-radius: 50%;

    border: 1px solid
        rgba(14,165,233,0.25);

    animation:
        agendappPulse 2s infinite;

}


@keyframes agendappPulse {

    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }

}


/* =========================================================
   TÍTULO
========================================================= */

.agendapp-title {

    max-width: 680px;

    font-size:
        clamp(
            2.5rem,
            3.7vw,
            4rem
        );

    line-height: 1.02;

    letter-spacing: -0.045em;

}


@media (min-width: 768px) {

    .agendapp-title {

        font-size:
            clamp(
                2.7rem,
                4.2vw,
                4.25rem
            );

    }

}


/* =========================================================
   TEXTO AZUL
========================================================= */

.text-sky {

    color: #0284c7;

    background:
        linear-gradient(
            135deg,
            #0284c7,
            #0ea5e9
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}


/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.agendapp-text {

    max-width: 720px;

    color: #334155;

    font-size: 0.96rem;

    line-height: 1.75;

    margin:
        0 0 1rem 0;

}


@media (min-width: 768px) {

    .agendapp-text {

        font-size: 1.02rem;

    }

}


.agendapp-text strong {

    color: #0f172a;

    font-weight: 750;

}


/* =========================================================
   TEXTO SECUNDARIO
========================================================= */

.agendapp-text-muted {

    max-width: 700px;

    color: #64748b;

    font-size: 0.88rem;

    line-height: 1.75;

    margin:
        0 0 2rem 0;

}


/* =========================================================
   CIUDADES
========================================================= */

.cities-label {

    font-size: 0.7rem;

    text-transform: uppercase;

    letter-spacing: 0.07em;

    color: #64748b;

    font-weight: 800;

    margin-bottom: 0.85rem;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}


.cities-label i {

    color: #0284c7;

}


.cities-list {

    display: flex;

    flex-wrap: wrap;

    gap: 0.55rem;

    margin-bottom: 2rem;

}


.city-tag {

    display: inline-flex;

    align-items: center;

    gap: 0.45rem;

    padding:
        0.5rem 0.75rem;

    background: #f8fafc;

    border: 1px solid #eef2f7;

    border-radius: 0.65rem;

    color: #475569;

    font-size: 0.72rem;

    font-weight: 650;

    transition:
        all 0.25s ease;

}


.city-tag i {

    color: #0284c7;

    font-size: 0.65rem;

}


.city-tag:hover {

    background: #f0f9ff;

    border-color:
        rgba(14,165,233,0.15);

    color: #0369a1;

    transform:
        translateY(-2px);

    box-shadow:
        0 5px 15px
        rgba(14,165,233,0.08);

}


/* =========================================================
   BOTÓN CTA
========================================================= */

.agendapp-btn {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 0.8rem;

    background:
        linear-gradient(
            135deg,
            #0284c7,
            #0ea5e9
        );

    color: #ffffff;

    font-weight: 800;

    text-transform: none;

    font-size: 0.82rem;

    letter-spacing: 0.01em;

    padding:
        0.9rem 1.35rem;

    border-radius: 0.8rem;

    text-decoration: none;

    box-shadow:
        0 12px 25px
        rgba(2,132,199,0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;

    overflow: hidden;

}


/* =========================================================
   BRILLO DEL BOTÓN
========================================================= */

.agendapp-btn::before {

    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.18),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left 0.6s ease;

}


.agendapp-btn:hover::before {

    left: 130%;

}


.agendapp-btn:hover {

    filter:
        brightness(1.04);

    transform:
        translateY(-3px);

    box-shadow:
        0 16px 32px
        rgba(2,132,199,0.28);

}


.agendapp-btn i {

    transition:
        transform 0.25s ease;

}


.agendapp-btn:hover i {

    transform:
        translateX(4px);

}


/* =========================================================
   TARJETA DERECHA
========================================================= */

.side-card {

    position: relative;

    background:
        linear-gradient(
            145deg,
            #f8fafc,
            #f1f5f9
        );

    border:
        1px solid #e8eef5;

    border-radius: 1.35rem;

    padding: 1.7rem;

    display: flex;

    flex-direction: column;

    gap: 1.35rem;

    box-shadow:
        0 15px 35px
        rgba(15,23,42,0.05);

}


/* =========================================================
   PEQUEÑO BRILLO
========================================================= */

.side-card::before {

    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 120px;
    height: 120px;

    background:
        radial-gradient(
            circle,
            rgba(14,165,233,0.10),
            transparent 70%
        );

    pointer-events: none;

}


/* =========================================================
   ITEM
========================================================= */

.advantage-item {

    display: flex;

    align-items: flex-start;

    gap: 1rem;

}


/* =========================================================
   ICONO
========================================================= */

.advantage-icon {

    position: relative;

    width: 2.7rem;
    height: 2.7rem;

    border-radius: 0.8rem;

    background:
        linear-gradient(
            135deg,
            #e0f2fe,
            #f0f9ff
        );

    border:
        1px solid
        rgba(14,165,233,0.10);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #0284c7;

    flex-shrink: 0;

    box-shadow:
        0 6px 15px
        rgba(14,165,233,0.08);

    transition:
        transform 0.25s ease,
        background 0.25s ease;

}


.advantage-item:hover .advantage-icon {

    transform:
        translateY(-3px)
        rotate(-3deg);

    background:
        #e0f2fe;

}


/* =========================================================
   TÍTULO
========================================================= */

.advantage-title {

    color: #0f172a;

    font-weight: 750;

    font-size: 0.92rem;

    line-height: 1.3;

    margin:
        0 0 0.35rem 0;

}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.advantage-desc {

    color: #64748b;

    font-size: 0.78rem;

    line-height: 1.6;

    margin: 0;

}


/* =========================================================
   DIVIDER
========================================================= */

.divider {

    height: 1px;

    background:
        linear-gradient(
            90deg,
            #e2e8f0,
            transparent
        );

    width: 100%;

}


/* =========================================================
   ESTADÍSTICAS
========================================================= */

.agendapp-stats {

    display: flex;

    align-items: stretch;

    gap: 0;

    width: 100%;

    max-width: 560px;

    margin:
        2rem 0 2rem;

}


.stat-item {

    flex: 1;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    text-align: center;

}


.stat-item strong {

    display: block;

    color: #0284c7;

    font-size: 1.35rem;

    font-weight: 850;

    line-height: 1;

    letter-spacing: -0.04em;

}


.stat-item span {

    color: #64748b;

    font-size: 0.68rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;

}


.stat-divider {

    width: 1px;

    height: 38px;

    align-self: center;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #dbeafe,
            transparent
        );

}


/* =========================================================
   CTA
========================================================= */

.agendapp-action {

    display: flex;

    align-items: center;

    gap: 15px;

}


.cta-note {

    max-width: 260px;

    color: #64748b;

    font-size: 0.72rem;

    line-height: 1.4;

}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1023px) {

    .agendapp-section {

        padding:
            4rem 1rem 8rem;

    }

}


/* =========================================================
   RESPONSIVE MÓVIL
========================================================= */

@media (max-width: 767px) {

    .agendapp-section {

        padding:
            3rem 0.85rem 7rem;

    }


    .agendapp-card {

        padding:
            2rem 1.25rem;

        border-radius:
            1.4rem;

    }


    .agendapp-title {

        font-size:
            2.35rem;

        line-height:
            1.05;

    }


    .agendapp-text {

        font-size:
            0.9rem;

        line-height:
            1.7;

    }


    .agendapp-text-muted {

        font-size:
            0.82rem;

    }


    .side-card {

        padding:
            1.25rem;

        border-radius:
            1rem;

    }


    .advantage-title {

        font-size:
            0.88rem;

    }


    .advantage-desc {

        font-size:
            0.75rem;

    }


    .agendapp-btn {

        width: 100%;

        padding:
            0.9rem 1rem;

    }

}


/* =========================================================
   MOBILE ESTADÍSTICAS
========================================================= */

@media (max-width: 600px) {

    .agendapp-stats {

        max-width: 100%;

    }


    .stat-item strong {

        font-size:
            1.15rem;

    }


    .stat-item span {

        font-size:
            0.58rem;

    }


    .agendapp-action {

        flex-direction: column;

        align-items: flex-start;

    }


    .cta-note {

        max-width: 100%;

    }

}


/* =========================================================
   DIAGONAL RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .agendapp-section::after {

        height: 90px;

    }

}


@media (min-width: 768px) {

    .agendapp-section::after {

        height: 140px;

    }

}


@media (min-width: 1200px) {

    .agendapp-section::after {

        height: 170px;

    }

}














/* =========================================================
   AGENDAPP - AUTOMATIZACIÓN 24/7
   FONDO BLANCO / PREMIUM / VIDEO 9:16
========================================================= */

.automation-section {
    width: 100%;
    background: #ffffff;
    padding: 110px 24px;
    overflow: hidden;
}

.automation-container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 90px;

    align-items: center;
}


/* =========================================================
   CONTENIDO
========================================================= */

.automation-content {
    max-width: 680px;
}


/* =========================================================
   BADGE
========================================================= */

.automation-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 9px 16px;

    background: #f0f9ff;
    border: 1px solid #bae6fd;

    border-radius: 999px;

    color: #0284c7;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.14em;

    margin-bottom: 28px;
}

.automation-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #0ea5e9;

    box-shadow:
        0 0 0 5px rgba(14,165,233,0.10);

    animation: automationPulse 2s infinite;
}

@keyframes automationPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

}


/* =========================================================
   TITULO
========================================================= */

.automation-title {
    margin: 0;

    color: #0f172a;

    font-size: clamp(2.7rem, 5vw, 4.8rem);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -0.055em;
}

.automation-title span {
    display: block;

    color: #0ea5e9;

    margin-top: 8px;
}


/* =========================================================
   DESCRIPCION
========================================================= */

.automation-description {
    margin-top: 28px;

    max-width: 620px;

    color: #64748b;

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   HIGHLIGHT - 40 SEGUNDOS
========================================================= */

.automation-highlight {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 32px;

    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            #f0f9ff,
            #ffffff
        );

    border: 1px solid #bae6fd;

    border-radius: 20px;

    box-shadow:
        0 15px 40px rgba(14,165,233,0.08);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.automation-highlight:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(14,165,233,0.12);
}

.highlight-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #0ea5e9;

    color: #ffffff;

    font-size: 20px;

    box-shadow:
        0 10px 25px rgba(14,165,233,0.25);
}

.automation-highlight strong {
    display: block;

    color: #0f172a;

    font-size: 18px;

    font-weight: 900;
}

.automation-highlight p {
    margin: 3px 0 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   BENEFICIOS
========================================================= */

.automation-benefits {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-top: 32px;
}

.automation-benefit {
    display: flex;

    gap: 13px;

    padding: 16px;

    border-radius: 16px;

    background: #f8fafc;

    border: 1px solid #f1f5f9;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.automation-benefit:hover {
    transform: translateY(-4px);

    border-color: #bae6fd;

    box-shadow:
        0 15px 30px rgba(15,23,42,0.06);
}

.benefit-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #e0f2fe;

    color: #0284c7;

    font-size: 15px;
}

.automation-benefit h3 {
    margin: 0 0 4px;

    color: #0f172a;

    font-size: 13px;

    font-weight: 800;
}

.automation-benefit p {
    margin: 0;

    color: #64748b;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   COLUMNA DERECHA
========================================================= */

.automation-visual {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 650px;
}


/* =========================================================
   BRILLO DETRÁS DEL VIDEO
========================================================= */

.visual-glow {
    position: absolute;

    width: 320px;
    height: 520px;

    background: rgba(14,165,233,0.16);

    filter: blur(90px);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   VIDEO CARD - 9:16
========================================================= */

.video-card {
    position: relative;

    width: min(100%, 360px);

    aspect-ratio: 9 / 16;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 32px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(15,23,42,0.14),
        0 10px 30px rgba(14,165,233,0.08);

    z-index: 2;

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.video-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 40px 100px rgba(15,23,42,0.18),
        0 15px 40px rgba(14,165,233,0.12);
}


/* =========================================================
   HEADER DEL VIDEO
========================================================= */

.video-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 70px;

    padding: 18px 20px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    background:
        linear-gradient(
            to bottom,
            rgba(15,23,42,0.85),
            rgba(15,23,42,0)
        );

    color: #ffffff;

    z-index: 5;
}

.video-status {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.04em;
}

.video-status span {
    width: 8px;
    height: 8px;

    background: #22c55e;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(34,197,94,0.15),
        0 0 12px rgba(34,197,94,0.8);

    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .45;
    }
}

.video-time {
    font-size: 11px;

    font-weight: 800;

    padding: 6px 10px;

    border-radius: 999px;

    background: rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.15);
}


/* =========================================================
   VIDEO 9:16
========================================================= */

.automation-video {
    display: block;

    width: 100%;
    height: 100%;

    aspect-ratio: 9 / 16;

    object-fit: cover;

    object-position: center;

    background: #f8fafc;

    transition:
        transform .7s ease;
}

.video-card:hover .automation-video {
    transform: scale(1.025);
}


/* =========================================================
   FOOTER DEL VIDEO
========================================================= */

.video-footer {
    position: absolute;

    left: 16px;
    right: 16px;
    bottom: 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 14px 16px;

    background: rgba(255,255,255,0.94);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.8);

    border-radius: 18px;

    box-shadow:
        0 15px 35px rgba(15,23,42,0.18);

    z-index: 5;
}

.footer-label {
    display: block;

    color: #64748b;

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .08em;

    font-weight: 800;
}

.video-footer strong {
    display: block;

    color: #0f172a;

    font-size: 12px;

    margin-top: 3px;

    font-weight: 800;
}

.footer-check {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #ecfdf5;

    color: #16a34a;

    flex-shrink: 0;
}


/* =========================================================
   RESERVA FLOTANTE
========================================================= */

.floating-reservation {
    position: absolute;

    left: -40px;

    bottom: 90px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 16px;

    background: rgba(255,255,255,0.96);

    backdrop-filter: blur(15px);

    border: 1px solid #e2e8f0;

    border-radius: 16px;

    box-shadow:
        0 20px 45px rgba(15,23,42,0.14);

    animation:
        floatingReservation 3s ease-in-out infinite;

    z-index: 6;
}

@keyframes floatingReservation {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.reservation-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #e0f2fe;

    color: #0284c7;
}

.floating-reservation span {
    display: block;

    color: #94a3b8;

    font-size: 9px;

    text-transform: uppercase;

    font-weight: 700;
}

.floating-reservation strong {
    display: block;

    color: #0f172a;

    font-size: 12px;

    margin-top: 2px;
}

.reservation-check {
    color: #22c55e;

    margin-left: 5px;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1024px) {

    .automation-container {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .automation-content {
        max-width: 800px;

        margin: 0 auto;
    }

    .automation-visual {
        max-width: 600px;

        width: 100%;

        margin: 0 auto;

        min-height: auto;

        padding-top: 10px;
    }

    .video-card {
        width: min(100%, 350px);
    }

}


/* =========================================================
   RESPONSIVE - MÓVIL
========================================================= */

@media (max-width: 640px) {

    .automation-section {
        padding: 70px 20px;
    }

    .automation-title {
        font-size: 2.6rem;

        letter-spacing: -0.045em;
    }

    .automation-description {
        font-size: 15px;

        line-height: 1.7;
    }

    .automation-benefits {
        grid-template-columns: 1fr;
    }

    .automation-highlight {
        align-items: flex-start;

        padding: 18px;
    }

    .highlight-icon {
        width: 46px;
        height: 46px;

        font-size: 17px;
    }

    .automation-highlight strong {
        font-size: 16px;
    }

    .automation-highlight p {
        font-size: 12px;
    }

    .automation-visual {
        padding: 20px 10px 0;
    }

    .video-card {
        width: min(100%, 310px);

        border-radius: 28px;
    }

    .video-footer {
        left: 12px;
        right: 12px;
        bottom: 12px;

        padding: 12px 14px;
    }

    .video-footer strong {
        font-size: 11px;
    }

    .footer-check {
        width: 32px;
        height: 32px;
    }

    .floating-reservation {
        left: 5px;

        bottom: 55px;

        padding: 10px 12px;
    }

}


/* =========================================================
   MÓVIL MUY PEQUEÑO
========================================================= */

@media (max-width: 400px) {

    .automation-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .automation-title {
        font-size: 2.35rem;
    }

    .video-card {
        width: 285px;
    }

    .floating-reservation {
        display: none;
    }

}






/* =========================================================
   SECCIÓN TESTIMONIOS - FONDO BLANCO / TARJETAS
========================================================= */

.testimonials-section {
    background-color: #ffffff;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
    box-sizing: border-box;

    font-family:
        "Plus Jakarta Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* Header de la sección */
.testimonials-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.testimonials-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #0284c7;
    margin-bottom: 1rem;
}

.testimonial-dot {
    width: 6px;
    height: 6px;
    background-color: #0284c7;
    border-radius: 50%;
}

.testimonials-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin: 0 0 1rem 0;
}

.testimonials-title span {
    color: #0284c7;
}

.testimonials-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* =========================================================
   GRID DE TARJETAS
========================================================= */

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================================
   ESTILO DE CADA TARJETA
========================================================= */

.testimonial-card {
    background: #f8fafc;
    border-radius: 1.25rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #ffffff;
    border-color: #e0f2fe;
    box-shadow: 0 18px 35px rgba(2, 132, 199, 0.08);
}

/* Cabecera de la tarjeta */
.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.testimonial-avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    font-size: 0.9rem;
}

.testimonial-profile h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 750;
    color: #0f172a;
}

.testimonial-profile span {
    font-size: 0.72rem;
    color: #64748b;
    display: block;
}

.testimonial-quote i {
    color: #bae6fd;
    font-size: 1.2rem;
}

/* Estrellas */
.testimonial-stars {
    color: #f59e0b;
    font-size: 0.75rem;
    display: flex;
    gap: 3px;
    margin-bottom: 1rem;
}

/* Texto del testimonio */
.testimonial-text {
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

/* Footer de la tarjeta */
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.72rem;
}

.testimonial-footer span {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.testimonial-footer span i {
    color: #0284c7;
}

.testimonial-footer strong {
    color: #0284c7;
    font-weight: 700;
}

/* =========================================================
   CTA INFERIOR
========================================================= */

.testimonials-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.testimonials-cta p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #334155;
}

.testimonials-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.85rem 1.75rem;
    border-radius: 0.8rem;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonials-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.28);
}

.testimonials-cta a i {
    transition: transform 0.25s ease;
}

.testimonials-cta a:hover i {
    transform: translateX(4px);
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 639px) {
    .testimonials-section {
        padding: 3rem 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}



/* =========================================================
   AGENDAPP - CONTACTO / CTA
   SKY 500 - FONDO COMPLETO
========================================================= */

.contact-section {

    position: relative;

    width: 100%;

    background:
        linear-gradient(
            135deg,
            #0ea5e9 0%,
            #0284c7 55%,
            #0369a1 100%
        );

    padding: 100px 24px;

    overflow: hidden;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}


/* =========================================================
   DECORACIÓN DE FONDO
========================================================= */

.contact-section::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);

    filter: blur(20px);

    pointer-events: none;
}


.contact-section::after {

    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    bottom: -250px;
    left: -150px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.06);

    filter: blur(30px);

    pointer-events: none;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.contact-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.82fr);

    gap: 90px;

    align-items: center;
}


/* =========================================================
   CONTENIDO IZQUIERDO
========================================================= */

.contact-content {

    max-width: 650px;

    color: white;
}


/* =========================================================
   BADGE
========================================================= */

.contact-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 9px 16px;

    margin-bottom: 28px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.12);

    border:
        1px solid
        rgba(255,255,255,0.22);

    color: white;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    backdrop-filter: blur(10px);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);
}


.contact-badge-dot {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 0 5px
        rgba(255,255,255,0.12);

    animation:
        contactPulse 2s infinite;
}


@keyframes contactPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

}


/* =========================================================
   TÍTULO
========================================================= */

.contact-title {

    margin: 0;

    color: white;

    font-size:
        clamp(
            2.8rem,
            5vw,
            5rem
        );

    line-height: 0.96;

    font-weight: 950;

    letter-spacing: -0.055em;

    text-transform: uppercase;
}


.contact-title span {

    display: block;

    color: white;

    margin-top: 8px;

    text-shadow:
        0 4px 20px
        rgba(0,0,0,0.12);
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.contact-description {

    max-width: 620px;

    margin-top: 30px;

    color:
        rgba(255,255,255,0.88);

    font-size: 17px;

    line-height: 1.75;

}


.contact-description strong {

    color: white;

    font-weight: 850;

}


/* =========================================================
   LÍNEA
========================================================= */

.contact-line {

    width: 80px;

    height: 4px;

    margin-top: 30px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            white,
            rgba(255,255,255,0)
        );
}


/* =========================================================
   BENEFICIOS
========================================================= */

.contact-benefits {

    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-top: 34px;
}


.contact-benefit {

    display: flex;

    align-items: flex-start;

    gap: 15px;
}


.contact-benefit-icon {

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background:
        rgba(255,255,255,0.14);

    border:
        1px solid
        rgba(255,255,255,0.20);

    color: white;

    font-size: 17px;

    transition:
        transform .25s ease,
        background .25s ease;
}


.contact-benefit:hover
.contact-benefit-icon {

    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,0.22);
}


.contact-benefit h4 {

    margin: 0;

    color: white;

    font-size: 15px;

    font-weight: 850;
}


.contact-benefit p {

    margin: 4px 0 0;

    color:
        rgba(255,255,255,0.72);

    font-size: 13px;

    line-height: 1.55;

    max-width: 500px;
}


/* =========================================================
   MENSAJE FINAL
========================================================= */

.contact-final-message {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255,255,255,0.16);

    color: white;

    font-size: 13px;

    font-weight: 700;
}


.contact-final-message i {

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: white;

    color: #0284c7;

    font-size: 13px;
}


/* =========================================================
   FORMULARIO
========================================================= */

.contact-form-wrapper {

    position: relative;

    background: white;

    border-radius: 30px;

    padding: 38px;

    box-shadow:
        0 35px 90px
        rgba(3,105,161,0.30);

    border:
        1px solid
        rgba(255,255,255,0.8);
}


/* =========================================================
   DECORACIÓN DEL FORMULARIO
========================================================= */

.contact-form-wrapper::before {

    content: "";

    position: absolute;

    top: 0;
    left: 10%;

    width: 80%;
    height: 3px;

    border-radius: 0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #0ea5e9,
            #0284c7,
            transparent
        );
}


/* =========================================================
   HEADER FORMULARIO
========================================================= */

.contact-form-header {

    margin-bottom: 28px;
}


.form-header-label {

    display: inline-block;

    color: #0284c7;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.16em;

    margin-bottom: 8px;
}


.contact-form-header h3 {

    margin: 0;

    color: #0f172a;

    font-size: 26px;

    line-height: 1.1;

    font-weight: 900;

    letter-spacing: -0.03em;
}


.contact-form-header p {

    margin: 9px 0 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.55;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   CAMPOS
========================================================= */

.contact-field label {

    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 10px;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.09em;
}


.contact-input-wrapper {

    position: relative;
}


.contact-input-wrapper > i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #94a3b8;

    font-size: 14px;

    pointer-events: none;

    transition:
        color .2s ease;
}


.contact-input-wrapper input {

    width: 100%;

    height: 50px;

    padding:
        0 16px 0 44px;

    background: #f8fafc;

    border:
        1px solid
        #e2e8f0;

    border-radius: 12px;

    color: #0f172a;

    font-size: 13px;

    outline: none;

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.contact-input-wrapper input::placeholder {

    color: #94a3b8;
}


.contact-input-wrapper input:focus {

    background: white;

    border-color: #0ea5e9;

    box-shadow:
        0 0 0 4px
        rgba(14,165,233,0.10);
}


.contact-input-wrapper:focus-within > i {

    color: #0284c7;
}


/* =========================================================
   SELECTS
========================================================= */

.contact-fields-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 14px;
}


.contact-select-wrapper {

    position: relative;
}


.contact-select-wrapper > i:first-child {

    position: absolute;

    left: 15px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #94a3b8;

    font-size: 13px;

    pointer-events: none;

    z-index: 2;
}


.contact-select-wrapper select {

    width: 100%;

    height: 50px;

    padding:
        0 35px 0 40px;

    background: #f8fafc;

    border:
        1px solid
        #e2e8f0;

    border-radius: 12px;

    color: #334155;

    font-size: 12px;

    font-weight: 600;

    outline: none;

    appearance: none;

    cursor: pointer;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}


.contact-select-wrapper select:focus {

    background: white;

    border-color: #0ea5e9;

    box-shadow:
        0 0 0 4px
        rgba(14,165,233,0.10);
}


.select-arrow {

    position: absolute;

    right: 14px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #94a3b8;

    font-size: 10px;

    pointer-events: none;
}


/* =========================================================
   BOTÓN
========================================================= */

.contact-submit {

    position: relative;

    width: 100%;

    min-height: 56px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 5px;

    padding: 0 20px;

    border: none;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #0284c7,
            #0ea5e9
        );

    color: white;

    font-size: 12px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 12px 28px
        rgba(2,132,199,0.25);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}


.contact-submit::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.25),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left .6s ease;
}


.contact-submit:hover::before {

    left: 140%;
}


.contact-submit:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.05);

    box-shadow:
        0 18px 35px
        rgba(2,132,199,0.30);
}


.contact-submit-icon {

    width: 30px;
    height: 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background:
        rgba(255,255,255,0.16);
}


.contact-submit:hover
.contact-submit-icon i {

    transform:
        translateX(3px);
}


.contact-submit-icon i {

    transition:
        transform .25s ease;
}


/* =========================================================
   RESPUESTA
========================================================= */

.contact-response {

    margin: 0;

    text-align: center;

    font-size: 13px;
}


/* =========================================================
   SEGURIDAD
========================================================= */

.contact-security {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: #94a3b8;

    font-size: 10px;

    text-align: center;
}


.contact-security i {

    color: #22c55e;

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .contact-section {

        padding:
            80px 24px;
    }


    .contact-container {

        grid-template-columns: 1fr;

        gap: 60px;

        max-width: 800px;
    }


    .contact-content {

        max-width: 750px;

        margin: 0 auto;

        text-align: center;
    }


    .contact-description {

        margin-left: auto;
        margin-right: auto;
    }


    .contact-line {

        margin-left: auto;
        margin-right: auto;
    }


    .contact-benefits {

        text-align: left;

        max-width: 650px;

        margin-left: auto;
        margin-right: auto;
    }


    .contact-final-message {

        justify-content: center;
    }


    .contact-form-wrapper {

        width: 100%;

        max-width: 650px;

        margin: 0 auto;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 640px) {

    .contact-section {

        padding:
            65px 18px;
    }


    .contact-title {

        font-size: 2.65rem;

        line-height: 0.98;
    }


    .contact-description {

        font-size: 15px;

        line-height: 1.7;
    }


    .contact-form-wrapper {

        padding: 26px 20px;

        border-radius: 24px;
    }


    .contact-form-header h3 {

        font-size: 23px;
    }


    .contact-fields-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    .contact-benefit p {

        font-size: 12px;
    }


    .contact-final-message {

        align-items: flex-start;

        justify-content: flex-start;

        font-size: 12px;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 400px) {

    .contact-title {

        font-size: 2.35rem;
    }


    .contact-badge {

        font-size: 9px;

        padding:
            8px 12px;
    }


    .contact-form-wrapper {

        padding:
            23px 16px;
    }

}












/* =========================================================
   SECCIÓN MÉTRICAS AGENDAPP
========================================================= */

.metricas-section {
    position: relative;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 7rem 2rem;

    box-sizing: border-box;

    background: #ffffff;

    color: #0f172a;

    font-family:
        "Plus Jakarta Sans",
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    overflow: hidden;
}


/* =========================================================
   DECORACIÓN DE FONDO
========================================================= */

.metricas-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -200px;

    border-radius: 50%;

    background: rgba(14, 165, 233, 0.06);

    filter: blur(100px);

    pointer-events: none;
}


.metricas-section::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    bottom: -250px;
    left: -200px;

    border-radius: 50%;

    background: rgba(14, 165, 233, 0.05);

    filter: blur(100px);

    pointer-events: none;
}


/* =========================================================
   HEADER
========================================================= */

.metricas-header {
    position: relative;

    z-index: 2;

    max-width: 900px;

    margin: 0 auto 5rem;

    text-align: center;
}


/* =========================================================
   BADGE
========================================================= */

.metricas-badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 11px 20px;

    margin-bottom: 2rem;

    border-radius: 999px;

    background: #f0f9ff;

    border: 1px solid #bae6fd;

    color: #0284c7;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.18em;

    box-shadow:
        0 8px 25px rgba(14, 165, 233, 0.08);
}


/* =========================================================
   DOT
========================================================= */

.metricas-dot {
    position: relative;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #0ea5e9;

    box-shadow:
        0 0 0 5px rgba(14, 165, 233, 0.10);

    animation: metricasPulse 2s infinite;
}


@keyframes metricasPulse {

    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.9);
        opacity: 1;
    }

}


/* =========================================================
   TÍTULO
========================================================= */

.metricas-title {

    margin: 0;

    color: #0f172a;

    font-size: clamp(2.5rem, 5vw, 4.5rem);

    font-weight: 900;

    line-height: 0.98;

    letter-spacing: -0.045em;

    text-transform: uppercase;

    font-style: italic;
}


.metricas-title span {

    display: inline-block;

    color: #0284c7;

    text-shadow:
        0 0 25px rgba(14, 165, 233, 0.15);
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.metricas-description {

    max-width: 750px;

    margin: 2rem auto 0;

    color: #64748b;

    font-size: 1.05rem;

    line-height: 1.8;

    font-weight: 500;
}


/* =========================================================
   BENEFITS GRID
========================================================= */

.metricas-benefits {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

    max-width: 1150px;

    margin: 0 auto;
}


/* =========================================================
   BENEFIT CARD
========================================================= */

.metrica-card {

    position: relative;

    padding: 2.2rem;

    min-height: 280px;

    box-sizing: border-box;

    border-radius: 28px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #0f172a;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.metrica-card:hover {

    transform: translateY(-8px);

    border-color: #7dd3fc;

    box-shadow:
        0 25px 55px rgba(14, 165, 233, 0.12);
}


/* =========================================================
   ICONO BENEFIT
========================================================= */

.metrica-icon {

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.5rem;

    border-radius: 18px;

    background: #e0f2fe;

    border: 1px solid #bae6fd;

    color: #0284c7;

    font-size: 27px;

    box-shadow:
        0 8px 20px rgba(2, 132, 199, 0.10);
}


/* =========================================================
   TÍTULO CARD
========================================================= */

.metrica-card h3 {

    margin: 0 0 1rem;

    color: #0f172a;

    font-size: 1.35rem;

    font-weight: 800;

    line-height: 1.25;
}


/* =========================================================
   TEXTO CARD
========================================================= */

.metrica-card p {

    margin: 0;

    color: #64748b;

    font-size: 0.92rem;

    line-height: 1.7;
}


/* =========================================================
   ESTADÍSTICAS
========================================================= */

.metricas-stats {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1.5rem;

    max-width: 1150px;

    margin: 5rem auto 0;
}


/* =========================================================
   STAT CARD
========================================================= */

.stat-card {

    padding: 2rem 1.5rem;

    text-align: center;

    border-radius: 26px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.05);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.stat-card:hover {

    transform: translateY(-6px);

    background: #ffffff;

    border-color: #7dd3fc;

    box-shadow:
        0 20px 40px rgba(14, 165, 233, 0.10);
}


/* =========================================================
   ICONO ESTADÍSTICA
========================================================= */

.stat-icon {

    margin-bottom: 1rem;

    color: #0284c7;

    font-size: 27px;
}


/* =========================================================
   NÚMERO
========================================================= */

.stat-number {

    margin-bottom: 0.7rem;

    color: #0f172a;

    font-size: clamp(2.5rem, 4vw, 4rem);

    font-weight: 900;

    font-style: italic;

    line-height: 1;

    letter-spacing: -0.04em;
}


.stat-number .counter {

    color: #0284c7;
}


/* =========================================================
   TEXTO STAT
========================================================= */

.stat-card p {

    margin: 0;

    color: #64748b;

    font-size: 0.7rem;

    font-weight: 800;

    line-height: 1.4;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* =========================================================
   CTA
========================================================= */

.metricas-cta {

    position: relative;

    z-index: 2;

    max-width: 760px;

    margin: 5rem auto 0;

    padding: 3rem 2rem;

    box-sizing: border-box;

    text-align: center;

    border-radius: 30px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   CTA TÍTULO
========================================================= */

.metricas-cta h3 {

    margin: 0 0 1rem;

    color: #0f172a;

    font-size: 1.7rem;

    font-weight: 900;
}


/* =========================================================
   CTA TEXTO
========================================================= */

.metricas-cta p {

    max-width: 550px;

    margin: 0 auto 2rem;

    color: #64748b;

    font-size: 0.95rem;

    line-height: 1.7;
}


/* =========================================================
   BOTÓN
========================================================= */

.metricas-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 16px 30px;

    border-radius: 13px;

    background: #0ea5e9;

    color: #ffffff;

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    box-shadow:
        0 12px 25px rgba(14, 165, 233, 0.22);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.metricas-button:hover {

    background: #0284c7;

    transform: translateY(-3px);

    box-shadow:
        0 18px 35px rgba(14, 165, 233, 0.30);
}


.metricas-button i {

    font-size: 1.15rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .metricas-section {

        padding: 6rem 1.5rem;

    }


    .metricas-benefits {

        grid-template-columns: repeat(2, 1fr);

    }


    .metricas-stats {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 700px) {

    .metricas-section {

        padding: 4.5rem 1rem;

    }


    .metricas-header {

        margin-bottom: 3rem;

    }


    .metricas-badge {

        padding: 9px 14px;

        font-size: 9px;

        letter-spacing: 0.12em;

    }


    .metricas-title {

        font-size: 2.5rem;

        line-height: 1;
    }


    .metricas-description {

        font-size: 0.9rem;

        line-height: 1.7;

    }


    .metricas-benefits {

        grid-template-columns: 1fr;

        gap: 1.2rem;

    }


    .metrica-card {

        min-height: auto;

        padding: 1.7rem;

    }


    .metrica-card h3 {

        font-size: 1.2rem;

    }


    .metrica-card p {

        font-size: 0.85rem;

    }


    .metricas-stats {

        grid-template-columns: repeat(2, 1fr);

        gap: 1rem;

        margin-top: 3.5rem;

    }


    .stat-card {

        padding: 1.5rem 0.8rem;

        border-radius: 20px;

    }


    .stat-number {

        font-size: 2.4rem;

    }


    .stat-card p {

        font-size: 0.58rem;

    }


    .metricas-cta {

        margin-top: 3.5rem;

        padding: 2rem 1.3rem;

        border-radius: 24px;

    }


    .metricas-cta h3 {

        font-size: 1.35rem;

    }


    .metricas-cta p {

        font-size: 0.85rem;

    }


    .metricas-button {

        width: 100%;

        box-sizing: border-box;

        padding: 15px 20px;

        font-size: 0.7rem;

    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 420px) {

    .metricas-title {

        font-size: 2.15rem;

    }


    .metricas-stats {

        gap: 0.7rem;

    }


    .stat-number {

        font-size: 2rem;

    }


    .stat-card p {

        font-size: 0.52rem;

    }

}



/* =========================================================
   AGENDAPP - SECCIÓN MÓDULOS
   DISEÑO PREMIUM / LIMPIO / MODERNO
========================================================= */

.modules-section {
    position: relative;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
    padding: 6rem 1.5rem;

    box-sizing: border-box;

    background: #ffffff;

    font-family:
        Inter,
        "Plus Jakarta Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    overflow: hidden;
}


/* =========================================================
   DECORACIÓN DE FONDO
========================================================= */

.modules-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    left: -180px;

    border-radius: 50%;

    background: rgba(14, 165, 233, 0.06);

    filter: blur(90px);

    pointer-events: none;
}

.modules-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -150px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(14, 165, 233, 0.05);

    filter: blur(80px);

    pointer-events: none;
}


/* =========================================================
   HEADER
========================================================= */

.modules-header {

    position: relative;

    z-index: 2;

    text-align: center;

    max-width: 780px;

    margin:
        0 auto 4rem auto;
}


/* =========================================================
   BADGE
========================================================= */

.modules-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        8px 15px;

    margin-bottom: 1.4rem;

    background:
        linear-gradient(
            135deg,
            #f0f9ff,
            #e0f2fe
        );

    border:
        1px solid
        rgba(14,165,233,0.15);

    border-radius: 999px;

    color: #0284c7;

    font-size: 10px;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.13em;

    box-shadow:
        0 8px 25px
        rgba(14,165,233,0.07);
}


/* PUNTO */

.badge-dot {

    position: relative;

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #0ea5e9;

    box-shadow:
        0 0 0 4px
        rgba(14,165,233,0.10);
}


/* ANIMACIÓN */

.badge-dot::after {

    content: "";

    position: absolute;

    inset: -4px;

    border:
        1px solid
        rgba(14,165,233,0.35);

    border-radius: 50%;

    animation:
        modulesPulse 2s infinite;
}


@keyframes modulesPulse {

    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }

}


/* =========================================================
   TÍTULO
========================================================= */

.modules-title {

    margin: 0;

    color: #0f172a;

    font-size:
        clamp(
            2.3rem,
            4vw,
            3.8rem
        );

    font-weight: 900;

    line-height: 1.02;

    letter-spacing: -0.055em;
}


.modules-title span {

    display: inline-block;

    margin-left: 5px;

    background:
        linear-gradient(
            135deg,
            #0284c7,
            #0ea5e9
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.modules-description {

    max-width: 680px;

    margin:
        1.4rem auto 0;

    color: #64748b;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   GRID
========================================================= */

.modules-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(1, minmax(0, 1fr));

    gap: 20px;
}


/* TABLET */

@media (min-width: 640px) {

    .modules-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* DESKTOP */

@media (min-width: 1024px) {

    .modules-grid {

        grid-template-columns:
            repeat(3, minmax(0, 1fr));

        gap: 24px;

    }

}


/* =========================================================
   CARD
========================================================= */

.module-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 330px;

    padding: 2rem;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fafc
        );

    border:
        1px solid
        #e5eaf0;

    border-radius:
        1.6rem;

    box-shadow:
        0 10px 30px
        rgba(15,23,42,0.045);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}


/* Línea superior */

.module-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 12%;

    width: 76%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #38bdf8,
            transparent
        );

    opacity: 0;

    transition:
        opacity 0.35s ease;
}


/* Glow */

.module-card::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -100px;
    right: -90px;

    border-radius: 50%;

    background:
        rgba(14,165,233,0.08);

    filter: blur(45px);

    opacity: 0;

    transition:
        opacity 0.35s ease;

    pointer-events: none;
}


/* =========================================================
   HOVER CARD
========================================================= */

.module-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(14,165,233,0.35);

    background:
        #ffffff;

    box-shadow:
        0 25px 55px
        rgba(15,23,42,0.09),

        0 10px 35px
        rgba(14,165,233,0.08);
}


.module-card:hover::before {

    opacity: 1;

}


.module-card:hover::after {

    opacity: 1;

}


/* =========================================================
   ICONO
========================================================= */

.module-icon {

    position: relative;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;

    border-radius:
        16px;

    background:
        linear-gradient(
            135deg,
            #f0f9ff,
            #e0f2fe
        );

    border:
        1px solid
        rgba(14,165,233,0.13);

    color:
        #0284c7;

    font-size:
        21px;

    box-shadow:
        0 10px 25px
        rgba(14,165,233,0.08);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}


/* ICON HOVER */

.module-card:hover .module-icon {

    transform:
        translateY(-3px)
        rotate(-3deg);

    background:
        linear-gradient(
            135deg,
            #0284c7,
            #0ea5e9
        );

    color: #ffffff;

    box-shadow:
        0 12px 30px
        rgba(2,132,199,0.25);
}


/* =========================================================
   TÍTULO CARD
========================================================= */

.module-card h3 {

    margin:
        0 0 0.65rem;

    color:
        #0f172a;

    font-size:
        1.18rem;

    font-weight:
        850;

    line-height:
        1.25;

    letter-spacing:
        -0.025em;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.module-desc {

    margin:
        0 0 1.5rem;

    color:
        #64748b;

    font-size:
        0.84rem;

    line-height:
        1.7;

    flex-grow:
        1;
}


/* =========================================================
   SUBFEATURES
========================================================= */

.module-subfeatures {

    list-style:
        none;

    padding:
        1rem 0 0;

    margin:
        0;

    border-top:
        1px solid
        #e8edf2;

    display:
        flex;

    flex-direction:
        column;

    gap:
        0.55rem;
}


.module-subfeatures li {

    display:
        flex;

    align-items:
        center;

    gap:
        0.55rem;

    color:
        #475569;

    font-size:
        0.74rem;

    font-weight:
        700;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.module-subfeatures li i {

    width:
        17px;

    height:
        17px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        #e0f2fe;

    color:
        #0284c7;

    font-size:
        8px;

    flex-shrink:
        0;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.module-card:hover
.module-subfeatures li {

    color:
        #334155;

    transform:
        translateX(3px);
}


.module-card:hover
.module-subfeatures li i {

    background:
        #0284c7;

    color:
        #ffffff;
}


/* =========================================================
   MÓDULO DESTACADO
========================================================= */

.featured-module {

    background:
        linear-gradient(
            145deg,
            #f0f9ff,
            #ffffff
        );

    border-color:
        rgba(14,165,233,0.25);

    box-shadow:
        0 15px 40px
        rgba(14,165,233,0.08);
}


/* Borde destacado */

.featured-module::before {

    opacity:
        0.7;

}


/* Icon destacado */

.featured-module .module-icon {

    background:
        linear-gradient(
            135deg,
            #0284c7,
            #0ea5e9
        );

    color:
        #ffffff;

    box-shadow:
        0 12px 30px
        rgba(2,132,199,0.20);
}


/* =========================================================
   BADGE DEL MÓDULO DESTACADO
========================================================= */

.featured-module::after {

    content:
        "DESTACADO";

    position:
        absolute;

    top:
        18px;

    right:
        18px;

    width:
        auto;

    height:
        auto;

    padding:
        5px 9px;

    border-radius:
        999px;

    background:
        #0284c7;

    color:
        #ffffff;

    font-size:
        8px;

    font-weight:
        900;

    letter-spacing:
        0.08em;

    filter:
        none;

    opacity:
        1;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .modules-section {

        padding:
            4rem 1rem;

    }


    .modules-header {

        margin-bottom:
            3rem;

    }


    .modules-title {

        font-size:
            2.35rem;

    }


    .modules-description {

        font-size:
            0.88rem;

    }


    .module-card {

        min-height:
            auto;

        padding:
            1.5rem;

        border-radius:
            1.35rem;

    }


    .module-icon {

        width:
            52px;

        height:
            52px;

        border-radius:
            14px;

        font-size:
            19px;

    }


    .module-card h3 {

        font-size:
            1.05rem;

    }


    .module-desc {

        font-size:
            0.8rem;

    }


    .module-subfeatures li {

        font-size:
            0.7rem;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    .modules-section {

        padding:
            5rem 1.5rem;

    }


    .module-card {

        min-height:
            320px;

    }

}


/* =========================================================
   AGENDAPP - FAQ
   FONDO SKY 500 / PREMIUM
========================================================= */

.faq-section {

    position: relative;

    width: 100%;

    background:
        linear-gradient(
            135deg,
            #0284c7 0%,
            #0369a1 100%
        );

    padding:
        7rem 1.5rem;

    box-sizing: border-box;

    overflow: hidden;

    font-family:
        Inter,
        "Plus Jakarta Sans",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* =========================================================
   DECORACIÓN DE FONDO
========================================================= */

.faq-section::before {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    left: -180px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.08);

    filter:
        blur(80px);

    pointer-events: none;
}


.faq-section::after {

    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -180px;
    bottom: -220px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.06);

    filter:
        blur(80px);

    pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.faq-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 900px;

    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.faq-header {

    text-align: center;

    margin-bottom: 4rem;
}


/* =========================================================
   TÍTULO
========================================================= */

.faq-title {

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.3rem
        );

    font-weight: 900;

    text-transform: uppercase;

    font-style: italic;

    letter-spacing: -0.055em;

    line-height: 0.95;
}


.faq-title span {

    color: #e0f2fe;

    text-shadow:
        0 0 25px
        rgba(255,255,255,0.18);
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.faq-subtitle-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 16px;

    margin-top: 1.5rem;
}


.faq-subtitle {

    margin: 0;

    color:
        rgba(255,255,255,0.75);

    font-size:
        10px;

    font-weight:
        900;

    text-transform:
        uppercase;

    letter-spacing:
        0.35em;

    white-space:
        nowrap;
}


.faq-line {

    width: 35px;

    height: 1px;

    background:
        rgba(255,255,255,0.35);
}


/* =========================================================
   LISTA
========================================================= */

.faq-list {

    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   ITEM
========================================================= */

.faq-item {

    position: relative;

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid
        rgba(255,255,255,0.20);

    border-radius:
        26px;

    padding:
        1.5rem 1.75rem;

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    box-shadow:
        0 20px 45px
        rgba(0,0,0,0.10);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   HOVER
========================================================= */

.faq-item:hover {

    transform:
        translateY(-4px);

    background:
        rgba(255,255,255,0.14);

    border-color:
        rgba(255,255,255,0.35);

    box-shadow:
        0 25px 55px
        rgba(0,0,0,0.15);
}


/* =========================================================
   DETAILS
========================================================= */

.faq-item details {

    width: 100%;
}


/* =========================================================
   SUMMARY
========================================================= */

.faq-item summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    cursor: pointer;

    list-style: none;

    color: #ffffff;

    font-size:
        15px;

    font-weight:
        900;

    text-transform:
        uppercase;

    font-style:
        italic;

    letter-spacing:
        -0.015em;

    outline: none;
}


/* Eliminar marcador */

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}


/* =========================================================
   PREGUNTA
========================================================= */

.faq-question {

    flex: 1;

    line-height:
        1.4;
}


/* =========================================================
   ICONO
========================================================= */

.faq-icon {

    width:
        38px;

    height:
        38px;

    flex-shrink:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        rgba(15,23,42,0.30);

    border:
        1px solid
        rgba(255,255,255,0.15);

    color:
        #e0f2fe;

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}


/* =========================================================
   ICONO ABIERTO
========================================================= */

.faq-item details[open] .faq-icon {

    transform:
        rotate(180deg);

    background:
        #ffffff;

    color:
        #0284c7;

    border-color:
        #ffffff;

}


/* =========================================================
   RESPUESTA
========================================================= */

.faq-answer {

    margin-top:
        1.5rem;

    padding-top:
        1.5rem;

    border-top:
        1px solid
        rgba(255,255,255,0.15);

    animation:
        faqOpen 0.35s ease;
}


@keyframes faqOpen {

    from {

        opacity: 0;

        transform:
            translateY(-8px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   TEXTO RESPUESTA
========================================================= */

.faq-answer p {

    margin: 0;

    color:
        rgba(255,255,255,0.78);

    font-size:
        14px;

    line-height:
        1.8;

    font-weight:
        500;
}


.faq-answer strong {

    color:
        #ffffff;

    font-weight:
        900;
}


/* =========================================================
   EFECTO AL ABRIR
========================================================= */

.faq-item details[open] {

    animation:
        faqDetails 0.25s ease;
}


@keyframes faqDetails {

    from {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .faq-section {

        padding:
            5rem 1rem;

    }


    .faq-header {

        margin-bottom:
            3rem;

    }


    .faq-title {

        font-size:
            2.7rem;

    }


    .faq-subtitle-wrapper {

        gap:
            10px;

    }


    .faq-subtitle {

        font-size:
            8px;

        letter-spacing:
            0.22em;

    }


    .faq-line {

        width:
            22px;

    }


    .faq-item {

        padding:
            1.25rem;

        border-radius:
            20px;

    }


    .faq-item summary {

        font-size:
            13px;

    }


    .faq-icon {

        width:
            34px;

        height:
            34px;

    }


    .faq-answer p {

        font-size:
            13px;

        line-height:
            1.7;

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 480px) {

    .faq-section {

        padding:
            4rem 0.85rem;

    }


    .faq-title {

        font-size:
            2.25rem;

    }


    .faq-subtitle-wrapper {

        display:
            none;

    }


    .faq-list {

        gap:
            12px;

    }


    .faq-item {

        padding:
            1.1rem;

    }


    .faq-question {

        font-size:
            12px;

    }


    .faq-icon {

        width:
            32px;

        height:
            32px;

    }


    .faq-answer {

        margin-top:
            1.2rem;

        padding-top:
            1.2rem;

    }

}



/* =========================================================
   FOOTER AGENDAPP - FONDO BLANCO
========================================================= */

.agendapp-footer {

    position: relative;

    width: 100%;

    background: #ffffff;

    border-top: 1px solid #e2e8f0;

    color: #0f172a;

    overflow: hidden;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
}


/* =========================================================
   DECORACIÓN AZUL SUPERIOR
========================================================= */

.agendapp-footer::before {

    content: "";

    position: absolute;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    width: 700px;
    height: 300px;

    background:
        radial-gradient(
            ellipse,
            rgba(14, 165, 233, 0.08),
            transparent 70%
        );

    pointer-events: none;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.agendapp-footer-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding: 5rem 1.5rem 2rem;

    box-sizing: border-box;
}


/* =========================================================
   GRID
========================================================= */

.agendapp-footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr;

    gap: 4rem;

}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {

    max-width: 360px;

}


.footer-logo {

    display: inline-block;

    color: #0f172a;

    text-decoration: none;

    font-size: 2rem;

    font-weight: 950;

    font-style: italic;

    letter-spacing: -0.05em;

    line-height: 1;

    transition: color 0.25s ease;

}


.footer-logo span {

    color: #0284c7;

}


.footer-logo:hover {

    color: #0284c7;

}


.footer-description {

    margin-top: 1.5rem;

    max-width: 330px;

    color: #64748b;

    font-size: 0.86rem;

    line-height: 1.75;

}


/* =========================================================
   REDES SOCIALES
========================================================= */

.footer-socials {

    display: flex;

    align-items: center;

    gap: 0.65rem;

    margin-top: 1.75rem;

}


.footer-social {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    color: #64748b;

    text-decoration: none;

    font-size: 1rem;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;

}


.footer-social:hover {

    transform: translateY(-3px);

    color: #0284c7;

    background: #f0f9ff;

    border-color: #bae6fd;

    box-shadow:
        0 10px 25px
        rgba(14, 165, 233, 0.10);

}


/* =========================================================
   COLUMNAS
========================================================= */

.footer-column h4 {

    margin: 0;

    color: #0f172a;

    font-size: 0.72rem;

    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: 0.16em;

}


.footer-line {

    display: block;

    width: 35px;

    height: 2px;

    margin-top: 0.8rem;

    margin-bottom: 1.4rem;

    background:
        linear-gradient(
            90deg,
            #0284c7,
            transparent
        );

    border-radius: 999px;

}


/* =========================================================
   LISTAS
========================================================= */

.footer-column ul {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

}


.footer-column li {

    color: #64748b;

    font-size: 0.82rem;

    line-height: 1.5;

}


.footer-column li a {

    color: #64748b;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;

}


.footer-column li a:hover {

    color: #0284c7;

    padding-left: 4px;

}


/* =========================================================
   SOPORTE
========================================================= */

.footer-support li {

    display: flex;

    align-items: center;

    gap: 0.65rem;

}


.footer-support li i {

    color: #0284c7;

    font-size: 0.72rem;

    width: 14px;

}


.footer-support li a {

    color: #64748b;

    text-decoration: none;

}


.footer-support li a:hover {

    color: #0284c7;

}


/* =========================================================
   ESTADO SOPORTE
========================================================= */

.footer-status {

    display: flex;

    align-items: flex-start;

    gap: 0.7rem;

    margin-top: 1.5rem;

    padding: 1rem;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

}


.status-dot {

    position: relative;

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    margin-top: 5px;

    border-radius: 50%;

    background: #22c55e;

    box-shadow:
        0 0 0 4px
        rgba(34, 197, 94, 0.08);

}


.status-dot::after {

    content: "";

    position: absolute;

    inset: -3px;

    border-radius: 50%;

    border: 1px solid
        rgba(34, 197, 94, 0.35);

    animation:
        footerPulse 2s infinite;

}


@keyframes footerPulse {

    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }

}


.footer-status strong {

    display: block;

    color: #334155;

    font-size: 0.67rem;

    font-weight: 850;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    margin-bottom: 0.45rem;

}


.footer-status p {

    margin: 0;

    color: #64748b;

    font-size: 0.68rem;

    line-height: 1.65;

}


.footer-status p + p {

    margin-top: 0.35rem;

}


/* =========================================================
   DIVIDER
========================================================= */

.footer-divider {

    width: 100%;

    height: 1px;

    margin-top: 4rem;

    background:
        linear-gradient(
            90deg,
            transparent,
            #e2e8f0 15%,
            #e2e8f0 85%,
            transparent
        );

}


/* =========================================================
   PARTE INFERIOR
========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

    padding-top: 1.75rem;

}


.footer-bottom p {

    margin: 0;

    color: #94a3b8;

    font-size: 0.72rem;

}


.footer-bottom strong {

    color: #475569;

    font-weight: 800;

    letter-spacing: 0.05em;

}


.footer-legal {

    display: flex;

    align-items: center;

    gap: 1rem;

}


.footer-legal a {

    color: #94a3b8;

    text-decoration: none;

    font-size: 0.72rem;

    font-weight: 600;

    transition: color 0.25s ease;

}


.footer-legal a:hover {

    color: #0284c7;

}


.footer-legal span {

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #cbd5e1;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .agendapp-footer-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 3rem;

    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 640px) {

    .agendapp-footer-container {

        padding:
            4rem 1.25rem
            1.5rem;

    }

    .agendapp-footer-grid {

        grid-template-columns: 1fr;

        gap: 2.5rem;

    }

    .footer-brand {

        max-width: 100%;

    }

    .footer-description {

        max-width: 100%;

    }

    .footer-divider {

        margin-top: 3rem;

    }

    .footer-bottom {

        flex-direction: column;

        align-items: flex-start;

        gap: 1.2rem;

    }

    .footer-legal {

        flex-wrap: wrap;

        gap: 0.75rem;

    }

}