/* Roofing template. Layout and palette follow the HHGC roofing site:
   black and white, a green call button, a blue phone link, Montserrat. */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

body { background: var(--rf-paper, #fff); }

.rf {
    --rf-ink: #0d0d0d;
    --rf-paper: #ffffff;
    --rf-soft: #f3f2ef;
    --rf-line: #e3e1dc;
    --rf-call: #22c55e;
    --rf-call-ink: #05210f;
    --rf-link: #2563eb;
    --rf-muted: #525252;
    background: var(--rf-paper);
    color: var(--rf-ink);
    font-family: Montserrat, Inter, sans-serif;
    padding-bottom: 64px;
}

.rf a { color: inherit; }

.rf-wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.rf-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 10px 16px;
    background: #fff8e1;
    border-bottom: 1px solid #f0dc9a;
    color: #3d3005;
    font-size: 0.86rem;
}
.rf-ribbon p { margin: 0; }
.rf-ribbon a { color: #3d3005; font-weight: 600; margin-right: 6px; }
.rf-ribbon-go { white-space: nowrap; }

.rf-head {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 70px;
    padding: 10px 20px;
    background: var(--rf-ink);
    color: #fff;
}
.rf-logo {
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1rem;
    color: #fff !important;
}
.rf-nav { display: flex; gap: 18px; overflow-x: auto; margin-left: auto; }
.rf-nav a {
    color: #d8d6d1 !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.rf-nav a:hover { color: #fff !important; }
.rf-head-phone {
    color: #60a5fa !important;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    border: 0;
    font: 700 0.95rem/1 Montserrat, sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.rf-btn-call { background: var(--rf-call); color: var(--rf-call-ink) !important; }
.rf-btn-call:hover { filter: brightness(0.94); }
.rf-btn-line { background: transparent; color: var(--rf-ink) !important; box-shadow: inset 0 0 0 2px var(--rf-ink); }
.rf-btn:disabled { opacity: 0.6; cursor: default; }

.rf-hero { padding: 28px 0 36px; }
.rf-hero-split { display: grid; gap: 28px; align-items: center; }
.rf-kicker {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rf-muted);
}
.rf h1 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 5vw, 3.3rem);
    line-height: 1.05;
    margin: 0;
}
.rf-lede { font-size: 1.15rem; font-weight: 600; margin: 14px 0 12px; }
.rf-urgency { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.rf-urgency li { padding-left: 26px; position: relative; font-weight: 500; }
.rf-urgency li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: var(--rf-call);
}
.rf-sub { color: var(--rf-muted); margin: 0; }
.rf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rf-work-link { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--rf-link) !important; }

.rf-slot {
    margin: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    text-align: center;
    background: var(--rf-soft);
    border: 2px dashed var(--rf-line);
    border-radius: 10px;
    color: var(--rf-muted);
    font-size: 0.9rem;
}
.rf-hero-media { aspect-ratio: 4 / 3; }
.rf-season-media { aspect-ratio: 16 / 10; }
.rf-job-media { aspect-ratio: 4 / 3; margin-bottom: 12px; }
.rf-reviews-slot { min-height: 160px; margin-top: 16px; }

.rf-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin: 0 0 28px;
    padding: 14px;
    border-top: 1px solid var(--rf-line);
    border-bottom: 1px solid var(--rf-line);
    font-weight: 700;
    font-size: 0.95rem;
}
.rf-trust-sep { color: var(--rf-line); }

.rf-band { padding: 40px 0; }
.rf-alt { background: var(--rf-soft); }
.rf-dark { background: var(--rf-ink); color: #fff; }
.rf-dark a { color: #60a5fa !important; }

.rf h2 {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.15;
    margin: 0 0 8px;
}
.rf-subtitle { color: var(--rf-muted); margin: 0 0 20px; }

.rf-season { display: grid; gap: 24px; align-items: center; }
.rf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.rf-tags span {
    padding: 6px 10px;
    border-radius: 4px;
    background: var(--rf-ink);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.rf-services {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}
.rf-service {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-height: 220px;
    padding: 18px;
    border-radius: 10px;
    background: var(--rf-ink);
    color: #fff !important;
    text-decoration: none;
}
.rf-service:hover, .rf-service:focus-visible { outline: 3px solid var(--rf-call); outline-offset: 2px; }
.rf-service-name { font-weight: 800; font-size: 1.2rem; }
.rf-service-line { color: #d8d6d1; font-size: 0.9rem; }

.rf-jobs { display: grid; gap: 16px; }
.rf-job h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; }
.rf-job p { margin: 0; color: var(--rf-muted); }
.rf-job .rf-job-where { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }

.rf-lead { display: grid; gap: 22px; align-items: start; }
.rf-lead-or { font-weight: 600; }
.rf-lead-or a { color: var(--rf-link) !important; }
.rf-form {
    display: grid;
    gap: 6px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--rf-line);
    border-radius: 10px;
}
.rf-form label { font-weight: 600; font-size: 0.88rem; margin-top: 6px; }
.rf-form input, .rf-form select {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #c9c6bf;
    border-radius: 6px;
    font: 500 1rem Montserrat, sans-serif;
    background: #fff;
    color: var(--rf-ink);
}
.rf-form input:focus, .rf-form select:focus { outline: 3px solid var(--rf-link); outline-offset: 1px; }
.rf-form button { margin-top: 12px; }
.rf-form-note {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-radius: 6px;
    background: #ecfdf3;
    color: #0f5132;
    font-weight: 600;
}

.rf-areas { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rf-areas li { padding: 8px 12px; border: 1px solid var(--rf-line); border-radius: 4px; font-weight: 600; }

.rf-contact { display: grid; gap: 20px; }
.rf-contact p { color: #d8d6d1; margin: 0; }
.rf-contact-list { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.rf-contact-list dt { color: #a3a19c; font-weight: 600; }
.rf-contact-list dd { margin: 0; font-weight: 600; }

.rf-foot { padding: 26px 16px; text-align: center; color: var(--rf-muted); font-size: 0.88rem; }
.rf-foot p { margin: 0 0 6px; }
.rf-foot a { color: var(--rf-link) !important; }

.rf-callbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 8px;
    background: var(--rf-call);
    color: var(--rf-call-ink) !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 760px) {
    .rf-head { flex-wrap: wrap; gap: 6px 14px; }
    .rf-nav { order: 3; width: 100%; margin-left: 0; }
    .rf-head-cta { display: none; }
    .rf-head-phone { margin-left: auto; }
}

@media (min-width: 761px) {
    .rf { padding-bottom: 0; }
    .rf-callbar { display: none; }
}

@media (min-width: 900px) {
    .rf-hero-split { grid-template-columns: 1.05fr 1fr; }
    .rf-season { grid-template-columns: 1fr 1fr; }
    .rf-jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rf-lead { grid-template-columns: 1fr 1.1fr; }
    .rf-contact { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* Keep the corner assistant above the phone call bar on small screens. */
@media (max-width: 760px) {
    .rf .ee-corner { bottom: 76px; }
    .rf .ee-corner-panel { max-height: calc(100vh - 190px); }
}

/* Photos */
.rf-hero-media, .rf-season-media, .rf-job-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: var(--rf-soft);
}
.rf-hero-media img, .rf-season-media img, .rf-job-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rf figcaption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(13, 13, 13, 0.78);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
}
.rf-credit { font-size: 0.78rem; }
