/* ==========================================================
   CALL AND RELIEF - CONTACT US PAGE STYLESHEET (contact.css)
   Pixel-perfect design matching user specification & mockup
   ========================================================== */

/* --- Hero Section (Full Background Cover with Curve Divider) --- */
.contact-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background-color: #071629;
    overflow: hidden;
    padding: 90px 0 110px 0;
}

.contact-hero-bg-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.contact-hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 62%;
    height: 100%;
    background-image: url('hero-bg.jpg');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
}

.contact-hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #071629 38%, rgba(7, 22, 41, 0.94) 54%, rgba(7, 22, 41, 0.65) 76%, rgba(7, 22, 41, 0.2) 100%);
}

.contact-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.contact-hero-content {
    max-width: 650px;
}

.contact-hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 800;
    line-height: 1.14;
    color: var(--color-white);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.contact-hero-title .text-green {
    color: var(--color-primary);
    display: inline-block;
}

.contact-hero-subtitle {
    font-family: var(--font-body);
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 34px;
    max-width: 580px;
}

/* 3 Hero Value Badges in a Row */
.hero-badges-row {
    display: flex;
    align-items: flex-start;
    gap: 36px;
}

.hero-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-fast);
}

.hero-badge-item:hover {
    transform: translateY(-4px);
}

.hero-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(112, 164, 59, 0.6);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    background: rgba(7, 22, 41, 0.6);
    backdrop-filter: blur(6px);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.hero-badge-item:hover .hero-badge-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(112, 164, 59, 0.4);
}

.hero-badge-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.35;
    letter-spacing: 0.2px;
}

/* Wave Divider */
.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 3;
    pointer-events: none;
}

.hero-wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Section 1: "Reach Out to Us" + "Request a Free Quote" --- */
.contact-main-section {
    background-color: var(--color-white);
    padding: 85px 0 95px 0;
    position: relative;
}

.contact-main-container {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.section-tag-green {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.contact-section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: 14px;
    letter-spacing: -0.4px;
}

.contact-section-desc {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 480px;
}

.contact-items-list {
    display: flex;
    flex-direction: column;
}

.contact-item-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: transform 0.25s ease;
}

.contact-item-card:first-child {
    padding-top: 0;
}

.contact-item-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item-card:hover {
    transform: translateX(4px);
}

.contact-item-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(112, 164, 59, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-item-card:hover .contact-item-icon {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.08);
    box-shadow: 0 8px 18px rgba(112, 164, 59, 0.3);
}

.contact-item-details {
    display: flex;
    flex-direction: column;
}

.contact-item-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-item-value {
    font-family: var(--font-heading);
    font-size: 18.5px;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.contact-item-value:hover {
    color: var(--color-primary);
}

.contact-item-sub {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* Right Side: Request a Free Quote Card */
.quote-card {
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 16px 45px rgba(10, 34, 64, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.95);
    position: relative;
    overflow: hidden;
}

.card-leaf-accent {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 90px;
    height: 90px;
    color: rgba(112, 164, 59, 0.14);
    font-size: 80px;
    pointer-events: none;
    transform: rotate(35deg);
}

.quote-card-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.quote-card-desc {
    font-size: 14.5px;
    color: #64748b;
    margin-bottom: 24px;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    font-family: var(--font-body);
    font-size: 14.5px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.25s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(112, 164, 59, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
}

.btn-submit-quote {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(112, 164, 59, 0.35);
}

.btn-submit-quote:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 164, 59, 0.45);
}

.form-feedback-message {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-feedback-message.success {
    display: block;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* --- Section 2: "Where We Operate" (Service Areas + Map) --- */
.service-areas-section {
    background: linear-gradient(135deg, #f7faf4 0%, #ffffff 45%, #f3f8ee 100%);
    padding: 100px 0 105px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #edf2f7;
}

/* Botanical Foliage Accents */
.areas-leaf-accent {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.areas-leaf-accent.leaf-top-left {
    top: -10px;
    left: -10px;
}

.areas-leaf-accent.leaf-top-right {
    top: -10px;
    right: -10px;
}

.service-areas-container {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* Top Tagline Row (Horizontal Dash + Label) */
.areas-tag-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.areas-tag-dash {
    width: 22px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    display: inline-block;
}

.areas-tag-label {
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.areas-main-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}

.areas-main-desc {
    font-size: 15.5px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 34px;
    max-width: 530px;
}

.suburbs-pills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px 15px;
    max-width: 560px;
}

.suburb-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    padding: 11px 16px;
    background-color: var(--color-white);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 50px;
    box-shadow: 0 3px 12px rgba(10, 34, 64, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.suburb-pill i {
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.suburb-pill:hover {
    background-color: #f6fbf3;
    border-color: var(--color-primary);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(112, 164, 59, 0.16);
}

.suburb-pill.more-pill {
    background-color: #ecf7e7;
    color: #5c9228;
    border-color: rgba(112, 164, 59, 0.28);
    font-weight: 700;
    justify-content: center;
}

.suburb-pill.more-pill i {
    color: #5c9228;
    font-size: 13px;
}

.suburb-pill.more-pill:hover {
    background-color: #e2f2da;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Service Map Seamless Blend Container */
.areas-map-col {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.service-map-blend {
    position: relative;
    width: 100%;
    max-width: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-map-blend .service-map-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 4%, rgba(0, 0, 0, 0.85) 18%, #000 32%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 4%, rgba(0, 0, 0, 0.85) 18%, #000 32%);
    filter: drop-shadow(0 14px 34px rgba(10, 34, 64, 0.06));
    transition: transform 0.4s ease;
}

.service-map-blend:hover .service-map-img {
    transform: scale(1.02);
}

/* --- Section 3: FAQ / Quick Answers + Image Card --- */
.contact-faq-section {
    background-color: var(--color-white);
    padding: 95px 0 105px 0;
    position: relative;
}

.contact-faq-container {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 64px;
    align-items: center;
}

.faq-media-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 16px 40px rgba(10, 34, 64, 0.12);
}

.faq-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-media-card:hover .faq-card-img {
    transform: scale(1.05);
}

.faq-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 22, 41, 0.2) 0%, rgba(7, 22, 41, 0.8) 100%);
    z-index: 1;
}

.faq-media-text {
    position: absolute;
    bottom: 32px;
    left: 32px;
    z-index: 2;
    color: var(--color-white);
}

.handwritten-title {
    font-family: 'Caveat', cursive;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    display: block;
    color: #e2e8f0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.handwritten-subtitle {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    display: block;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Accordion Component */
.faq-main-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.faq-main-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 28px;
}

.faq-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-accordion-item {
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    transition: color 0.25s ease;
}

.faq-toggle-icon {
    font-size: 14px;
    color: var(--color-primary);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-left: 14px;
}

.faq-accordion-item.active {
    background-color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(112, 164, 59, 0.12);
}

.faq-accordion-item.active .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 22px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #556070;
}

.faq-accordion-item.active .faq-accordion-body {
    max-height: 300px;
    padding: 0 22px 20px 22px;
}

/* --- Section 4: Pre-Footer Banner ("PROTECT YOUR HOME & FAMILY") --- */
.contact-protect-banner {
    background: linear-gradient(135deg, #071629 0%, #0A2240 100%);
    padding: 70px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-protect-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.protect-left {
    max-width: 480px;
}

.protect-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.protect-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.protect-title .text-green {
    color: var(--color-primary);
}

.protect-subtitle {
    font-size: 15px;
    color: #cbd5e1;
}

.protect-features-middle {
    display: flex;
    align-items: center;
    gap: 32px;
}

.protect-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.protect-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(112, 164, 59, 0.5);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.protect-feature-item:hover .protect-icon-circle {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.protect-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.35;
}

.btn-protect-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(112, 164, 59, 0.4);
    transition: all 0.3s ease;
}

.btn-protect-phone:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(112, 164, 59, 0.5);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1100px) {
    .contact-main-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .service-areas-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .areas-map-col {
        justify-content: center;
    }

    .service-map-blend {
        max-width: 620px;
        margin: 0 auto;
    }

    .service-map-blend .service-map-img {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 3%, #000 12%, #000 90%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 3%, #000 12%, #000 90%, transparent 100%);
    }

    .areas-leaf-accent svg {
        width: 140px;
        height: 140px;
    }

    .contact-faq-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-protect-container {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .protect-left {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .contact-hero-title {
        font-size: 44px;
    }

    .contact-section-title,
    .areas-main-title,
    .faq-main-title,
    .protect-title {
        font-size: 32px;
    }

    .hero-badges-row {
        gap: 20px;
    }

    .suburbs-pills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: auto;
        padding: 60px 0 80px 0;
    }

    .contact-hero-title {
        font-size: 34px;
    }

    .hero-badges-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hero-badge-item {
        flex-direction: row;
        gap: 14px;
        text-align: left;
    }

    .form-row-dual {
        grid-template-columns: 1fr;
    }

    .quote-card {
        padding: 32px 24px;
    }

    .suburbs-pills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-leaf-accent svg {
        width: 100px;
        height: 100px;
    }

    .protect-features-middle {
        flex-direction: column;
        gap: 20px;
    }

    .btn-protect-phone {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 28px;
    }

    .contact-section-title,
    .areas-main-title,
    .faq-main-title,
    .protect-title {
        font-size: 26px;
    }

    .suburbs-pills-grid {
        grid-template-columns: 1fr;
    }

    .areas-leaf-accent svg {
        width: 70px;
        height: 70px;
    }
}
