
/* ==========================================
   AS PROJECT STUDIO
   PREMIUM SERVICES PAGE
========================================== */

.as-services {
    --services-navy: #101d35;
    --services-deep: #0b182a;
    --services-teal: #087f8c;
    --services-teal-dark: #066773;
    --services-text: #172033;
    --services-muted: #475569;
    --services-soft: #f5f7fa;
    --services-border: #e5eaf0;

    width: 100%;
    color: var(--services-text);
    font-family: inherit;
    overflow-x: clip;
}

.as-services *,
.as-services *::before,
.as-services *::after {
    box-sizing: border-box;
}

.as-services h1,
.as-services h2,
.as-services h3,
.as-services h4,
.as-services p {
    margin-top: 0;
}

.services-container {
    width: 94%;
    max-width: 1600px;
    margin-inline: auto;
}

/* ==========================================
   SHARED EYEBROW
========================================== */

.services-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;

    color: var(--services-teal);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.services-eyebrow-line {
    display: inline-block;
    flex-shrink: 0;
    width: 25px;
    height: 2px;
    background: currentColor;
}

/* ==========================================
   BUTTONS
========================================== */

.services-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    min-height: 53px;
    padding: 15px 25px;

    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.services-btn:hover {
    transform: translateY(-3px);
}

.services-btn-primary {
    background: var(--services-teal);
    color: #fff;
}

.services-btn-primary:hover {
    background: var(--services-teal-dark);
    color: #fff;
    box-shadow: 0 10px 25px rgba(8, 127, 140, 0.18);
}

.services-btn-outline {
    border: 1px solid #cbd5df;
    background: #fff;
    color: var(--services-navy);
}

.services-btn-outline:hover {
    background: #eaf6f7;
    color: var(--services-navy);
}

.services-btn-white {
    background: #fff;
    color: var(--services-navy);
}

.services-btn-white:hover {
    background: #daf4f5;
    color: var(--services-navy);
}

/* ==========================================
   HERO
========================================== */

.services-hero {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(8, 127, 140, 0.1),
            transparent 42%
        ),
        #f6f8fa;
    border-bottom: 1px solid var(--services-border);
}

.services-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(40px, 5vw, 95px);
}

.services-hero-copy {
    max-width: 780px;
}

.services-hero h1 {
    margin: 24px 0 26px;
    color: var(--services-navy);
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.services-hero h1 span {
    display: block;
    color: var(--services-teal);
}

.services-hero-description {
    max-width: 680px;
    color: var(--services-muted);
    font-size: 17px;
    line-height: 1.9;
}

.services-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.services-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #dce3ea;
}

.services-hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--services-muted);
    font-size: 12px;
    font-weight: 700;
}

.services-hero-points span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--services-teal);
}

/* HERO IMAGE */

.services-hero-visual {
    position: relative;
    width: 100%;
    max-width: 680px;
    justify-self: end;
}

.services-image-frame {
    position: relative;
    height: clamp(390px, 37vw, 590px);
    overflow: hidden;
    border-radius: 15px;
    background: #dce6eb;
    box-shadow: 0 25px 70px rgba(16, 29, 53, 0.12);
}

.services-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.services-image-frame:hover img {
    transform: scale(1.045);
}

.services-image-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(11, 24, 42, 0.22),
        transparent 55%
    );
}

.services-floating-card {
    position: absolute;
    z-index: 2;
    bottom: 35px;
    left: -30px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px 23px;
    border: 1px solid var(--services-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(16, 29, 53, 0.14);

    transition: transform 0.25s ease;
}

.services-floating-card:hover {
    transform: translateY(-5px);
}

.services-floating-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #eaf6f7;
    color: var(--services-teal);
    font-size: 22px;
    font-weight: 800;
}

.services-floating-card strong {
    display: block;
    margin-bottom: 5px;
    color: var(--services-navy);
    font-size: 14px;
}

.services-floating-card div > span {
    color: var(--services-muted);
    font-size: 12px;
}

.services-corner-line {
    position: absolute;
    z-index: 1;
    top: -18px;
    right: -18px;
    width: 85px;
    height: 85px;
    border-top: 3px solid var(--services-teal);
    border-right: 3px solid var(--services-teal);
    border-radius: 0 16px 0 0;
    pointer-events: none;
}

/* ==========================================
   INTRODUCTION
========================================== */

.services-introduction {
    padding: 110px 0;
    background: #fff;
}

.services-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: clamp(50px, 8vw, 140px);
}

.services-intro-grid h2 {
    margin: 20px 0 0;
    color: var(--services-navy);
    font-size: clamp(36px, 3.8vw, 57px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.services-intro-grid h2 span {
    color: var(--services-teal);
}

.services-intro-grid > div:last-child p {
    margin-bottom: 22px;
    color: var(--services-muted);
    font-size: 16px;
    line-height: 1.95;
}

.services-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--services-teal);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.services-text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ==========================================
   OVERVIEW CARDS
========================================== */

.services-overview {
    padding: 110px 0;
    background: var(--services-soft);
    scroll-margin-top: 90px;
}

.services-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
}

.services-heading-row h2 {
    margin: 18px 0 0;
    color: var(--services-navy);
    font-size: clamp(35px, 3.7vw, 54px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.services-heading-row h2 span {
    display: block;
    color: var(--services-teal);
}

.services-heading-row > p {
    max-width: 410px;
    margin: 0;
    color: var(--services-muted);
    font-size: 15px;
    line-height: 1.85;
}

.services-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 50px;
}

.services-overview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 35px 28px;

    overflow: hidden;
    background: #fff;
    border: 1px solid var(--services-border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.services-overview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(8, 127, 140, 0.45);
    box-shadow: 0 20px 50px rgba(16, 29, 53, 0.09);
}

.overview-card-topline {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--services-teal);
    transition: width 0.35s ease;
}

.services-overview-card:hover .overview-card-topline {
    width: 100%;
}

.overview-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    border-radius: 12px;
    background: #eaf6f7;
    color: var(--services-teal);
}

.overview-card-icon svg {
    width: 28px;
    height: 28px;
}

.overview-card-number {
    display: block;
    margin-bottom: 14px;
    color: var(--services-teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.services-overview-card h3 {
    margin-bottom: 15px;
    color: var(--services-navy);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.35;
}

.services-overview-card p {
    margin-bottom: 25px;
    color: var(--services-muted);
    font-size: 14px;
    line-height: 1.85;
}

.overview-card-link {
    margin-top: auto;
    color: var(--services-teal);
    font-size: 14px;
    font-weight: 700;
}

/* ==========================================
   DETAILED SERVICES
========================================== */

.services-detail-section {
    background: #fff;
}

.services-detail {
    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: clamp(45px, 7vw, 120px);
    align-items: start;

    padding: 105px 0;
    border-bottom: 1px solid var(--services-border);
    scroll-margin-top: 100px;
}

.services-detail:last-child {
    border-bottom: 0;
}

.services-detail-heading h2 {
    max-width: 720px;
    margin: 22px 0 24px;
    color: var(--services-navy);
    font-size: clamp(34px, 3.6vw, 53px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.04em;
}

.services-detail-heading h2 span {
    color: var(--services-teal);
}

.services-detail-heading > p:not(.services-eyebrow) {
    max-width: 630px;
    color: var(--services-muted);
    font-size: 16px;
    line-height: 1.9;
}

.services-detail-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 17px;
    color: var(--services-teal);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.services-detail-cta:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.services-detail-panel {
    padding: clamp(26px, 3.5vw, 45px);
    border: 1px solid var(--services-border);
    border-radius: 13px;
    background: var(--services-soft);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.services-detail-panel:hover {
    border-color: rgba(8, 127, 140, 0.35);
    box-shadow: 0 15px 45px rgba(16, 29, 53, 0.055);
}

.services-detail-panel h3 {
    margin-bottom: 25px;
    color: var(--services-navy);
    font-size: 23px;
    font-weight: 750;
}

.services-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-check-list li {
    position: relative;
    padding: 0 0 0 34px;
    margin-bottom: 17px;
    color: var(--services-muted);
    font-size: 15px;
    line-height: 1.7;
}

.services-check-list li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 6px;
    background: #e0f2f2;
    color: var(--services-teal);
    font-size: 13px;
    font-weight: 800;
}

.services-ideal {
    margin-top: 25px;
    padding-top: 24px;
    border-top: 1px solid #dce4ea;
}

.services-ideal h4 {
    margin-bottom: 11px;
    color: var(--services-navy);
    font-size: 16px;
    font-weight: 750;
}

.services-ideal p {
    margin: 0;
    color: var(--services-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   TEMPLATES AND TOOLKITS
========================================== */

.services-resources-section {
    padding: 115px 0;
    overflow: hidden;
    background: #f0f6f7;
}

.services-resources-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(45px, 7vw, 110px);
}

.services-resources-copy h2 {
    margin: 22px 0 25px;
    color: var(--services-navy);
    font-size: clamp(36px, 3.9vw, 57px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.services-resources-copy h2 span {
    display: block;
    color: var(--services-teal);
}

.services-resources-copy > p:not(.services-eyebrow) {
    max-width: 680px;
    color: var(--services-muted);
    font-size: 16px;
    line-height: 1.9;
}

.services-resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 35px;
}

.services-resource-tags span {
    padding: 10px 14px;
    border: 1px solid #cddfe3;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--services-navy);
    font-size: 13px;
    font-weight: 600;
}

/* Decorative toolkit illustration */

.services-resources-art {
    position: relative;
    min-height: 425px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-sheet {
    width: min(85%, 470px);
    min-height: 330px;
    padding: 32px;
    background: #fff;
    border: 1px solid #dbe5ec;
    border-radius: 11px;
    box-shadow: 0 20px 60px rgba(16, 29, 53, 0.1);
}

.resource-sheet-back {
    position: absolute;
    transform: rotate(8deg) translate(12px, 8px);
    background: #e3edf1;
}

.resource-sheet-front {
    position: relative;
    transform: rotate(-3deg);
}

.resource-sheet-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--services-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.resource-sheet-title {
    margin: 42px 0 20px;
    color: var(--services-navy);
    font-size: clamp(23px, 2.5vw, 35px);
    font-weight: 800;
}

.resource-sheet-rule {
    width: 100%;
    height: 2px;
    background: #dce8ed;
}

.resource-sheet-bars {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.resource-sheet-bars span {
    height: 11px;
    border-radius: 3px;
    background: #e5edf1;
}

.resource-sheet-bars span:nth-child(2) {
    width: 78%;
}

.resource-sheet-bars span:nth-child(3) {
    width: 58%;
}

.resource-sheet-status {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
    color: var(--services-muted);
    font-size: 10px;
    font-weight: 700;
}

.resource-sheet-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.resource-sheet-progress span {
    height: 8px;
    border-radius: 4px;
    background: #d4e2e8;
}

.resource-sheet-progress span:first-child {
    background: var(--services-teal);
}

/* ==========================================
   BENEFITS
========================================== */

.services-benefits-section {
    padding: 110px 0;
    background: #fff;
}

.services-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.services-benefit-card {
    padding: 32px 26px;
    border: 1px solid var(--services-border);
    border-radius: 11px;
    background: #fff;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.services-benefit-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8, 127, 140, 0.4);
    box-shadow: 0 15px 40px rgba(16, 29, 53, 0.07);
}

.benefit-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 25px;
    border-radius: 10px;
    background: #eaf6f7;
    color: var(--services-teal);
    font-size: 13px;
    font-weight: 800;
}

.services-benefit-card h3 {
    margin-bottom: 14px;
    color: var(--services-navy);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
}

.services-benefit-card p {
    margin: 0;
    color: var(--services-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   FINAL CTA
========================================== */

.services-final-cta {
    padding: 85px 0;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(8, 127, 140, 0.2),
            transparent 35%
        ),
        var(--services-deep);
    color: #fff;
}

.services-final-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.services-eyebrow-light {
    color: #74d1d7;
}

.services-final-grid h2 {
    max-width: 800px;
    margin: 20px 0;
    font-size: clamp(34px, 3.8vw, 55px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.services-final-grid h2 span {
    display: block;
    color: #74d1d7;
}

.services-final-grid p:not(.services-eyebrow) {
    max-width: 670px;
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.85;
}

/* ==========================================
   ACCESSIBILITY
========================================== */

.as-services a:focus-visible {
    outline: 3px solid var(--services-teal);
    outline-offset: 4px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
    .services-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .services-hero h1 {
        font-size: 48px;
    }

    .services-card-grid,
    .services-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-floating-card {
        left: 12px;
    }
}

/* ==========================================
   SMALL TABLET
========================================== */

@media (max-width: 850px) {
    .services-container {
        width: 92%;
    }

    .services-hero-grid,
    .services-intro-grid,
    .services-detail,
    .services-resources-grid {
        grid-template-columns: 1fr;
    }

    .services-hero-visual {
        max-width: 100%;
        justify-self: stretch;
    }

    .services-image-frame {
        height: 450px;
    }

    .services-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .services-final-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-resources-art {
        min-height: 380px;
    }

    .services-detail {
        gap: 30px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
    .services-container {
        width: 92%;
    }

    .services-hero {
        padding: 65px 0 85px;
    }

    .services-hero h1 {
        font-size: clamp(37px, 9vw, 48px);
    }

    .services-hero-description {
        font-size: 15px;
        line-height: 1.85;
    }

    .services-hero-actions {
        flex-direction: column;
    }

    .services-hero-actions .services-btn {
        width: 100%;
    }

    .services-hero-points {
        gap: 15px;
    }

    .services-image-frame {
        height: 350px;
    }

    .services-floating-card {
        left: 12px;
        right: 12px;
        bottom: -25px;
        padding: 15px;
    }

    .services-corner-line {
        right: 0;
        width: 55px;
        height: 55px;
    }

    .services-introduction,
    .services-overview,
    .services-benefits-section,
    .services-resources-section {
        padding: 75px 0;
    }

    .services-card-grid,
    .services-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-overview-card {
        padding: 30px 25px;
    }

    .services-detail {
        padding: 75px 0;
    }

    .services-detail-panel {
        padding: 26px 22px;
    }

    .services-resources-art {
        min-height: 310px;
    }

    .resource-sheet {
        width: 88%;
        min-height: 280px;
        padding: 24px;
    }

    .resource-sheet-title {
        margin-top: 30px;
    }

    .services-final-cta {
        padding: 70px 0;
    }

    .services-final-action,
    .services-final-action .services-btn {
        width: 100%;
    }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
    .as-services *,
    .as-services *::before,
    .as-services *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        transform: none !important;
    }
}
