﻿/* Services page — minimal layout + original request workflow */

#services-section.services-page {
    --svc-accent: #d71920;
    --svc-accent-dark: #9f1118;
    --svc-accent-soft: rgba(215, 25, 32, 0.12);
    --svc-text: #171717;
    --svc-text-secondary: #6e6e73;
    --svc-text-muted: #86868b;
    font-family: AvenirLTStd-Light, Arial, sans-serif;
    background: #ffffff;
    color: var(--svc-text);
    width: 100%;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

/* —— Minimal hero & services list (INNOVE-inspired) —— */

#services-section .svc-page {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 32px) clamp(56px, 10vw, 96px);
    box-sizing: border-box;
}

#services-section .svc-hero {
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
    margin-bottom: clamp(40px, 6vw, 56px);
}

#services-section .svc-hero__bar {
    width: 4px;
    min-height: 100%;
    align-self: stretch;
    background: var(--svc-accent);
    border-radius: 2px;
}

#services-section .svc-hero__label {
    display: block;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--svc-accent);
    margin: 0 0 10px;
}

#services-section .svc-hero__title {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.022em;
    color: var(--svc-text);
    margin: 0 0 16px;
}

#services-section .svc-hero__subtitle {
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.7;
    color: var(--svc-text-secondary);
    margin: 0 0 32px;
    max-width: 36rem;
}

#services-section .svc-hero__image {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 2px;
}

#services-section .svc-intro {
    font-size: 15px;
    line-height: 1.85;
    color: var(--svc-text-secondary);
    margin: 0 0 clamp(48px, 8vw, 72px);
    max-width: 560px;
}

#services-section .svc-list {
    margin: 0 0 clamp(48px, 8vw, 72px);
}

#services-section .svc-item {
    padding: clamp(28px, 4vw, 40px) 0;
    border-top: 0.5px solid rgba(0, 0, 0, 0.08);
}

#services-section .svc-item:first-child {
    border-top: none;
    padding-top: 0;
}

#services-section .svc-item__title {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--svc-text);
    margin: 0 0 14px;
    line-height: 1.35;
}

#services-section .svc-item__body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--svc-text-secondary);
    margin: 0;
    white-space: pre-line;
    max-width: 560px;
}

#services-section .svc-item__image {
    display: block;
    width: 100%;
    max-width: 280px;
    margin-top: 24px;
    height: auto;
    object-fit: contain;
}

#services-section .svc-contact {
    text-align: center;
    padding: clamp(40px, 6vw, 56px) 0 clamp(16px, 3vw, 24px);
    max-width: 520px;
    margin: 0 auto;
}

#services-section .svc-contact__text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--svc-text-secondary);
    margin: 0 0 24px;
}

#services-section .svc-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 980px;
    background: var(--svc-accent);
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, transform 0.2s ease;
}

#services-section .svc-contact__btn:hover,
#services-section .svc-contact__btn:focus {
    background: var(--svc-accent-dark);
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

#services-section .svc-contact__btn:focus-visible {
    outline: 2px solid var(--svc-accent);
    outline-offset: 3px;
}

@media (max-width: 600px) {
    #services-section .svc-hero {
        grid-template-columns: 3px minmax(0, 1fr);
        gap: 20px;
    }
}

/* —— Request workflow (original design — unchanged) —— */

#services-section .services-workflow-bleed {
    width: 100%;
    background: linear-gradient(180deg, #e8eaed 0%, #f2f3f5 38%, #fafafa 100%);
    border-top: 1px solid rgba(26, 29, 33, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
}

#services-section .services-workflow {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 80px) clamp(20px, 4vw, 40px) clamp(48px, 6vw, 72px);
    text-align: center;
    box-sizing: border-box;
}

#services-section .services-workflow h2 {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(1.65rem, 1.8vw + 1rem, 2.2rem);
    letter-spacing: 0.03em;
    color: #2a2d32;
    margin: 0 0 14px;
}

#services-section .services-workflow .lead {
    font-size: clamp(15px, 1vw + 0.65rem, 17px);
    line-height: 1.7;
    color: #5c636a;
    max-width: 720px;
    margin: 0 auto 48px;
}

#services-section .services-workflow .lead strong {
    color: var(--svc-accent);
    font-weight: 700;
}

@keyframes workflow-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

#services-section .workflow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 8px 4px 40px;
}

#services-section .workflow-step {
    flex: 0 1 auto;
    padding: 12px 10px;
    box-sizing: border-box;
}

#services-section .workflow-step__circle {
    width: 100%;
    max-width: 268px;
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
    border: 2px dashed rgba(90, 96, 105, 0.4);
    margin: 0 auto;
    position: relative;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 16px 22px;
    box-sizing: border-box;
    animation: workflow-float 5.5s ease-in-out infinite;
}

#services-section .workflow-step__circle--delay-a {
    animation-delay: 0s;
}

#services-section .workflow-step__circle--delay-b {
    animation-delay: 1.1s;
}

#services-section .workflow-step__circle--delay-c {
    animation-delay: 2.2s;
}

@media (prefers-reduced-motion: reduce) {
    #services-section .workflow-step__circle {
        animation: none !important;
    }
}

#services-section .workflow-step__num {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--svc-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(215, 25, 32, 0.28);
    z-index: 2;
}

#services-section .workflow-step__inner {
    font-size: 13px;
    line-height: 1.45;
    color: #5c636a;
    text-align: center;
    margin: 0;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    hyphens: auto;
}

#services-section .workflow-step__inner strong {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-weight: 700;
    color: #3a3d42;
    display: inline;
}

#services-section .workflow-connector {
    display: none;
    flex: 0 0 36px;
    min-width: 24px;
    height: 0;
    align-self: center;
    border-top: 2px dashed rgba(90, 96, 105, 0.38);
    position: relative;
}

@media (min-width: 992px) {
    #services-section .workflow-connector {
        display: block;
    }
}

#services-section .workflow-plane {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--svc-accent);
    font-size: 15px;
}

@media (max-width: 991px) {
    #services-section .workflow-step {
        flex: 1 1 100%;
        max-width: 300px;
    }

    #services-section .workflow-step__circle {
        max-width: 280px;
        border-radius: 20px;
        padding: 30px 16px 22px;
    }
}

/* —— Full-bleed hero — isolated from global .top_IMG / .overlay-text —— */

#services-section .services-page__hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: min(52vh, 520px);
    min-height: 300px;
    max-height: 520px;
    margin: 0;
    overflow: hidden;
    display: block;
    isolation: isolate;
}

#services-section .services-page__hero-img,
#services-section .services-page__hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

#services-section .services-page__hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(20, 20, 20, 0.62) 36%,
        rgba(90, 8, 12, 0.32) 68%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

#services-section .services-page__hero-text {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(20px, 5vw, 72px);
    transform: translateY(-50%);
    max-width: min(640px, calc(100% - 40px));
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

#services-section .services-page__hero-eyebrow {
    margin: 0 0 10px;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: clamp(14px, 1.6vw, 20px);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

#services-section .services-page__hero-title {
    margin: 0;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
    #services-section .services-page__hero {
        height: 50vh;
        min-height: 320px;
    }

    #services-section .services-page__hero-text {
        left: 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    #services-section .services-page__hero {
        height: 40vh;
        min-height: 260px;
    }

    #services-section .services-page__hero-scrim {
        background: linear-gradient(
            180deg,
            rgba(8, 8, 10, 0.82) 0%,
            rgba(8, 8, 10, 0.55) 50%,
            rgba(8, 8, 10, 0.25) 100%
        );
    }
}

/* —— Light & budget calculator promo —— */

#services-section .svc-list--after-promo {
    padding-top: clamp(40px, 6vw, 56px);
    margin-top: clamp(8px, 2vw, 16px);
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
}

#services-section .svc-list--after-promo .svc-item:first-child {
    padding-top: clamp(20px, 3vw, 28px);
}

#services-section .svc-calculator-promo {
    margin: clamp(32px, 5vw, 48px) 0 clamp(64px, 10vw, 96px);
    padding: clamp(28px, 5vw, 40px);
    border: 1px solid rgba(215, 25, 32, 0.28);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(215, 25, 32, 0.08) 0%, rgba(20, 20, 20, 0.025) 62%);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.05);
}

#services-section .svc-calculator-promo__eyebrow {
    display: block;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--svc-accent);
    margin: 0 0 12px;
}

#services-section .svc-calculator-promo__title {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--svc-text);
    margin: 0 0 14px;
}

#services-section .svc-calculator-promo__body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--svc-text-secondary);
    margin: 0 0 24px;
    max-width: 36rem;
}

#services-section .svc-calculator-promo__btn,
#services-section .svc-calculator-promo__btn:link,
#services-section .svc-calculator-promo__btn:visited,
#services-section .svc-calculator-promo__btn:hover,
#services-section .svc-calculator-promo__btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid var(--svc-accent);
    border-radius: 999px;
    background: var(--svc-accent);
    color: #fff !important;
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    margin-top: 4px;
}

#services-section .svc-calculator-promo__btn:hover,
#services-section .svc-calculator-promo__btn:focus {
    background: var(--svc-accent-dark);
    border-color: var(--svc-accent-dark);
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    outline: none;
}

/* —— Light calculator placeholder page —— */

.light-calculator-page__header {
    margin-bottom: clamp(32px, 6vw, 48px);
}

.light-calculator-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--svc-text-secondary);
    text-decoration: none;
    margin-bottom: 20px;
}

.light-calculator-page__back:hover,
.light-calculator-page__back:focus {
    color: var(--svc-accent);
    text-decoration: none;
}

.light-calculator-page__title {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--svc-text);
    margin: 0 0 16px;
}

.light-calculator-page__lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--svc-text-secondary);
    margin: 0;
    max-width: 40rem;
}

.light-calculator-page__placeholder {
    margin-bottom: clamp(48px, 8vw, 72px);
}

.light-calculator-page__placeholder-inner {
    text-align: center;
    padding: clamp(40px, 8vw, 64px) clamp(24px, 4vw, 40px);
    border: 1px dashed rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    background: #fafafa;
}

.light-calculator-page__placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--svc-accent-soft);
    color: var(--svc-accent);
    font-size: 26px;
    margin-bottom: 20px;
}

.light-calculator-page__placeholder-title {
    font-family: AvenirLTStd-Heavy, Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--svc-text);
    margin: 0 0 12px;
}

.light-calculator-page__placeholder-text,
.light-calculator-page__placeholder-note {
    font-size: 15px;
    line-height: 1.75;
    color: var(--svc-text-secondary);
    max-width: 32rem;
    margin: 0 auto 16px;
}

.light-calculator-page__placeholder-inner .svc-contact__btn {
    margin-top: 8px;
}

/* Admin editor */
.services-admin-editor {
    max-width: 960px;
}

.services-admin-editor__header {
    margin-bottom: 20px;
}

.services-admin-editor__actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.services-admin-editor .panel + .panel {
    margin-top: 16px;
}
