/* ==================================================
   Shared dark page hero (photo background + continuous shine-sweep
   heading) -- same look used on Contact Us and Get a Quote, extracted
   here so any other page can reuse it without duplicating the block.
   ================================================== */
:root {
    --ac-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
    --ac-orange: #ff5e14;
    --ac-ink: #14161a;
    --ac-muted: #6b7280;
    --ac-line: #ececec;
}

.amzy-contact-hero,
.amzy-contact-hero * {
    all: revert;
    box-sizing: border-box;
}

/* --- Hero: the site's original breadcrumb photo, dimmed under the
   same dark tone as the homepage video hero so the heading stays
   readable over it. --- */
.amzy-contact-hero {
    display: block;
    background-image: linear-gradient(180deg, rgba(16, 18, 22, 0.55), rgba(16, 18, 22, 0.68)), url("../images/resource/breadcrumb.jpg");
    background-size: cover;
    background-position: center;
    padding: 150px 0 90px;
    text-align: center;
    font-family: var(--ac-font);
}

.amzy-contact-hero .container { max-width: 800px; margin: 0 auto; padding: 0 20px; }

.amzy-contact-crumb {
    display: inline-block;
    font-family: var(--ac-font);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 22px;
    opacity: 0;
    animation: amzyFadeUp 0.5s ease forwards;
}

.amzy-contact-crumb a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.amzy-contact-crumb a:hover { color: var(--ac-orange); }

/* Continuous shine sweep across the gradient-filled text -- a light
   sweep of orange passing through the heading in an endless loop.
   Cheap to run (just background-position), safe on mobile. */
.amzy-contact-display {
    display: block;
    font-family: var(--ac-font);
    font-weight: 800;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    background: linear-gradient(100deg, #fff 30%, var(--ac-orange) 50%, #fff 70%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: amzyShine 4.5s linear infinite;
}

@keyframes amzyShine {
    from { background-position: 0% center; }
    to { background-position: -220% center; }
}

.amzy-contact-intro {
    font-family: var(--ac-font);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    opacity: 0;
    animation: amzyFadeUp 0.6s ease 0.2s forwards;
}

@keyframes amzyFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .amzy-contact-hero { padding: 130px 0 70px; }
}

@media (max-width: 768px) {
    .amzy-contact-hero { padding: 110px 0 50px; }
    .amzy-contact-display { font-size: 34px; animation: none; background-position: -60% center; }
    .amzy-contact-intro { font-size: 13.5px; }
    .amzy-contact-crumb, .amzy-contact-intro { animation: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .amzy-contact-crumb, .amzy-contact-display, .amzy-contact-intro { animation: none; opacity: 1; }
}
