﻿/* =========================================================
   SMART CONSULTING — SERVICE DETAIL
   ========================================================= */

.service-page {
    --service-bg: #f6f2eb;
    --service-ink: #1a1917;
    --service-muted: #706a63;
    --service-line: rgba(31, 27, 23, .11);
    --service-gold: #a78961;
    --service-gold-dark: #806442;
    --service-dark: #111a1f;
    --service-serif: Georgia, "Times New Roman", serif;
    --service-sans: "Segoe UI", Arial, Helvetica, sans-serif;

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

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


/* =========================================================
   PAGE
   ========================================================= */

.service-main {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 132px 0 90px;

    background:
        radial-gradient(circle at 94% 7%, rgba(167, 137, 97, .11), transparent 25%),
        linear-gradient(135deg, #faf7f1 0%, #f1ebe2 100%);
}

.service-main:before {
    content: "";
    position: absolute;
    inset: 0;

    opacity: .16;

    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;
}

.service-orbit {
    position: absolute;

    border: 1px solid rgba(167, 137, 97, .14);
    border-radius: 50%;

    pointer-events: none;
}

.service-orbit-one {
    width: 500px;
    height: 500px;

    right: -260px;
    top: -220px;
}

.service-orbit-two {
    width: 385px;
    height: 385px;

    right: -190px;
    top: -155px;
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */

.service-breadcrumbs {
    position: relative;
    z-index: 2;

    margin-bottom: 30px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    color: #958d84;

    font-size: 10px;
    line-height: 1.4;
}

.service-breadcrumbs a {
    color: #686159;
    text-decoration: none;

    transition: color .18s ease;
}

.service-breadcrumbs a:hover {
    color: var(--service-gold-dark);
}


/* =========================================================
   LAYOUT
   ========================================================= */

.service-layout {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
    gap: 62px;

    align-items: start;
}


/* =========================================================
   LEFT
   ========================================================= */

.service-visual {
    min-width: 0;
}

.service-image-card {
    position: relative;

    overflow: hidden;

    background: #e5ddd1;

    box-shadow: 0 24px 64px rgba(42, 33, 24, .10);
}

.service-image-card:before {
    content: "";

    position: absolute;
    z-index: 2;

    inset: 13px;

    border: 1px solid rgba(255, 255, 255, .35);

    pointer-events: none;
}

.service-image-card img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.service-image-placeholder {
    min-height: 320px;

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

    color: #8d7251;

    background:
        radial-gradient(circle at center, rgba(167, 137, 97, .13), transparent 34%),
        linear-gradient(145deg, #eee6da, #dcd1c2);
}

.service-image-placeholder span {
    font-family: var(--service-serif);

    font-size: 36px;
    letter-spacing: .16em;
}

.service-image-placeholder small {
    margin-top: 7px;

    font-size: 8px;
    letter-spacing: .25em;
}

.service-image-label {
    position: absolute;
    z-index: 3;

    left: 22px;
    right: 22px;
    bottom: 19px;

    padding-top: 13px;

    border-top: 1px solid rgba(255, 255, 255, .32);

    color: #fff;

    text-shadow: 0 2px 14px rgba(0, 0, 0, .25);
}

.service-image-label span,
.service-image-label small {
    display: block;
}

.service-image-label span {
    font-family: var(--service-serif);

    font-size: 15px;
    letter-spacing: .08em;
}

.service-image-label small {
    margin-top: 4px;

    color: rgba(255, 255, 255, .67);

    font-size: 7px;
    letter-spacing: .14em;
}

.service-side-note {
    margin-top: 22px;
    padding: 21px 20px;

    border: 1px solid rgba(167, 137, 97, .14);

    background: rgba(255, 255, 255, .49);
}

.service-side-note-line {
    display: block;

    width: 40px;
    height: 1px;

    margin-bottom: 13px;

    background: var(--service-gold);
}

.service-side-note p {
    margin: 0;

    color: #777067;

    font-size: 11px;
    line-height: 1.6;
}

.service-side-note a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 13px;

    color: var(--service-gold-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .10em;

    text-decoration: none;
    text-transform: uppercase;
}


/* =========================================================
   RIGHT / MAIN CONTENT
   ========================================================= */

.service-content {
    min-width: 0;

    padding-top: 7px;
}

.service-kicker {
    margin-bottom: 16px;

    color: var(--service-gold-dark);

    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .20em;
}

.service-content > h1 {
    margin: 0;

    max-width: 800px;

    font-family: var(--service-serif);

    font-size: clamp(40px, 4.2vw, 58px);
    line-height: 1.02;

    font-weight: 400;
    letter-spacing: -.035em;
}

.service-lead {
    max-width: 760px;

    margin: 19px 0 0;

    color: #4d4842;

    font-family: var(--service-serif);

    font-size: 22px;
    line-height: 1.48;
}


/* =========================================================
   PRICE / ACTION
   ========================================================= */

.service-meta {
    margin-top: 28px;
    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    border-top: 1px solid var(--service-line);
    border-bottom: 1px solid var(--service-line);
}

.service-price-card span,
.service-price-card strong {
    display: block;
}

.service-price-card span {
    margin-bottom: 4px;

    color: #958d84;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;

    text-transform: uppercase;
}

.service-price-card strong {
    color: #876845;

    font-family: var(--service-serif);

    font-size: 25px;
    line-height: 1.1;

    font-weight: 400;
}

.service-primary-button,
.service-secondary-button {
    min-height: 48px;

    padding: 0 18px;

    border: 1px solid transparent;
    border-radius: 3px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    font-size: 9px;
    line-height: 1;

    font-weight: 800;
    letter-spacing: .10em;

    text-decoration: none;
    text-transform: uppercase;

    transition:
        transform .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.service-primary-button {
    color: #fff;

    background:
        linear-gradient(135deg, #a98a62, #866642);

    box-shadow:
        0 12px 27px rgba(100, 73, 43, .15);
}

.service-primary-button:hover {
    transform: translateY(-2px);

    background: var(--service-gold-dark);

    box-shadow:
        0 16px 34px rgba(100, 73, 43, .22);
}

.service-secondary-button {
    border-color: rgba(41, 35, 30, .18);

    color: #544e47;

    background: rgba(255, 255, 255, .55);
}

.service-secondary-button:hover {
    transform: translateY(-2px);

    background: #fff;
}


/* =========================================================
   HTML BODY
   ========================================================= */

.service-html {
    max-width: 820px;

    margin-top: 33px;

    color: #5e5851;

    font-size: 16px;
    line-height: 1.78;
}

.service-html > *:first-child {
    margin-top: 0;
}

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

.service-html h2 {
    margin: 38px 0 16px;

    color: #26221e;

    font-family: var(--service-serif);

    font-size: 32px;
    line-height: 1.12;

    font-weight: 400;
    letter-spacing: -.025em;
}

.service-html h3 {
    margin: 31px 0 13px;

    color: #302b26;

    font-family: var(--service-serif);

    font-size: 25px;
    line-height: 1.17;

    font-weight: 400;
}

.service-html h4 {
    margin: 26px 0 11px;

    color: #37312b;

    font-size: 18px;
    line-height: 1.3;
}

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

.service-html a {
    color: #765b3d;

    text-decoration: underline;
    text-decoration-color: rgba(118, 91, 61, .35);
    text-underline-offset: 3px;
}

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

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

.service-html ul > li,
.service-html ol > li {
    position: relative;

    margin: 8px 0;

    padding-left: 28px;
}

.service-html ul > li:before {
    content: "";

    position: absolute;

    left: 5px;
    top: .7em;

    width: 6px;
    height: 6px;

    border: 1px solid var(--service-gold-dark);
    border-radius: 50%;
}

.service-html ol {
    list-style: none;

    counter-reset: service-list;
}

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

.service-html ol > li:before {
    content: counter(service-list);

    position: absolute;

    left: 0;
    top: .20em;

    width: 20px;
    height: 20px;

    border-radius: 50%;

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

    color: var(--service-gold-dark);

    background:
        rgba(167, 137, 97, .10);

    font-size: 9px;
    font-weight: 800;
}

.service-html blockquote {
    margin: 29px 0;

    padding: 6px 0 6px 21px;

    border-left: 2px solid #ac8b63;

    color: #514a43;

    font-family: var(--service-serif);

    font-size: 20px;
    line-height: 1.5;

    font-style: italic;
}

.service-html img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 26px 0;

    box-shadow:
        0 14px 36px rgba(40, 31, 23, .07);
}


/* table */

.service-html table {
    width: 100%;

    margin: 27px 0;

    border-collapse: collapse;

    background: #fff;

    box-shadow:
        0 12px 31px rgba(44, 35, 25, .04);

    font-size: 13px;
    line-height: 1.55;
}

.service-html th,
.service-html td {
    padding: 12px 13px;

    border: 1px solid #e1d9ce;

    vertical-align: top;
    text-align: left;
}

.service-html th {
    color: #4f473f;

    background: #eee6da;

    font-weight: 700;
}

.service-html tbody tr:nth-child(even) td {
    background: #fbf8f4;
}


/* =========================================================
   CONTACT BOX
   ========================================================= */

.service-contact-box {
    margin-top: 42px;
    padding: 27px 28px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;

    color: #fff;

    background:
        radial-gradient(circle at 92% 15%, rgba(180, 146, 100, .21), transparent 29%),
        linear-gradient(135deg, #11191d, #1b282f);
}

.service-contact-kicker {
    margin-bottom: 7px;

    color: #cdb18c;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .18em;
}

.service-contact-box h2 {
    margin: 0;

    font-family: var(--service-serif);

    font-size: 26px;
    line-height: 1.1;

    font-weight: 400;
}

.service-contact-box p {
    max-width: 570px;

    margin: 8px 0 0;

    color: rgba(255, 255, 255, .52);

    font-size: 11px;
    line-height: 1.6;
}

.service-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;

    min-width: 165px;
}

.service-contact-box .service-secondary-button {
    border-color: rgba(255, 255, 255, .16);

    color: rgba(255, 255, 255, .77);

    background: rgba(255, 255, 255, .045);
}

.service-contact-box .service-secondary-button:hover {
    background: rgba(255, 255, 255, .09);

    color: #fff;
}


/* =========================================================
   BACK
   ========================================================= */

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 27px;

    color: #777067;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;

    text-decoration: none;
    text-transform: uppercase;

    transition: color .18s ease;
}

.service-back-link:hover {
    color: var(--service-gold-dark);
}


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

@media (max-width: 950px) {

    .service-layout {
        grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
        gap: 40px;
    }

    .service-content > h1 {
        font-size: 42px;
    }

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

    .service-contact-box {
        grid-template-columns: 1fr;
    }

    .service-contact-actions {
        width: 100%;
        flex-direction: row;
    }

    .service-contact-actions a {
        flex: 1 1 50%;
    }
}


@media (max-width: 760px) {

    .service-main {
        padding: 105px 0 64px;
    }

    .service-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .service-image-card {
        max-width: 620px;
    }

    .service-side-note {
        display: none;
    }

    .service-content {
        padding-top: 0;
    }

    .service-content > h1 {
        font-size: 39px;
    }

    .service-lead {
        font-size: 19px;
    }

    .service-html {
        font-size: 15px;
        line-height: 1.72;
    }

    .service-html h2 {
        font-size: 29px;
    }

    .service-html h3 {
        font-size: 23px;
    }
}


@media (max-width: 520px) {

    .service-main {
        padding-top: 96px;
    }

    .service-breadcrumbs {
        margin-bottom: 24px;

        font-size: 9px;
    }

    .service-content > h1 {
        font-size: 34px;
    }

    .service-lead {
        font-size: 18px;
    }

    .service-meta {
        align-items: stretch;
        flex-direction: column;
    }

    .service-primary-button,
    .service-secondary-button {
        width: 100%;
    }

    .service-html table {
        display: block;

        max-width: 100%;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
    }

    .service-html th,
    .service-html td {
        min-width: 135px;
    }

    .service-contact-box {
        padding: 24px 20px;
    }

    .service-contact-actions {
        flex-direction: column;
    }
}


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