/* Hercules Building — Renovations & Extensions page */

:root {
    --hb-green: #1e6a3b;
    --hb-green-dark: #18542f;
    --hb-ink: #0b1726;
    --hb-body: #27313a;
    --hb-muted: #374151;
    --hb-page-bg: #f6f7f8;
    --hb-footer: #0e1a12;
}

#wrapwrap:has(.hb-renovations-page) {
    background-color: var(--hb-page-bg);
    overflow-x: clip;
}

#wrapwrap:has(.hb-renovations-page) footer#bottom {
    display: none !important;
}

#wrapwrap:has(.hb-renovations-page) main {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#wrap.hb-renovations-page {
    background: var(--hb-page-bg);
    color: var(--hb-body);
    padding: 0 !important;
    max-width: none !important;
}

.hb-renovations-page > section,
.hb-renovations-page > div {
    border: none !important;
}

.hb-renovations-page > section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
}

.hb-renovations-page .container.hb-rn-section,
.hb-renovations-page .hb-rn-section.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .hb-renovations-page .container.hb-rn-section,
    .hb-renovations-page .hb-rn-section.container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hb-renovations-page .container.hb-rn-section,
    .hb-renovations-page .hb-rn-section.container {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

/* Typography */
.hb-renovations-page .hb-rn-title {
    font-weight: 800;
    line-height: 1.1;
    font-size: clamp(1.85rem, 4.6vw, 3rem);
    color: var(--hb-ink);
}

.hb-renovations-page .hb-rn-h3 {
    font-weight: 800;
    line-height: 1.15;
    font-size: clamp(1.5rem, 2.8vw, 1.875rem);
    color: var(--hb-ink);
}

.hb-renovations-page .hb-rn-lead {
    font-size: clamp(1rem, 2.4vw, 1.125rem);
    color: var(--hb-muted);
    line-height: 1.55;
}

.hb-renovations-page .hb-rn-lead-lg {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.65;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.hb-renovations-page .hb-rn-lead-light {
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hb-renovations-page .hb-rn-muted {
    color: #4b5563;
}

.hb-renovations-page .hb-rn-accent {
    color: var(--hb-green);
}

.hb-renovations-page .hb-rn-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--hb-muted);
}

.hb-renovations-page .hb-rn-list li {
    margin-bottom: 0.5rem;
}

/* Buttons — shared hb-btn from homepage/custom-homes */
.hb-renovations-page .hb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    font-weight: 700;
    letter-spacing: 0.2px;
    padding: 0.9rem 1.25rem;
    text-decoration: none;
    transition: transform 0.16s ease, background-color 0.16s ease;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06), 0 6px 20px rgba(2, 54, 20, 0.08);
}

.hb-renovations-page .hb-btn-primary {
    background: var(--hb-green);
    color: #fff !important;
    border: none;
}

.hb-renovations-page .hb-btn-primary:hover {
    background: var(--hb-green-dark);
    color: #fff !important;
}

.hb-renovations-page .hb-btn-outline {
    background: #fff;
    color: var(--hb-green) !important;
    border: 2px solid var(--hb-green);
}

.hb-renovations-page .hb-btn-outline:hover {
    background: var(--hb-green);
    color: #fff !important;
}

.hb-renovations-page .hb-btn-white {
    background: #fff;
    color: var(--hb-green) !important;
}

.hb-renovations-page .hb-btn-ghost {
    border: 2px solid #fff;
    color: #fff !important;
    background: transparent;
}

.hb-renovations-page .hb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.hb-renovations-page .hb-rn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hb-renovations-page .hb-rn-actions.justify-content-center {
    justify-content: center;
}

@media (max-width: 639px) {
    .hb-renovations-page .hb-rn-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hb-renovations-page .hb-rn-actions .hb-btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .hb-renovations-page .hb-rn-actions.justify-content-center {
        align-items: stretch;
    }
}

/* Hero */
.hb-renovations-page .hb-rn-hero-section {
    padding-top: 2rem !important;
    padding-bottom: 1rem !important;
}

.hb-renovations-page .hb-rn-hero-copy {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(10, 20, 30, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .hb-renovations-page .hb-rn-hero-copy {
        padding: 2rem;
    }
}

.hb-renovations-page .hb-rn-hero-visual-col {
    padding-top: 0 !important;
}

.hb-renovations-page .hb-rn-hero-img-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 20, 30, 0.07);
    height: 100%;
    min-height: 260px;
}

.hb-renovations-page .hb-rn-hero-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

@media (min-width: 640px) {
    .hb-renovations-page .hb-rn-hero-photo {
        height: 320px;
    }
}

@media (min-width: 992px) {
    .hb-renovations-page .hb-rn-hero-img-wrap {
        min-height: 100%;
    }

    .hb-renovations-page .hb-rn-hero-photo {
        height: 100%;
        min-height: 420px;
    }
}

.hb-renovations-page .hb-rn-chip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hb-renovations-page .hb-rn-chip {
    border-radius: 18px !important;
    background: #fff !important;
    font-size: 0.875rem;
    color: var(--hb-muted);
}

.hb-renovations-page .hb-rn-chip .card-body {
    padding: 0.75rem 1rem !important;
}

/* Intro */
.hb-renovations-page .hb-rn-intro-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    background: #fff !important;
}

.hb-renovations-page .hb-rn-intro-inner {
    text-align: center;
}

/* Features */
.hb-renovations-page .hb-rn-features-wrap {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.hb-renovations-page .hb-rn-feature-row {
    padding-bottom: 3rem !important;
}

.hb-renovations-page .hb-rn-feature-img {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 20, 30, 0.07);
}

.hb-renovations-page .hb-rn-feature-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

@media (min-width: 640px) {
    .hb-renovations-page .hb-rn-feature-photo {
        height: 300px;
    }
}

@media (min-width: 768px) {
    .hb-renovations-page .hb-rn-feature-photo {
        height: 360px;
    }
}

@media (min-width: 1024px) {
    .hb-renovations-page .hb-rn-feature-photo {
        height: 420px;
    }
}

/* Timeline */
.hb-renovations-page .hb-rn-timeline-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    background: #fff !important;
}

.hb-renovations-page .hb-rn-timeline {
    list-style: none;
    padding: 0 0 0 1.5rem;
    margin: 0 auto;
    max-width: 42rem;
    border-left: 2px solid #e5e7eb;
}

.hb-renovations-page .hb-rn-timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.hb-renovations-page .hb-rn-timeline-item:last-child {
    padding-bottom: 0;
}

.hb-renovations-page .hb-rn-timeline-item::before {
    content: "";
    position: absolute;
    left: calc(-1.5rem - 7px);
    top: 0.35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--hb-green);
}

/* Mosaic */
.hb-renovations-page .hb-rn-mosaic-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.hb-renovations-page .hb-rn-mosaic-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .hb-renovations-page .hb-rn-mosaic-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hb-renovations-page .hb-rn-mosaic-item {
    position: relative;
    border-radius: 1rem !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 20, 30, 0.07);
    margin: 0;
}

.hb-renovations-page .hb-rn-mosaic-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

@media (min-width: 640px) {
    .hb-renovations-page .hb-rn-mosaic-img {
        height: 18rem;
    }
}

.hb-renovations-page .hb-rn-mosaic-cap {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.35s ease;
    color: #fff;
}

.hb-renovations-page .hb-rn-mosaic-item:hover .hb-rn-mosaic-img {
    transform: scale(1.05);
}

.hb-renovations-page .hb-rn-mosaic-item:hover .hb-rn-mosaic-cap {
    opacity: 1;
}

.hb-renovations-page .hb-rn-mosaic-title {
    font-size: 1.125rem;
    color: #fff;
}

.hb-renovations-page .hb-rn-mosaic-link {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #fff !important;
    text-decoration: underline;
}

/* Mobile: always show mosaic caption below image */
@media (max-width: 767px) {
    .hb-renovations-page .hb-rn-mosaic-item {
        display: flex;
        flex-direction: column;
        background: #fff;
    }

    .hb-renovations-page .hb-rn-mosaic-img {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .hb-renovations-page .hb-rn-mosaic-cap {
        position: relative;
        inset: auto;
        opacity: 1;
        background: #fff;
        color: var(--hb-ink);
        padding: 1rem 1rem 1.15rem;
    }

    .hb-renovations-page .hb-rn-mosaic-title {
        color: var(--hb-ink);
    }

    .hb-renovations-page .hb-rn-mosaic-link {
        color: var(--hb-green) !important;
    }

    .hb-renovations-page .hb-rn-mosaic-item:hover .hb-rn-mosaic-img {
        transform: none;
    }
}

/* FAQ */
.hb-renovations-page .hb-rn-faq-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    background: #fff !important;
}

/* CTA */
.hb-renovations-page .hb-rn-cta-section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
    background: linear-gradient(135deg, #1e6a3b 0%, #18542f 100%) !important;
}

.hb-renovations-page .hb-rn-cta-inner {
    text-align: center;
    color: #fff;
}

/* Footer — reuse homepage dark footer styles */
.hb-renovations-page .hb-site-footer {
    background: var(--hb-footer) !important;
    color: #fff;
}

.hb-renovations-page .hb-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.hb-renovations-page .hb-site-footer a {
    color: #c7ead4;
    text-decoration: none;
}

.hb-renovations-page .hb-footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .hb-renovations-page .hb-footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Odoo editor */
.editor_enable .hb-renovations-page .hb-rn-mosaic-cap {
    pointer-events: none;
}

.editor_enable .hb-renovations-page .hb-rn-mosaic-cap .s_allow_columns,
.editor_enable .hb-renovations-page .hb-rn-mosaic-cap .hb-rn-mosaic-link {
    pointer-events: auto;
}

.editor_enable .hb-renovations-page .o_we_custom_image {
    cursor: pointer;
}

.editor_enable .hb-renovations-page .hb-rn-mosaic-item:hover .hb-rn-mosaic-cap {
    opacity: 1;
}

@media (max-width: 767px) {
    .editor_enable .hb-renovations-page .hb-rn-mosaic-cap {
        opacity: 1;
        pointer-events: auto;
    }
}

.editor_enable .hb-renovations-page .hb-rn-hero-img-wrap {
    pointer-events: none;
}

.editor_enable .hb-renovations-page .hb-rn-hero-copy {
    pointer-events: none;
}

.editor_enable .hb-renovations-page .hb-rn-hero-copy .s_allow_columns,
.editor_enable .hb-renovations-page .hb-rn-hero-copy .hb-rn-actions,
.editor_enable .hb-renovations-page .hb-rn-hero-copy .hb-rn-actions * {
    pointer-events: auto;
}

.editor_enable .hb-renovations-page .hb-rn-hero-photo,
.editor_enable .hb-renovations-page .o_we_custom_image {
    cursor: pointer;
    pointer-events: auto;
}
