﻿/* =========================================================
   SMART CONSULTING — PUBLIC SERVICES
   ========================================================= */

.services-page {
    --srv-bg: #f5f1ea;
    --srv-surface: #fbf9f5;
    --srv-ink: #171716;
    --srv-muted: #706a63;
    --srv-gold: #a78961;
    --srv-gold-dark: #806442;
    --srv-dark: #0e171b;
    --srv-dark-2: #19252b;
    --srv-serif: Georgia, "Times New Roman", serif;
    --srv-sans: "Segoe UI", Arial, Helvetica, sans-serif;

    color: var(--srv-ink);
    font-family: var(--srv-sans);
    background: var(--srv-bg);
}

.services-page * {
    box-sizing: border-box;
}

.services-kicker {
    margin-bottom: 20px;
    color: var(--srv-gold-dark);
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .23em;
}

.services-kicker-light {
    color: #cdb28e;
}


/* =========================================================
   HERO
   ========================================================= */

.services-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 84px;
    background:
        radial-gradient(circle at 84% 15%, rgba(167,137,97,.17), transparent 29%),
        linear-gradient(135deg, #faf7f1 0%, #eee7dd 100%);
}

.services-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(65,54,43,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65,54,43,.035) 1px, transparent 1px);
    background-size: 58px 58px;
    pointer-events: none;
}

.services-orbit {
    position: absolute;
    border: 1px solid rgba(167,137,97,.16);
    border-radius: 50%;
    pointer-events: none;
}

.services-orbit-one {
    width: 570px;
    height: 570px;
    right: -270px;
    top: -185px;
}

.services-orbit-two {
    width: 440px;
    height: 440px;
    right: -200px;
    top: -110px;
}

.services-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 80px;
    align-items: center;
}

.services-hero-copy {
    max-width: 720px;
}

.services-hero h1 {
    margin: 0;
    font-family: var(--srv-serif);
    font-size: clamp(60px, 6vw, 84px);
    line-height: .98;
    font-weight: 400;
    letter-spacing: -.045em;
}

.services-hero-lead {
    max-width: 650px;
    margin: 29px 0 0;
    color: #504a44;
    font-size: 18px;
    line-height: 1.72;
}

.services-hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.services-btn {
    min-height: 52px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .11em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;
}

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

.services-btn-primary {
    background: linear-gradient(135deg, #a98a62, #866642);
    color: #fff;
    box-shadow: 0 13px 30px rgba(100,73,43,.16);
}

.services-btn-primary:hover {
    background: var(--srv-gold-dark);
    box-shadow: 0 18px 36px rgba(100,73,43,.23);
}

.services-btn-light {
    border-color: rgba(38,33,29,.20);
    background: rgba(255,255,255,.55);
    color: #4d4843;
}

.services-btn-light:hover {
    background: #fff;
}

.services-hero-note {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #746d65;
    font-size: 11px;
    font-weight: 600;
}

.services-hero-line {
    width: 40px;
    height: 1px;
    background: var(--srv-gold);
}


/* hero panel */

.services-hero-panel {
    position: relative;
    min-height: 420px;
    padding: 42px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(180,146,100,.24), transparent 29%),
        linear-gradient(145deg, #0d1519 0%, #18252b 65%, #0b1317 100%);
    box-shadow: 0 28px 70px rgba(37,28,21,.16);
}

.services-hero-panel:before {
    content: "";
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255,255,255,.08);
    pointer-events: none;
}

.services-hero-panel:after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    right: -135px;
    bottom: -135px;
    border: 1px solid rgba(205,178,142,.16);
    border-radius: 50%;
}

.services-hero-panel-top,
.services-hero-panel-number,
.services-hero-panel-text,
.services-hero-panel-list {
    position: relative;
    z-index: 2;
}

.services-hero-panel-top span {
    display: block;
    color: #d8be9a;
    font-family: var(--srv-serif);
    font-size: 18px;
    letter-spacing: .12em;
}

.services-hero-panel-top small {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.37);
    font-size: 8px;
    letter-spacing: .14em;
}

.services-hero-panel-number {
    margin-top: auto;
    color: #d8bd99;
    font-family: var(--srv-serif);
    font-size: 86px;
    line-height: .85;
    font-weight: 400;
}

.services-hero-panel-text {
    margin-top: 13px;
}

.services-hero-panel-text strong,
.services-hero-panel-text span {
    display: block;
}

.services-hero-panel-text strong {
    color: rgba(255,255,255,.83);
    font-family: var(--srv-serif);
    font-size: 24px;
    font-weight: 400;
}

.services-hero-panel-text span {
    margin-top: 4px;
    color: rgba(255,255,255,.39);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.services-hero-panel-list {
    margin-top: 26px;
    padding-top: 22px;
    display: grid;
    gap: 9px;
    border-top: 1px solid rgba(255,255,255,.11);
}

.services-hero-panel-list span {
    position: relative;
    padding-left: 16px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.services-hero-panel-list span:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border: 1px solid #c8aa82;
    border-radius: 50%;
}


/* =========================================================
   SECTION HEAD
   ========================================================= */

.services-section-head {
    margin-bottom: 42px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.services-section-head h2,
.services-details-title h2,
.services-principles-head h2,
.services-final h2,
.services-empty h2 {
    margin: 0;
    font-family: var(--srv-serif);
    font-size: clamp(44px, 4.7vw, 62px);
    line-height: 1.03;
    font-weight: 400;
    letter-spacing: -.04em;
}

.services-section-head > p {
    max-width: 470px;
    margin: 0;
    color: var(--srv-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   QUICK CATALOG
   ========================================================= */

.services-catalog {
    padding: 102px 0 110px;
    background:
        radial-gradient(circle at 4% 93%, rgba(167,137,97,.075), transparent 25%),
        #f7f3ed;
}

.services-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.services-quick-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.87);
    box-shadow:
        0 15px 38px rgba(44,35,25,.045),
        inset 0 1px 0 rgba(255,255,255,.92);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.services-quick-card:hover {
    transform: translateY(-6px);
    border-color: rgba(167,137,97,.24);
    box-shadow:
        0 26px 52px rgba(44,35,25,.095),
        inset 0 1px 0 rgba(255,255,255,.94);
}

.services-quick-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e5ddd1;
}

.services-quick-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .42s ease;
}

.services-quick-card:hover .services-quick-media img {
    transform: scale(1.04);
}

.services-image-placeholder,
.service-detail-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(167,137,97,.13), transparent 33%),
        linear-gradient(145deg, #eee6da, #dcd1c2);
    color: #937553;
}

.services-image-placeholder span {
    font-family: var(--srv-serif);
    font-size: 38px;
    letter-spacing: .16em;
}

.services-quick-index {
    position: absolute;
    right: 17px;
    top: 16px;
    min-width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(14,23,27,.46);
    backdrop-filter: blur(7px);
    font-family: var(--srv-serif);
    font-size: 12px;
}

.services-quick-body {
    flex: 1 1 auto;
    padding: 27px 27px 24px;
    display: flex;
    flex-direction: column;
}

.services-quick-card h3 {
    margin: 0 0 14px;
    font-family: var(--srv-serif);
    font-size: 28px;
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -.025em;
}

.services-quick-card p {
    margin: 0;
    color: #716a62;
    font-size: 13px;
    line-height: 1.67;
}

.services-quick-bottom {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.services-quick-bottom strong {
    color: #806442;
    font-family: var(--srv-serif);
    font-size: 20px;
    font-weight: 400;
}

.services-quick-bottom span {
    color: #7d746a;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}


/* =========================================================
   DETAILS
   ========================================================= */

.services-details {
    padding: 112px 0;
    background: #fbf8f3;
}

.services-details-title {
    margin-bottom: 52px;
}

.service-detail {
    padding: 54px 0;
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    gap: 70px;
    align-items: center;
    border-top: 1px solid rgba(27,23,20,.10);
    scroll-margin-top: 115px;
}

.service-detail:last-child {
    border-bottom: 1px solid rgba(27,23,20,.10);
}

.service-detail.is-reverse .service-detail-media {
    order: 2;
}

.service-detail.is-reverse .service-detail-copy {
    order: 1;
}

.service-detail-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #e5ddd2;
    box-shadow: 0 22px 60px rgba(45,35,25,.09);
}

.service-detail-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-detail-placeholder {
    position: relative;
    min-height: 390px;
    flex-direction: column;
}

.service-detail-placeholder span {
    font-family: var(--srv-serif);
    font-size: 42px;
    letter-spacing: .16em;
}

.service-detail-placeholder small {
    margin-top: 7px;
    font-size: 9px;
    letter-spacing: .24em;
}

.service-detail-number {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: rgba(255,255,255,.88);
    font-family: var(--srv-serif);
    font-size: 52px;
    line-height: 1;
    text-shadow: 0 3px 20px rgba(0,0,0,.25);
}

.service-detail-copy {
    min-width: 0;
}

.service-detail-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.service-detail-top .services-kicker {
    margin-bottom: 0;
}

.service-detail-price {
    color: #9b7b56;
    font-family: var(--srv-serif);
    font-size: 23px;
    white-space: nowrap;
}

.service-detail-copy > h2 {
    margin: 24px 0 17px;
    font-family: var(--srv-serif);
    font-size: clamp(38px, 4vw, 53px);
    line-height: 1.03;
    font-weight: 400;
    letter-spacing: -.035em;
}

.service-detail-lead {
    margin: 0;
    color: #4b4641;
    font-family: var(--srv-serif);
    font-size: 22px;
    line-height: 1.5;
}

.service-detail-html {
    margin-top: 25px;
    color: #6c655e;
    font-size: 15px;
    line-height: 1.75;
}

.service-detail-html p {
    margin: 0 0 16px;
}

.service-detail-html h2,
.service-detail-html h3,
.service-detail-html h4 {
    color: #2d2925;
    font-family: var(--srv-serif);
    font-weight: 400;
}

.service-detail-html h2 {
    margin: 32px 0 14px;
    font-size: 31px;
    line-height: 1.12;
}

.service-detail-html h3 {
    margin: 27px 0 11px;
    font-size: 25px;
    line-height: 1.18;
}

.service-detail-html h4 {
    margin: 23px 0 9px;
    font-size: 20px;
}

.service-detail-html ul,
.service-detail-html ol {
    margin: 17px 0 20px;
    padding-left: 0;
}

.service-detail-html ul {
    list-style: none;
}

.service-detail-html ul li,
.service-detail-html ol li {
    position: relative;
    margin: 8px 0;
    padding-left: 27px;
}

.service-detail-html ul li:before {
    content: "";
    position: absolute;
    left: 4px;
    top: .7em;
    width: 6px;
    height: 6px;
    border: 1px solid var(--srv-gold-dark);
    border-radius: 50%;
}

.service-detail-html ol {
    counter-reset: srv-list;
    list-style: none;
}

.service-detail-html ol li {
    counter-increment: srv-list;
}

.service-detail-html ol li:before {
    content: counter(srv-list);
    position: absolute;
    left: 0;
    top: .22em;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--srv-gold-dark);
    background: rgba(167,137,97,.10);
    font-size: 9px;
    font-weight: 800;
}

.service-detail-html a {
    color: #765d40;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-detail-html strong {
    color: #3b342e;
}

.service-detail-html table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
    background: #fff;
    font-size: 13px;
}

.service-detail-html th,
.service-detail-html td {
    padding: 12px 13px;
    border: 1px solid #e1d9ce;
    vertical-align: top;
    text-align: left;
}

.service-detail-html th {
    background: #eee6da;
    color: #4f473f;
}

.service-detail-action {
    margin-top: 30px;
}


/* =========================================================
   PRINCIPLES
   ========================================================= */

.services-principles {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    color: #fff;
    background:
        radial-gradient(circle at 88% 14%, rgba(180,146,100,.23), transparent 28%),
        radial-gradient(circle at 7% 90%, rgba(72,99,111,.25), transparent 34%),
        linear-gradient(135deg, #0e171b, #19262c 54%, #0a1216);
}

.services-principles-head {
    max-width: 780px;
}

.services-principles-head p {
    max-width: 610px;
    margin: 25px 0 0;
    color: rgba(255,255,255,.57);
    font-size: 14px;
    line-height: 1.7;
}

.services-principles-grid {
    margin-top: 47px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.11);
}

.services-principle {
    min-height: 230px;
    padding: 29px;
    background: rgba(15,24,29,.87);
}

.services-principle > span {
    display: block;
    margin-bottom: 43px;
    color: #b99b77;
    font-family: var(--srv-serif);
    font-size: 13px;
}

.services-principle h3 {
    margin: 0 0 11px;
    color: #f0e5d7;
    font-family: var(--srv-serif);
    font-size: 26px;
    line-height: 1.12;
    font-weight: 400;
}

.services-principle p {
    margin: 0;
    color: rgba(255,255,255,.51);
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.services-final {
    padding: 88px 0;
    background:
        radial-gradient(circle at 94% 8%, rgba(167,137,97,.09), transparent 24%),
        #eee7dc;
}

.services-final-inner {
    padding: 47px 49px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow:
        0 18px 46px rgba(44,35,25,.055),
        inset 0 1px 0 rgba(255,255,255,.90);
}

.services-final p {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--srv-muted);
    font-size: 14px;
    line-height: 1.68;
}

.services-final-actions {
    min-width: 205px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.services-empty-section {
    padding: 100px 0;
    background: #f7f3ed;
}

.services-empty {
    padding: 75px 28px;
    text-align: center;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: 0 18px 45px rgba(44,35,25,.05);
}

.services-empty-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    color: #9a7a55;
}

.services-empty-icon svg {
    width: 100%;
    height: 100%;
}

.services-empty p {
    margin: 17px auto 28px;
    max-width: 520px;
    color: var(--srv-muted);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .services-hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .services-hero-panel {
        max-width: 700px;
    }

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

    .service-detail {
        gap: 45px;
    }
}


@media (max-width: 800px) {

    .services-hero {
        padding: 112px 0 58px;
    }

    .services-hero h1 {
        font-size: 49px;
    }

    .services-hero-lead {
        font-size: 16px;
    }

    .services-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .services-btn {
        width: 100%;
    }

    .services-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .services-section-head > p {
        max-width: 650px;
    }

    .services-catalog,
    .services-details,
    .services-principles {
        padding: 72px 0;
    }

    .services-section-head h2,
    .services-details-title h2,
    .services-principles-head h2,
    .services-final h2,
    .services-empty h2 {
        font-size: 40px;
    }

    .services-quick-grid {
        grid-template-columns: 1fr;
    }

    .service-detail,
    .service-detail.is-reverse {
        padding: 43px 0;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail.is-reverse .service-detail-media,
    .service-detail.is-reverse .service-detail-copy {
        order: initial;
    }

    .service-detail-copy > h2 {
        font-size: 39px;
    }

    .service-detail-lead {
        font-size: 20px;
    }

    .services-principles-grid {
        grid-template-columns: 1fr;
    }

    .services-principle {
        min-height: 0;
    }

    .services-final {
        padding: 62px 0;
    }

    .services-final-inner {
        padding: 32px 25px;
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .services-final-actions {
        min-width: 0;
    }
}


@media (max-width: 480px) {

    .services-hero h1 {
        font-size: 41px;
    }

    .services-hero-panel {
        min-height: 360px;
        padding: 30px 24px;
    }

    .services-hero-panel:before {
        inset: 11px;
    }

    .services-hero-panel-number {
        font-size: 70px;
    }

    .services-section-head h2,
    .services-details-title h2,
    .services-principles-head h2,
    .services-final h2,
    .services-empty h2 {
        font-size: 35px;
    }

    .services-quick-body {
        padding: 24px 21px 22px;
    }

    .services-quick-card h3 {
        font-size: 25px;
    }

    .services-quick-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .service-detail-number {
        left: 16px;
        bottom: 14px;
        font-size: 43px;
    }

    .service-detail-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .service-detail-copy > h2 {
        margin-top: 18px;
        font-size: 34px;
    }

    .service-detail-html {
        font-size: 14px;
    }

    .service-detail-html table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .services-principle {
        padding: 25px 22px;
    }

    .services-principle > span {
        margin-bottom: 28px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .services-page *,
    .services-page *:before,
    .services-page *:after {
        transition-duration: .01ms !important;
    }
}
