/* =====================================================
   CLAUDIO J. GORGORETTI
   STYLE.CSS
   Paleta basada en logo CG
   ===================================================== */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-name {
    font-family: "Manrope", sans-serif;
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--ink);

    text-shadow:
        0.35px 0 0 var(--ink),
        -0.35px 0 0 var(--ink),
        0 0.35px 0 var(--ink),
        0 -0.35px 0 var(--ink);
}

.brand-tagline {
    display: flex;
    justify-content: space-between;
    width: 100%;

    font-family: Inter, sans-serif;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;

    color: var(--muted);
    text-transform: uppercase;
}

/* =====================================================
   1. VARIABLES / PALETA
   ===================================================== */

:root {

    /* Fondos */
    --bg: #f4f7fb;
    --paper: #ffffff;

    /* Textos */
    --ink: #101828;
    --muted: #667085;

    /* Líneas */
    --line: #d7dee8;

    /* Colores principales del logo */
    --blue: #075ee8;
    --blue-dark: #073bb7;
    --cyan: #12ccec;

    --orange: #ff7600;
    --orange-dark: #f04c00;
    --yellow: #ffd83d;

    /* Colores funcionales */
    --accent: var(--orange);
    --accent-2: #fff0df;

    --blue-soft: #eaf3ff;
    --cyan-soft: #e8fbff;

    --danger: #e5484d;

    /* Layout */
    --radius: 20px;
    --max: 1180px;
}


/* =====================================================
   2. BASE
   ===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}


/* =====================================================
   3. CONTENEDOR GENERAL
   ===================================================== */

.wrap {
    width: min(calc(100% - 40px), var(--max));
    margin: auto;
}


/* =====================================================
   4. NAVEGACIÓN
   ===================================================== */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 0;

    border-bottom: 1px solid var(--line);

    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    font-weight: 850;
    letter-spacing: -.04em;
    font-size: 22px;

    white-space: nowrap;
}


/* Logo real */

.brand-logo {
    width: 54px;
    height: 54px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}


/* Ya no se utiliza si usamos logo.png */

.brand-mark {
    width: 31px;
    height: 31px;

    border-radius: 9px;

    background: var(--blue);

    display: grid;
    place-items: center;

    color: white;

    font-size: 14px;
}


.nav-right {
    display: flex;
    gap: 9px;

    align-items: center;

    flex-wrap: wrap;

    justify-content: flex-end;
}


.nav-link {
    font-size: 14px;
    font-weight: 700;

    padding: 10px 7px;

    transition: color .18s ease;
}


.nav-link:hover {
    color: var(--blue);
}


/* =====================================================
   5. BOTONES
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 18px;

    border-radius: 999px;

    border: 1px solid var(--ink);

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease,
        border-color .18s ease;

    background: transparent;

    color: inherit;
}


.btn:hover {
    transform: translateY(-1px);
}


/* Botón oscuro */

.btn-dark {
    background: var(--blue);
    color: white;

    border-color: var(--blue);
}


.btn-dark:hover {
    background: var(--blue-dark);
    border-color: red;
}


/* CTA naranja */

.btn-accent {
    background: var(--orange);
    color: white;

    border-color: var(--orange);
}


.btn-accent:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
}


/* =====================================================
   6. HERO
   ===================================================== */

.hero {
    display: grid;

    grid-template-columns: 1.15fr .85fr;

    gap: 50px;

    padding: 78px 0 90px;

    align-items: end;
}


.eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;

    margin-bottom: 22px;

    color: var(--blue);
}


.dot {
    width: 9px;
    height: 9px;

    background: var(--orange);

    border-radius: 50%;

    border: 1px solid var(--orange-dark);
}


h1 {
    font-size: clamp(54px, 7.2vw, 100px);

    line-height: .91;

    letter-spacing: -.075em;

    margin-bottom: 30px;

    max-width: 880px;
}


.hero-copy {
    font-size: 19px;

    max-width: 680px;

    color: #3d4756;

    margin-bottom: 31px;
}


.hero-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


.micro {
    font-size: 12px;

    color: var(--muted);

    margin-top: 12px;
}


/* =====================================================
   7. TARJETA HERO
   ===================================================== */


.hero-card {
    background: var(--paper);
    border: 1px solid var(--blue);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 8px 8px 0 var(--blue);

    align-self: center;
    transform: translateY(-40px);
}


.hero-card .top {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;

    gap: 10px;
}


.pill {
    display: inline-flex;

    padding: 7px 10px;

    border-radius: 999px;

    border: 1px solid #bcd6fa;

    font-size: 12px;
    font-weight: 700;

    background: var(--blue-soft);

    color: var(--blue-dark);
}


.metric {
    font-size: 64px;

    font-weight: 900;

    letter-spacing: -.07em;

    line-height: 1;

    color: var(--blue);
}


.metric small {
    font-size: 15px;

    letter-spacing: 0;

    color: var(--muted);

    font-weight: 600;

    display: block;

    margin-top: 8px;

    line-height: 1.35;
}


.hero-list {
    margin: 28px 0 0;

    padding: 0;

    list-style: none;

    border-top: 1px solid var(--line);
}


.hero-list li {
    padding: 12px 0;

    border-bottom: 1px solid var(--line);

    font-size: 14px;

    font-weight: 700;

    display: flex;

    justify-content: space-between;

    gap: 18px;
}


.hero-list span {
    color: var(--muted);

    font-weight: 600;

    text-align: right;
}


/* =====================================================
   8. SECCIONES GENERALES
   ===================================================== */

section {
    border-top: 1px solid var(--line);

    padding: 90px 0;
}


.section-head {
    display: grid;

    grid-template-columns: .35fr 1fr;

    gap: 32px;

    margin-bottom: 55px;
}


.section-index {
    font-size: 13px;

    font-weight: 800;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: var(--blue);
}


h2 {
    font-size: clamp(42px, 6vw, 74px);

    line-height: .96;

    letter-spacing: -.06em;

    max-width: 850px;

    margin-bottom: 18px;
}


.lead {
    font-size: 18px;

    color: #475467;

    max-width: 760px;
}


/* =====================================================
   9. CALCULADORA / PROPUESTA
   ===================================================== */

.calc {
    display: grid;

    grid-template-columns: 1fr .86fr;

    background: var(--paper);

    border: 1px solid var(--blue);

    border-radius: var(--radius);

    overflow: hidden;
}


.calc-pane {
    padding: 34px;
}


.calc-pane + .calc-pane {
    border-left: 1px solid var(--blue);

    background: var(--blue);

    color: white;
}


.label {
    font-size: 13px;

    font-weight: 800;

    margin-bottom: 12px;

    text-transform: uppercase;

    letter-spacing: .05em;

    color: var(--orange);
}


.calc-pane + .calc-pane .label {
    color: var(--yellow);
}


.value-copy {
    font-size: 25px;

    line-height: 1.2;

    letter-spacing: -.03em;

    font-weight: 850;

    margin-bottom: 20px;
}


.value-text {
    color: var(--muted);

    font-size: 16px;

    max-width: 620px;
}


.quote-row {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(255,255,255,.25);
}


.quote-row strong {
    font-size: 16px;

    text-align: right;
}


/* =====================================================
   10. PASOS
   ===================================================== */

.steps {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border: 1px solid var(--blue);

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--paper);
}


.step {
    padding: 28px;

    min-height: 255px;

    position: relative;
}


.step + .step {
    border-left: 1px solid var(--line);
}


.step-no {
    font-size: 14px;

    font-weight: 900;

    margin-bottom: 65px;

    color: var(--orange);
}


.step h3 {
    font-size: 24px;

    letter-spacing: -.035em;

    margin-bottom: 12px;
}


.step p {
    color: var(--muted);

    font-size: 14px;
}


/* =====================================================
   11. FEATURES / SERVICIOS
   ===================================================== */

.features {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}


.feature {
    border: 1px solid var(--line);

    border-radius: 16px;

    padding: 27px;

    background: var(--paper);

    min-height: 220px;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.feature:hover {
    transform: translateY(-2px);

    border-color: #9dc6ff;

    box-shadow: 0 8px 25px rgba(7, 94, 232, .08);
}


.feature-icon {
    width: 36px;
    height: 36px;

    border: 1px solid var(--blue);

    border-radius: 10px;

    display: grid;
    place-items: center;

    margin-bottom: 37px;

    background: var(--blue);

    color: white;

    font-weight: 900;
}


.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;

    display: grid;
    place-items: center;
    margin-bottom: 37px;

    background: #7C3AED;
    border: 1px solid #7C3AED;
    color: #ffffff;

    font-weight: 900;
    font-size: 12px;
}

.feature h3 {
    font-size: 20px;

    letter-spacing: -.03em;

    margin-bottom: 12px;
}


.feature p {
    font-size: 14px;

    color: var(--muted);

    margin-bottom: 0;
}


/* =====================================================
   12. DASHBOARD
   ===================================================== */

.dashboard {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 0;

    border: 1px solid var(--blue);

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--paper);
}


.dash-copy {
    padding: 36px;

    border-right: 1px solid var(--blue);
}


.compare {
    margin-top: 32px;
}


.compare-item {
    padding: 13px 0;

    border-top: 1px solid var(--line);

    font-size: 14px;

    display: flex;

    gap: 10px;
}


.check {
    font-weight: 900;

    color: var(--blue);
}


.dash-ui {
    padding: 22px;

    background: var(--blue-soft);
}


/* =====================================================
   13. VENTANA / INTERFAZ SIMULADA
   ===================================================== */

.window {
    border: 1px solid var(--blue);

    border-radius: 13px;

    background: white;

    overflow: hidden;

    box-shadow: 6px 6px 0 rgba(7, 94, 232, .13);
}


.window-top {
    height: 42px;

    border-bottom: 1px solid var(--line);

    display: flex;

    align-items: center;

    padding: 0 14px;

    gap: 6px;
}


.window-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--orange);
}


.window-dot:nth-child(2) {
    background: var(--yellow);
}


.window-dot:nth-child(3) {
    background: var(--cyan);
}


.window-body {
    padding: 18px;
}


.work-row {
    display: grid;

    grid-template-columns: 1.1fr 1.6fr;

    gap: 15px;

    padding: 15px 8px;

    border-top: 1px solid #e1e7ef;

    font-size: 13px;

    align-items: start;
}


.work-row:first-child {
    border-top: 0;
}


.status {
    justify-self: start;

    padding: 4px 7px;

    border-radius: 999px;

    background: var(--cyan-soft);

    color: var(--blue-dark);

    font-weight: 800;

    font-size: 11px;
}


/* =====================================================
   14. ONBOARDING
   ===================================================== */

.onboarding {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}


.onboard {
    border-top: 2px solid var(--blue);

    padding-top: 18px;
}


.onboard:nth-child(even) {
    border-top-color: var(--orange);
}


.onboard .num {
    font-size: 12px;

    font-weight: 900;

    margin-bottom: 38px;

    color: var(--blue);
}


.onboard:nth-child(even) .num {
    color: var(--orange);
}


.onboard h3 {
    font-size: 21px;

    margin-bottom: 7px;
}


.tag {
    display: inline-block;

    font-size: 11px;

    font-weight: 800;

    border: 1px solid #bcd6fa;

    border-radius: 999px;

    padding: 5px 8px;

    margin-bottom: 12px;

    background: var(--blue-soft);

    color: var(--blue-dark);
}


.onboard p {
    font-size: 14px;

    color: var(--muted);
}


/* =====================================================
   15. CONTACTO
   ===================================================== */

.contact-grid {
    display: grid;

    grid-template-columns: .82fr 1.18fr;

    border: 1px solid var(--blue);

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--paper);
}


.contact-copy {
    padding: 38px;

    background: var(--blue);

    color: white;
}


.contact-copy p {
    color: #d9e9ff;
}


.contact-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;

    margin-top: 28px;
}


.contact-links a {
    color: white;

    border-bottom: 1px solid rgba(255,255,255,.35);

    padding-bottom: 5px;
}


.contact-links a:hover {
    color: var(--yellow);
}


/* =====================================================
   16. FORMULARIO
   ===================================================== */

.form-pane {
    padding: 38px;
}


.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}


.field {
    display: flex;

    flex-direction: column;

    gap: 7px;
}


.field.full {
    grid-column: 1 / -1;
}


label {
    font-size: 13px;

    font-weight: 800;
}


input,
textarea {
    width: 100%;

    border: 1px solid var(--line);

    border-radius: 11px;

    background: white;

    padding: 13px 14px;

    color: var(--ink);

    outline: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


input:focus,
textarea:focus {
    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(7, 94, 232, .10);
}


textarea {
    resize: vertical;

    min-height: 125px;
}


/* =====================================================
   17. CTA FINAL
   ===================================================== */

.cta {
    background: var(--orange);

    color: white;

    border-radius: 28px;

    padding: 62px;

    display: grid;

    grid-template-columns: 1fr auto;

    align-items: end;

    gap: 35px;

    box-shadow: 8px 8px 0 var(--blue);
}


.cta h2 {
    margin-bottom: 15px;
}


.cta p {
    color: white;

    max-width: 650px;

    margin: 0;
}


/* Botón dentro del CTA */

.cta .dot {
    background: var(--blue);
    border-color: var(--blue-dark);
}

.cta .btn-accent {
    background: var(--blue);

    border-color: var(--blue);

    color: white;
}


.cta .btn-accent:hover {
    background: var(--blue-dark);

    border-color: var(--blue-dark);
}


/* =====================================================
   18. FOOTER
   ===================================================== */

footer {
    padding: 34px 0 48px;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    color: var(--muted);

    font-size: 13px;
}


footer .links {
    display: flex;

    gap: 20px;

    flex-wrap: wrap;
}


footer a:hover {
    color: var(--blue);
}


/* =====================================================
   19. RESPONSIVE - TABLET
   ===================================================== */

@media (max-width: 980px) {

    .nav {
        align-items: flex-start;
    }

    .nav-right {
        max-width: 620px;
    }

    .hero,
    .section-head,
    .calc,
    .dashboard,
    .cta,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 52px;
    }

    .hero-card {
        max-width: 620px;
    }

    .calc-pane + .calc-pane {
        border-left: 0;

        border-top: 1px solid var(--blue);
    }

    .steps,
    .onboarding {
        grid-template-columns: repeat(2, 1fr);
    }

    .step:nth-child(3) {
        border-left: 0;

        border-top: 1px solid var(--line);
    }

    .step:nth-child(4) {
        border-top: 1px solid var(--line);
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-copy {
        border-right: 0;

        border-bottom: 1px solid var(--blue);
    }

    .hero-card {
        transform: none;
        align-self: auto;
    }    
}


/* =====================================================
   20. RESPONSIVE - CELULAR
   ===================================================== */

@media (max-width: 720px) {

    .nav {
        flex-direction: column;
    }

    .nav-right {
        justify-content: flex-start;
    }

    .nav-link {
        display: none;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand {
        font-size: 20px;
    }

    .wrap {
        width: min(calc(100% - 24px), var(--max));
    }

    h1 {
        font-size: 54px;
    }

    h2 {
        font-size: 44px;
    }

    .metric {
        font-size: 52px;
    }

    .steps,
    .onboarding,
    .features,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .step + .step,
    .step:nth-child(3) {
        border-left: 0;

        border-top: 1px solid var(--line);
    }

    .cta {
        padding: 38px 26px;
    }

    .field.full {
        grid-column: auto;
    }

    footer {
        flex-direction: column;
    }

    .hero-card {
        transform: none;
        align-self: auto;
    }    
}

/* =====================================================
   WHATSAPP FLOTANTE
   ===================================================== */

.whatsapp-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #ffffff;

    border-radius: 50%;

    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);

    z-index: 1000;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    background: #1ebe5d;

    transform: translateY(-3px) scale(1.05);

    box-shadow: 0 9px 25px rgba(0, 0, 0, .28);
}


/* Celular */

@media (max-width: 720px) {

    .whatsapp-float {
        width: 56px;
        height: 56px;

        right: 16px;
        bottom: 16px;
    }

    .whatsapp-float svg {
        width: 31px;
        height: 31px;
    }
}

/* Botón WhatsApp */
.btn-whatsapp {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #ffffff;
}


.nav-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 10px 8px;
    transition: color .18s ease;
}

.nav-link:hover {
    color: var(--blue);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.ai-mark {
    display: inline-flex;
    align-items: center;
    padding: 3px 6px;

    border: 1px solid var(--line);
    border-radius: 6px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;

    color: var(--muted);
    background: var(--paper);
}


/* ===== BANNER DEL HEADER ===== */

/* El banner respeta el ancho del contenedor .wrap */

.header-promo {
    display: block;
    width: 100%;
    max-width: 1180px;
    min-width: 0;
    margin: 18px auto 0;
    padding: 0;
}

.header-promo a {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 12px;
    line-height: 0;
}

.header-promo picture {
    display: block;
    width: 100%;
    max-width: 100%;
}

.header-promo__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
}

/* ===== RESPONSIVE ===== */

.intuition-quote {
    margin: 20px 0 0;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--line);
    border-left: 5px solid var(--orange);
    border-radius: 12px;
    background: linear-gradient(120deg, var(--paper), var(--blue-soft));
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
}

.intuition-quote p {
    max-width: 920px;
    margin: 0 auto;
    font-size: clamp(18px, 2.2vw, 25px);
    line-height: 1.6;
    text-align: center;
    text-wrap: pretty;
}

.intuition-quote strong {
    color: var(--blue-dark);
}

#propuesta {
    margin-top: 30px;
}

@media (max-width: 720px) {

    .wrap {
        width: calc(100% - 24px);
    }

    .header-promo {
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }

    .header-promo a {
        border-radius: 12px;
    }
}
