/* =========================================================
   About — aligned to home-premium tokens
   Brand: ink #071433 · coral #ff6a3d · skyline #2f6fed · amber #ffb347
   ========================================================= */

.about-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(420px, 62vh, 560px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    color: #fff;
    background: #071433;
}

/* Left-weighted overlay — same readability pattern as /services */
.about-hero .home-hero-shade {
    background:
        linear-gradient(105deg, rgba(7, 20, 51, 0.94) 0%, rgba(7, 20, 51, 0.78) 48%, rgba(7, 20, 51, 0.62) 100%),
        linear-gradient(180deg, rgba(7, 20, 51, 0.25) 0%, rgba(7, 20, 51, 0.55) 100%);
}

.about-hero-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, 92%);
    display: block;
    margin-inline: auto;
    padding: calc(5.8rem + 42px) 0 clamp(2.6rem, 5vw, 3.6rem);
}

.about-hero-copy {
    width: 100%;
    max-width: min(48rem, 100%);
    margin: 0;
    text-align: left;
    display: block;
}

.about-hero .home-hero-brand {
    margin-bottom: 0.85rem;
}

.about-hero .home-hero-title {
    max-width: none;
    width: 100%;
    margin: 0;
    font-size: clamp(2.1rem, 4.5vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: pretty;
}

.about-hero .home-hero-text {
    max-width: none;
    width: 100%;
    margin: 1.1rem 0 0;
}

.about-hero .home-hero-cta {
    justify-content: flex-start;
    width: auto;
    margin-top: 1.5rem;
}

.about-hero .home-hero-cta .btn,
.about-guide .home-inline-actions .btn {
    min-height: 48px;
}

.about-hero .home-hero-cta .btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.75);
}

.about-guide {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 106, 61, 0.06), transparent 48%),
        linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}

/* Snapshot cards */
.about-snapshot {
    padding: clamp(2rem, 5vw, 3rem) 0 0.5rem;
    background: #f6f8fd;
}

.about-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-snapshot-card {
    padding: 1.25rem 1.2rem 1.3rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid rgba(7, 20, 51, 0.07);
    box-shadow: 0 12px 28px rgba(7, 20, 51, 0.05);
}

.about-snapshot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    color: #ff6a3d;
    background: rgba(255, 106, 61, 0.1);
}

.about-snapshot-icon i,
.about-snapshot-icon svg {
    width: 20px;
    height: 20px;
}

.about-snapshot-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #071433;
}

.about-snapshot-card p {
    margin: 0.45rem 0 0;
    color: #5b6b7c;
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Impact counters */
.about-counters {
    padding: clamp(2.4rem, 5.5vw, 3.6rem) 0 clamp(1.2rem, 3vw, 2rem);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(47, 111, 237, 0.05), transparent 50%),
        #f6f8fd;
}

.about-counters-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.about-counter-card {
    --counter-accent: #2f6fed;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 148px;
    padding: 1.65rem 1.1rem 1.55rem;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(7, 20, 51, 0.06);
    border-radius: 1.15rem;
    box-shadow: 0 14px 32px rgba(7, 20, 51, 0.06);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.about-counter-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--counter-accent);
}

.about-counter-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(7, 20, 51, 0.1);
}

.about-counter-card--violet {
    --counter-accent: #7c5cbf;
}

.about-counter-card--teal {
    --counter-accent: #1aa6a8;
}

.about-counter-card--rose {
    --counter-accent: #e53935;
}

.about-counter-card--amber {
    --counter-accent: #f0a202;
}

.about-counter-value {
    margin: 0;
    font-size: clamp(2.1rem, 3.4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--counter-accent);
    font-variant-numeric: tabular-nums;
}

.about-counter-label {
    margin: 0.7rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a2438;
}

/* Domains */
.about-domains {
    padding: clamp(3.2rem, 7vw, 5rem) 0;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(47, 111, 237, 0.05), transparent 42%),
        #ffffff;
}

.about-domains-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
}

.about-domain-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.25rem 1.3rem;
    border-radius: 1.25rem;
    background: #f7f9fc;
    border: 1px solid rgba(7, 20, 51, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-domain-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 106, 61, 0.28);
    box-shadow: 0 18px 40px rgba(7, 20, 51, 0.1);
}

.about-domain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
    border-radius: 12px;
    color: #2f6fed;
    background: rgba(47, 111, 237, 0.1);
}

.about-domain-icon i,
.about-domain-icon svg {
    width: 20px;
    height: 20px;
}

.about-domain-card h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #071433;
}

.about-domain-card p {
    margin: 0.55rem 0 1.1rem;
    color: #5b6b7c;
    font-size: 0.94rem;
    line-height: 1.6;
    flex: 1;
}

.about-domain-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ff6a3d;
}

.about-domain-link i,
.about-domain-link svg {
    width: 15px;
    height: 15px;
}

/* Delivery path */
.about-deliver {
    padding: clamp(3.2rem, 7vw, 5rem) 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(255, 106, 61, 0.06), transparent 40%),
        #f3f6fb;
}

.about-deliver-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.about-deliver-copy .home-heading {
    max-width: 14ch;
}

.about-deliver-copy .home-lead {
    margin-top: 1rem;
}

.about-deliver-steps {
    display: grid;
    gap: 0.9rem;
}

.about-deliver-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.2rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(7, 20, 51, 0.07);
    box-shadow: 0 10px 24px rgba(7, 20, 51, 0.04);
}

.about-deliver-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ff6a3d;
    line-height: 1;
    padding-top: 0.15rem;
}

.about-deliver-step h3 {
    margin: 0;
    font-size: 1.08rem;
    color: #071433;
}

.about-deliver-step p {
    margin: 0.4rem 0 0;
    color: #5b6b7c;
    font-size: 0.94rem;
    line-height: 1.55;
}

/* Why cards */
.about-why {
    padding: clamp(3.2rem, 7vw, 5rem) 0;
    background: #fff;
}

.about-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
}

.about-why-card {
    position: relative;
    padding: 1.45rem 1.35rem 1.4rem;
    border-radius: 1.25rem;
    background: #f7f9fc;
    border: 1px solid rgba(7, 20, 51, 0.06);
}

.about-why-index {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 106, 61, 0.55);
    line-height: 1;
}

.about-why-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #071433;
}

.about-why-card p {
    margin: 0.55rem 0 0;
    color: #5b6b7c;
    line-height: 1.65;
    font-size: 0.96rem;
}

@media (max-width: 960px) {
    .about-snapshot-grid,
    .about-counters-grid,
    .about-domains-grid,
    .about-deliver-grid,
    .about-why-grid {
        grid-template-columns: 1fr;
    }

    .about-snapshot-grid,
    .about-counters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-domains-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .about-hero {
        min-height: clamp(400px, 58vh, 520px);
    }

    .about-hero-shell {
        padding-top: 5.4rem;
        padding-bottom: 2.8rem;
    }

    .about-hero-copy {
        max-width: none;
    }

    .about-hero .home-hero-title {
        font-size: clamp(1.95rem, 6.2vw, 2.75rem);
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: clamp(420px, 70svh, 560px);
    }

    .about-hero-copy {
        max-width: none;
        padding-inline: 0;
    }

    .about-hero .home-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .about-hero .home-hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .about-snapshot-grid,
    .about-counters-grid,
    .about-domains-grid,
    .about-why-grid {
        grid-template-columns: 1fr;
    }

    .about-counter-card {
        min-height: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero .home-hero-img {
        transform: none !important;
        transition: none !important;
    }

    .about-counter-card {
        transition: none;
    }

    .about-counter-card:hover {
        transform: none;
    }
}
