/* ===========================
   Full House Remodel — page styles
   Brand: Silva's Remodeling (#014aab / #D4A017)
   =========================== */

.fh-page {
    --fh-blue: #014aab;
    --fh-blue-deep: #014385;
    --fh-navy: #001540;
    --fh-gold: #D4A017;
    --fh-gold-soft: #E8C98F;
    --fh-teal: #0A8F88;
    --fh-ink: #1a1a1a;
    --fh-muted: #5a6470;
    --fh-line: #e6ebf0;
    --fh-surface: #f4f7fa;
    --fh-radius: 14px;
}

/* Full-bleed section backgrounds break out of max-width wrapper */
.fh-page .main-content > section.fh-bleed {
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: 0;
    padding-right: 0;
}

.fh-page .main-content > section.fh-bleed > .fh-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem clamp(1rem, 5vw, 2rem);
}

.fh-page .main-content > section h2 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    color: var(--fh-blue);
    line-height: 1.25;
    margin: 0 0 0.75rem;
    text-align: center;
}

.fh-page .fh-lead {
    text-align: center;
    color: var(--fh-muted);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2.25rem;
}

/* ---------- Hero refinements ---------- */
.fh-page .main-content > section {
    background: #fff !important;
}

.fh-page .main-content > section.fh-featured,
.fh-page .main-content > section.fh-scope,
.fh-page .main-content > section.fh-band {
    background: var(--fh-surface) !important;
}

.fh-page .main-content > section.fh-final-cta {
    background: linear-gradient(135deg, var(--fh-blue-deep) 0%, var(--fh-blue) 100%) !important;
}

.fh-page .main-content > section.fh-bleed {
    padding: 0;
    max-width: none;
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

.fh-page section[id] {
    scroll-margin-top: 96px;
}

.fh-page .hero-section.fh-hero {
    background:
        linear-gradient(135deg, rgba(0, 21, 64, 0.82) 0%, rgba(1, 67, 133, 0.78) 48%, rgba(1, 74, 171, 0.72) 100%),
        url("../../assets/images/services/painting/interior-house-painting-kankakee.JPEG") center / cover no-repeat !important;
    padding: 110px 0 72px;
}

.fh-page .fh-hero .hero-logo {
    max-width: min(220px, 58vw);
    margin-bottom: 1.25rem;
}

.fh-page .fh-hero .hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fh-gold-soft);
    margin-bottom: 0.85rem;
}

.fh-page .fh-hero .hero-title {
    font-size: clamp(2.1rem, 5.5vw, 3.4rem);
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

.fh-page .fh-hero .hero-description {
    max-width: 34rem;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    margin-bottom: 1.75rem;
}

.fh-page .fh-hero .hero-trust-badges {
    margin-top: 1.75rem;
    gap: 1.25rem 1.75rem;
}

/* ---------- Featured project ---------- */
.fh-featured {
    background: var(--fh-surface) !important;
}

.fh-featured-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.fh-photo-stack {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.65rem;
    min-height: 320px;
}

.fh-photo-stack figure {
    margin: 0;
    border-radius: var(--fh-radius);
    overflow: hidden;
    position: relative;
    background: #d9e2ec;
    min-height: 140px;
    height: 100%;
}

.fh-photo-stack figure:first-child {
    grid-row: 1 / span 2;
}

.fh-photo-stack img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.fh-photo-stack figure:hover img {
    transform: scale(1.04);
}

.fh-photo-stack figcaption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    background: rgba(0, 21, 64, 0.72);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.6rem;
    border-radius: 6px;
}

.fh-page .main-content > section .fh-featured-copy h2,
.fh-featured-copy h2 {
    text-align: left;
}

.fh-page .fh-featured-copy .fh-lead,
.fh-featured-copy .fh-lead {
    text-align: left;
    margin: 0 0 1.5rem;
}

.fh-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.fh-stat {
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.fh-stat strong {
    display: block;
    color: var(--fh-blue);
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.fh-stat span {
    color: var(--fh-muted);
    font-size: 0.9rem;
}

/* ---------- What / Why ---------- */
.fh-checklist {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 760px;
    display: grid;
    gap: 0.75rem;
}

.fh-checklist li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: 12px;
    padding: 0.95rem 1.1rem;
    color: var(--fh-ink);
    line-height: 1.5;
}

.fh-checklist li::before {
    content: "";
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    border-radius: 50%;
    background: var(--fh-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23001540' d='M6.5 11.2 3.3 8l1.1-1.1 2.1 2.1 4.9-4.9L12.5 5z'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

.fh-why-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.fh-why-card {
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: var(--fh-radius);
    padding: 1.35rem 1.4rem;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.fh-why-card:hover {
    border-color: rgba(1, 74, 171, 0.35);
    transform: translateY(-2px);
}

.fh-why-card h3 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--fh-blue-deep);
    font-size: 1.15rem;
    margin: 0 0 0.55rem;
}

.fh-why-card h3 i {
    color: var(--fh-gold);
}

.fh-why-card p {
    margin: 0;
    color: var(--fh-muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

/* ---------- Process timeline ---------- */
.fh-process {
    background: #fff !important;
}

.fh-process-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: -0.5rem auto 2rem;
    max-width: 720px;
}

.fh-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--fh-surface);
    border: 1px solid var(--fh-line);
    color: var(--fh-blue-deep);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
}

.fh-chip i {
    color: var(--fh-gold);
}

.phases-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 0.25rem;
}

.phases-container::before {
    content: "";
    position: absolute;
    left: 1.55rem;
    top: 1.4rem;
    bottom: 1.4rem;
    width: 2px;
    background: linear-gradient(180deg, var(--fh-blue) 0%, var(--fh-teal) 100%);
    opacity: 0.28;
    pointer-events: none;
}

.phase-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: var(--fh-radius);
    overflow: hidden;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.phase-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.phase-card.is-open {
    border-color: rgba(1, 74, 171, 0.35);
    box-shadow: 0 10px 28px rgba(1, 67, 133, 0.08);
}

.phase-card {
    width: 100%;
}

.phase-toggle {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
    color: inherit;
    font: inherit;
    font-weight: 400;
}

.phase-toggle:hover,
.phase-toggle:active {
    transform: none;
    background: #f7f9fc;
    box-shadow: none;
    color: inherit;
}

.phase-number {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fh-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(1, 74, 171, 0.18);
    z-index: 1;
}

.phase-card:nth-child(even) .phase-number {
    background: var(--fh-teal);
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(10, 143, 136, 0.18);
}

.phase-toggle-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.phase-title {
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 700;
    color: var(--fh-navy);
    line-height: 1.3;
}

.phase-timeline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--fh-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

.phase-timeline i {
    color: var(--fh-gold);
    font-size: 0.8rem;
}

.phase-chevron {
    color: var(--fh-blue);
    transition: transform 0.25s ease;
    padding: 0.35rem;
}

.phase-card.is-open .phase-chevron {
    transform: rotate(180deg);
}

.phase-panel {
    display: none;
    padding: 0 1.15rem 1.2rem 4.5rem;
    border-top: 1px solid transparent;
}

.phase-card.is-open .phase-panel {
    display: block;
    border-top-color: var(--fh-line);
    padding-top: 0.85rem;
}

.phase-toggle:focus-visible {
    outline: 2px solid var(--fh-blue);
    outline-offset: -2px;
}

.fh-process-note {
    max-width: 680px;
    margin: 0 auto 1.75rem;
    text-align: center;
    color: var(--fh-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.phase-summary {
    margin: 0 0 0.75rem;
    color: var(--fh-ink);
    line-height: 1.6;
    font-size: 0.98rem;
}

.phase-bullets {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.phase-bullets li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--fh-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.phase-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--fh-gold);
}

.phase-detail {
    margin: 0;
    color: var(--fh-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* ---------- Scope tiers ---------- */
.fh-scope {
    background: var(--fh-surface) !important;
}

.fh-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    align-items: stretch;
}

.fh-tier {
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: var(--fh-radius);
    padding: 1.5rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.fh-tier.is-featured {
    border-color: var(--fh-blue);
    box-shadow: 0 14px 34px rgba(1, 74, 171, 0.12);
    transform: translateY(-4px);
}

.fh-tier-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fh-gold);
    color: var(--fh-navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.fh-tier h3 {
    color: var(--fh-blue-deep);
    font-size: 1.25rem;
    margin: 0.4rem 0 0.35rem;
    text-align: center;
}

.fh-tier .fh-tier-label {
    text-align: center;
    color: var(--fh-muted);
    font-size: 0.92rem;
    margin: 0 0 1rem;
    line-height: 1.45;
}

.fh-tier ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.fh-tier li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.35rem;
    border-bottom: 1px solid #f0f3f6;
    color: var(--fh-ink);
    font-size: 0.94rem;
    line-height: 1.4;
}

.fh-tier li:last-child {
    border-bottom: 0;
}

.fh-tier li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.45rem;
    color: var(--fh-teal);
    font-weight: 700;
}

.fh-tier li.is-note {
    color: var(--fh-muted);
    font-style: italic;
    font-size: 0.88rem;
    border-bottom: 0;
    margin-top: 0.35rem;
}

.fh-tier li.is-note::before {
    content: none;
}

.fh-scope-cta {
    margin-top: 2rem;
    text-align: center;
    background: #fff;
    border: 1px dashed rgba(1, 74, 171, 0.35);
    border-radius: var(--fh-radius);
    padding: 1.35rem 1.25rem;
}

.fh-scope-cta p {
    margin: 0 0 0.85rem;
    color: var(--fh-ink);
    line-height: 1.55;
}

.fh-scope-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--fh-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.fh-scope-cta a:hover {
    background: var(--fh-blue-deep);
    transform: translateY(-1px);
}

/* ---------- Historic / benefits / FAQ polish ---------- */
.fh-historic-grid,
.fh-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.fh-historic-card,
.fh-benefit {
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: var(--fh-radius);
    padding: 1.25rem 1.3rem;
}

.fh-historic-card h3,
.fh-benefit h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--fh-blue-deep);
    font-size: 1.05rem;
    margin: 0 0 0.85rem;
}

.fh-historic-card h3 i,
.fh-benefit h3 i {
    color: var(--fh-gold);
}

.fh-historic-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fh-historic-card li {
    padding: 0.4rem 0 0.4rem 1rem;
    position: relative;
    color: var(--fh-muted);
    font-size: 0.94rem;
    line-height: 1.45;
    border-bottom: 1px solid #f1f4f7;
}

.fh-historic-card li:last-child {
    border-bottom: 0;
}

.fh-historic-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--fh-gold);
    font-weight: 700;
}

.fh-benefit p {
    margin: 0;
    color: var(--fh-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.fh-page .main-content > section.fh-faq {
    width: 100%;
    box-sizing: border-box;
}

.fh-faq .faq-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-sizing: border-box;
}

.fh-faq .faq-item {
    width: 100%;
    max-width: 100%;
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.fh-faq .faq-question {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 1.05rem 1.2rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
    font-weight: 600;
}

.fh-faq .faq-question:hover,
.fh-faq .faq-question:active {
    transform: none;
    background: #f7f9fc;
    box-shadow: none;
    color: inherit;
}

.fh-faq .faq-question:focus-visible {
    outline: 2px solid var(--fh-blue);
    outline-offset: -2px;
}

.fh-faq .faq-item h3 {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--fh-blue-deep);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.fh-faq .faq-chevron {
    flex-shrink: 0;
    color: var(--fh-gold);
    transition: transform 0.25s ease;
}

.fh-faq .faq-chevron ~ .faq-chevron,
.fh-faq .faq-question > .faq-question ~ .faq-chevron {
    display: none;
}

.fh-faq .faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.fh-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.2rem;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.fh-faq .faq-item.active .faq-answer {
    max-height: none;
    overflow: visible;
    padding: 0 1.2rem 1.15rem;
}

.fh-faq .faq-item p {
    margin: 0;
    max-width: 100%;
    color: var(--fh-muted);
    line-height: 1.65;
    font-size: 0.98rem;
    overflow-wrap: break-word;
}

.fh-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.fh-area {
    background: #fff;
    border: 1px solid var(--fh-line);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
}

.fh-area h3 {
    color: var(--fh-blue);
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.fh-area p {
    margin: 0;
    color: var(--fh-muted);
    line-height: 1.55;
    font-size: 0.94rem;
}

.fh-final-cta {
    background: linear-gradient(135deg, var(--fh-blue-deep) 0%, var(--fh-blue) 100%) !important;
    color: #fff;
    text-align: center;
    border-radius: 0;
}

.fh-page .main-content > section.fh-final-cta h2,
.fh-final-cta h2 {
    color: #fff;
}

.fh-page .fh-final-cta .fh-lead,
.fh-final-cta .fh-lead {
    color: rgba(255, 255, 255, 0.9);
}

.fh-final-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.fh-final-cta .btn-primary,
.fh-final-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    font-weight: 600;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.fh-final-cta .btn-primary {
    background: var(--fh-gold);
    color: var(--fh-navy);
}

.fh-final-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.fh-final-cta .btn-primary:hover,
.fh-final-cta .btn-secondary:hover {
    transform: translateY(-2px);
}

.fh-final-cta .cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}

.fh-final-cta .cta-features i {
    color: var(--fh-gold);
    margin-right: 0.3rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .fh-featured-grid,
    .fh-scope-grid,
    .fh-historic-grid,
    .fh-benefits-grid,
    .fh-areas-grid {
        grid-template-columns: 1fr;
    }

    .fh-why-grid {
        grid-template-columns: 1fr;
    }

    .fh-tier.is-featured {
        transform: none;
        order: -1;
    }

    .fh-page .fh-featured-copy h2,
    .fh-page .fh-featured-copy .fh-lead,
    .fh-featured-copy h2,
    .fh-featured-copy .fh-lead {
        text-align: center;
    }

    .fh-photo-stack {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .fh-page .fh-hero {
        padding: 96px 0 56px;
    }

    .phase-panel {
        padding-left: 1.15rem;
    }

    .phases-container::before {
        left: 1.35rem;
    }

    .fh-photo-stack {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 140px;
    }

    .fh-stat-row {
        grid-template-columns: 1fr;
    }

    .fh-final-cta .btn-primary,
    .fh-final-cta .btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .fh-page .main-content > section.fh-faq {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .fh-faq .faq-question {
        align-items: flex-start;
        padding: 0.9rem 0.85rem;
        gap: 0.65rem;
    }

    .fh-faq .faq-item h3 {
        font-size: 1rem;
    }

    .fh-faq .faq-chevron {
        margin-top: 0.2rem;
    }

    .fh-faq .faq-answer,
    .fh-faq .faq-item.active .faq-answer {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .fh-faq .faq-item p {
        font-size: 0.95rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .fh-page .main-content > section.fh-faq {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .fh-faq .faq-container {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phase-card,
    .fh-photo-stack img,
    .phase-chevron {
        transition: none !important;
    }

    .phase-card {
        opacity: 1;
        transform: none;
    }
}
