.services-page {
    overflow: clip;
}

.services-page *,
.services-page *::before,
.services-page *::after {
    min-width: 0;
}

.services-hero {
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.services-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.75fr);
    gap: clamp(2.5rem, 7vw, 6rem);
    align-items: center;
}

.services-hero h1 {
    max-width: 11ch;
    margin: 0.75rem 0 0;
    font-size: clamp(3.1rem, 6.7vw, 6.35rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
    overflow-wrap: break-word;
}

.services-hero-lead {
    max-width: 62ch;
    margin: 1.5rem 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.services-chips,
.language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.services-chips {
    margin-top: 1.5rem;
}

.services-chips span,
.language-list span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.75rem;
    border: 1px solid var(--accent-2-line);
    border-radius: 999px;
    background: var(--accent-2-soft);
    color: var(--accent-2-strong);
    font-size: 0.78rem;
    font-weight: 700;
}

.services-map {
    padding: clamp(1.25rem, 3vw, 1.8rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.4rem;
    background:
        linear-gradient(145deg, rgba(110, 168, 255, 0.08), transparent 40%),
        rgba(255, 255, 255, 0.025);
}

.services-map-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.services-map-head span,
.services-map-result span,
.build-label {
    color: var(--accent-2-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.services-map-head strong {
    color: var(--muted);
    font-size: 0.82rem;
}

.services-map ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-map li {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-map li > span {
    color: var(--accent-2-strong);
    font-size: 0.72rem;
    font-weight: 800;
}

.services-map li div {
    display: grid;
    gap: 0.25rem;
}

.services-map li strong {
    font-size: 1rem;
}

.services-map li small {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.services-map-result {
    padding-top: 1.2rem;
}

.services-map-result p {
    margin: 0.55rem 0 0;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.55;
}

.services-intro,
.google-foundation,
.service-detail-section,
.monthly-care-summary,
.practice-section {
    background: rgba(255, 255, 255, 0.016);
}

.monthly-care-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.monthly-care-grid article {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.025);
}

.monthly-care-grid article.is-highlighted {
    border-color: rgba(155, 194, 255, 0.28);
    background: linear-gradient(145deg, rgba(110, 168, 255, 0.08), transparent 45%), rgba(255, 255, 255, 0.025);
}

.monthly-care-grid span {
    color: var(--accent-2-strong);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.monthly-care-grid strong {
    display: block;
    margin-top: 1.4rem;
    font-size: clamp(1.6rem, 2.8vw, 2.35rem);
    letter-spacing: -0.045em;
}

.monthly-care-grid p {
    margin: 0.8rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.services-section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 0.6fr);
    gap: clamp(2rem, 8vw, 7rem);
    align-items: end;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.services-section-head h2,
.service-detail-copy h2,
.services-final-panel h2 {
    max-width: 12ch;
    margin: 0.65rem 0 0;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.services-section-head > p,
.service-detail-copy > p,
.services-final-panel > div > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.72;
}

.services-section-head-wide h2 {
    max-width: 14ch;
}

.services-scope-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.services-scope-grid article {
    min-height: 13rem;
    padding: clamp(1.2rem, 2.7vw, 1.8rem);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services-scope-grid span,
.practice-grid > article > span {
    color: var(--accent-2-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.services-scope-grid strong {
    display: block;
    margin-top: 2.5rem;
    font-size: 1.25rem;
}

.services-scope-grid p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.build-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.3rem;
    overflow: hidden;
}

.build-compare article {
    padding: clamp(1.5rem, 4vw, 2.75rem);
}

.build-compare article + article {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(110, 168, 255, 0.045);
}

.build-compare h3 {
    max-width: 14ch;
    margin: 0.8rem 0 0;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.build-compare ul,
.included-list ul,
.standalone-summary ul,
.practice-grid ul {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.build-compare li,
.included-list li,
.standalone-summary li,
.practice-grid li {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--muted);
    line-height: 1.45;
}

.build-compare li::before,
.included-list li::before,
.standalone-summary li::before,
.practice-grid li::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 0;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: var(--accent-2-strong);
}

.text-link {
    display: inline-flex;
    gap: 0.45rem;
    margin-top: 1.5rem;
    color: var(--text);
    font-weight: 750;
}

.text-link:hover {
    color: var(--accent-2-strong);
}

.services-inline-cta {
    margin-top: 1.25rem;
}

.included-offer {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 0.65fr);
    border: 1px solid rgba(155, 194, 255, 0.22);
    border-radius: 1.35rem;
    background:
        linear-gradient(140deg, rgba(110, 168, 255, 0.1), transparent 42%),
        rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.included-offer > div {
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.included-offer > div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.included-price > span {
    color: var(--accent-2-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.included-price strong {
    display: block;
    margin-top: 1rem;
    font-size: clamp(4.8rem, 10vw, 8rem);
    line-height: 0.85;
    letter-spacing: -0.07em;
}

.included-price p {
    max-width: 19ch;
    margin: 1rem 0 0;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
}

.included-price small {
    display: block;
    margin-top: 0.65rem;
    color: var(--muted);
}

.included-list h3,
.event-examples h3 {
    margin: 0;
    font-size: 1.2rem;
}

.event-examples div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.4rem;
}

.event-examples span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 650;
}

.standalone-summary {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    margin-bottom: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.025);
}

.standalone-summary > div span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.standalone-summary > div strong {
    display: block;
    margin-top: 0.65rem;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.standalone-summary ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
    margin-top: 0;
}

.service-table-wrap {
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.15rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.022);
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.service-table th,
.service-table td {
    padding: 1.15rem 1.25rem;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.service-table th {
    border-bottom: 1px solid rgba(155, 194, 255, 0.2);
    background: rgba(110, 168, 255, 0.07);
    color: var(--accent-2-strong);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    color: var(--muted);
    line-height: 1.55;
}

.service-table tbody tr:last-child td {
    border-bottom: 0;
}

.service-table th:first-child,
.service-table td:first-child {
    width: 28%;
    color: var(--text);
    font-weight: 700;
}

.service-table th:last-child,
.service-table td:last-child {
    width: 19%;
    color: var(--text);
    font-weight: 800;
    text-align: right;
}

.services-note {
    max-width: 70ch;
    margin: 1rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: clamp(2rem, 8vw, 7rem);
    align-items: center;
}

.service-detail-copy h2 {
    max-width: 10ch;
}

.service-detail-copy > p {
    margin-top: 1.25rem;
}

.detail-callout {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-callout strong {
    color: var(--accent-2-strong);
}

.detail-callout p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.service-table-compact th:first-child,
.service-table-compact td:first-child {
    width: 65%;
}

.service-table-compact th:last-child,
.service-table-compact td:last-child {
    width: 35%;
}

.translation-table th:first-child,
.translation-table td:first-child {
    width: 25%;
}

.translation-table th:last-child,
.translation-table td:last-child {
    width: 24%;
}

.translation-meta {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-top: 1.25rem;
}

.translation-meta > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-grid article {
    padding: clamp(1.35rem, 3vw, 2.2rem);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-grid h3 {
    min-height: 2.2em;
    margin: 2rem 0 0;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.services-final {
    padding-top: 2rem;
}

.services-final-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.65fr);
    gap: clamp(2rem, 8vw, 7rem);
    padding: clamp(2rem, 6vw, 4.5rem);
    border: 1px solid rgba(155, 194, 255, 0.2);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 88% 10%, rgba(110, 168, 255, 0.14), transparent 28%),
        rgba(255, 255, 255, 0.035);
}

.services-final-panel h2 {
    max-width: 11ch;
}

@media (max-width: 1024px) {
    .services-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
        gap: 2.5rem;
    }

    .services-hero h1 {
        font-size: clamp(3rem, 7vw, 4.8rem);
    }

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

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

    .event-examples {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .event-examples,
    .included-offer > div + .event-examples {
        border-left: 0;
    }
}

@media (max-width: 780px) {
    .services-hero-copy,
    .services-hero h1,
    .services-hero-lead {
        width: 100%;
        max-width: none;
    }

    .services-section-head,
    .service-detail-copy,
    .services-final-panel {
        width: 100%;
        max-width: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        align-self: stretch;
        flex-basis: 100%;
    }

    .services-section-head h2,
    .service-detail-copy h2,
    .services-final-panel h2 {
        width: 100%;
        max-width: none;
    }

    .services-hero-grid,
    .services-section-head,
    .build-compare,
    .included-offer,
    .standalone-summary,
    .service-detail-grid,
    .translation-meta,
    .services-final-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-hero {
        padding-top: 3.5rem;
    }

    .services-section-head {
        align-items: start;
        gap: 1.25rem;
    }

    .build-compare article + article,
    .included-offer > div + div {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .event-examples {
        grid-column: auto;
    }

    .standalone-summary ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .practice-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .monthly-care-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .practice-grid h3 {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .services-hero h1 {
        max-width: 100%;
        font-size: clamp(2.75rem, 13vw, 4rem);
        line-height: 0.96;
    }

    .services-scope-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .services-scope-grid article {
        min-height: auto;
    }

    .services-scope-grid strong {
        margin-top: 1.5rem;
    }

    .services-hero .hero-actions,
    .services-final-panel .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .services-hero .btn,
    .services-final-panel .btn {
        width: 100%;
    }

    .service-table,
    .service-table tbody,
    .service-table tr,
    .service-table td {
        display: block;
        width: 100%;
    }

    .service-table thead {
        display: none;
    }

    .service-table tr {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .service-table tbody tr:last-child {
        border-bottom: 0;
    }

    .service-table td,
    .service-table th:first-child,
    .service-table td:first-child,
    .service-table th:last-child,
    .service-table td:last-child,
    .service-table-compact th:first-child,
    .service-table-compact td:first-child,
    .service-table-compact th:last-child,
    .service-table-compact td:last-child,
    .translation-table th:first-child,
    .translation-table td:first-child,
    .translation-table th:last-child,
    .translation-table td:last-child {
        width: 100%;
        padding: 0.5rem 0;
        border: 0;
        text-align: left;
    }

    .service-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        color: var(--accent-2-strong);
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
}
