
/* =========================================
   CONTACT PAGE - R3S
========================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 65px 0 75px;
    background:
        radial-gradient(circle at 88% 15%, rgba(221, 3, 17, .13), transparent 30%),
        var(--bg-secondary);
}

.contact-hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -100px;
    bottom: -240px;
    border: 65px solid rgba(221, 3, 17, .06);
    border-radius: 50%;
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--text-muted);
    font-size: 12px;
}

.contact-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.contact-breadcrumb a:hover {
    color: var(--r3s-primary);
}

.contact-breadcrumb i {
    font-size: 9px;
}

.contact-hero-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    margin-bottom: 18px;
    border: 1px solid rgba(221, 3, 17, .18);
    border-radius: 30px;
    color: var(--r3s-primary);
    background: rgba(221, 3, 17, .07);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-hero h1 {
    margin: 0 0 17px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(34px, 5vw, 53px);
    font-weight: 800;
    letter-spacing: -1.4px;
    line-height: 1.2;
}

.contact-hero h1 span {
    color: var(--r3s-primary);
}

.contact-hero-content > p {
    max-width: 650px;
    margin: 0 auto 27px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.btn-contact-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 23px;
    border: 1px solid var(--r3s-primary);
    border-radius: 7px;
    color: #fff;
    background: var(--r3s-primary);
    font-size: 13px;
    font-weight: 700;
    transition: all .25s ease;
}

.btn-contact-primary:hover {
    color: #fff;
    background: #b8000c;
    border-color: #b8000c;
    transform: translateY(-2px);
}


/* =========================================
   CONTACT INFO CARDS
========================================= */

.contact-info-section {
    position: relative;
    z-index: 2;
    padding: 0 0 35px;
    margin-top: -1px;
    background: var(--bg-body);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-info-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    padding: 23px 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: inherit;
    background: var(--card-bg);
    text-decoration: none;
    transition: all .25s ease;
}

.contact-info-card:hover {
    border-color: rgba(221, 3, 17, .4);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .055);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--r3s-primary);
    font-size: 20px;
}

.contact-info-icon.whatsapp-icon {
    background: #159b55;
}

.contact-info-card > div:nth-child(2) {
    min-width: 0;
}

.contact-info-card span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
}

.contact-info-card h3 {
    overflow-wrap: anywhere;
    margin: 0 0 4px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
}

.contact-info-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 11px;
}

.contact-card-arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 15px;
    transition: all .2s ease;
}

.contact-info-card:hover .contact-card-arrow {
    color: var(--r3s-primary);
    transform: translate(3px, -3px);
}


/* =========================================
   MAIN CONTACT SECTION
========================================= */

.contact-main-section {
    padding: 65px 0 90px;
    background: var(--bg-body);
    scroll-margin-top: 100px;
}

.contact-details-panel {
    position: sticky;
    top: 110px;
    padding: 12px 10px 12px 0;
}

.contact-section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--r3s-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-details-panel h2 {
    max-width: 420px;
    margin: 0 0 17px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(29px, 3.5vw, 39px);
    font-weight: 800;
    line-height: 1.25;
}

.contact-details-panel h2 span {
    color: var(--r3s-primary);
}

.contact-details-intro {
    max-width: 440px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.9;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 10px;
    color: var(--r3s-primary);
    background: rgba(221, 3, 17, .09);
    font-size: 17px;
}

.contact-detail-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--text-muted);
    font-size: 11px;
}

.contact-detail-item a,
.contact-detail-item strong {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.contact-detail-item a:hover {
    color: var(--r3s-primary);
}

.contact-service-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 19px;
    margin-top: 25px;
    border: 1px solid rgba(221, 3, 17, .14);
    border-radius: 11px;
    background: rgba(221, 3, 17, .045);
}

.contact-service-note-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--r3s-primary);
}

.contact-service-note strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 800;
}

.contact-service-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
}

.contact-social-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
}

.contact-social-row > span {
    margin-right: 5px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.contact-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    background: var(--card-bg);
    text-decoration: none;
    transition: all .2s ease;
}

.contact-social-row a:hover {
    color: #fff;
    border-color: var(--r3s-primary);
    background: var(--r3s-primary);
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-form-card {
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .045);
}

.contact-form-heading {
    margin-bottom: 27px;
}

.contact-form-heading > span {
    color: var(--r3s-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-form-heading h2 {
    margin: 8px 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
}

.contact-form-heading h2 strong {
    color: var(--r3s-primary);
}

.contact-form-heading p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.contact-form-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 700;
}

.contact-form-card label span {
    color: var(--r3s-primary);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: var(--text-primary);
    background-color: var(--bg-body);
    font-family: var(--font-body);
    font-size: 12px;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form-card textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.contact-form-card .form-control::placeholder {
    color: var(--text-muted);
    opacity: .8;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--r3s-primary);
    box-shadow: 0 0 0 3px rgba(221, 3, 17, .09);
}

.contact-form-card .form-control.is-invalid,
.contact-form-card .form-select.is-invalid {
    border-color: #dc3545;
}

.contact-character-count {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 10px;
    text-align: right;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.contact-consent input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--r3s-primary);
}

.contact-consent label {
    margin: 0;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}

.btn-contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 51px;
    padding: 13px 20px;
    border: 1px solid var(--r3s-primary);
    border-radius: 7px;
    color: #fff;
    background: var(--r3s-primary);
    font-size: 13px;
    font-weight: 800;
    transition: all .25s ease;
}

.btn-contact-submit:hover {
    color: #fff;
    border-color: #b8000c;
    background: #b8000c;
    transform: translateY(-2px);
}

.btn-contact-submit:disabled {
    cursor: not-allowed;
    opacity: .7;
    transform: none;
}

.contact-form-alert {
    display: none;
    padding: 12px 14px;
    margin-bottom: 20px;
    border-radius: 7px;
    font-size: 12px;
    line-height: 1.6;
}

.contact-form-alert.show {
    display: block;
}

.contact-form-alert.error {
    color: #a3212c;
    border: 1px solid #efb7bc;
    background: #fff0f1;
}

.contact-form-alert.success {
    color: #17663a;
    border: 1px solid #a7d8bb;
    background: #edf9f1;
}

/* Honeypot - hidden from visitors */
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================
   SERVICE LOCATIONS
========================================= */

.contact-locations-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-locations-section .section-heading {
    margin-bottom: 38px;
}

.contact-locations-section .section-heading h2 {
    margin: 0 0 12px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
}

.contact-locations-section .section-heading h2 span {
    color: var(--r3s-primary);
}

.contact-locations-section .section-heading p {
    color: var(--text-secondary);
    font-size: 13px;
}

.contact-location-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 13px;
    background: var(--card-bg);
    transition: all .25s ease;
}

.contact-location-card:hover {
    border-color: rgba(221, 3, 17, .35);
    transform: translateY(-4px);
}

.location-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 53px;
    height: 53px;
    flex-shrink: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--r3s-primary);
    font-size: 23px;
}

.contact-location-card > div:last-child > span {
    color: var(--r3s-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-location-card h3 {
    margin: 6px 0 9px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
}

.contact-location-card p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.8;
}

.contact-location-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--r3s-primary);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}


/* =========================================
   BOTTOM CTA
========================================= */

.contact-bottom-cta {
    padding: 0 0 85px;
    background: var(--bg-secondary);
}

.contact-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 38px 42px;
    border-radius: 15px;
    color: #fff;
    background: #171717;
}

.contact-bottom-cta-inner > div > span {
    color: #ff858b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-bottom-cta-inner h2 {
    margin: 9px 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 25px;
    font-weight: 800;
}

.contact-bottom-cta-inner p {
    margin: 0;
    color: #c6c6c6;
    font-size: 12px;
}

.contact-bottom-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    padding: 13px 20px;
    border: 1px solid #159b55;
    border-radius: 7px;
    color: #fff;
    background: #159b55;
    font-size: 12px;
    font-weight: 800;
    transition: all .25s ease;
}

.contact-bottom-whatsapp:hover {
    color: #fff;
    background: #117d45;
    border-color: #117d45;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-details-panel {
        position: static;
    }

    .contact-main-section {
        padding-top: 45px;
    }

    .contact-bottom-cta-inner {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 45px 0 55px;
    }

    .contact-hero h1 {
        font-size: 34px;
        letter-spacing: -.8px;
    }

    .contact-hero-content > p {
        font-size: 13px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .contact-info-card {
        padding: 17px;
    }

    .contact-main-section {
        padding: 40px 0 60px;
    }

    .contact-details-panel {
        padding: 0;
    }

    .contact-details-panel h2 {
        font-size: 30px;
    }

    .contact-form-card {
        padding: 23px 18px;
    }

    .contact-form-heading h2 {
        font-size: 24px;
    }

    .contact-locations-section {
        padding: 60px 0;
    }

    .contact-location-card {
        padding: 22px;
    }

    .contact-bottom-cta {
        padding-bottom: 60px;
    }

    .contact-bottom-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 27px 22px;
    }

    .contact-bottom-cta-inner h2 {
        font-size: 22px;
    }

    .contact-bottom-whatsapp {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .contact-hero h1 {
        font-size: 29px;
    }

    .contact-location-card {
        gap: 13px;
        padding: 18px;
    }

    .location-card-icon {
        width: 43px;
        height: 43px;
        font-size: 19px;
    }
}
