/* Explain: Contractor roofing landing page component styles */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-cinematic {
    isolation: isolate;
}

.shingle-texture {
    background-image:
        linear-gradient(135deg, color-mix(in srgb, var(--secondary-color) 13%, transparent) 25%, transparent 25%),
        linear-gradient(225deg, color-mix(in srgb, var(--secondary-color) 13%, transparent) 25%, transparent 25%),
        linear-gradient(45deg, color-mix(in srgb, var(--charcoal-color) 8%, transparent) 25%, transparent 25%),
        linear-gradient(315deg, color-mix(in srgb, var(--charcoal-color) 8%, transparent) 25%, var(--background-color) 25%);
    background-position: 14px 0, 14px 0, 0 0, 0 0;
    background-size: 28px 28px;
}

.roofline-accent {
    position: absolute;
    left: 50%;
    top: -1px;
    width: 11rem;
    height: 5rem;
    background: var(--primary-color);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    transform: translateX(-50%) translateY(-58%);
    filter: drop-shadow(0 16px 28px color-mix(in srgb, var(--charcoal-color) 22%, transparent));
}

.quote-card {
    position: relative;
    transform-origin: top center;
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-card::before,
.ivory-panel::before {
    content: "";
    position: absolute;
    inset: 0.8rem;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--secondary-color) 48%, transparent);
    border-radius: inherit;
}

.ivory-panel {
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: color-mix(in srgb, var(--surface-color) 88%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.credibility-item {
    display: flex;
    min-height: 4.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 1rem;
    color: var(--charcoal-color);
    font-size: 0.92rem;
    font-weight: 800;
}

.album-card {
    min-height: 20rem;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    background: color-mix(in srgb, var(--surface-color) 78%, transparent);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.album-card:hover {
    transform: translateY(-0.35rem);
    border-color: color-mix(in srgb, var(--primary-color) 48%, transparent);
    background: var(--surface-color);
}

.angle-slab {
    clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%);
}

#leadStatus.success,
#modalLeadStatus.success {
    display: block;
    border: 1px solid color-mix(in srgb, var(--secondary-color) 65%, transparent);
    background: color-mix(in srgb, var(--secondary-color) 22%, transparent);
    color: var(--warm-ivory);
}

#leadStatus.error,
#modalLeadStatus.error {
    display: block;
    border: 1px solid color-mix(in srgb, var(--primary-color) 65%, transparent);
    background: color-mix(in srgb, var(--primary-color) 22%, transparent);
    color: var(--warm-ivory);
}

.floating-contact-button {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 2147483000;
}

.contact-modal-open {
    overflow: hidden;
}

.contact-modal {
    z-index: 2147483001;
}

@media (min-width: 768px) {
    .floating-contact-button {
        left: auto;
        right: 2rem;
        bottom: 2rem;
        width: auto;
    }
}

#inspection-form,
#services,
#why-roofers,
#process {
    scroll-margin-top: 8rem;
}
