﻿/* Trang LiÃªn há»‡ (Frontend/Contact.aspx). Tiá»n tá»‘ ct-. MÃ u/Ä‘á»• bÃ³ng dÃ¹ng biáº¿n trong tokens.css. Ã” nháº­p dÃ¹ng chung .cf-input/.cf-label cá»§a pages.css. */
.ct-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--c-accent);
    color: var(--c-white);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ct-pill-soft {
    background: color-mix(in srgb, var(--c-accent) 16%, var(--c-white));
    color: var(--c-accent-dark);
}

.ct-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--c-primary-mist);
    color: var(--c-primary-soft);
    font-size: 1.3rem;
}

.ct-ico-accent {
    background: color-mix(in srgb, var(--c-accent) 16%, var(--c-white));
    color: var(--c-accent-dark);
}

.ct-ico-light {
    background: color-mix(in srgb, var(--c-white) 16%, transparent);
    color: var(--c-white);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.1rem;
}

/* ---- hero */
.ct-hero {
    padding: 64px 0 120px;
    color: var(--c-primary-dark);
    background: var(--c-primary-mist) url(/Uploads/images/adg/banner-page.jpg) center / cover no-repeat;
}

.ct-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: .8125rem;
    /* color: color-mix(in srgb, var(--c-white) 80%, transparent); */
}

.ct-crumb a {
    color: inherit;
}

.ct-crumb a:hover {
    color: var(--c-white);
}

.ct-hero h1 {
    max-width: 760px;
    margin: 14px 0 12px;
    font-family: var(--font-base);
    font-size: clamp(1.9rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.18;
    text-transform: uppercase;
}

.ct-lead {
    max-width: 640px;
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    /* color: color-mix(in srgb, var(--c-white) 90%, transparent); */
    font-weight: 500;
}

/* ---- tháº» liÃªn há»‡ nhanh */
.ct-quick-wrap {
    position: relative;
    z-index: 2;
    margin-top: -64px;
}

.ct-quick {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.ct-q {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 22px;
    background: var(--c-white);
    box-shadow: var(--shadow);
    border: 1px solid var(--c-line);
}

.ct-q small {
    display: block;
    margin-bottom: 2px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.ct-q a, .ct-q strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--c-primary);
    word-break: break-word;
}

.ct-q a:hover {
    color: var(--c-accent-dark);
}

.ct-q strong {
    font-size: 1rem;
}

/* cÃ¡c sá»‘ hotline trÃªn Má»˜T hÃ ng (xuá»‘ng dÃ²ng khi háº¹p), cÃ¡ch nhau báº±ng gáº¡ch Ä‘á»©ng */
.ct-phones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 0;
}

.ct-phones a {
    white-space: nowrap;
}

@media (max-width: 575px) { .ct-phones { flex-direction: column; align-items: flex-start; } .ct-phones a + a::before { display: none; } }
.ct-phones a + a::before {
    content: "|";
    margin: 0 12px;
    font-weight: 400;
    color: var(--c-line);
}

/* ---- form + Ä‘á»‹a Ä‘iá»ƒm */
.ct-main {
    padding: 49px 0 56px;
}

.ct-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 32px;
    align-items: start;
}

.ct-form-card {
    padding: 38px 38px 34px;
    border-radius: 26px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    /* box-shadow: var(--shadow); */
}

.ct-form-card h2 {
    margin: 12px 0 6px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 800;
    color: var(--c-primary);
}

.ct-form-sub {
    margin: 0 0 22px;
    color: var(--c-muted);
    line-height: 1.6;
}

.ct-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
}

.ct-full {
    grid-column: 1 / -1;
}

.ct-submit {
    width: 100%;
    margin-top: 4px;
}

.ct-privacy {
    margin: 12px 0 0;
    text-align: center;
    font-size: .8125rem;
    color: var(--c-muted);
}

.ct-privacy i {
    color: var(--c-accent-dark);
    margin-right: 4px;
}

.ct-side {
    display: grid;
    gap: 24px;
    position: sticky;
    top: 110px;
}

.ct-side-card {
    padding: 34px 32px;
    border-radius: 26px;
    color: var(--c-white);
    background: linear-gradient(150deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
    /* box-shadow: var(--shadow); */
}

.ct-side-card h2 {
    margin: 0 0 20px;
    font-family: var(--font-base);
    font-size: 18px;
    font-weight: 500;
    color: var(--c-white);
    text-transform: uppercase;
}

.ct-places {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 20px;
}

.ct-places li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.ct-places small {
    display: block;
    margin-bottom: 2px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.ct-places strong {
    display: block;
    font-weight: 500;
    line-height: 1.55;
    color: var(--c-white);
}

.ct-places a {
    display: inline-block;
    margin-top: 6px;
    font-size: .875rem;
    font-weight: 700;
    color: color-mix(in srgb, var(--c-white) 85%, transparent);
}

.ct-places a:hover {
    color: var(--c-accent);
}

.ct-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--c-white) 20%, transparent);
}

.ct-socials > span {
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--c-white) 75%, transparent);
}

.ct-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c-white) 14%, transparent);
    color: var(--c-white);
    transition: background var(--t), color var(--t);
}

.ct-socials a:hover {
    background: var(--c-accent);
    color: var(--c-white);
}

.ct-programs {
    padding: 26px 28px;
    border-radius: 22px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    /* box-shadow: var(--shadow-sm); */
}

.ct-programs h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--c-primary);
}

.ct-programs a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--c-line-soft);
    font-weight: 700;
    color: var(--c-primary);
    transition: color var(--t), padding var(--t);
}

.ct-programs a:first-of-type {
    border-top: 0;
}

.ct-programs a:hover {
    color: var(--c-accent-dark);
    padding-left: 6px;
}

/* ---- báº£n Ä‘á»“ */
.ct-map {
    padding: 0 0 72px;
}

.ct-map-frame {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--c-line);
}

.ct-map-frame iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0;
}

.ct-map-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    border-radius: 22px;
    background: var(--c-white);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-sm);
    color: var(--c-primary);
}

.ct-map-link small {
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.ct-map-link strong {
    font-weight: 800;
}

.ct-map-link > i {
    margin-left: auto;
}

/* ---- thÃ´ng bÃ¡o gá»­i form (do ShowMessage sinh) */
.contact-alert {
    margin-bottom: 18px;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-alert.is-ok {
    background: var(--c-success-soft);
    color: var(--c-success);
}

.contact-alert.is-err {
    background: color-mix(in srgb, var(--c-danger) 10%, var(--c-white));
    color: var(--c-danger);
}

@media (max-width: 991px) {
    .ct-hero {
        padding: 44px 0 100px;
    }

    .ct-quick {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .ct-side {
        position: static;
    }
}

@media (max-width: 575px) {
    .ct-form-card {
        padding: 26px 20px 24px;
    }

    .ct-fields {
        grid-template-columns: 1fr;
    }

    .ct-side-card {
        padding: 28px 22px;
    }

    .ct-map-frame iframe {
        height: 320px;
    }
}
