/* =========================================================
   HARDKING — PÁGINA DE CONTATO
   Compatível com as classes presentes em contato.php
   ========================================================= */

.hk-contact-hero {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 90px 0;
    overflow: hidden;
    background-color: #f7f9f6;
    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,.97) 0%,
            rgba(255,255,255,.91) 38%,
            rgba(255,255,255,.48) 68%,
            rgba(255,255,255,.08) 100%
        ),
        url('/mvp/site/assets/img/pages/contato/contact-bg.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hk-contact-hero .container,
.hk-contact-hero-content {
    position: relative;
    z-index: 1;
}

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

.hk-contact-hero-content h1 {
    margin: 20px 0;
    color: #111;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.hk-contact-hero-content p {
    max-width: 620px;
    margin: 0;
    color: #555;
    font-size: 1.12rem;
    line-height: 1.8;
}

.hk-contact-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.hk-contact-buttons .btn-hk,
.hk-contact-cta .btn-hk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 2px solid var(--hk-primary, #39d400);
    border-radius: 999px;
    background: var(--hk-primary, #39d400);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hk-contact-buttons .btn-hk:hover,
.hk-contact-cta .btn-hk:hover {
    transform: translateY(-2px);
    background: var(--hk-primary-hover, #2fb800);
    color: #fff;
    box-shadow: 0 10px 24px rgba(57, 212, 0, .2);
}

.btn-hk-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 26px;
    border: 2px solid var(--hk-primary, #39d400);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    color: #218600;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.btn-hk-outline:hover {
    transform: translateY(-2px);
    background: var(--hk-primary, #39d400);
    color: #fff;
}

/* Cabeçalhos reutilizados nas seções */
.hk-contact-section-header {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hk-contact-section-header h2,
.hk-contact-form-info h2,
.hk-store-content h2,
.hk-contact-cta-content h2 {
    margin: 16px 0;
    color: #111;
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.hk-contact-section-header p {
    margin: 0 auto;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Canais de atendimento */
.hk-contact-channels {
    position: relative;
    padding: 90px 0 105px;
    background: #fff;
}

.hk-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 48px;
}

.hk-contact-card {
    min-width: 0;
    min-height: 220px;
    padding: 30px 24px;
    border: 1px solid rgba(57, 212, 0, .18);
    border-radius: 24px;
    background: #fff;
    color: #222;
    text-align: center;
    overflow-wrap: anywhere;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hk-contact-card h3 {
    margin: 14px 0 8px;
    color: #222;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.hk-contact-card p {
    margin: 0 0 8px;
    color: #555;
    font-size: .98rem;
    line-height: 1.6;
}

.hk-contact-card strong {
    display: block;
    color: #222;
    font-size: .95rem;
    line-height: 1.5;
}

.hk-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    color: var(--hk-primary, #39d400);
    font-size: 2rem;
    line-height: 1;
}

.hk-contact-icon i {
    display: inline-block;
    font-size: inherit;
    line-height: 1;
}

.hk-contact-card-link {
    display: block;
    color: #222;
    text-decoration: none;
}

.hk-contact-card-link:visited,
.hk-contact-card-link:hover,
.hk-contact-card-link:focus {
    color: #222;
    text-decoration: none;
}

.hk-contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(57, 212, 0, .48);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .07);
}

.hk-contact-card-whatsapp .hk-contact-icon {
    color: #25d366;
}

/* Nossa loja — mapa ilustrativo e informações */
.hk-contact-store {
    position: relative;
    padding: 86px 0;
    background: #f5f7f4;
    overflow: hidden;
}

.hk-store-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: stretch;
    gap: clamp(28px, 4vw, 58px);
    padding: clamp(20px, 2.5vw, 32px);
    border: 1px solid rgba(57, 212, 0, .13);
    border-radius: 30px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 55px rgba(16, 35, 10, .06);
}



/* Mapa real do Google Maps — HardKing */

.hk-store-map {
    width: 100%;
    min-height: 0;
    height: 360px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(57, 212, 0, 0.2);
    background: #f2f2f2;
}

.hk-store-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

@media (max-width: 576px) {
    .hk-store-map {
        height: 300px;
        border-radius: 12px;
    }

    .hk-store-map iframe {
        min-height: 300px;
    }
}



.hk-store-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px clamp(4px, 1.3vw, 20px) 18px 0;
}

.hk-store-content h2 {
    margin: 17px 0 12px;
    color: #111;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.hk-store-intro {
    margin: 0 0 24px;
    color: #555;
    font-size: 1rem;
    line-height: 1.75;
}

.hk-store-address-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
}

.hk-store-address {
    margin: 0;
    color: #555;
    font-size: .98rem;
    line-height: 1.8;
}

.hk-store-address strong {
    display: inline-block;
    margin-bottom: 3px;
    color: #171717;
    font-weight: 800;
}

.hk-store-detail-icon {
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(57, 212, 0, .11);
    color: #2da800;
}

.hk-store-hours {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    width: 100%;
    margin: 0 0 26px;
}

.hk-store-hour {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hk-store-hour > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hk-store-hour strong {
    color: #171717;
    font-size: .9rem;
    font-weight: 800;
}

.hk-store-hour span:not(.hk-store-detail-icon) {
    color: #555;
    font-size: .9rem;
}

.hk-store-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 52px;
    padding: 14px 24px;
    border: 2px solid #39d400;
    border-radius: 999px;
    background: #39d400;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hk-store-directions:hover,
.hk-store-directions:focus {
    transform: translateY(-2px);
    background: #2fb800;
    color: #fff;
    box-shadow: 0 10px 24px rgba(57, 212, 0, .22);
    text-decoration: none;
}

.hk-store-directions-external {
    margin-left: 3px;
    font-size: .78rem;
    opacity: .85;
}

/* Formulário — o espaçamento pertence à seção, não ao form */
.hk-contact-form-section {
    padding: 100px 0;
    background: #fff;
}

.hk-contact-form-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(35px, 6vw, 90px);
}

.hk-contact-form-info {
    max-width: 460px;
}

.hk-contact-form-info p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

form.hk-contact-form {
    margin: 0;
    padding: 0;
}

.hk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hk-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 8px;
}

.hk-form-group label {
    color: #222;
    font-size: .95rem;
    font-weight: 700;
}

.hk-form-group input,
.hk-form-group select,
.hk-form-group textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid #dedede;
    border-radius: 13px;
    outline: none;
    background: #fff;
    color: #222;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.hk-form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.hk-form-group input:focus,
.hk-form-group select:focus,
.hk-form-group textarea:focus {
    border-color: var(--hk-primary, #39d400);
    box-shadow: 0 0 0 3px rgba(57, 212, 0, .12);
}

.hk-form-full {
    grid-column: 1 / -1;
}

.hk-contact-form button.btn-hk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--hk-primary, #39d400);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.hk-contact-form button.btn-hk:hover {
    transform: translateY(-2px);
    background: var(--hk-primary-hover, #2fb800);
}

/* CTA final */
.hk-contact-cta {
    position: relative;
    padding: 85px 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 50%, rgba(57, 212, 0, .13), transparent 42%),
        #050505;
    text-align: center;
}

.hk-contact-cta-content {
    max-width: 820px;
    margin: 0 auto;
}

.hk-contact-cta-content h2 {
    color: #fff;
}

.hk-contact-cta-content p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hk-contact-cta .section-badge {
    background: rgba(57, 212, 0, .12);
    color: var(--hk-primary, #39d400);
}

/* Responsividade */
@media (max-width: 1100px) {
    .hk-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hk-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .hk-contact-form-info {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .hk-contact-hero {
        min-height: 500px;
        padding: 80px 0 70px;
        background-position: 62% center;
        background-image:
            linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 65%, rgba(255,255,255,.60) 100%),
            url('/mvp/site/assets/img/pages/contato/contact-bg.jpg');
    }

    .hk-contact-hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 3.2rem);
    }

    .hk-contact-hero-content p {
        font-size: 1rem;
    }

    .hk-contact-channels,
    .hk-contact-store,
    .hk-contact-form-section {
        padding: 65px 0;
    }

    .hk-contact-grid {
        gap: 16px;
        margin-top: 32px;
    }

    .hk-contact-card {
        min-height: 205px;
        padding: 25px 18px;
    }

    .hk-store-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 18px;
    }

    .hk-store-map {
        min-height: 330px;
    }

    .hk-store-content {
        padding: 8px 8px 12px;
    }

    .hk-contact-cta {
        padding: 65px 0;
    }
}

@media (max-width: 520px) {
    .hk-store-map {
        min-height: 270px;
    }

    .hk-map-pin-dot {
        width: 52px;
        height: 52px;
    }

    .hk-store-directions {
        width: 100%;
    }


    .hk-contact-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .hk-contact-buttons a {
        width: 100%;
    }

    .hk-contact-grid {
        grid-template-columns: 1fr;
    }

    .hk-contact-card {
        min-height: 0;
    }

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

    .hk-form-full {
        grid-column: auto;
    }

    .hk-store-hours {
        flex-direction: column;
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hk-contact-card,
    .hk-contact-buttons a,
    .hk-contact-form button {
        transition: none;
    }
}
