.midam-about-page {
    background: #f7f9fc;
    color: #14213d;
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.midam-about-page .site-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.about-page {
    overflow: hidden;
}

.about-hero {
    background:
        linear-gradient(135deg, rgba(20, 33, 61, 0.92) 0%, rgba(26, 51, 88, 0.94) 58%, rgba(33, 95, 142, 0.9) 100%),
        url('/assets/images/midam_hero.png') center / cover no-repeat;
    color: #fff;
}

.about-hero-inner {
    width: min(1180px, calc(100% - 48px));
    min-height: 660px;
    margin: 0 auto;
    padding: 34px 0 72px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 76px;
}

.about-anchor-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.about-anchor-nav a {
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.about-anchor-nav a:hover,
.about-anchor-nav a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.about-hero-copy {
    align-self: center;
    max-width: 860px;
}

.about-eyebrow,
.about-section-kicker {
    margin: 0 0 16px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-hero .about-eyebrow {
    color: #9fc7ff;
}

.about-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(56px, 9vw, 112px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: 0;
}

.about-hero-title {
    margin: 22px 0 0;
    color: #e7eef9;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.about-hero-desc {
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.65;
    font-weight: 500;
}

.about-hero-lines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.about-hero-lines span {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.about-hero-lines span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.about-section {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 112px 0;
}

.about-section-head {
    display: grid;
    grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.7fr);
    gap: 56px;
    align-items: start;
    margin-bottom: 44px;
}

.about-section h2 {
    margin: 0;
    color: #13233a;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 0;
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.55fr);
    gap: 64px;
    align-items: start;
}

.about-intro .about-section-head {
    display: block;
    margin-bottom: 0;
}

.about-intro-content {
    display: grid;
    gap: 16px;
}

.about-intro-content p {
    margin: 0;
    color: #46566d;
    font-size: 18px;
    line-height: 1.85;
    font-weight: 500;
}

.about-intro-lead {
    padding: 34px 0 34px 34px;
    border-left: 3px solid #2563eb;
}

.about-intro-note {
    display: grid;
    gap: 10px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
}

.about-intro-note strong {
    color: #13233a;
    font-size: 16px;
    line-height: 1.6;
}

.about-intro-note span {
    color: #526174;
    font-size: 15px;
    line-height: 1.75;
}

.about-services {
    border-top: 1px solid #dbe3ee;
}

.service-section-head {
    max-width: 760px;
    margin: 0 0 42px;
    text-align: left;
}

.service-section-head .about-section-kicker {
    margin-bottom: 12px;
}

.service-section-desc {
    max-width: 620px;
    margin: 18px 0 0;
    color: #526174;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

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

.service-card {
    min-height: 380px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.service-card-primary {
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.13);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 54px;
}

.service-index {
    color: #9aa8ba;
    font-size: 13px;
    font-weight: 800;
}

.service-label {
    color: #2563eb;
    background: #edf5ff;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.service-logo-wrap {
    height: 58px;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.service-logo {
    display: block;
    width: auto;
    max-width: 188px;
    max-height: 52px;
    object-fit: contain;
}

.service-domain {
    margin: 0;
    color: #2563eb;
    font-size: 16px;
    font-weight: 800;
}

.service-desc {
    margin: 26px 0 0;
    color: #526174;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 500;
}

.service-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #13233a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.service-link:hover {
    color: #2563eb;
}

.about-principle {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
    gap: 60px;
    align-items: start;
    border-top: 1px solid #dbe3ee;
}

.principle-list {
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
}

.principle-list div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 26px 30px;
}

.principle-list div + div {
    border-top: 1px solid #dbe3ee;
}

.principle-list strong {
    color: #13233a;
    font-size: 16px;
    font-weight: 800;
}

.principle-list span {
    color: #526174;
    font-size: 15px;
    line-height: 1.65;
}

.about-contact {
    width: 100%;
    margin: 0;
    padding: 96px max(24px, calc((100vw - 1180px) / 2));
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: start;
    background: #13233a;
    color: #fff;
}

.about-contact h2 {
    color: #fff;
}

.about-contact p:not(.about-section-kicker) {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
}

.contact-hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form select {
    color: #13233a;
    background: #fff;
}

.contact-form textarea {
    min-height: 144px;
    padding: 14px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #9fc7ff;
    background: rgba(255, 255, 255, 0.13);
}

.contact-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.contact-form-status {
    min-height: 24px;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 14px !important;
}

.contact-primary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    background: #fff;
    color: #13233a;
}

.contact-primary:hover {
    background: #eaf2ff;
}

.contact-primary:disabled {
    cursor: wait;
    opacity: 0.7;
}

@media (max-width: 920px) {
    .about-hero-inner {
        min-height: 600px;
        gap: 54px;
    }

    .about-section-head,
    .about-intro,
    .about-principle,
    .about-contact {
        grid-template-columns: 1fr;
    }

    .about-intro-lead {
        padding-top: 0;
        padding-bottom: 0;
    }

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

    .service-card {
        min-height: 0;
    }

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

@media (max-width: 640px) {
    .about-hero-inner,
    .about-section {
        width: min(100% - 32px, 1180px);
    }

    .about-hero-inner {
        min-height: 620px;
        padding: 24px 0 48px;
    }

    .about-anchor-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .about-anchor-nav a {
        padding: 9px 11px;
    }

    .about-hero-lines {
        grid-template-columns: 1fr;
    }

    .about-hero-lines span {
        min-height: 56px;
        justify-content: flex-start;
        padding: 0 18px;
    }

    .about-hero-lines span + span {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .about-section {
        padding: 76px 0;
    }

    .about-section-head {
        gap: 12px;
        margin-bottom: 30px;
    }

    .about-intro-content p {
        font-size: 16px;
    }

    .about-intro-lead {
        padding-left: 20px;
    }

    .about-intro-note {
        padding: 22px;
    }

    .service-card {
        padding: 24px;
    }

    .service-card-top {
        margin-bottom: 42px;
    }

    .principle-list div {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 22px;
    }

    .about-contact {
        padding: 68px 16px;
    }

    .contact-form {
        padding: 22px;
    }

    .contact-submit-row {
        display: grid;
    }

    .contact-primary {
        width: 100%;
    }
}
