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

#services-section.services-page {
    --svc-accent: var(--rona-accent, #E59742);
    --svc-text: var(--rona-text, #1d1d1f);
    --svc-text-secondary: var(--rona-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(56px, 10vw, 96px) clamp(20px, 4vw, 32px);
    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: #d6892f;
    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: #E59742;
    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: #E59742;
    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(229, 151, 66, 0.35);
    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: #E59742;
    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;
    }
}

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