
/* ==========================================================================
   AXON × KUDEA — HOME
   Archivo: pages/home.css
   ========================================================================== */

.home-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(70px, 8vw, 112px);
    background:
        radial-gradient(
            ellipse at 88% 12%,
            rgba(75, 167, 128, 0.12),
            transparent 32%
        ),
        #FFFFFF;
}

.home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    align-items: center;
    gap: clamp(44px, 7vw, 100px);
}

.home-hero-copy {
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}

.home-hero-copy h1 {
    max-width: 760px;
}

.home-title-accent {
    display: block;
    color: var(--axon-blue);
}

.home-hero-description {
    max-width: 630px;
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.8;
}

.home-hero-actions {
    margin-top: 32px;
}

.home-hero-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    max-width: 450px;
    margin-top: 40px;
}

.home-note-mark {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--kudea-green);
}

.home-hero-note p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.home-hero-visual {
    position: relative;
    min-width: 0;
    padding: 0 12px 32px 0;
}

.home-visual-backdrop {
    position: absolute;
    top: -26px;
    right: -34px;
    width: 72%;
    height: 70%;
    border-radius: 44% 56% 57% 43% / 48% 42% 58% 52%;
    background: var(--surface-green);
    transform: rotate(7deg);
}

.home-hero-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: clamp(440px, 49vw, 650px);
    margin: 0;
    border-radius: 46% 46% 24px 24px;
    background: var(--surface);
}

.home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 48% center;
}

.home-image-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.home-caption-indicator {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--kudea-green);
}

.home-visual-card {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px 22px;
    border: 1px solid rgba(221, 228, 236, 0.9);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
}

.home-visual-card-top {
    top: 16%;
    left: -54px;
    width: 210px;
}

.home-visual-card-label {
    color: var(--axon-blue);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.home-visual-card strong {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.4;
}

.home-visual-card > span:last-child {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.home-visual-card-bottom {
    right: -30px;
    bottom: 8%;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    max-width: 285px;
}

.home-visual-card-bottom > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-visual-card-bottom small {
    color: var(--muted);
    font-size: 0.78rem;
}

.home-visual-card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    background: var(--surface-blue);
    color: var(--axon-blue);
}

.home-visual-card-icon svg {
    width: 24px;
    height: 24px;
}

.home-hero-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: clamp(56px, 7vw, 90px);
    padding-block: 24px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.home-bottom-divider {
    width: 4px;
    height: 4px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--kudea-green);
}


/* Posicionamiento */

.home-positioning-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 8vw, 110px);
}

.home-positioning-intro h2 {
    max-width: 740px;
}

.home-positioning-intro h2 span {
    color: var(--axon-blue);
}

.home-positioning-body {
    padding-top: 32px;
}

.home-positioning-body > p:not(.lead) {
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.85;
}

.home-positioning-body .button-text {
    margin-top: 26px;
}


/* Soluciones */

.home-solutions {
    overflow: hidden;
    background: var(--surface-blue);
}

.home-solutions-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: end;
    gap: 48px;
    max-width: none;
}

.home-solutions-heading h2 {
    max-width: 740px;
}

.home-solutions-heading h2 span {
    color: var(--axon-blue);
}

.home-solutions-heading > p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.8;
}

.home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-solution-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(8, 65, 162, 0.1);
    border-radius: 24px;
    background: #FFFFFF;
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.home-solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.home-solution-top {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 36px;
}

.home-solution-number {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.home-solution-symbol {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 21px;
    background: var(--surface-blue);
    color: var(--axon-blue);
}

.home-solution-card--operations .home-solution-symbol {
    background: var(--surface-green);
    color: #287C59;
}

.home-solution-card--intelligence .home-solution-symbol {
    background: #F0F2F7;
    color: var(--ink);
}

.home-solution-symbol svg {
    width: 44px;
    height: 44px;
}

.home-solution-card h3 {
    margin-bottom: 16px;
}

.home-solution-card > p {
    flex: 1;
    margin-bottom: 28px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.8;
}

.home-solutions-footer,
.home-methodology-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 38px;
}

.home-solutions-footer > p,
.home-methodology-footer > p {
    max-width: 540px;
    color: var(--ink-soft);
    font-size: 0.92rem;
}


/* IA + personas */

.home-intelligence-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(50px, 8vw, 110px);
}

.home-intelligence-visual {
    position: relative;
    min-width: 0;
    padding: 0 0 36px 24px;
}

.home-intelligence-image {
    overflow: hidden;
    height: clamp(420px, 47vw, 600px);
    margin: 0;
    border-radius: 40% 40% 24px 24px;
    background: var(--surface-green);
}

.home-intelligence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-intelligence-note {
    position: absolute;
    right: -20px;
    bottom: 5%;
    display: flex;
    max-width: 330px;
    align-items: flex-start;
    gap: 13px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
}

.home-intelligence-note-mark {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--kudea-green);
}

.home-intelligence-note strong {
    font-size: 0.92rem;
    line-height: 1.5;
}

.home-intelligence-note p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.home-intelligence-orbit {
    position: absolute;
    top: 10%;
    left: -4px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    color: var(--ink-soft);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-card);
}

.home-orbit-symbol {
    color: var(--kudea-green);
    font-size: 1.1rem;
}

.home-intelligence-copy h2 span {
    color: var(--axon-blue);
}

.home-intelligence-copy > .lead {
    margin-top: 24px;
}

.home-intelligence-points {
    display: grid;
    gap: 0;
    margin-block: 30px;
}

.home-intelligence-point {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding-block: 20px;
    border-top: 1px solid var(--border);
}

.home-point-number {
    padding-top: 3px;
    color: var(--kudea-green);
    font-size: 0.82rem;
    font-weight: 750;
}

.home-intelligence-point h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.home-intelligence-point p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.75;
}


/* Metodología */

.home-methodology {
    background: var(--surface);
}

.home-methodology-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: end;
    gap: 48px;
    max-width: none;
}

.home-methodology-heading h2 {
    max-width: 800px;
}

.home-methodology-heading h2 span {
    color: var(--axon-blue);
}

.home-methodology-heading > p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.8;
}

.home-methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 55px;
}

.home-method-step {
    position: relative;
    padding: 0 24px 0 0;
}

.home-method-step:not(:last-child)::after {
    position: absolute;
    top: 21px;
    right: 20px;
    left: 64px;
    height: 1px;
    background: var(--border);
    content: "";
}

.home-method-number {
    position: relative;
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid rgba(75, 167, 128, 0.35);
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--axon-blue);
    font-size: 0.8rem;
    font-weight: 750;
}

.home-method-step h3 {
    margin-bottom: 12px;
    font-size: 1.12rem;
}

.home-method-step p {
    max-width: 260px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}


/* La firma */

.home-firm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: clamp(40px, 8vw, 110px);
}

.home-firm-heading h2 {
    max-width: 740px;
}

.home-firm-heading h2 span {
    display: block;
    color: var(--axon-blue);
}

.home-firm-body {
    padding-top: 34px;
}

.home-firm-body > p:not(.lead) {
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.85;
}

.home-firm-body .button-text {
    margin-top: 24px;
}


/* Contacto */

.home-contact {
    overflow: hidden;
    background: var(--axon-blue);
    color: #FFFFFF;
}

.home-contact-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.home-contact-copy {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.home-contact .eyebrow {
    color: #FFFFFF;
}

.home-contact .eyebrow::before {
    background: var(--kudea-green);
}

.home-contact-copy h2 {
    color: #FFFFFF;
    font-size: clamp(2.3rem, 4.6vw, 4.2rem);
}

.home-contact-copy > p:last-child {
    max-width: 600px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

.home-contact-action {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 230px;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
}

.home-contact-caption {
    max-width: 260px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    line-height: 1.7;
}

.home-contact-decoration {
    position: absolute;
    top: -110px;
    right: -120px;
    width: 340px;
    height: 340px;
    pointer-events: none;
}

.home-contact-circle {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.home-contact-circle--blue {
    inset: 0;
}

.home-contact-circle--green {
    inset: 40px;
    border-color: rgba(75, 167, 128, 0.65);
}


/* Responsive */

@media (max-width: 1000px) {
    .home-hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
        gap: 45px;
    }

    .home-visual-card-top {
        left: -24px;
    }

    .home-visual-card-bottom {
        right: -14px;
    }

    .home-solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-solution-card:last-child {
        grid-column: 1 / -1;
    }

    .home-methodology-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 24px;
    }

    .home-method-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 760px) {
    .home-hero {
        padding-top: 65px;
    }

    .home-hero-layout,
    .home-positioning-layout,
    .home-solutions-heading,
    .home-intelligence-layout,
    .home-methodology-heading,
    .home-firm-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .home-hero-copy {
        padding-bottom: 0;
    }

    .home-hero-visual {
        width: min(100%, 540px);
        margin-inline: auto;
        padding-inline: 10px;
    }

    .home-hero-image {
        height: clamp(390px, 110vw, 540px);
    }

    .home-visual-card-top {
        top: 13%;
        left: -5px;
    }

    .home-visual-card-bottom {
        right: -5px;
        bottom: 8%;
    }

    .home-hero-bottom {
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 55px;
        font-size: 0.65rem;
    }

    .home-positioning-body,
    .home-firm-body {
        padding-top: 0;
    }

    .home-solutions-heading > p,
    .home-methodology-heading > p {
        margin-top: 0;
    }

    .home-intelligence-visual {
        width: min(100%, 540px);
        margin-inline: auto;
    }

    .home-intelligence-image {
        height: clamp(370px, 100vw, 500px);
    }

    .home-intelligence-note {
        right: -5px;
    }

    .home-methodology-steps {
        margin-top: 35px;
    }

    .home-contact-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 32px;
    }

    .home-contact-action {
        min-width: 0;
    }

    .home-contact-decoration {
        top: auto;
        right: -180px;
        bottom: -180px;
    }
}

@media (max-width: 540px) {
    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero-actions .button,
    .home-hero-actions .button-text {
        justify-content: center;
    }

    .home-hero-note {
        margin-top: 30px;
    }

    .home-visual-card {
        padding: 15px;
        border-radius: 15px;
    }

    .home-visual-card-top {
        width: 175px;
    }

    .home-visual-card-bottom {
        max-width: 245px;
    }

    .home-visual-card strong {
        font-size: 0.88rem;
    }

    .home-visual-card > span:last-child {
        font-size: 0.73rem;
    }

    .home-visual-card-bottom small {
        font-size: 0.7rem;
    }

    .home-hero-bottom {
        letter-spacing: 0.06em;
    }

    .home-solutions-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-solution-card:last-child {
        grid-column: auto;
    }

    .home-solutions-footer,
    .home-methodology-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-methodology-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .home-method-step {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 15px;
        padding: 0;
    }

    .home-method-number {
        margin: 0;
    }

    .home-method-step h3 {
        margin-bottom: 8px;
    }

    .home-method-step p {
        max-width: none;
    }

    .home-intelligence-note {
        max-width: 285px;
    }

    .home-intelligence-orbit {
        top: 7%;
        left: -4px;
        gap: 6px;
        padding: 10px 12px;
        font-size: 0.58rem;
    }

    .home-contact-copy h2 {
        font-size: 2.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-solution-card {
        transition: none;
    }
}
