/* ============================================================
   REIMANN LABS — WEB DESIGN SERVICE PAGE
   Warm editorial styling aligned with homepage v3 + city pages.
   Loaded after home.css; scoped under body.service.
   ============================================================ */

body.service {
    --espresso: #241209;
    --espresso-soft: #331D10;
    --cream: #FDFAF6;
    --cream-dim: rgba(253, 250, 246, 0.62);
    --cream-faint: rgba(253, 250, 246, 0.14);
}

body.service section { position: relative; }

body.service .section-tag { margin-bottom: 16px; }

body.service h2 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

body.service h2 em {
    font-style: italic;
    font-weight: 400;
    color: var(--orange);
}

/* Header on dark hero */
body.service #main-header {
    position: fixed;
    background: transparent;
    border-bottom: 1px solid transparent;
}

body.service #main-header:not(.scrolled) .logo-text,
body.service #main-header:not(.scrolled) .nav-links a {
    color: var(--text-white);
}

body.service #main-header:not(.scrolled) .nav-cta {
    background: var(--text-white) !important;
    color: var(--text-dark) !important;
}

body.service #main-header:not(.scrolled) .mobile-menu-toggle span {
    background: var(--text-white);
}

body.service #main-header.scrolled {
    background: rgba(253, 250, 246, 0.96);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--border);
}

body.service #main-header.scrolled .logo-text,
body.service #main-header.scrolled .nav-links a {
    color: var(--text-dark);
}

body.service #main-header.scrolled .nav-cta {
    background: var(--orange) !important;
    color: var(--text-white) !important;
}

body.service #main-header.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

body.service [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

body.service [data-reveal].visible {
    opacity: 1;
    transform: none;
}

/* Breadcrumb in hero */
.breadcrumb--hero ol { color: var(--cream-dim); }
.breadcrumb--hero a { color: var(--cream-dim); }
.breadcrumb--hero a:hover { color: var(--orange-soft); }
.breadcrumb--hero li:not(:last-child)::after { color: var(--cream-faint); }
.breadcrumb--hero li[aria-current="page"] { color: var(--cream); }

body.service .home-hero .breadcrumb {
    margin-bottom: 20px;
}

/* Hero layout */
body.service .home-hero {
    min-height: 100svh;
    display: flex;
    align-items: flex-start;
    overflow-x: clip;
    overflow-y: visible;
}

body.service .home-hero-inner {
    padding-top: calc(96px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 769px) {
    body.service .home-hero {
        align-items: center;
    }

    body.service .home-hero-inner {
        padding-top: calc(88px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
}

/* Light stats band after dark hero */
body.service .stat-band--light {
    background: var(--bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: clamp(36px, 5vw, 56px) 0;
}

body.service .stat-band--light .stat-cell-num {
    color: var(--text-dark);
}

body.service .stat-band--light .stat-cell-num small {
    color: var(--orange);
}

body.service .stat-band--light .stat-cell-label {
    color: var(--text-muted);
}

body.service .stat-band--light .stat-cell:not(:first-child)::before {
    background: var(--border);
}

body.service .stat-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

body.service .stat-cell {
    text-align: center;
    position: relative;
}

body.service .stat-cell:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 44px;
    background: var(--border);
}

body.service .stat-cell-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 8px;
}

body.service .stat-cell-num small {
    font-size: 0.55em;
    font-weight: 700;
}

body.service .stat-cell-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Four-step process */
body.service .process-steps--four {
    grid-template-columns: repeat(4, 1fr);
}

/* Comparison table */
.compare-section {
    padding: var(--section-pad) 0;
    background: var(--bg);
}

.compare-head {
    max-width: 640px;
    margin: 0 auto clamp(36px, 5vw, 52px);
    text-align: center;
}

.compare-table {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
}

.compare-row:last-child { border-bottom: none; }

.compare-row--head {
    background: var(--espresso);
    padding: 18px 24px;
}

.compare-row--head span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-dim);
    text-align: center;
}

.compare-row--head span:first-child {
    text-align: left;
    color: var(--cream);
}

.compare-feature {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
}

.compare-val {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-body);
}

.compare-val--yes {
    color: var(--orange);
}

.compare-val--muted {
    color: var(--text-muted);
}

/* FAQ on light bg */
body.service .faq-home {
    background: var(--bg-alt);
}

body.service .faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-panel);
    margin-bottom: 12px;
    overflow: hidden;
}

body.service .faq-item:hover { border-color: var(--orange-soft); }

body.service .faq-item summary {
    padding: 20px 24px;
}

body.service .faq-item summary span {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
}

body.service .faq-answer-inner { padding: 0 24px; }

body.service .faq-item[open] .faq-answer-inner { padding-bottom: 22px; }

body.service .faq-item summary span.typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 0.95em;
    background: var(--orange);
    margin-left: 3px;
    vertical-align: -0.12em;
    animation: caretBlink 0.7s steps(1) infinite;
}

body.service .svc-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Light contact after dark areas */
body.service .contact-home.service-contact {
    background: var(--bg);
    border-top: 1px solid var(--border);
}

body.service .contact-home.service-contact .contact-home-inner {
    padding-top: 0;
    border-top: none;
}

body.service .contact-home.service-contact .section-tag {
    color: var(--orange);
}

body.service .contact-home.service-contact .section-tag::before {
    background: var(--orange);
}

body.service .contact-home.service-contact .contact-home-copy h2 {
    color: var(--text-dark);
}

body.service .contact-home.service-contact .contact-home-copy p {
    color: var(--text-muted);
}

body.service .contact-home.service-contact .contact-home-card {
    background: var(--white);
    border-color: var(--border);
}

body.service .contact-home.service-contact .contact-home-card:hover {
    border-color: var(--orange-soft);
    background: var(--bg-alt);
}

body.service .contact-home.service-contact .contact-home-icon {
    background: var(--orange-bg);
    color: var(--orange);
}

body.service .contact-home.service-contact .contact-home-card-body span {
    color: var(--text-muted);
}

body.service .contact-home.service-contact .contact-home-card-body a {
    color: var(--text-dark);
}

body.service .contact-home.service-contact .copy-contact-btn {
    color: var(--text-muted);
    border-color: var(--border);
    background: var(--bg-alt);
}

body.service .contact-home.service-contact .copy-contact-btn:hover {
    color: var(--text-dark);
    border-color: var(--orange);
    background: var(--white);
}

body.service .copy-contact-btn {
    appearance: none;
    flex-shrink: 0;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    box-shadow: none;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Light footer */
body.service footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

body.service .footer-grid { border-bottom-color: var(--border); }

body.service footer .logo-text { color: var(--text-dark); }

body.service .footer-brand p { color: var(--text-muted); }

body.service .footer-socials a {
    border-color: var(--border);
    color: var(--text-muted);
}

body.service .footer-socials a:hover {
    border-color: var(--orange);
    color: var(--orange);
}

body.service .footer-col h4 { color: var(--text-dark); }

body.service .footer-col ul li a { color: var(--text-muted); }

body.service .footer-col ul li a:hover { color: var(--orange); }

body.service .footer-bottom p { color: var(--text-light); }

@media (max-width: 1024px) {
    body.service .process-steps--four {
        grid-template-columns: repeat(2, 1fr);
    }

    body.service .svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.service .home-hero {
        align-items: flex-start;
    }

    body.service .home-hero-inner {
        padding-top: calc(80px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
    }

    body.service .process-steps--four {
        grid-template-columns: 1fr;
    }

    body.service .svc-grid {
        grid-template-columns: 1fr;
    }

    body.service .stat-band-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    body.service .stat-cell:nth-child(3)::before { display: none; }

    .compare-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .compare-row--head { display: none; }

    .compare-val {
        display: flex;
        justify-content: space-between;
        background: var(--bg-alt);
        padding: 10px 14px;
        border-radius: 8px;
    }

    .compare-val::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
    }

    .compare-feature {
        margin-bottom: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.service [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
