/* ========================================
   SERVICES HERO — NETWORK VISUAL
======================================== */

.services-network {
    width: min(42vw, 600px);
    aspect-ratio: 1;
    margin: auto;
    position: relative;
}

.services-network__svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}


/* ----------------------------------------
   BASE NETWORK
---------------------------------------- */

.services-network__paths .services-network__line {
    fill: none;
    stroke: rgba(11, 27, 51, 0.18);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ----------------------------------------
   ACTIVE NETWORK
---------------------------------------- */

.services-network__active .services-network__line {
    fill: none;
    stroke: #C9A227;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;

    opacity: 0;

    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;

    transition:
        stroke-dashoffset 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.2s ease;
}

.services-network.is-active
.services-network__active .services-network__line {
    opacity: 1;
    stroke-dashoffset: 0;
}


/* ----------------------------------------
   END NODES
---------------------------------------- */

.services-network__nodes circle {
    fill: #F8F5EE;
    stroke: #0B1B33;
    stroke-width: 3;

    transition:
        fill 0.3s ease,
        stroke 0.3s ease,
        transform 0.3s ease;
}

.services-network__node-active {
    fill: #C9A227;
    stroke: #C9A227;
}

.services-network__hitarea {
    fill: none;
    stroke: transparent;
    stroke-width: 28;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: stroke;
    cursor: pointer;
}

.services-network__nodes circle {
    transition:
        fill 0.35s ease,
        stroke 0.35s ease,
        filter 0.35s ease,
        transform 0.35s ease;
}

.services-network__nodes circle.is-active {
    fill: #C9A227;
    stroke: #C9A227;
    filter:
        drop-shadow(
            0 0 10px rgba(201, 162, 39, 0.45)
        );
}


/* ----------------------------------------
   CENTRAL CORE
---------------------------------------- */

.services-network__core-ring {
    fill: none;
    stroke: rgba(201, 162, 39, 0.25);
    stroke-width: 2;
}

.services-network__core-inner {
    fill: #0B1B33;
    stroke: #0B1B33;
    stroke-width: 2;

    filter:
        drop-shadow(
            0 18px 35px rgba(11, 27, 51, 0.2)
        );
}

.services-network__core text {
    fill: #FFFFFF;
    font-size: 30px;
    font-weight: 800;
    font-family: inherit;

    user-select: none;
}


/* ----------------------------------------
   RESPONSIVE
---------------------------------------- */

@media (max-width: 1025px) {

    .services-network {
        width: min(75vw, 600px);
    }

}


@media (max-width: 600px) {

    .services-network {
        width: min(88vw, 420px);
    }

}

/* ========================================
   SERVICE SECTIONS
======================================== */

.service-section {
    width: 100%;
    min-height: 80vh;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);

    padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 8vw, 8rem);

    box-sizing: border-box;
}


/* ========================================
   WEBSITES
======================================== */

.service-section--websites {
    background: #FFFFFF;
}

.service-section__content {
    max-width: 600px;
}

.service-section__eyebrow {
    display: inline-block;

    margin-bottom: 1.2rem;

    color: #C9A227;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.service-section__content h2 {
    margin: 0;

    color: #0B1B33;

    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.service-section__content p {
    margin-top: 1.5rem;

    max-width: 520px;

    color: #4A4A4A;

    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.7;
}


/* ========================================
   IMAGE
======================================== */

.service-section__visual {
    width: 100%;
    max-width: 600px;
    justify-self: end;
}

.service-section__image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;

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

    box-sizing: border-box;

    border: 1px solid #C9A227;
    border-radius: 24px;

    background: #F8F5EE;

    color: #C9A227;

    font-size: 1rem;
    font-weight: 700;

    box-shadow:
        0 25px 60px rgba(11, 27, 51, 0.12);
}

.service-section__button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    margin-top: 2rem;

    padding: 0.95rem 1.5rem;

    border-radius: 12px;

    background: #0B1B33;
    color: #FFFFFF;

    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(11, 27, 51, 0.16);

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

.service-section__button span {
    color: #C9A227;
}

.service-section__button:hover {
    transform: translateY(-3px);
    background: #132A4A;
}

@media (max-width: 1025px) {

    .service-section {
        grid-template-columns: 1fr;
        gap: 3rem;

        padding:
            5rem
            clamp(1.5rem, 6vw, 4rem);
    }

    .service-section__content {
        max-width: 700px;
        order: 1;
    }

    .service-section__visual {
        width: 100%;
        max-width: 650px;
        justify-self: center;
        order: 2;
    }

}

@media (max-width: 600px) {

    .service-section {
        min-height: auto;

        gap: 2.5rem;

        padding:
            4.5rem
            1.25rem;
    }

    .service-section__eyebrow {
        margin-bottom: 1rem;
        font-size: 0.75rem;
    }

    .service-section__content h2 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        line-height: 1.05;
    }

    .service-section__content p {
        margin-top: 1.2rem;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .service-section__button {
        margin-top: 1.5rem;
    }

    .service-section__visual {
        max-width: 100%;
    }

    .service-section__image-placeholder {
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

}

.service-section--websites,
.service-section--branding {
    background: #F8F5EE;
}

.service-section--seo,
.service-section--hosting {
    background: #FFFFFF;
}


/* ========================================
   SERVICES CTA
======================================== */


.services-cta {
    width: 100%;
    min-height: 55vh;

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

    padding: 6rem clamp(1.5rem, 8vw, 8rem);

    box-sizing: border-box;

    background: #0B1B33;

    text-align: center;
}

.services-cta__content {
    max-width: 800px;
}

.services-cta__eyebrow {
    display: inline-block;

    margin-bottom: 1.2rem;

    color: #C9A227;

    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.services-cta h2 {
    margin: 0;

    color: #FFFFFF;

    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.services-cta h2 span {
    color: #C9A227;
}

.services-cta p {
    max-width: 600px;

    margin: 1.5rem auto 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
}

.services-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    margin-top: 2.5rem;
    padding: 1rem 1.7rem;

    border-radius: 12px;

    background: #C9A227;
    color: #0B1B33;

    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;

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

.services-cta__button span {
    transition: transform 0.3s ease;
}

.services-cta__button:hover {
    transform: translateY(-3px);

    background: #D6B33A;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.25);
}

.services-cta__button:hover span {
    transform: translateX(4px);
}