/* =========================================================
   HEADER & HERO - ESTILO TIPO YÉMINUS
========================================================= */

.hero-section {
    background-color: #f1f3f5; /* Fondo gris claro suave */
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 7rem;
    /* Corte diagonal en la parte inferior */
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Navegación --- */
.hero-nav {
    width: 100%;
    margin-bottom: 3.5rem;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.5rem;
    color: #0f172a;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
}

.nav-menu a i {
    font-size: 0.7rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0284c7;
    font-weight: 700;
}

/* --- Disposición en Grid (2 Columnas) --- */
.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 850px) {
    .hero-grid {
        grid-template-columns: 0.85fr 1.15fr; /* Columna del título + Columna de párrafos */
        gap: 4rem;
    }
}

/* --- Columna Izquierda: Título y Botón --- */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    color: #0284c7; /* Azul Sky de AgendApp */
    margin: 0 0 1.75rem 0;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: #0284c7;
}

.primary-button {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    background-color: #0284c7;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px; /* Botón con bordes ligeramente suavizados */
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.primary-button:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

/* --- Columna Derecha: Contenido --- */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-right p {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

.hero-text-lead {
    font-size: 1.1rem !important;
    color: #334155 !important;
}

.hero-right strong {
    color: #0f172a;
}

/* --- Responsivo para Móviles --- */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Se oculta el menú horizontal en pantallas pequeñas */
    }
    
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
        padding-bottom: 5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}







/* =========================================================
   NUESTRA PROMESA DE VALOR
========================================================= */

.value-promise-section {
    padding: 5.5rem 0;
    background-color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Encabezado */
.promise-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.highlight-blue {
    color: #0284c7;
}

.section-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Grid de Tarjetas */
.promise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .promise-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.promise-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promise-card:hover {
    background-color: #ffffff;
    border-color: #bae6fd;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.08);
}

.promise-icon {
    width: 3.25rem;
    height: 3.25rem;
    background-color: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.promise-card h3 {
    font-size: 1.15rem;
    font-weight: 750;
    color: #0f172a;
    margin-bottom: 0.6rem;
}

.promise-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Banner Destacado Inferior */
.promise-banner {
    margin-top: 3.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.banner-icon {
    font-size: 1.75rem;
    color: #0284c7;
    opacity: 0.6;
}

.banner-content p {
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    color: #0369a1;
    margin: 0;
    line-height: 1.6;
}

/* Responsivo */
@media (max-width: 639px) {
    .value-promise-section {
        padding: 4rem 0;
    }
    
    .promise-banner {
        padding: 1.5rem 1.25rem;
    }
}


/* =========================================================
   VALORES CORPORATIVOS (FONDO SKY 500 CON BORDE CURVO)
========================================================= */

.corporate-values-section {
    background-color: #0284c7; /* Sky 500 */
    padding: 7rem 0 8rem 0; /* Aumentamos el padding para compensar el espacio de la curva */
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
    
    /* Efecto de olas / curva cóncava suave */
    clip-path: ellipse(150% 100% at 50% 100%); 
}

/* Opcional: Si solo quieres la curva en la parte superior e inferior tipo ola suave, usa este clip-path: */
/* clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%); */

/* Encabezado */
.values-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.values-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.values-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.values-title span {
    color: #e0f2fe;
}

.values-description {
    font-size: 1rem;
    color: #f0f9ff;
    line-height: 1.6;
    opacity: 0.9;
}

/* Grid de Tarjetas */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tarjetas */
.value-card {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 3.25rem;
    height: 3.25rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: #f0f9ff;
    color: #0284c7;
}

.value-card h3 {
    font-size: 1.2rem;
    font-weight: 750;
    color: #ffffff;
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    color: #0f172a;
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #f0f9ff;
    margin: 0;
    transition: color 0.3s ease;
}

.value-card:hover p {
    color: #64748b;
}

/* Ajustes Responsivos */
@media (max-width: 639px) {
    .corporate-values-section {
        padding: 5rem 0 6rem 0;
        clip-path: ellipse(220% 100% at 50% 100%);
    }
}



/* =========================================================
   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;

    }

}


/* =========================================================
   SECCIÓN MISIÓN
========================================================= */

.mission-section {
    padding: 4.5rem 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.mission-box {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.mission-text {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0;
}

.mission-text strong {
    color: #0284c7;
    font-weight: 800;
}

@media (max-width: 639px) {
    .mission-section {
        padding: 3.5rem 0;
    }
}