/* =====================================================================
   HOMEPAGE STYLES — index.php
   Sections are in the same order (and numbering) as the page.
   Responsive rules for sections 1–3 and 12 sit directly under each
   section so everything for one section is in one place.
   ===================================================================== */

/* ---------- 1. Hero ----------
   Dark panel on the left, full-height photo bleeding off the right edge. */
.home-hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: #c9d1db;
}
.home-hero__media {
    position: absolute;
    inset: 0 0 0 46%;
}
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
/* Soft fade from the dark panel into the photo */
.home-hero__media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, var(--ink) 0%, rgba(20, 26, 34, 0.55) 22%, rgba(20, 26, 34, 0) 55%);
}
.home-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: end;
    gap: 40px;
    min-height: min(720px, calc(100svh - var(--header-h) - 40px));
    padding-block: clamp(72px, 9vw, 128px) clamp(56px, 7vw, 96px);
}
.home-hero__copy { max-width: 600px; align-self: center; }
.home-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    letter-spacing: 0.04em;
    color: #dfe5ec;
}
.home-hero__kicker .icon { width: 16px; height: 16px; color: var(--orange); }
.home-hero__title {
    margin-bottom: 22px;
    font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);
    font-weight: var(--fw-semibold);
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--white);
}
.home-hero__title span { display: block; color: var(--orange); }
.home-hero__lead { max-width: 52ch; margin-bottom: 34px; font-size: 1.2rem; line-height: 1.6; color: #c9d1db; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    list-style: none;
    font-size: var(--fs-small);
    color: #dfe5ec;
}
.home-hero__proof li { display: flex; align-items: center; gap: 8px; }
.home-hero__proof .icon { width: 18px; height: 18px; color: var(--orange); }

/* Floating "typical visit" ticket on the photo */
.home-hero__ticket {
    justify-self: end;
    width: min(320px, 100%);
    padding: 24px 24px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55);
    color: var(--text);
}
.home-hero__ticket-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: var(--font-head);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-ink);
}
.home-hero__ticket-label .icon { width: 16px; height: 16px; }
.home-hero__ticket ul { list-style: none; display: grid; margin-bottom: 16px; }
.home-hero__ticket li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: var(--fs-small);
    color: var(--ink);
}
.home-hero__ticket li .icon {
    flex: none;
    width: 20px;
    height: 20px;
    padding: 3px;
    background: rgba(242, 111, 34, 0.14);
    border-radius: 50%;
    color: var(--orange-ink);
}
.home-hero__ticket .link-arrow { font-size: 0.95rem; }

@media (max-width: 1100px) {
    .home-hero__ticket { display: none; }
    .home-hero__inner { grid-template-columns: 1fr; }
    .home-hero__media { left: 40%; }
}
@media (max-width: 900px) {
    /* Photo moves above the copy on tablets and phones */
    .home-hero__media { position: relative; inset: auto; aspect-ratio: 16 / 10; }
    .home-hero__media::before { background: linear-gradient(0deg, var(--ink) 0%, rgba(20, 26, 34, 0) 45%); }
    .home-hero__inner { min-height: 0; padding-block: 8px 64px; }
}
@media (max-width: 600px) {
    .home-hero__media { aspect-ratio: 4 / 3; }
    .home-hero__actions .btn { flex: 1 1 100%; }
    .home-hero__proof { flex-direction: column; }
}

/* ---------- 2. Services index ----------
   A numbered "ledger" of services — deliberately no photos, so it reads
   differently from the hero. */
.home-index__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 8px clamp(32px, 6vw, 96px);
    align-items: end;
    margin-bottom: clamp(36px, 4vw, 56px);
}
.home-index__head .eyebrow { grid-column: 1 / -1; }
.home-index__title { max-width: 20ch; margin: 0; }
.home-index__intro { margin: 0; max-width: 46ch; font-size: 1.15rem; color: var(--muted); }

.home-index__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.home-index__item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-index__item > a,
.home-index__item > div {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 250px;
    padding: 28px 26px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.3s var(--ease);
}
.home-index__item > a:hover { background: var(--paper); }
.home-index__num { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0.1em; color: var(--muted); }
.home-index__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 22px 0 18px;
    background: var(--paper);
    border-radius: 50%;
    color: var(--orange-ink);
    transition: background 0.3s, color 0.3s;
}
.home-index__icon .icon { width: 22px; height: 22px; }
.home-index__name { margin-bottom: 8px; font-family: var(--font-head); font-size: 1.2rem; font-weight: var(--fw-semibold); letter-spacing: -0.01em; color: var(--ink); }
.home-index__desc { font-size: var(--fs-small); color: var(--muted); }
.home-index__go {
    position: absolute;
    top: 26px;
    right: 24px;
    color: var(--muted-light);
    transition: transform 0.3s var(--ease), color 0.3s;
}
.home-index__go .icon { width: 20px; height: 20px; }
.home-index__item > a:hover .home-index__icon { background: var(--orange); color: var(--white); }
.home-index__item > a:hover .home-index__go { color: var(--orange); transform: translate(3px, -3px); }

/* Featured cell: the main handyman service */
.home-index__item--featured > a { background: var(--orange); }
.home-index__item--featured > a:hover { background: #f58440; }
.home-index__item--featured .home-index__num,
.home-index__item--featured .home-index__desc,
.home-index__item--featured .home-index__go { color: rgba(20, 26, 34, 0.88); }
.home-index__item--featured .home-index__name { color: var(--ink); }
.home-index__item--featured .home-index__icon,
.home-index__item--featured > a:hover .home-index__icon { background: var(--white); color: var(--orange-ink); }
.home-index__item--featured > a:hover .home-index__go { color: var(--ink); }

/* Last cell: phone prompt */
.home-index__item--call > div { justify-content: flex-end; background: var(--ink); color: #c9d1db; }
.home-index__call-label { margin-bottom: 6px; font-family: var(--font-head); font-weight: var(--fw-medium); color: var(--white); }
.home-index__phone { font-family: var(--font-head); font-size: 1.6rem; font-weight: var(--fw-semibold); letter-spacing: -0.01em; color: var(--orange); text-decoration: none; }
.home-index__phone:hover { color: var(--white); }
.home-index__call-note { margin-top: 10px; font-size: var(--fs-small); }

@media (max-width: 1100px) {
    .home-index__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .home-index__head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .home-index__grid { grid-template-columns: 1fr; }
    .home-index__item > a, .home-index__item > div { min-height: 0; padding: 24px 20px; }
    .home-index__icon { margin: 14px 0 12px; }
}

/* ---------- 3. Who we are ---------- */
.home-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 7vw, 104px);
    align-items: center;
}
.home-about__media { position: relative; padding: 0 12% 14% 0; }
.home-about__photo { overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.home-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-about__photo--main { aspect-ratio: 4 / 5; }
.home-about__photo--inset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    aspect-ratio: 1;
    border: 8px solid var(--paper);
}
.home-about__badge {
    position: absolute;
    top: 28px;
    left: -18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 18px;
    background: var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    color: var(--muted-light);
    font-size: var(--fs-xs);
    line-height: 1.3;
}
.home-about__badge .icon { width: 22px; height: 22px; color: var(--orange); }
.home-about__badge strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--white); }

.home-about__statement {
    font-family: var(--font-head);
    font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
    font-weight: var(--fw-regular);
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.home-about__copy > p:not(.eyebrow):not(.home-about__statement) { color: var(--muted); }
.home-about__points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 28px;
    margin: 32px 0 36px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    list-style: none;
}
.home-about__points li { display: flex; gap: 14px; }
.home-about__points .icon { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--orange-ink); }
.home-about__points strong { display: block; font-family: var(--font-head); font-weight: var(--fw-semibold); }
.home-about__points span { font-size: var(--fs-small); color: var(--muted); }

@media (max-width: 900px) {
    .home-about__grid { grid-template-columns: 1fr; }
    .home-about__media { max-width: 560px; }
    .home-about__badge { left: 12px; }
}
@media (max-width: 600px) {
    .home-about__points { grid-template-columns: 1fr; }
}

/* ---------- 4. Remodeling ---------- */
.home-remodel__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.home-remodel__media { position: relative; }
.home-remodel__badge {
    position: absolute;
    right: -28px; bottom: 40px;
    display: flex;
    gap: 14px;
    max-width: 290px;
    padding: 20px;
    background: var(--orange);
    color: var(--ink);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}
.home-remodel__badge .icon { width: 28px; height: 28px; flex: none; }
.home-remodel__badge p { margin: 0; font-size: var(--fs-small); line-height: 1.5; }
.remodel-list { list-style: none; border-top: 1px solid var(--line); }
.remodel-list a {
    display: grid;
    grid-template-columns: 44px 1fr auto 24px;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: background 0.25s, padding 0.25s var(--ease);
}
.remodel-list__num { font-family: var(--font-head); font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--orange-ink); letter-spacing: 0.08em; }
.remodel-list__name { font-family: var(--font-head); font-size: 1.12rem; font-weight: var(--fw-semibold); }
.remodel-list__desc { font-size: var(--fs-small); color: var(--muted); }
.remodel-list .icon { width: 20px; height: 20px; color: var(--muted-light); transition: transform 0.25s var(--ease), color 0.2s; }
.remodel-list a:hover { background: var(--paper); padding-inline: 14px 10px; color: var(--ink); }
.remodel-list a:hover .icon { color: var(--orange); transform: translateX(4px); }

/* ---------- 5. Handyman ---------- */
.home-handyman__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.task-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; list-style: none; background: var(--line-dark); border: 1px solid var(--line-dark); }
.task-board li {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 132px;
    padding: 22px;
    background: var(--ink);
    font-family: var(--font-head);
    font-weight: var(--fw-semibold);
    color: var(--white);
    transition: background 0.3s;
}
.task-board li .icon { width: 28px; height: 28px; color: var(--orange); transition: transform 0.3s var(--ease); }
.task-board li:hover { background: var(--navy); }
.task-board li:hover .icon { transform: translateY(-3px); }

/* ---------- 6. Cleaning ---------- */
.home-cleaning .media-stack { margin-right: 24px; margin-bottom: 32px; }
.clean-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 28px; }
.clean-columns__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
    font-family: var(--font-head);
    font-weight: var(--fw-semibold);
    color: var(--ink);
}
.clean-columns__label .icon { color: var(--orange); }
.clean-columns ul { list-style: none; display: grid; gap: 2px; }
.clean-columns a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; transition: color 0.2s, transform 0.2s var(--ease); }
.clean-columns a:hover { color: var(--orange-ink); transform: translateX(4px); }

/* ---------- 7. Lawn & yard seasons ---------- */
.home-yard__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.home-yard__head .section-title { margin: 0; }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.season {
    padding: 28px 24px 30px;
    background: var(--white);
    border-top: 4px solid var(--season, var(--orange));
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.season:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.season--spring { --season: #6c9a3e; }
.season--summer { --season: var(--amber); }
.season--fall { --season: var(--orange); }
.season--winter { --season: var(--steel); }
.season__top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.season__top .icon { width: 26px; height: 26px; color: var(--season); }
.season__top h3 { margin: 0; }
.season ul { list-style: none; display: grid; gap: 10px; font-size: var(--fs-small); }
.season li { padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.season li:last-child { border-bottom: 0; padding-bottom: 0; }
.home-yard__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; font-size: var(--fs-small); }
.home-yard__foot p { margin: 0; }

/* ---------- 8. Pest control ---------- */
.home-pest__brands { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.home-pest__brands .brand-logo { height: 96px; }
.brand-wordmark--light { color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.pest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; }
.pest-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: var(--fw-semibold);
    color: var(--white);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.pest-grid a .icon { color: var(--amber); transition: transform 0.25s var(--ease); }
.pest-grid a:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.pest-grid a:hover .icon { color: var(--orange); transform: translate(2px, -2px); }
.pest-grid__note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(244, 182, 63, 0.12);
    border-radius: var(--radius-sm);
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--amber);
}

/* ---------- 9. Lighting ---------- */
.home-lighting { position: relative; overflow: hidden; background: #0b0f15; color: #c9d0d8; padding-block: var(--section); }
.home-lighting__bg { position: absolute; inset: 0; }
.home-lighting__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.home-lighting__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,21,0.3), rgba(11,15,21,0.85)); }
.home-lighting__inner { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px clamp(32px, 5vw, 72px); align-items: center; }
.home-lighting__inner > .btn { grid-column: 1; justify-self: start; }
.home-lighting__logo { width: 220px; height: auto; margin-bottom: 26px; padding: 10px 16px; background: var(--white); border-radius: var(--radius-sm); }
.home-lighting h2 { color: var(--white); }
.home-lighting .eyebrow { color: var(--amber); }
.home-lighting .eyebrow::before { background: var(--amber); }
.light-compare { grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.light-card {
    padding: 30px 26px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(6px);
}
.light-card h3 { display: flex; align-items: center; gap: 10px; color: var(--white); margin-bottom: 20px; }
.light-card h3 .icon { color: var(--amber); }
.light-card .check-list { color: #dfe4ea; font-size: var(--fs-small); }
.light-card .check-list .icon { background: rgba(244, 182, 63, 0.18); color: var(--amber); }
.light-card--accent { border-color: rgba(244, 182, 63, 0.5); }

/* ---------- 10. Commercial ---------- */
.home-commercial__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.audience a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: var(--fw-semibold);
    color: var(--ink);
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s;
}
.audience a .icon { width: 24px; height: 24px; color: var(--orange); }
.audience a:hover { border-color: var(--ink); background: var(--paper); color: var(--ink); }
.support-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: clamp(40px, 5vw, 64px);
    list-style: none;
    background: var(--ink);
    border-radius: var(--radius-sm);
}
.support-strip li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border-left: 1px solid var(--line-dark);
    font-family: var(--font-head);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
    color: var(--white);
}
.support-strip li:first-child { border-left: 0; }
.support-strip .icon { width: 24px; height: 24px; color: var(--orange); }

/* ---------- 11. Why Brabo ---------- */
.home-why__media { margin-top: 12px; }
.home-why__media img { object-position: center 30%; }

/* ---------- 12. Service areas ----------
   Left: "home base" card with the business address.
   Right: communities grouped by region as chips. */
.home-areas__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 96px); align-items: end; }
.home-areas__head .section-title { margin: 0; max-width: 22ch; }
.home-areas__head .section-intro { margin: 0; }
.home-areas__layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(24px, 3vw, 40px); align-items: start; }


.area-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.area-board__group { padding: 22px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.area-board__label { margin-bottom: 14px; font-family: var(--font-head); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-ink); }
.area-board__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.area-board__chips li {
    padding: 7px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--ink);
}
.area-board__chips li.is-primary { background: var(--orange); border-color: var(--orange); color: var(--ink); font-weight: var(--fw-semibold); }
.area-board__chips li.is-primary span { margin-left: 4px; font-size: var(--fs-xs); opacity: 0.85; }
.area-board__foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    padding: 18px 4px 0;
}
.area-board__foot p { margin: 0; color: var(--muted); font-size: var(--fs-small); }

@media (max-width: 1100px) {
    .home-areas__layout { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .home-areas__head { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .area-board { grid-template-columns: 1fr; }
}

/* ---------- 13. Gallery slider ---------- */
.gallery-slider { --slide-w: calc((100% - 48px) / 2.4); }
.gallery-slide__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-slide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-slide:hover .gallery-slide__img img { transform: scale(1.04); }
.gallery-slide figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; font-size: var(--fs-small); color: var(--muted); }
.gallery-slide figcaption span { font-family: var(--font-head); font-weight: var(--fw-semibold); color: var(--ink); font-size: 1rem; }
.slider__more { margin-left: auto; }

/* ---------- 15. Brands ---------- */
.home-brands__more { margin-top: 28px; }
