/* Extracted from an inline <style> in: application/views/static/contact-us.php
   Edit here; every view listed links this file. */
    :root {
        --contact-primary: #e35000;
        --contact-primary-dark: #bf4300;
        --contact-accent: #06c755;
        --contact-ink: #172033;
        --contact-muted: #667085;
        --contact-border: #e6e9ef;
        --contact-soft: #f7f8fb;
        --contact-card: #ffffff;
    }

    body {
        background: var(--contact-soft);
    }

    .contact-page {
        padding-bottom: 48px;
    }

    .contact-page .heading_primary {
        margin: 10px 0 22px;
        color: var(--contact-ink);
        font-weight: 800;
        line-height: 1.2;
    }

    .contact-page .heading_primary + hr {
        display: none;
    }

    .contact-layout {
        margin: 0;
    }

    .contact-layout .site-main {
        width: 100%;
        float: none;
        padding: 0 15px;
    }

    .contact-hero {
        overflow: hidden;
        border-radius: 8px;
        background: var(--contact-card);
        border: 1px solid var(--contact-border);
        box-shadow: 0 10px 28px rgba(23, 32, 51, 0.08);
    }

    .contact-hero img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        pointer-events: none;
    }

    .pages_content {
        background: transparent;
        padding: 30px 0 0;
    }

    .section-title,
    .pages_content h4 {
        margin: 0 0 18px;
        color: var(--contact-ink);
        font-size: 26px;
        font-weight: 800;
        line-height: 1.25;
        border: 0;
        padding: 0;
    }

    .section-title:after,
    .pages_content h4:after {
        content: "";
        display: block;
        width: 64px;
        height: 4px;
        margin-top: 12px;
        border-radius: 999px;
        background: var(--contact-primary);
    }

    .contact_infor {
        background: var(--contact-card);
        border: 1px solid var(--contact-border);
        border-radius: 8px;
        box-shadow: 0 10px 28px rgba(23, 32, 51, 0.07);
        overflow: hidden;
    }

    .contact_infor ul {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .contact_infor li {
        min-width: 0;
        padding: 24px;
        border-right: 1px solid var(--contact-border);
        border-bottom: 1px solid var(--contact-border);
    }

    .contact_infor li:nth-child(3n),
    .contact_infor li:last-child {
        border-right: 0;
    }

    .contact_infor .contact-map-item {
        grid-column: 1 / -1;
        padding: 24px;
        border-right: 0;
        border-bottom: 0;
    }

    .contact_infor .contact-hours-item {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .contact_infor .contact-map-item label {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .contact_info_inner {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        align-items: start;
        text-align: left;
    }

    .contact_infor label {
        display: contents;
        margin: 0;
        color: var(--contact-ink);
        font-weight: 800;
        line-height: 1.35;
    }

    .contact_infor label .material-symbols-outlined {
        display: inline-flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        color: var(--contact-primary);
        background: rgba(227, 80, 0, 0.1);
        font-size: 24px;
        grid-row: span 2;
    }

    .contact_infor .des {
        grid-column: 2;
        color: var(--contact-muted);
        font-size: 15px;
        line-height: 1.7;
        word-break: break-word;
    }

    .contact_infor a {
        color: var(--contact-primary-dark);
        font-weight: 700;
        text-decoration: none;
    }

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

    .contact-map-wrap {
        margin-top: 16px;
        overflow: hidden;
        border-radius: 8px;
        border: 1px solid var(--contact-border);
        background: #eef1f5;
    }

    .contact-map-wrap iframe {
        display: block;
        width: 100%;
        height: 420px;
        border: 0;
    }

    .sales-section {
        width: 100%;
        margin-top: 42px;
    }

    .team-header {
        display: flex;
        align-items: center;
        gap: 16px;
        margin: 28px 0 18px;
    }

    .team-header hr {
        flex: 1;
        margin: 0;
        border: 0;
        border-top: 1px solid var(--contact-border);
    }

    .team-title {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 8px 16px;
        border-radius: 8px;
        background: var(--contact-ink);
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        line-height: 1;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .team-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        padding: 0 0 10px;
    }

    .profile-card {
        position: relative;
        display: flex;
        flex-direction: column;
        min-width: 0;
        height: 100%;
        padding: 18px;
        border: 1px solid var(--contact-border);
        border-radius: 8px;
        background: var(--contact-card);
        box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .profile-card:hover {
        transform: translateY(-3px);
        border-color: rgba(227, 80, 0, 0.35);
        box-shadow: 0 14px 30px rgba(23, 32, 51, 0.1);
    }

    .badge-sup {
        position: absolute;
        top: 14px;
        right: 14px;
        z-index: 2;
        padding: 6px 10px;
        border-radius: 8px;
        background: var(--contact-primary);
        color: #fff;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
    }

    .profile-img {
        width: 100%;
        max-width: 170px;
        aspect-ratio: 1 / 1;
        height: auto;
        margin: 0 auto 16px;
        border-radius: 8px;
        object-fit: cover;
        background: #edf0f4;
    }

    .profile-name {
        min-height: 58px;
    }

    .nickname {
        display: block;
        color: var(--contact-ink);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .contact-section {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: auto;
        padding-top: 16px;
    }

    .contact-btn {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 12px;
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
        text-decoration: none;
        transition: transform 0.2s ease, filter 0.2s ease;
    }

    .contact-btn:hover,
    .contact-btn:focus {
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
        filter: brightness(0.96);
    }

    .line-btn {
        background: var(--contact-accent);
    }

    .tel-btn {
        background: var(--contact-primary);
    }

    @media (max-width: 1199px) {
        .team-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 991px) {
        .contact_infor ul {
            grid-template-columns: 1fr;
        }

        .contact_infor li,
        .contact_infor li:nth-child(3n) {
            border-right: 0;
        }

        .team-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .contact-page {
            padding-bottom: 28px;
        }

        .contact-layout .site-main {
            padding: 0;
        }

        .section-title,
        .pages_content h4 {
            font-size: 22px;
        }

        .contact_infor li,
        .contact_infor .contact-map-item {
            padding: 18px;
        }

        .contact-map-wrap iframe {
            height: 320px;
        }

        .team-grid {
            grid-template-columns: 1fr;
        }

        .team-header {
            gap: 10px;
        }

        .team-title {
            font-size: 13px;
            padding: 8px 12px;
        }

        .profile-card {
            display: grid;
            grid-template-columns: 96px minmax(0, 1fr);
            gap: 14px;
            text-align: left;
            align-items: center;
        }

        .profile-img {
            max-width: 96px;
            margin: 0;
            grid-row: span 2;
        }

        .profile-name {
            min-height: 0;
        }

        .contact-section {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            padding-top: 0;
        }

        .contact-btn {
            min-height: 40px;
            font-size: 13px;
        }

        .contact-btn span {
            display: none;
        }
    }

    @media print {
        .contact-btn {
            display: none;
        }

        .profile-card,
        .contact_infor,
        .contact-hero {
            box-shadow: none;
        }
    }

    #recapt_call.disabled,
    #recapt_call[disabled],
    fieldset[disabled] #recapt_call {
        cursor: not-allowed;
        filter: alpha(opacity=65);
        -webkit-box-shadow: none;
        box-shadow: none;
    }
