
/* =========================================================
   COZRUM CONTACT PAGE
   Optimized for browser zoom 100%
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --about-primary: #004d63;
    --about-primary-dark: #003c4e;
    --about-orange: #c45310;
    --about-orange-light: #fff0e7;
    --about-blue-light: #edf4ff;
    --about-bg: #f5f7fc;
    --about-text: #183f4f;
    --about-muted: #74858e;
    --about-border: #e0e7ed;
    --about-shadow: 0 8px 25px rgba(25, 63, 80, .08);
}

.about-page {
    min-height: 100vh;
    background: var(--about-bg);
    color: var(--about-text);
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.about-page img {
    max-width: 100%;
}

.about-page button,
.about-page input,
.about-page select,
.about-page textarea {
    font: inherit;
}

.about-page button {
    cursor: pointer;
}

.about-page .container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.about-page .about-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
    color: #87949b;
    font-size: 12px;
}

.about-page .about-breadcrumb b {
    color: #bdc6cb;
}

.about-page .about-breadcrumb strong {
    color: #536b76;
    font-weight: 600;
}

/* =========================================================
   HERO
========================================================= */

.about-page .about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
    align-items: center;
    gap: 48px;
    padding: 24px 0 56px;
}

.about-page .about-hero-content {
    min-width: 0;
}

.about-page .about-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 24px;
    background: var(--about-orange-light);
    color: var(--about-orange);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
}

.about-page .about-hero h1 {
    margin: 20px 0 14px;
    color: var(--about-primary);
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.25;
    letter-spacing: -.8px;
}

.about-page .about-hero p {
    max-width: 610px;
    margin: 0;
    color: #71828b;
    font-size: 15px;
    line-height: 1.85;
}

.about-page .about-stat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.about-page .about-stat {
    flex: 1 1 105px;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid rgba(224, 231, 237, .7);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 60, 80, .04);
}

.about-page .about-stat strong {
    display: block;
    color: var(--about-primary);
    font-size: 23px;
    line-height: 1.3;
}

.about-page .about-stat:nth-child(2) strong {
    color: var(--about-orange);
}

.about-page .about-stat span {
    display: block;
    margin-top: 5px;
    color: #89969d;
    font-size: 11px;
    line-height: 1.6;
}

.about-page .about-hero-image {
    height: 340px;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--about-shadow);
}

.about-page .about-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   PHILOSOPHY
========================================================= */

.about-page .about-philosophy {
    padding: 64px 0 68px;
    background: #edf4ff;
}

.about-page .philosophy-heading {
    max-width: 790px;
    margin-bottom: 36px;
}

.about-page .philosophy-heading h2 {
    margin: 14px 0;
    color: var(--about-primary);
    font-size: 28px;
    line-height: 1.4;
    letter-spacing: -.4px;
}

.about-page .philosophy-heading p {
    margin: 0;
    color: #73858e;
    font-size: 14px;
    line-height: 1.85;
}

.about-page .philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-page .philosophy-card {
    min-width: 0;
    min-height: 250px;
    padding: 26px;
    border: 1px solid rgba(224, 231, 237, .65);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(30, 70, 90, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.about-page .philosophy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 70, 90, .08);
}

.about-page .philosophy-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #ffe3d6;
    color: var(--about-orange);
    font-size: 20px;
}

.about-page .philosophy-icon.orange {
    background: #ffe8d8;
}

.about-page .philosophy-icon.blue {
    background: #dcefff;
    color: #1680a0;
}

.about-page .philosophy-card h3 {
    margin: 0 0 12px;
    color: var(--about-primary);
    font-size: 17px;
    line-height: 1.5;
}

.about-page .philosophy-card p {
    margin: 0 0 18px;
    color: #7a8b93;
    font-size: 14px;
    line-height: 1.85;
}

.about-page .philosophy-card a {
    color: var(--about-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.about-page .philosophy-card a:hover {
    color: var(--about-orange);
}

/* =========================================================
   CONTACT CARDS
========================================================= */

.about-page .contact-section {
    padding: 64px 0;
}

.about-page .contact-heading {
    margin-bottom: 38px;
    text-align: center;
}

.about-page .contact-heading h2 {
    margin: 0 0 10px;
    color: var(--about-primary);
    font-size: 29px;
    line-height: 1.4;
}

.about-page .contact-heading p {
    max-width: 700px;
    margin: 0 auto;
    color: #89969d;
    font-size: 14px;
    line-height: 1.8;
}

.about-page .contact-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
}

.about-page .contact-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    min-height: 300px;
    padding: 27px;
    border: 1px solid rgba(224, 231, 237, .8);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(25, 60, 80, .035);
}

.about-page .contact-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--about-primary);
    font-size: 19px;
}

.about-page .contact-label {
    display: block;
    color: #87959b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
    line-height: 1.6;
}

.about-page .contact-card h3 {
    margin: 9px 0 18px;
    color: var(--about-primary);
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.about-page .contact-info {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 12px;
}

.about-page .contact-info p {
    margin: 0;
    color: #74868e;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.about-page .contact-info b {
    color: var(--about-primary);
    overflow-wrap: anywhere;
}

.about-page .contact-card > a {
    display: inline-block;
    margin-top: auto;
    padding-top: 22px;
    color: var(--about-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: none;
}

.about-page .contact-card > a:hover {
    color: var(--about-orange);
}

/* Support card */

.about-page .support-card {
    background: var(--about-primary);
    color: #fff;
    border-color: transparent;
}

.about-page .support-card .contact-icon.dark {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.about-page .support-top {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.about-page .support-top .contact-icon {
    margin-bottom: 0;
}

.about-page .support-top > span {
    padding: 7px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.about-page .support-card > small {
    color: #a9c1c8;
    font-size: 11px;
    line-height: 1.7;
}

.about-page .support-card h3 {
    margin: 9px 0 6px;
    color: #fff;
    font-size: 18px;
}

.about-page .hotline-number {
    margin: 10px 0 5px;
    color: #fff;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .2px;
}

.about-page .support-card > p {
    margin: 0;
    color: #c3d3d8;
    font-size: 12px;
    line-height: 1.7;
}

.about-page .support-social {
    margin-top: 17px;
    color: #d0e0e4;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.about-page .call-button {
    width: 100%;
    margin-top: auto;
    padding: 12px 14px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--about-primary);
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease;
}

.about-page .call-button:hover {
    background: #edf4ff;
}

/* =========================================================
   OFFICE + MAP
========================================================= */

.about-page .office-section {
    padding: 40px 0 80px;
}

.about-page .office-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: 36px;
}

.about-page .office-left {
    min-width: 0;
}

.about-page .office-left h2 {
    margin: 14px 0 12px;
    color: var(--about-primary);
    font-size: 27px;
    line-height: 1.4;
    letter-spacing: -.4px;
}

.about-page .office-desc {
    margin: 0 0 20px;
    color: #7c8c94;
    font-size: 14px;
    line-height: 1.85;
}

.about-page .contact-map {
    height: 320px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(25, 63, 80, .07);
}

.about-page .fake-map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #bdd7e6;
}

.about-page .fake-map::before {
    position: absolute;
    inset: -20%;
    background:
        linear-gradient(
            30deg,
            transparent 46%,
            rgba(255, 255, 255, .9) 47%,
            rgba(255, 255, 255, .9) 49%,
            transparent 50%
        ),
        linear-gradient(
            125deg,
            transparent 45%,
            rgba(255, 255, 255, .8) 46%,
            rgba(255, 255, 255, .8) 49%,
            transparent 50%
        );
    background-size: 110px 90px, 150px 120px;
    content: "";
}

.about-page .map-road {
    position: absolute;
    height: 6px;
    background: rgba(255, 255, 255, .95);
}

.about-page .map-road-1 {
    top: 37%;
    left: -10%;
    width: 120%;
    transform: rotate(-18deg);
}

.about-page .map-road-2 {
    top: 64%;
    left: 10%;
    width: 90%;
    transform: rotate(13deg);
}

.about-page .map-road-3 {
    top: 20%;
    left: 20%;
    width: 80%;
    transform: rotate(65deg);
}

/* Sửa đúng class map-place trong HTML */

.about-page .map-place {
    position: absolute;
    color: rgba(54, 92, 107, .85);
    font-size: 12px;
    font-weight: 700;
}

.about-page .place-1 {
    top: 26%;
    left: 23%;
}

.about-page .place-2 {
    top: 44%;
    right: 14%;
}

.about-page .place-3 {
    bottom: 13%;
    left: 46%;
}

.about-page .office-pin {
    position: absolute;
    top: 50%;
    left: 43%;
    max-width: calc(100% - 24px);
    padding: 12px 16px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.about-page .office-pin strong {
    display: block;
    color: var(--about-orange);
    font-size: 24px;
    line-height: 1.2;
}

.about-page .office-pin span {
    display: block;
    margin-top: 6px;
    color: var(--about-primary);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
}

.about-page .office-pin small {
    display: block;
    margin-top: 4px;
    color: #89979d;
    font-size: 10px;
    line-height: 1.5;
}

.about-page .office-note {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #edf4ff;
}

.about-page .office-note strong {
    color: var(--about-orange);
    font-size: 13px;
    line-height: 1.6;
}

.about-page .office-note span {
    color: #738690;
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   CONTACT FORM
========================================================= */

.about-page .contact-form-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid rgba(224, 231, 237, .8);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--about-shadow);
}

.about-page .form-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}

.about-page .form-header h2 {
    margin: 0 0 8px;
    color: var(--about-primary);
    font-size: 22px;
    line-height: 1.45;
}

.about-page .form-header p {
    margin: 0;
    color: #89969d;
    font-size: 13px;
    line-height: 1.8;
}

.about-page .form-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--about-orange);
}

.about-page .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.about-page .form-group {
    min-width: 0;
    margin-bottom: 18px;
}

.about-page .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #536b76;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
}

.about-page .form-group input,
.about-page .form-group select,
.about-page .form-group textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #e0e7ec;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #385764;
    font-size: 14px;
    line-height: 1.6;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.about-page .form-group input,
.about-page .form-group select {
    min-height: 48px;
}

.about-page .form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.about-page .form-group input::placeholder,
.about-page .form-group textarea::placeholder {
    color: #a0adb3;
    opacity: 1;
}

.about-page .form-group input:focus,
.about-page .form-group select:focus,
.about-page .form-group textarea:focus {
    border-color: #70a8b0;
    box-shadow: 0 0 0 3px rgba(0, 120, 130, .08);
}

.about-page .submit-contact {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    border: 0;
    border-radius: 26px;
    background: var(--about-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.about-page .submit-contact:hover {
    transform: translateY(-1px);
    background: var(--about-primary-dark);
}

.about-page .form-security {
    margin-top: 12px;
    color: #8b989e;
    font-size: 11px;
    line-height: 1.8;
}

/* =========================================================
   SUCCESS MODAL
========================================================= */

.about-page .contact-success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .45);
}

.about-page .contact-success-modal.open {
    display: flex;
}

.about-page .success-box {
    position: relative;
    width: min(100%, 430px);
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, .15);
}

.about-page .success-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f3f5f7;
    color: #73828a;
    font-size: 22px;
}

.about-page .success-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e7f8f3;
    color: #008a7e;
    font-size: 28px;
    font-weight: 800;
}

.about-page .success-box h3 {
    margin: 0 0 12px;
    color: var(--about-primary);
    font-size: 21px;
    line-height: 1.5;
}

.about-page .success-box p {
    margin: 0 0 22px;
    color: #7b8b92;
    font-size: 14px;
    line-height: 1.8;
}

.about-page .success-button {
    padding: 12px 30px;
    border: 0;
    border-radius: 24px;
    background: var(--about-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    .about-page .about-hero {
        gap: 28px;
    }

    .about-page .about-hero h1 {
        font-size: 30px;
    }

    .about-page .about-hero-image {
        height: 290px;
    }

    .about-page .philosophy-grid,
    .about-page .contact-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page .office-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .about-page .container {
        width: calc(100% - 32px);
    }

    .about-page .about-breadcrumb {
        gap: 7px;
        padding: 16px 0;
        font-size: 11px;
    }

    .about-page .about-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 12px 0 38px;
    }

    .about-page .about-hero-image {
        height: 230px;
        order: -1;
        border-radius: 14px;
    }

    .about-page .about-label {
        font-size: 10px;
    }

    .about-page .about-hero h1 {
        margin: 16px 0 12px;
        font-size: 29px;
    }

    .about-page .about-hero p {
        font-size: 14px;
        line-height: 1.8;
    }

    .about-page .about-stat-list {
        gap: 8px;
        margin-top: 22px;
    }

    .about-page .about-stat {
        flex: 1 1 calc(33.333% - 8px);
        padding: 12px 10px;
        border-radius: 12px;
    }

    .about-page .about-stat strong {
        font-size: 19px;
    }

    .about-page .about-stat span {
        font-size: 10px;
    }

    .about-page .about-philosophy,
    .about-page .contact-section {
        padding: 40px 0;
    }

    .about-page .philosophy-heading {
        margin-bottom: 26px;
    }

    .about-page .philosophy-heading h2,
    .about-page .contact-heading h2 {
        font-size: 24px;
    }

    .about-page .philosophy-heading p,
    .about-page .contact-heading p {
        font-size: 13px;
    }

    .about-page .philosophy-grid,
    .about-page .contact-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-page .philosophy-card {
        min-height: 0;
        padding: 22px;
    }

    .about-page .philosophy-card h3 {
        font-size: 17px;
    }

    .about-page .philosophy-card p {
        font-size: 13px;
    }

    .about-page .contact-heading {
        margin-bottom: 26px;
    }

    .about-page .contact-card {
        min-height: 0;
        padding: 23px;
    }

    .about-page .contact-card h3 {
        font-size: 18px;
    }

    .about-page .contact-info p {
        font-size: 13px;
    }

    .about-page .contact-card > a {
        margin-top: 20px;
    }

    .about-page .support-card .call-button {
        margin-top: 22px;
    }

    .about-page .office-section {
        padding: 26px 0 48px;
    }

    .about-page .office-left h2 {
        font-size: 24px;
    }

    .about-page .office-desc {
        font-size: 13px;
    }

    .about-page .contact-map {
        height: 240px;
    }

    .about-page .office-pin {
        left: 50%;
        padding: 10px 12px;
    }

    .about-page .office-pin span {
        font-size: 10px;
    }

    .about-page .office-pin small {
        font-size: 9px;
    }

    .about-page .office-note {
        padding: 14px;
    }

    .about-page .office-note strong,
    .about-page .office-note span {
        font-size: 12px;
    }

    .about-page .contact-form-card {
        padding: 22px 18px;
        border-radius: 15px;
    }

    .about-page .form-header {
        margin-bottom: 22px;
    }

    .about-page .form-header h2 {
        font-size: 20px;
    }

    .about-page .form-header p {
        font-size: 12px;
    }

    .about-page .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-page .form-group {
        margin-bottom: 16px;
    }

    .about-page .form-group input,
    .about-page .form-group select,
    .about-page .form-group textarea {
        font-size: 14px;
    }

    .about-page .success-box {
        padding: 30px 22px;
    }
}

/* Hạn chế hiệu ứng chuyển động nếu người dùng yêu cầu */

@media (prefers-reduced-motion: reduce) {
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
