/* =========================================================
   Agrta Technologies — Fresh Services Page
   All selectors are scoped to .agrta-services-fresh
   ========================================================= */

.agrta-services-fresh,
.agrta-services-fresh *,
.agrta-services-fresh *::before,
.agrta-services-fresh *::after {
    box-sizing: border-box;
}

.agrta-services-fresh {
    --asf-navy: #071b3d;
    --asf-blue: #1769e8;
    --asf-blue-dark: #0d55c8;
    --asf-blue-soft: #edf5ff;
    --asf-line: #dfe8f3;
    --asf-text: #10264a;
    --asf-muted: #526581;
    --asf-white: #ffffff;
    width: 100%;
    overflow: hidden;
    color: var(--asf-text);
    background: #fff;
    font-family: inherit;
}

.agrta-services-fresh a {
    text-decoration: none;
}

.agrta-services-fresh .asf-shell {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}

.agrta-services-fresh .asf-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 72px 0 82px;
    background-image: url("../images/agrta-services-hero-bg.png?v=20260929-0945") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    border-top: 1px solid #edf2f8;
}

.agrta-services-fresh .asf-hero-grid {
    display: block;
    width: 100%;
}

.agrta-services-fresh .asf-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin-left: 0;
    padding-top: 82px;
}

.agrta-services-fresh .asf-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--asf-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .19em;
    line-height: 1.2;
}

.agrta-services-fresh .asf-eyebrow span {
    width: 24px;
    height: 2px;
    display: inline-block;
    background: var(--asf-blue);
}

.agrta-services-fresh .asf-hero h1 {
    max-width: 520px;
    margin: 0;
    color: var(--asf-navy);
    font-size: clamp(42px, 5vw, 66px);
    line-height: .99;
    letter-spacing: -.045em;
    font-weight: 800;
}

.agrta-services-fresh .asf-hero h1 strong {
    color: var(--asf-blue);
    font-weight: inherit;
}

.agrta-services-fresh .asf-lead {
    max-width: 510px;
    margin: 24px 0 28px;
    color: var(--asf-muted);
    font-size: 16px;
    line-height: 1.75;
}

.agrta-services-fresh .asf-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.agrta-services-fresh .asf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.agrta-services-fresh .asf-btn:hover {
    transform: translateY(-2px);
}

.agrta-services-fresh .asf-btn-primary {
    color: #fff;
    background: var(--asf-blue);
    box-shadow: 0 10px 24px rgba(23, 105, 232, .22);
}

.agrta-services-fresh .asf-btn-primary:hover {
    color: #fff;
    background: var(--asf-blue-dark);
}

.agrta-services-fresh .asf-btn-primary span {
    margin-left: 10px;
    font-size: 17px;
}

.agrta-services-fresh .asf-btn-secondary {
    color: var(--asf-navy);
    background: #fff;
    border: 1px solid var(--asf-line);
}

.agrta-services-fresh .asf-btn-secondary:hover {
    color: var(--asf-blue);
    border-color: #c9dcf6;
}

.agrta-services-fresh .asf-btn-dark {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.24);
}

.agrta-services-fresh .asf-btn-dark:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}


/* Services */
.agrta-services-fresh .asf-services {
    padding: 86px 0 92px;
    background: #fff;
}

.agrta-services-fresh .asf-section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.agrta-services-fresh .asf-section-heading h2 {
    margin: 0 0 9px;
    color: var(--asf-navy);
    font-size: clamp(31px, 3vw, 43px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 800;
}

.agrta-services-fresh .asf-section-heading p {
    margin: 0;
    color: var(--asf-muted);
    font-size: 15px;
    line-height: 1.7;
}

.agrta-services-fresh .asf-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.agrta-services-fresh .asf-service-card {
    position: relative;
    min-height: 255px;
    padding: 21px;
    border: 1px solid #e0e8f2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(25, 55, 95, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.agrta-services-fresh .asf-service-card:hover {
    transform: translateY(-4px);
    border-color: #c9dcf5;
    box-shadow: 0 15px 30px rgba(25, 55, 95, .09);
}

.agrta-services-fresh .asf-service-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.agrta-services-fresh .asf-service-number {
    color: #a7c8f6;
    font-size: 12px;
    font-weight: 800;
}

.agrta-services-fresh .asf-service-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #3a8df1, #1769e8);
    font-size: 18px;
    box-shadow: 0 7px 15px rgba(23,105,232,.18);
}

.agrta-services-fresh .asf-service-arrow {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-left: auto;
    border: 1px solid #dce7f4;
    border-radius: 50%;
    color: var(--asf-blue);
    font-size: 15px;
}

.agrta-services-fresh .asf-service-card h3 {
    margin: 20px 0 10px;
    color: var(--asf-navy);
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -.02em;
    font-weight: 800;
}

.agrta-services-fresh .asf-service-card p {
    margin: 0;
    color: var(--asf-muted);
    font-size: 12px;
    line-height: 1.7;
}

.agrta-services-fresh .asf-service-card:last-child {
    grid-column: span 4;
    min-height: 150px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 18px;
    align-items: center;
}

.agrta-services-fresh .asf-service-card:last-child .asf-service-top {
    display: contents;
}

.agrta-services-fresh .asf-service-card:last-child .asf-service-number {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.agrta-services-fresh .asf-service-card:last-child .asf-service-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-left: 28px;
}

.agrta-services-fresh .asf-service-card:last-child .asf-service-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.agrta-services-fresh .asf-service-card:last-child h3 {
    grid-column: 2;
    margin: 0 0 7px;
}

.agrta-services-fresh .asf-service-card:last-child p {
    grid-column: 2;
}

/* Process */
.agrta-services-fresh .asf-process {
    padding: 82px 0 88px;
    background: linear-gradient(180deg, #f5f9ff, #edf5ff);
    border-top: 1px solid #e4edf8;
    border-bottom: 1px solid #e4edf8;
}

.agrta-services-fresh .asf-process-grid {
    display: grid;
    grid-template-columns: 1fr 35px 1fr 35px 1fr 35px 1fr;
    align-items: center;
}

.agrta-services-fresh .asf-process-card {
    min-height: 170px;
    padding: 23px;
    border: 1px solid #dce8f6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(29, 67, 112, .055);
}

.agrta-services-fresh .asf-process-card span {
    display: block;
    margin-bottom: 14px;
    color: #a5c7f6;
    font-size: 11px;
    font-weight: 800;
}

.agrta-services-fresh .asf-process-card b {
    display: block;
    margin-bottom: 8px;
    color: var(--asf-navy);
    font-size: 16px;
}

.agrta-services-fresh .asf-process-card p {
    margin: 0;
    color: var(--asf-muted);
    font-size: 12px;
    line-height: 1.65;
}

.agrta-services-fresh .asf-process-line {
    position: relative;
    height: 1px;
    background: #a9caf4;
}

.agrta-services-fresh .asf-process-line::after {
    content: "›";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-54%);
    color: var(--asf-blue);
    font-size: 22px;
}

/* CTA */
.agrta-services-fresh .asf-cta-wrap {
    padding: 76px 0;
    background: #fff;
}

.agrta-services-fresh .asf-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 54px 58px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 88% 30%, rgba(46, 127, 255, .24), transparent 28%),
        linear-gradient(120deg, #061a3a, #092b5d);
    box-shadow: 0 22px 50px rgba(5, 25, 58, .18);
}

.agrta-services-fresh .asf-eyebrow-light {
    color: #65a8ff;
}

.agrta-services-fresh .asf-eyebrow-light span {
    background: #65a8ff;
}

.agrta-services-fresh .asf-cta h2 {
    max-width: 620px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(29px, 3vw, 43px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.agrta-services-fresh .asf-cta p {
    max-width: 640px;
    margin: 0;
    color: #b9c9df;
    font-size: 13px;
    line-height: 1.7;
}

.agrta-services-fresh .asf-cta .asf-actions {
    flex: 0 0 auto;
}

/* Responsive */
@media (max-width: 1050px) {
    .agrta-services-fresh .asf-hero-grid {
        grid-template-columns: 1fr;
    }

    .agrta-services-fresh .asf-hero-copy {
        max-width: 760px;
    }

    .agrta-services-fresh .asf-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .agrta-services-fresh .asf-service-card:last-child {
        grid-column: span 3;
    }

    .agrta-services-fresh .asf-process-grid {
        grid-template-columns: 1fr 25px 1fr;
        row-gap: 15px;
    }

    .agrta-services-fresh .asf-process-line:nth-of-type(2) {
        display: none;
    }

    .agrta-services-fresh .asf-process-line:nth-of-type(4) {
        display: none;
    }

    .agrta-services-fresh .asf-process-card:nth-of-type(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .agrta-services-fresh .asf-process-card:nth-of-type(4) {
        grid-column: 3;
        grid-row: 2;
    }

    .agrta-services-fresh .asf-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .agrta-services-fresh .asf-hero-copy {
        margin-left: 18px;
        padding-top: 24px;
    }

    .agrta-services-fresh .asf-shell {
        width: min(100% - 30px, 600px);
    }

    .agrta-services-fresh .asf-hero {
        padding: 52px 0 60px;
    }

    .agrta-services-fresh .asf-hero h1 {
        font-size: clamp(39px, 11vw, 54px);
    }

    .agrta-services-fresh .asf-lead {
        font-size: 14px;
    }

    .agrta-services-fresh .asf-service-grid {
        grid-template-columns: 1fr;
    }

    .agrta-services-fresh .asf-service-card,
    .agrta-services-fresh .asf-service-card:last-child {
        grid-column: auto;
        min-height: 0;
        display: block;
    }

    .agrta-services-fresh .asf-service-card:last-child .asf-service-top,
    .agrta-services-fresh .asf-service-card:last-child .asf-service-number,
    .agrta-services-fresh .asf-service-card:last-child .asf-service-icon,
    .agrta-services-fresh .asf-service-card:last-child .asf-service-arrow,
    .agrta-services-fresh .asf-service-card:last-child h3,
    .agrta-services-fresh .asf-service-card:last-child p {
        display: block;
    }

    .agrta-services-fresh .asf-service-card:last-child .asf-service-top {
        display: flex;
    }

    .agrta-services-fresh .asf-service-card:last-child .asf-service-icon {
        margin-left: 0;
    }

    .agrta-services-fresh .asf-service-card:last-child h3 {
        margin: 20px 0 10px;
    }

    .agrta-services-fresh .asf-process {
        padding: 60px 0;
    }

    .agrta-services-fresh .asf-process-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .agrta-services-fresh .asf-process-card {
        min-height: 0;
    }

    .agrta-services-fresh .asf-process-line {
        display: none !important;
    }

    .agrta-services-fresh .asf-process-card:nth-of-type(3),
    .agrta-services-fresh .asf-process-card:nth-of-type(4) {
        grid-column: auto;
        grid-row: auto;
    }

    .agrta-services-fresh .asf-cta-wrap {
        padding: 48px 0;
    }

    .agrta-services-fresh .asf-cta {
        padding: 36px 27px;
        border-radius: 16px;
    }
}
