﻿/* =========================================================
AGENDIA LANDING
========================================================= */

:root {
    --ag-primary: #168c68;
    --ag-primary-dark: #0e6f54;
    --ag-primary-soft: #e9f8f3;
    --ag-dark: #17252f;
    --ag-text: #52616b;
    --ag-light: #f7faf9;
    --ag-border: #e5ece9;
    --ag-whatsapp: #25D366;

    --agendia-primary: #168C68;
    --agendia-primary-dark: #0E6F54;
    --agendia-primary-bright: #18B77A;
    --agendia-primary-soft: #E9F8F3;
    --agendia-text: #17252F;
    --agendia-text-secondary: #52616B;
}


.agendia-logo {
    height: 55px;
    width: auto;
    display: block;
}




.ag-section {
    position: relative;
    overflow: hidden;
}

.ag-section-title {
    max-width: 720px;
    margin: 0 auto 55px;
}

    .ag-section-title .eyebrow {
        color: var(--ag-primary);
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .12em;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .ag-section-title h2 {
        color: var(--ag-dark);
        font-weight: 700;
    }

    .ag-section-title p {
        color: var(--ag-text);
        font-size: 1.08rem;
    }

/* =========================================================
           PRESENTACIÓN A
           ========================================================= */

.ag-hero-a {
    background: radial-gradient(circle at 85% 20%, rgba(22,140,104,.14), transparent 32%), linear-gradient(180deg, #f8fcfa 0%, #ffffff 100%);
    /*padding: 105px 0 75px;*/
    padding: 15px 0 75px;
}

    .ag-hero-a .eyebrow,
    .ag-hero-b .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 13px;
        border-radius: 50px;
        background: var(--ag-primary-soft);
        color: var(--ag-primary-dark);
        font-size: .76rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    .ag-hero-a h1 {
        color: var(--ag-dark);
        font-size: clamp(2.7rem, 5vw, 4.7rem);
        line-height: 1.02;
        font-weight: 750;
        letter-spacing: -.045em;
        margin: 22px 0;
    }

        .ag-hero-a h1 mark {
            background: transparent;
            color: var(--ag-primary);
            padding: 0;
        }

    .ag-hero-a .lead {
        color: var(--ag-text);
        font-size: 1.2rem;
        line-height: 1.7;
        max-width: 600px;
    }

.ag-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .ag-hero-actions .btn {
        border-radius: 10px;
        padding: 13px 24px;
        font-weight: 600;
    }

.ag-hero-note {
    margin-top: 18px;
    color: #74818a;
    font-size: .86rem;
}

.ag-booking-card {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.ag-booking-window {
    position: relative;
    background: #fff;
    border: 1px solid var(--ag-border);
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(22,48,40,.15);
    padding: 22px;
    z-index: 2;
}

.ag-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ag-window-title {
    font-weight: 700;
    color: var(--ag-dark);
}

.ag-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--ag-primary-dark);
    background: var(--ag-primary-soft);
    border-radius: 20px;
    padding: 6px 10px;
}

.ag-status-dot {
    width: 7px;
    height: 7px;
    background: var(--ag-primary);
    border-radius: 50%;
}

.ag-calendar-mini {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    margin-bottom: 20px;
}

    .ag-calendar-mini span {
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        font-size: .78rem;
        color: #718089;
    }

    .ag-calendar-mini .active {
        background: var(--ag-primary);
        color: white;
        font-weight: 700;
    }

.ag-time-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.ag-time {
    padding: 10px 5px;
    border: 1px solid var(--ag-border);
    border-radius: 9px;
    text-align: center;
    font-size: .82rem;
    color: #52616b;
}

    .ag-time.selected {
        border-color: var(--ag-primary);
        background: var(--ag-primary-soft);
        color: var(--ag-primary-dark);
        font-weight: 700;
    }

.ag-whatsapp-bubble {
    position: absolute;
    right: -38px;
    bottom: 35px;
    width: 245px;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,.14);
    z-index: 3;
    border: 1px solid var(--ag-border);
}

.ag-wa-header {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 9px;
}

.ag-wa-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ag-whatsapp);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.ag-wa-name {
    font-weight: 700;
    font-size: .8rem;
    color: var(--ag-dark);
}

.ag-wa-message {
    background: #f1f5f3;
    border-radius: 10px;
    padding: 10px;
    font-size: .76rem;
    color: #4f5d64;
    line-height: 1.5;
}

.ag-ai-badge {
    position: absolute;
    left: -38px;
    top: 65px;
    z-index: 3;
    background: var(--ag-dark);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,.16);
    font-size: .78rem;
}

/* =========================================================
           PRESENTACIÓN B
           ========================================================= */

.ag-hero-b {
    position: relative;
    background: radial-gradient(circle at 75% 25%, rgba(38,180,137,.22), transparent 30%), linear-gradient(135deg, #102a26 0%, #173d36 50%, #102b28 100%);
    color: white;
    padding: 100px 0 80px;
}

    .ag-hero-b:before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border: 1px solid rgba(255,255,255,.06);
        border-radius: 50%;
        right: -170px;
        top: -160px;
    }

    .ag-hero-b h1 {
        font-size: clamp(2.7rem, 5vw, 4.6rem);
        line-height: 1.04;
        letter-spacing: -.045em;
        font-weight: 750;
        margin: 22px 0;
    }

        .ag-hero-b h1 mark {
            background: transparent;
            color: #61d7b2;
            padding: 0;
        }

    .ag-hero-b .lead {
        color: rgba(255,255,255,.75);
        font-size: 1.17rem;
        line-height: 1.7;
        max-width: 590px;
    }

    .ag-hero-b .eyebrow {
        background: rgba(97,215,178,.13);
        color: #7ce4c2;
    }

.ag-dashboard {
    background: rgba(255,255,255,.98);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    color: var(--ag-dark);
}

.ag-dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ag-border);
}

.ag-dashboard-title {
    font-weight: 700;
}

.ag-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.ag-dashboard-card {
    border: 1px solid var(--ag-border);
    border-radius: 13px;
    padding: 14px;
}

    .ag-dashboard-card small {
        display: block;
        color: #87939a;
        margin-bottom: 5px;
    }

    .ag-dashboard-card strong {
        font-size: 1.4rem;
        color: var(--ag-dark);
    }

.ag-agenda {
    margin-top: 14px;
    border: 1px solid var(--ag-border);
    border-radius: 13px;
    overflow: hidden;
}

.ag-agenda-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #edf1ef;
}

    .ag-agenda-row:last-child {
        border-bottom: 0;
    }

.ag-agenda-time {
    width: 52px;
    font-size: .76rem;
    color: #77858d;
}

.ag-agenda-event {
    flex: 1;
    padding: 8px 10px;
    background: var(--ag-primary-soft);
    border-left: 3px solid var(--ag-primary);
    border-radius: 7px;
    font-size: .76rem;
}

.ag-ai-card {
    position: absolute;
    left: -35px;
    bottom: 30px;
    width: 220px;
    background: white;
    color: var(--ag-dark);
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
}

    .ag-ai-card strong {
        display: block;
        margin-bottom: 5px;
    }

    .ag-ai-card span {
        font-size: .75rem;
        color: #68767d;
    }

/* =========================================================
           TRUST BAR
           ========================================================= */

.ag-trust {
    background: white;
    border-bottom: 1px solid var(--ag-border);
    padding: 22px 0;
}

.ag-trust-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    color: #68767d;
    font-size: .88rem;
}

.ag-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .ag-trust-item i {
        color: var(--ag-primary);
    }

/* =========================================================
           BENEFITS
           ========================================================= */

.ag-benefit-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--ag-border);
    border-radius: 16px;
    background: white;
    transition: .25s ease;
}

    .ag-benefit-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(25,60,50,.08);
    }

.ag-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.ag-benefit-card h5 {
    color: var(--ag-dark);
    font-weight: 700;
}

.ag-benefit-card p {
    color: var(--ag-text);
    line-height: 1.65;
    margin-bottom: 0;
}

/* =========================================================
           AI + WHATSAPP
           ========================================================= */

.ag-ai-section {
    background: var(--ag-light);
}

.ag-chat {
    background: white;
    border: 1px solid var(--ag-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(25,60,50,.10);
}

.ag-chat-header {
    background: #f8faf9;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ag-border);
}

.ag-chat-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ag-whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.ag-chat-body {
    padding: 20px;
}

.ag-message {
    max-width: 80%;
    padding: 11px 13px;
    border-radius: 12px;
    font-size: .83rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

    .ag-message.ai {
        background: #f1f5f3;
        color: #52616b;
    }

    .ag-message.user {
        margin-left: auto;
        background: #dff6e9;
        color: #285c47;
    }

/* =========================================================
           STEPS
           ========================================================= */

.ag-step {
    position: relative;
    text-align: center;
}

.ag-step-number {
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ag-primary);
    color: white;
    font-weight: 700;
    font-size: 1.15rem;
}

.ag-step h5 {
    color: var(--ag-dark);
    font-weight: 700;
}

.ag-step p {
    color: var(--ag-text);
}

/* =========================================================
           FEATURES
           ========================================================= */

.ag-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .ag-feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin: 16px 0;
        color: var(--ag-text);
    }

.ag-feature-check {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
}

.ag-feature-panel {
    background: linear-gradient(135deg, #f1faf7, #ffffff);
    border: 1px solid var(--ag-border);
    border-radius: 22px;
    padding: 35px;
}

/* =========================================================
           TESTIMONIALS
           ========================================================= */

.ag-testimonial {
    height: 100%;
    background: white;
    border: 1px solid var(--ag-border);
    border-radius: 16px;
    padding: 28px;
}

.ag-stars {
    color: #f2b544;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.ag-testimonial p {
    color: var(--ag-text);
    line-height: 1.7;
}

.ag-testimonial-name {
    color: var(--ag-dark);
    font-weight: 700;
}

/* =========================================================
           CTA
           ========================================================= */

.ag-final-cta {
    background: radial-gradient(circle at 20% 30%, rgba(97,215,178,.16), transparent 30%), linear-gradient(135deg, #102a26, #173d36);
    color: white;
    border-radius: 24px;
    padding: 70px 35px;
}

    .ag-final-cta h2 {
        color: white;
        font-weight: 700;
    }

    .ag-final-cta p {
        color: rgba(255,255,255,.72);
    }

/* =========================================================
           RESPONSIVE
           ========================================================= */

@media (max-width: 991px) {
    .ag-hero-a,
    .ag-hero-b {
        padding: 15px 0 60px;
    }

    .ag-whatsapp-bubble {
        right: -5px;
    }

    .ag-ai-badge {
        left: -5px;
    }

    .ag-ai-card {
        left: -5px;
    }
}

@media (max-width: 767px) {
    .ag-hero-a h1,
    .ag-hero-b h1 {
        font-size: 2.65rem;
    }

    .ag-hero-a .lead,
    .ag-hero-b .lead {
        font-size: 1rem;
    }

    .ag-booking-card,
    .ag-dashboard {
        margin-top: 40px;
    }

    .ag-whatsapp-bubble {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 15px;
    }

    .ag-ai-badge,
    .ag-ai-card {
        display: none;
    }

    .ag-dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ag-final-cta {
        border-radius: 0;
    }
}





/* =========================================================
AGENDIA LANDING DE CLAUDIO
========================================================= */




/* Burbujas de chat simuladas para el mockup de WhatsApp */
.chat-bubble {
    max-width: 85%;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: .9rem;
    line-height: 1.35;
}

.chat-bubble-in {
    background: #f1f3f5;
    color: #2c3e50;
    border-bottom-left-radius: 3px;
    margin-right: auto;
}

.chat-bubble-out {
    background: #dcf8c6;
    color: #1a1a1a;
    border-bottom-right-radius: 3px;
    margin-left: auto;
}

/* Badge pill suave usado en el hero */
.badge-soft-primary {
    background: rgba(0, 105, 255, .1);
    color: #0069ff;
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .03em;
    padding: 6px 12px;
}

/* Botón flotante de WhatsApp, visible en toda la home */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
    z-index: 999;
    transition: transform .15s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
    }

    .whatsapp-float i {
        color: #ffffff;
        font-size: 28px;
    }
