/* ================================================
   ZENX RESTORATION — Restoration division page styles
   ================================================ */

/* ================================================
   HERO
   ================================================ */
.r-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--ink);
    /* Drop a real job photo at assets/hero-restoration.jpg — gradient shows until then */
    background-image:
        linear-gradient(100deg, rgba(var(--ink-rgb),0.92) 0%, rgba(var(--ink-rgb),0.74) 45%, rgba(var(--ink-rgb),0.4) 100%),
        url('../assets/hero-restoration.jpg'),
        radial-gradient(ellipse 70% 60% at 85% 30%, rgba(var(--brand-rgb),0.28) 0%, transparent 65%),
        radial-gradient(ellipse 60% 70% at 10% 110%, rgba(var(--brand-rgb),0.18) 0%, transparent 60%);
    background-size: cover, cover, auto, auto;
    background-position: center;
}
.r-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
    pointer-events: none;
}

.r-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 56px;
    align-items: center;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 80px;
}

.r-hero .hero-title { font-size: clamp(34px, 4.3vw, 56px); margin-bottom: 20px; }
.r-hero .hero-sub { margin-bottom: 24px; font-size: 17px; }
.r-hero .hero-badge { margin-bottom: 22px; }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s var(--ease) 0.35s both;
}
.hero-points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}
.hero-points svg { color: var(--brand-bright); flex-shrink: 0; }

.btn-call {
    font-size: 18px;
    padding: 18px 32px;
    box-shadow: 0 10px 30px rgba(var(--brand-rgb),0.4);
}
.btn-call small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
}
.btn-call .btn-call-text { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }

/* Quick request card */
.quick-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    animation: fadeUp 0.9s var(--ease) 0.5s both;
    position: relative;
}
.quick-card::before {
    content: '';
    position: absolute;
    top: 0; left: 32px; right: 32px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-bright));
}
.quick-card h2 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 6px;
}
.quick-card > p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 22px;
}
.quick-card .cf-group { margin-bottom: 14px; }
.quick-card .cf-group input,
.quick-card .cf-group select { background: var(--light); }
.quick-card .cf-fine {
    font-size: 12px;
    color: var(--gray);
    text-align: center;
    margin-top: 12px;
}
.quick-card .cf-fine a { color: var(--brand); font-weight: 600; }

/* ================================================
   TRUST STRIP
   ================================================ */
.r-trust {
    background: var(--ink-2);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.r-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.r-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 18px;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.r-trust-item:last-child { border-right: none; }
.r-trust-item svg { color: var(--brand-bright); flex-shrink: 0; }
.r-trust-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}
.r-trust-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ================================================
   SERVICES — urgency card
   ================================================ */
.svc-card.svc-urgent {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
    justify-content: center;
}
.svc-card.svc-urgent::after { display: none; }
.svc-card.svc-urgent h3 { color: var(--white); font-size: 20px; }
.svc-card.svc-urgent p { color: rgba(255,255,255,0.6); }
.svc-card.svc-urgent .svc-icon-wrap { background: var(--brand); color: var(--white); }
.svc-card.svc-urgent .btn { align-self: flex-start; }

.svc-badge {
    position: absolute;
    top: 18px; right: 18px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 1;
}

/* ================================================
   PROCESS
   ================================================ */
.process { background: var(--light); }

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    list-style: none;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 31px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px);
    opacity: 0.35;
}
.p-step {
    text-align: center;
    position: relative;
    transition-delay: var(--d, 0s);
}
.p-num {
    width: 64px; height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--brand);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 8px var(--light);
    transition: var(--trans);
}
.p-step:hover .p-num { background: var(--brand); color: var(--white); }
.p-step h3 {
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 8px;
}
.p-step p {
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.65;
}

/* ================================================
   INSURANCE
   ================================================ */
.insurance { background: var(--white); }
.ins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.ins-text .section-title { text-align: left; }
.ins-list {
    margin: 26px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ins-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--ink-2);
}
.ins-list svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

.carriers {
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.carriers-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 18px;
}
.carrier-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.carrier-grid span {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink-3);
}
.carriers-foot {
    font-size: 13px;
    color: var(--gray);
    margin-top: 16px;
    text-align: center;
}

/* ================================================
   DISCOUNT BANNER
   ================================================ */
.discount {
    background: var(--ink);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.discount::before {
    content: '10%';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Montserrat', sans-serif;
    font-size: 220px;
    font-weight: 900;
    color: rgba(var(--brand-rgb),0.1);
    line-height: 1;
    pointer-events: none;
}
.discount-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.discount-icon {
    width: 72px; height: 72px;
    border-radius: 16px;
    background: var(--brand);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.discount-text { flex: 1; min-width: 260px; }
.discount-text h2 {
    font-size: clamp(22px, 3vw, 32px);
    color: var(--white);
    margin-bottom: 6px;
}
.discount-text p { color: rgba(255,255,255,0.6); font-size: 16px; }

/* ================================================
   SERVICE AREA
   ================================================ */
.area { background: var(--light); }
.area-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto;
}
.area-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    transition: var(--trans);
}
.area-chips span::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--brand);
}
.area-chips span:hover { border-color: var(--brand); color: var(--brand-dark); }
.area-note {
    text-align: center;
    margin-top: 28px;
    font-size: 15px;
    color: var(--gray);
}
.area-note a { color: var(--brand); font-weight: 600; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
    .r-trust-grid { grid-template-columns: repeat(3, 1fr); }
    .r-trust-item:nth-child(3) { border-right: none; }
    .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .process-steps::before { display: none; }
}

@media (max-width: 960px) {
    .r-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .r-hero { min-height: auto; }
    .ins-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .r-hero-grid { padding-top: calc(var(--header-h) + 24px); padding-bottom: 56px; }
    .r-trust-grid { grid-template-columns: 1fr 1fr; }
    .r-trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 18px 8px; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .quick-card { padding: 26px 20px; }
    .carriers { padding: 24px; }
    .discount::before { font-size: 140px; }
}

@media (max-width: 520px) {
    .r-trust-item:last-child { grid-column: span 2; }
    .process-steps { grid-template-columns: 1fr; }
    .p-step { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; text-align: left; }
    .p-num { width: 52px; height: 52px; font-size: 18px; margin: 0; grid-row: span 2; }
    .btn-call { width: 100%; justify-content: center; }
    .discount-inner { flex-direction: column; align-items: flex-start; }
}

/* Expanding one card shouldn't stretch its whole row */
#services .services-grid { align-items: start; }

/* ================================================
   PHOTOS
   ================================================ */
/* Service card photo header — icon badge overlaps its bottom edge */
.svc-photo {
    margin: -26px -26px 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink-2);
    position: relative;
    z-index: 0;
}
.svc-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.svc-card:hover .svc-photo img { transform: scale(1.06); }
.svc-photo ~ .svc-icon-wrap {
    margin-top: -26px;
    background: var(--white);
    box-shadow: 0 6px 18px rgba(var(--ink-rgb),0.15);
}
.svc-card .svc-badge { background: var(--white); box-shadow: var(--shadow-sm); }

/* Insurer logo tiles */
.carrier-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    padding: 14px 18px;
}
.carrier-grid img {
    max-width: 100%;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* CTA banner with photo behind the crimson wash */
.cta-photo .cta-bg {
    background:
        linear-gradient(135deg, rgba(165,14,46,0.94) 0%, rgba(var(--brand-rgb),0.86) 55%, rgba(247,30,73,0.8) 100%),
        url('../assets/photos/crew.jpg') center / cover;
}
.carrier-grid img.tall { max-height: 54px; }
