:root {
    --about-text: #f3f8fc;
    --about-muted: rgba(216, 231, 243, .76);
    --about-line: rgba(150, 207, 247, .24);
    --about-accent: #86ceff;
    --about-panel: rgba(3, 13, 23, .78);
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body.amoy-about-page {
    min-height: 100vh;
    margin: 0;
    padding: clamp(18px, 3vw, 42px);
    color: var(--about-text);
    font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a { font: inherit; }

.about-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 72px;
    padding: 0 clamp(20px, 3.2vw, 42px);
    border-bottom: 1px solid var(--about-line);
    background: rgba(3, 13, 23, .52);
}

.about-brand {
    color: rgba(238, 248, 255, .88);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.about-home-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(142, 207, 250, .4);
    border-radius: 999px;
    color: rgba(234, 246, 255, .92);
    background: rgba(19, 44, 65, .58);
    text-decoration: none;
}

.about-home-link:hover,
.about-home-link:focus-visible {
    border-color: rgba(196, 234, 255, .9);
    background: rgba(28, 65, 94, .78);
    outline: none;
}

.about-tabs {
    display: flex;
    gap: 8px;
    padding: 14px clamp(20px, 3.2vw, 42px);
    border-bottom: 1px solid var(--about-line);
    background: rgba(2, 10, 18, .46);
}

.about-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font: inherit;
    appearance: none;
    min-height: 40px;
    padding: 0 19px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(204, 222, 235, .7);
    background: transparent;
    cursor: pointer;
}

.about-tab:hover,
.about-tab:focus-visible {
    color: #f5fbff;
    border-color: rgba(135, 199, 241, .32);
    outline: none;
}

.about-tab.is-active {
    color: #ffffff;
    border-color: rgba(159, 219, 255, .62);
    background: rgba(53, 132, 186, .18);
    box-shadow: inset 0 0 18px rgba(94, 182, 240, .08), 0 0 20px rgba(47, 141, 207, .1);
}

.about-panel { animation: none; }

.about-panel[hidden] { display: none !important; }

.about-hero {
    padding: clamp(48px, 7vw, 88px) clamp(24px, 7vw, 92px) clamp(38px, 5vw, 64px);
    border-bottom: 1px solid var(--about-line);
    background: radial-gradient(ellipse at 50% 0%, rgba(54, 139, 203, .13), transparent 64%);
}

.about-kicker {
    margin: 0 0 18px;
    color: var(--about-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.about-hero h1,
.contact-placeholder h1 {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(42px, 6.5vw, 82px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -.035em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .65), 0 0 28px rgba(80, 171, 235, .22);
}

.about-lead {
    max-width: 820px;
    margin: 24px 0 0;
    color: rgba(233, 243, 250, .92);
    font-size: clamp(20px, 2.3vw, 30px);
    font-weight: 300;
    line-height: 1.4;
}

.about-intro {
    max-width: 850px;
    margin-top: 34px;
}

.about-intro p,
.about-vision p,
.contact-placeholder > p:not(.about-kicker) {
    margin: 0;
    color: var(--about-muted);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.8;
}

.about-intro p + p { margin-top: 16px; }

.about-intro strong,
.about-vision strong { color: #f5fbff; font-weight: 600; }

.about-goal {
    position: relative;
    max-width: 850px;
    margin: 38px 0 0;
    padding: 25px 28px 25px 30px;
    border: 1px solid rgba(137, 205, 247, .25);
    border-left-color: rgba(134, 206, 255, .9);
    border-radius: 0 18px 18px 0;
    color: rgba(220, 235, 246, .82);
    background: rgba(28, 74, 106, .13);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.65;
}

.about-goal span {
    display: block;
    margin-bottom: 7px;
    color: rgba(173, 211, 238, .72);
}

.about-goal strong {
    color: #f7fbff;
    font-weight: 600;
}

.about-section {
    padding: clamp(42px, 6vw, 72px) clamp(24px, 5vw, 64px);
}

.about-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.about-section-heading h2,
.about-vision h2 {
    margin: 0;
    color: #f4faff;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 350;
    letter-spacing: -.02em;
}

.about-section-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, rgba(125, 197, 242, .38), transparent);
}

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

.about-service {
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(143, 205, 244, .17);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 54%),
        rgba(10, 29, 45, .58);
}

.about-service:hover {
    border-color: rgba(149, 214, 255, .42);
    background: rgba(15, 42, 63, .7);
}

.about-service__index {
    display: block;
    margin-bottom: 28px;
    color: rgba(126, 200, 248, .68);
    font-size: 10px;
    letter-spacing: .24em;
}

.about-service h3 {
    margin: 0 0 11px;
    color: #f3f9fd;
    font-size: 17px;
    font-weight: 600;
}

.about-service p {
    margin: 0;
    color: rgba(205, 222, 235, .7);
    font-size: 14px;
    line-height: 1.65;
}

.about-vision {
    display: grid;
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr);
    gap: clamp(28px, 6vw, 84px);
    padding: clamp(42px, 6vw, 72px) clamp(24px, 7vw, 92px);
    border-top: 1px solid var(--about-line);
    border-bottom: 1px solid var(--about-line);
    background: rgba(15, 45, 68, .18);
}

.about-vision__copy p + p { margin-top: 16px; }

.about-signature {
    padding: clamp(40px, 5vw, 62px) 24px;
    text-align: center;
}

.about-signature__brand {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 300;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.about-signature__tagline {
    margin: 15px 0 0;
    color: rgba(179, 217, 242, .82);
    font-size: clamp(10px, 1vw, 13px);
    letter-spacing: .22em;
    text-transform: uppercase;
}

.contact-panel {
    min-height: min(72vh, 680px);
    display: grid;
    place-items: center;
    padding: clamp(42px, 8vw, 100px) 24px;
    background: radial-gradient(ellipse at 50% 50%, rgba(44, 130, 193, .13), transparent 60%);
}

.contact-placeholder {
    width: min(720px, 100%);
    min-width: 0;
    padding: clamp(36px, 6vw, 68px);
    border: 1px solid rgba(146, 210, 250, .24);
    border-radius: 24px;
    background: rgba(7, 23, 37, .68);
    text-align: center;
}

.contact-placeholder h1 { font-size: clamp(38px, 6vw, 68px); }

.contact-placeholder > p:not(.about-kicker) {
    max-width: 520px;
    margin: 24px auto 0;
}

.contact-placeholder__line {
    width: min(180px, 45vw);
    height: 1px;
    margin: 30px auto 0;
    background: linear-gradient(90deg, transparent, rgba(131, 206, 255, .8), transparent);
    box-shadow: 0 0 12px rgba(79, 174, 237, .38);
}

/* Contact Us tab: email + address cards and social buttons */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 36px;
    text-align: left;
}

.contact-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 9px;
    padding: 22px 20px;
    border: 1px solid rgba(143, 205, 244, .17);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 54%),
        rgba(10, 29, 45, .58);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

a.contact-card:hover,
a.contact-card:focus-visible {
    border-color: rgba(149, 214, 255, .42);
    background: rgba(15, 42, 63, .7);
    outline: none;
}

.contact-card__icon { font-size: 20px; line-height: 1; }

.contact-card__label {
    color: var(--about-accent);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-card__value {
    color: rgba(231, 243, 251, .9);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: normal;
}

.contact-social { margin-top: 36px; }

.contact-social__label {
    margin: 0 0 16px;
    color: var(--about-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-social__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s, filter .2s;
}

.social-btn:hover,
.social-btn:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 6, 14, .4);
    filter: brightness(1.08);
    outline: none;
}

.social-btn svg { display: block; }

.social-btn--instagram { background: #E4405F; }
.social-btn--whatsapp { background: #25D366; }
.social-btn--facebook { background: #1877F2; }
.social-btn--wechat { background: #07C160; }

@media (max-width: 900px) {
    .about-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-vision { grid-template-columns: 1fr; }

    .contact-panel {
        min-height: auto;
        padding: clamp(34px, 6vw, 58px) clamp(18px, 4vw, 34px);
    }

    .contact-placeholder {
        width: min(680px, 100%);
        padding: clamp(30px, 5vw, 48px);
    }

    .contact-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 30px;
    }

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

@media (max-width: 620px) {
    body.amoy-about-page { padding: 10px; }
    .about-shell { border-radius: 0; }
    .about-topbar { min-height: 62px; padding-inline: 17px; }
    .about-brand { font-size: 10px; }
    .about-home-link { min-height: 34px; padding-inline: 12px; font-size: 13px; }
    .about-tabs { padding: 11px 16px; }
    .about-tab { flex: 1; min-height: 38px; padding-inline: 12px; font-size: 13px; }
    .about-hero { padding-inline: 22px; }
    .about-goal { padding: 21px; }
    .about-services { grid-template-columns: 1fr; }
    .about-service { min-height: 0; }
    .about-service__index { margin-bottom: 20px; }
    .about-signature__tagline { line-height: 1.7; }

    .contact-panel {
        display: block;
        min-height: 0;
        padding: 24px 10px 30px;
        background: radial-gradient(ellipse at 50% 28%, rgba(44, 130, 193, .13), transparent 64%);
    }

    .contact-placeholder {
        width: 100%;
        padding: 26px 18px;
        border-radius: 18px;
    }

    .contact-placeholder h1 {
        font-size: clamp(36px, 12vw, 50px);
        line-height: 1.05;
    }

    .contact-cards {
        gap: 12px;
        margin-top: 26px;
    }

    .contact-card {
        gap: 8px;
        padding: 18px 16px;
        border-radius: 14px;
    }

    .contact-card__value {
        font-size: 13px;
        line-height: 1.65;
    }

    .contact-social {
        margin-top: 28px;
    }

    .contact-social__list {
        gap: 10px;
    }

    .social-btn {
        width: 46px;
        height: 46px;
    }

    .contact-placeholder__line {
        margin-top: 24px;
    }
}

@media (max-width: 380px) {
    body.amoy-about-page { padding: 6px; }

    .about-topbar {
        gap: 10px;
        padding-inline: 13px;
    }

    .about-home-link {
        padding-inline: 10px;
    }

    .about-tabs {
        gap: 6px;
        padding-inline: 10px;
    }

    .about-tab {
        padding-inline: 9px;
    }

    .contact-panel {
        padding: 18px 6px 24px;
    }

    .contact-placeholder {
        padding: 22px 14px;
        border-radius: 16px;
    }

    .contact-card {
        padding: 16px 14px;
    }

    .social-btn {
        width: 42px;
        height: 42px;
    }
}
