/* ==========================================================================
   Contact Page — review 6.9 redesign.
   Teal hero (world-map motif) + panel-on-stand image + floating contact card
   + trust badges, then HQ/factory cards and the message form + map.
   ========================================================================== */

/* ===== Hero ===== */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: #0a4a4a center / cover no-repeat;
    padding: 56px 0 48px;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.contact-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 74, 74, 0.92) 0%, rgba(0, 120, 118, 0.74) 52%, rgba(0, 84, 82, 0.42) 100%);
    pointer-events: none;
}

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

.contact-hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.contact-hero-logo {
    height: 42px;
    width: auto;
    margin-bottom: 18px;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.05;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}

.contact-hero-accent {
    display: block;
    width: 54px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    margin: 14px 0 16px;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 24px;
    max-width: 440px;
}

/* Floating contact card */
.contact-hero-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0, 168, 168, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 90, 90, 0.12);
    padding: 22px 24px;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-hero-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-hero-ico {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lh-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 168, 168, 0.32);
}

.contact-hero-val {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    font-size: 1rem;
    font-weight: 600;
    min-width: 0;
}

.contact-hero-val a {
    color: var(--lh-gray-dark);
    text-decoration: none;
    word-break: break-word;
}

.contact-hero-val a:hover {
    color: var(--lh-primary);
}

.contact-hero-val small {
    font-weight: 500;
    color: var(--lh-gray);
}

/* (Panel image removed — Contact now uses a full photo-background hero.) */
.contact-hero-panel { display: none; }

/* Trust badges — inline row within the content overlay (white on the photo scrim) */
.contact-trust {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}

.contact-trust li {
    display: flex;
    align-items: center;
    gap: 13px;
}

.contact-trust-ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-trust-txt {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-trust-txt strong {
    font-size: 0.98rem;
    color: #fff;
    font-weight: 700;
}

/* ===== Address / hours cards ===== */
.contact-info-section {
    padding: 44px 0 0;
    position: relative;
    z-index: 2;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-info-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.contact-info-card {
    background: var(--lh-white);
    border-radius: var(--lh-radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--lh-shadow-lg);
    transition: transform var(--lh-transition), box-shadow var(--lh-transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--lh-primary-light);
    color: var(--lh-primary);
    margin-bottom: 16px;
}

.contact-info-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lh-primary);
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 0.9rem;
    color: var(--lh-gray);
    line-height: 1.55;
    margin: 0;
}

.contact-info-text a {
    color: var(--lh-primary-dark);
    font-weight: 500;
}

.contact-info-text a:hover {
    color: var(--lh-primary);
    text-decoration: underline;
}

/* ===== Main Section — form + map ===== */
.contact-main-section {
    padding: 48px 0 64px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
}

.contact-form-card {
    background: var(--lh-white);
    border-radius: var(--lh-radius-lg);
    box-shadow: var(--lh-shadow);
    padding: 40px 36px;
    border: 1px solid var(--lh-gray-medium);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lh-primary);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--lh-gray);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* CF7 form styling */
.contact-form-body .wpcf7 {
    margin: 0;
    padding: 0;
}

.contact-form-body .wpcf7-form p {
    margin-bottom: 20px;
}

.contact-form-body .wpcf7-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lh-gray-dark);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.contact-form-body .wpcf7-form-control:not([type="submit"]) {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--lh-gray-medium);
    border-radius: var(--lh-radius);
    font-size: 0.9375rem;
    font-family: var(--lh-font-body);
    color: var(--lh-gray-dark);
    background: var(--lh-white);
    transition: border-color var(--lh-transition), box-shadow var(--lh-transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form-body .wpcf7-form-control:not([type="submit"]):focus {
    border-color: var(--lh-primary);
    box-shadow: 0 0 0 3px rgba(0, 187, 187, 0.12);
}

.contact-form-body textarea.wpcf7-form-control {
    min-height: 140px;
    resize: vertical;
}

.contact-form-body select.wpcf7-form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23777' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact-form-body .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--lh-primary);
    color: var(--lh-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--lh-font-body);
    border: none;
    border-radius: var(--lh-radius);
    cursor: pointer;
    transition: all var(--lh-transition);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(0, 187, 187, 0.3);
}

.contact-form-body .wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 187, 187, 0.4);
    background: var(--lh-primary-dark);
}

.contact-form-body .wpcf7-not-valid {
    border-color: var(--lh-red) !important;
}

.contact-form-body .wpcf7-not-valid-tip {
    font-size: 0.8125rem;
    color: var(--lh-red);
    margin-top: 4px;
}

.contact-form-body .wpcf7-response-output {
    border-radius: var(--lh-radius) !important;
    padding: 14px 20px !important;
    font-size: 0.9rem;
    margin: 20px 0 0 !important;
    border-width: 1.5px !important;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-map-card,
.contact-quick-links-card {
    background: var(--lh-white);
    border-radius: var(--lh-radius-lg);
    box-shadow: var(--lh-shadow);
    padding: 28px;
    border: 1px solid var(--lh-gray-medium);
}

.contact-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--lh-primary);
    margin-bottom: 16px;
}

.contact-map-embed {
    border-radius: var(--lh-radius);
    overflow: hidden;
}

.contact-map-embed iframe {
    display: block;
    border-radius: var(--lh-radius);
}

.contact-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-quick-links li {
    border-bottom: 1px solid var(--lh-gray-light);
}

.contact-quick-links li:last-child {
    border-bottom: none;
}

.contact-quick-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 4px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--lh-gray-dark);
    transition: all var(--lh-transition);
}

.contact-quick-links li a:hover {
    color: var(--lh-primary);
    padding-left: 8px;
}

.contact-quick-links li a svg {
    color: var(--lh-primary);
    flex-shrink: 0;
    transition: transform var(--lh-transition);
}

.contact-quick-links li a:hover svg {
    transform: translateX(3px);
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .contact-hero {
        min-height: 0;
        padding: 36px 0 34px;
    }

    .contact-hero-panel {
        position: static;
        display: block;
        height: auto;
        max-width: 320px;
        margin: 0 auto 22px;
    }

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

    .contact-hero-title {
        font-size: 2.3rem;
    }

    .contact-trust {
        gap: 14px 24px;
    }

    .contact-info-grid,
    .contact-info-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 575px) {
    .contact-hero {
        padding: 36px 0 32px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 0.98rem;
    }

    .contact-hero-card {
        padding: 18px 18px;
    }

    .contact-info-grid,
    .contact-info-grid--3 {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   Email copy-to-clipboard (Contact hero card)
   mailto: links only work when the visitor's device has a default mail app
   registered — commonly not the case on desktop, where the click silently
   does nothing. The mailto is kept intact for those who do have one, and a
   copy button is offered alongside so every visitor gets a usable outcome.
   ========================================================================== */

/* Full-width rows so the copy buttons line up in a column regardless of
   how long each address is. */
.contact-hero-val { width: 100%; }

.lh-copy-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 1px 0;
}

/* Address takes the free space, pushing the button to a consistent right edge */
.lh-copy-row > a {
    flex: 1 1 auto;
    min-width: 0;
}

.lh-copy-btn {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid rgba(0, 187, 187, 0.22);
    border-radius: 8px;
    background: rgba(0, 187, 187, 0.08);
    color: var(--lh-primary);
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease,
                border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.lh-copy-btn:hover,
.lh-copy-btn:focus-visible {
    background: var(--lh-primary);
    border-color: var(--lh-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 187, 187, 0.28);
    outline: none;
}

.lh-copy-btn:focus-visible { box-shadow: 0 0 0 3px rgba(0, 187, 187, 0.25); }
.lh-copy-btn:active { transform: translateY(0); }

/* Icon swap: copy -> tick */
.lh-copy-btn .lh-copy-done { display: none; }
.lh-copy-btn.is-copied {
    background: var(--lh-primary);
    border-color: var(--lh-primary);
    color: #fff;
    transform: none;
    box-shadow: none;
}
.lh-copy-btn.is-copied .lh-copy-ico { display: none; }
.lh-copy-btn.is-copied .lh-copy-done { display: block; }

/* "Copied!" confirmation — floats above the button as a tooltip so it never
   nudges the address text or the button out of alignment. */
.lh-copy-flash {
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    z-index: 2;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fff;
    background: var(--lh-primary);
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 90, 90, 0.22);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.lh-copy-row.is-copied .lh-copy-flash { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .lh-copy-btn, .lh-copy-flash { transition: none; }
    .lh-copy-btn:hover { transform: none; }
}
