/*************************************/

/* 공통 */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;

    font-family:
            "Pretendard", sans-serif;

    color: #222;
    word-break: keep-all;
}
a {
    text-decoration: none;
    color: inherit;
}
html {
    overflow-y: scroll;
}

/*******************************/

/* Header */
.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 45px;
}

.nav a {
    position: relative;
    padding: 29px 0;

    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.nav a:hover {
    color: #163A63;
}

/* Home */
.hero {
    position: relative;
    background:
            linear-gradient(
                    90deg,
                    rgba(22, 58, 99, 0.95) 0%,
                    rgba(22, 58, 99, 0.75) 42%,
                    rgba(22, 58, 99, 0.15) 100%
            ),
            url("../images/hero-image.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 130px 20px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-label {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #b8c5d6;
    margin-bottom: 25px;
}
.hero h1 {
    font-size: 52px;
    line-height: 1.3;
    margin: 0 0 25px;
}
.hero-description {
    font-size: 19px;
    line-height: 1.8;
    color: #d5dce5;
    margin-bottom: 35px;
}
.hero-button {
    display: inline-block;
    padding: 13px 26px;
    background: white;
    color: #0b1f3a;
    border-radius: 6px;
    font-weight: bold;
}
.hero-button:hover {
    background: #e8edf3;
}

.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}
.services h2 {
    text-align: center;
    font-size: 32px;
    color: #0b1f3a;
    margin-bottom: 40px;
}
.service-grid {
    display: flex;
    gap: 20px;
}
.service-card {
    flex: 1;
    padding: 32px;
    background: white;

    border: 1px solid #dfe4ea;
    border-top: 4px solid #163A63;
    border-radius: 10px;

    transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: #b8c5d6;
    border-top-color: #163A63;

    box-shadow: 0 14px 30px rgba(22, 58, 99, 0.12);
}
.service-card:hover .service-icon {
    transform: translateX(4px);
}
.service-icon {
    margin-bottom: 25px;

    color: #163A63;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;

    transition: transform 0.25s ease;
}
.service-card h3 {
    font-size: 22px;
    color: #163A63;
    margin-top: 0;
}
.service-card p {
    color: #667085;
    line-height: 1.6;
    min-height: 48px;
}
.service-card a {
    color: #163A63;
    font-weight: bold;
}

.about-preview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px;
}
.about-preview h2 {
    font-size: 32px;
    color: #0b1f3a;
    margin: 0 0 25px;
}
.about-preview p {
    color: #667085;
    line-height: 1.7;
}
.about-preview a {
    display: inline-block;
    margin-top: 20px;
    color: #163A63;
    font-weight: bold;
}
.about-preview a:hover {
    text-decoration: underline;
}

.trust {
    background: #f4f6f9;
    padding: 90px 20px;
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.trust-title {
    margin-bottom: 45px;
}
.trust-title p {
    margin: 0 0 12px;
    color: #163A63;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
}
.trust-title h2 {
    margin: 0;
    color: #163A63;
    font-size: 34px;
    line-height: 1.4;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d8dee6;
}
.trust-item {
    padding: 30px 25px;
    border-right: 1px solid #d8dee6;
}
.trust-item:first-child {
    padding-left: 0;
}
.trust-item:last-child {
    border-right: none;
}
.trust-item strong {
    display: block;
    margin-bottom: 12px;

    color: #163A63;
    font-size: 24px;
}
.trust-item span {
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.contact-preview {
    background: #163A63;
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.contact-preview h2 {
    font-size: 32px;
    margin: 0 0 15px;
}

.contact-preview p {
    color: #d9e1ea;
    margin-bottom: 25px;
}

.contact-button {
    display: inline-block;
    padding: 12px 26px;
    background: white;
    color: #163A63;
    border-radius: 6px;
    font-weight: bold;
}

.contact-button:hover {
    background: #edf1f5;
}

/* About */

.about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}
.about-hero {
    padding: 30px 0 70px;
}
.about-label {
    color: #163A63;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.about-hero h1 {
    color: #163A63;
    font-size: 46px;
    line-height: 1.35;
    margin: 0 0 25px;
}
.about-hero > p:last-child {
    max-width: 750px;
    color: #667085;
    font-size: 19px;
    line-height: 1.8;
}

.history {
    padding-top: 60px;
    border-top: 1px solid #e5e7eb;
}
.history-label {
    color: #163A63;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 12px;
}
.history h2 {
    color: #163A63;
    font-size: 34px;
    margin: 0 0 50px;
}
.history-timeline {
    border-left: 2px solid #dce4ee;
    margin-left: 110px;
}
.history-item {
    position: relative;
    display: flex;
    padding: 0 0 45px 35px;
}
.history-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 5px;

    width: 12px;
    height: 12px;

    background: #163A63;
    border: 2px solid white;
    border-radius: 50%;
}
.history-year {
    position: absolute;
    right: calc(100% + 35px);
    top: 0;

    min-width: 100px;
    color: #163A63;
    font-size: 20px;
    font-weight: 700;
    text-align: right;
}
.history-content p {
    margin: 0;
    color: #475467;
    font-size: 17px;
    line-height: 1.7;
}
.about-achievements {
    margin-top: 90px;
    padding-top: 60px;
    border-top: 1px solid #e5e7eb;
}
.achievement-label {
    color: #163A63;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 12px;
}
.about-achievements h2 {
    color: #163A63;
    font-size: 34px;
    margin: 0 0 40px;
}
.achievement-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}
.achievement-certificate {
    text-align: center;
}
.achievement-certificate img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #e5e7eb;
}
.achievement-certificate p {
    color: #667085;
    font-size: 13px;
    margin-top: 15px;
}
.achievement-list {
    border-top: 1px solid #dce4ee;
}

.achievement-item {
    display: flex;
    gap: 25px;
    padding: 28px 0;
    border-bottom: 1px solid #dce4ee;
}
.achievement-year {
    min-width: 85px;
    color: #163A63;
    font-size: 17px;
    font-weight: 700;
}
.achievement-item h3 {
    margin: 0 0 10px;
    color: #25364a;
    font-size: 19px;
}
.achievement-item p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

/* Service */
.service-page-hero {
    background: #163A63;
    color: #fff;
    padding: 85px 20px;
}
.service-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.service-page-hero .service-label {
    color: #b9cce0;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.service-page-hero h1 {
    font-size: 46px;
    margin: 0 0 20px;
}
.service-page-hero p {
    line-height: 1.8;
}
.service-overview {
    padding: 85px 20px 110px;
}
.service-overview-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.service-overview-item {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    align-items: center;
    gap: 30px;
    padding: 45px 15px;
    border-bottom: 1px solid #e2e6eb;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s, padding 0.2s;
}
.service-overview-item:first-child {
    border-top: 1px solid #e2e6eb;
}
.service-overview-item:hover {
    background: #f5f7fa;
    padding-left: 25px;
}
.service-overview-number {
    color: #163A63;
    font-size: 30px;
    font-weight: 700;
}
.service-overview-content h2 {
    color: #163A63;
    font-size: 27px;
    margin: 0 0 12px;
}
.service-overview-content p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}
.service-overview-arrow {
    color: #163A63;
    font-size: 28px;
    text-align: center;
    transition: transform 0.2s;
}
.service-overview-item:hover .service-overview-arrow {
    transform: translate(4px, -4px);
}
.service-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}
.service-detail-hero {
    padding-bottom: 60px;
    border-bottom: 1px solid #dce4ee;
}
.service-detail-hero h1 {
    color: #163A63;
    font-size: 46px;
    margin: 0 0 20px;
}
.service-detail-hero h2 {
    color: #667085;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.6;
}
.service-detail-body {
    padding-top: 60px;
}
.service-detail-body h3 {
    color: #163A63;
    font-size: 28px;
    margin: 0 0 25px;
}
.service-detail-text {
    color: #475467;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 70px;
}
.service-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

    list-style: none;
    padding: 0;
    margin: 0 0 60px;
}
.service-feature-list li {
    background: #f4f6f9;
    padding: 25px;
    border-left: 3px solid #163A63;
    border-radius: 4px;
    font-weight: 600;
}
.back-link {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #222;
    border-radius: 6px;
    font-weight: bold;
}
.back-link:hover {
    background: #222;
    color: white;
}
.rbi-process {
    margin: 70px 0;
}
.rbi-section {
    margin-bottom: 70px;
}
.rbi-section h3 {
    color: #163A63;
    font-size: 28px;
    margin-bottom: 30px;
}
.rbi-section img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.rbi-section:last-child {
    margin-bottom: 0;
}


/* Contact Page */

.contact-hero {
    background: #163A63;
    color: #fff;
    padding: 85px 20px;
}

.contact-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-label {
    color: #b9cce0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-hero h1 {
    font-size: 46px;
    margin: 0 0 20px;
}

.contact-hero-inner > p:last-child {
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

/* Form Section */

.contact-section {
    padding: 90px 20px 110px;
    background: #f7f9fc;
}

.contact-container {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    padding: 55px 60px;
    box-sizing: border-box;
}

.contact-heading {
    margin-bottom: 40px;
}

.contact-heading h2 {
    color: #163A63;
    font-size: 28px;
    margin: 0 0 12px;
}

.contact-heading p {
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-field label {
    font-size: 15px;
    font-weight: 600;
    color: #344054;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 15px 16px;
    box-sizing: border-box;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: #222;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field textarea {
    resize: vertical;
    min-height: 190px;
    line-height: 1.7;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #163A63;
    box-shadow: 0 0 0 3px rgba(22, 58, 99, 0.1);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #98a2b3;
}

.contact-actions {
    display: flex;
    justify-content: flex-end;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 32px;
    background: #163A63;
    color: #fff;
    border: none;
    border-radius: 5px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-submit:hover {
    background: #102a48;
}

/* Contact Result */
.contact-result-page {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    box-sizing: border-box;
    background: #f7f9fc;
}
.contact-result-container {
    width: 100%;
    max-width: 650px;
    padding: 65px 35px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    text-align: center;
}
.contact-result-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: #eaf0f7;
    color: #163A63;
    font-size: 38px;
    line-height: 70px;
}
.contact-result-label {
    color: #163A63;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
.contact-result-container h1 {
    color: #163A63;
    font-size: 32px;
    margin: 0 0 22px;
}
.contact-result-description {
    color: #667085;
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 35px;
}
.result-home-button {
    display: inline-block;
    padding: 15px 30px;
    background: #163A63;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.2s;
}
.result-home-button:hover {
    background: #102a48;
}
/* Footer */
.footer {
    background: #102a48;
    color: #b8c5d6;
    padding: 32px 20px 20px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-company {
    margin: 0 0 8px;

    color: white;
    font-size: 20px;
    font-weight: 700;
}
.footer-info > p {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.6;
}
.footer-detail {
    color: #8fa3b9;
}
.footer-description {
    color: #d5dce5;
}
.footer-company-info {
    margin-top: 12px;
}
.footer-company-info p {
    margin: 3px 0;
    color: #9fb0c2;
    font-size: 13px;
    line-height: 1.6;
}
.footer-company-info span {
    margin: 0 8px;
    color: #536d87;
}
.footer-bottom {
    margin-top: 18px;
    padding-top: 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom p {
    margin: 0;
    color: #71869c;
    font-size: 13px;
}


/* ADMIN */

/* Admin */
.admin-page {
    min-height: 100vh;
    background: #f5f7fa;
}

.admin-header {
    background: #163A63;
    color: #fff;
}

.admin-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-logo {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.admin-header-actions form {
    margin: 0;
}

.admin-home-link {
    font-size: 14px;
    color: #d9e3ee;
}

.admin-logout {
    padding: 9px 15px;
    background: transparent;
    border: 1px solid #8fa9c4;
    border-radius: 5px;
    color: #fff;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.admin-logout:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 20px 100px;
}

.admin-title {
    margin-bottom: 35px;
}

.admin-title > p {
    color: #163A63;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 12px;
}

.admin-title h1 {
    color: #163A63;
    font-size: 34px;
    margin: 0 0 12px;
}

.admin-title > span {
    color: #667085;
    font-size: 15px;
}

.admin-panel {
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 8px;
    overflow: hidden;
}

.admin-panel-header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e6eb;
}

.admin-panel-header h2 {
    margin: 0;
    color: #25364a;
    font-size: 20px;
}

.admin-panel-header > span {
    color: #667085;
    font-size: 14px;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.admin-table th {
    padding: 17px 20px;
    background: #f8fafc;
    color: #475467;
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 1px solid #e2e6eb;
}

.admin-table td {
    padding: 20px;
    color: #475467;
    border-bottom: 1px solid #edf0f3;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: #fafbfd;
}

.admin-contact-link {
    color: #163A63;
    font-weight: 700;
}

.admin-contact-link:hover {
    text-decoration: underline;
}

.admin-message {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    background: #eef2f6;
    color: #475467;
}

.status-complete {
    background: #e7f4ec;
    color: #237447;
}

.status-pending {
    background: #fff3df;
    color: #946200;
}

.admin-empty {
    padding: 60px 20px !important;
    text-align: center;
    color: #667085;
}

/* Admin Detail */
.admin-detail-panel {
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
}

.admin-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    border-bottom: 1px solid #e2e6eb;
}

.admin-detail-header h2,
.admin-status-panel h2 {
    margin: 0;
    color: #25364a;
    font-size: 20px;
}

.admin-detail-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border-bottom: 1px solid #edf0f3;
}

.admin-detail-label {
    background: #f8fafc;
    padding: 20px 30px;
    color: #475467;
    font-size: 14px;
    font-weight: 600;
}

.admin-detail-value {
    padding: 20px 30px;
    color: #344054;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.admin-detail-message {
    padding: 30px;
}

.admin-detail-message h3 {
    margin: 0 0 20px;
    color: #163A63;
    font-size: 17px;
}

.admin-detail-message p {
    margin: 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.9;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-status-panel {
    padding: 30px;
}

.admin-status-panel h2 {
    margin-bottom: 25px;
}

.admin-status-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-status-select {
    min-width: 180px;
    padding: 12px 15px;
    border: 1px solid #d0d5dd;
    border-radius: 5px;
    background: #fff;
    color: #344054;
    font: inherit;
    font-size: 14px;
}

.admin-primary-button,
.admin-secondary-button,
.admin-delete-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 22px;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.admin-primary-button {
    background: #163A63;
    border: 1px solid #163A63;
    color: #fff;
}

.admin-primary-button:hover {
    background: #102a48;
}

.admin-secondary-button {
    background: #fff;
    border: 1px solid #d0d5dd;
    color: #344054;
}

.admin-secondary-button:hover {
    background: #f8fafc;
}

.admin-delete-button {
    background: #fff;
    border: 1px solid #e6b8b8;
    color: #b42318;
}

.admin-delete-button:hover {
    background: #fff1f0;
}

.admin-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.admin-detail-actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-detail-actions-right form {
    margin: 0;
}

/* Admin Edit */
.admin-edit-panel {
    max-width: 850px;
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 8px;
    overflow: hidden;
}

.admin-edit-form {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-edit-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-edit-field label {
    color: #344054;
    font-size: 15px;
    font-weight: 600;
}

.admin-edit-field input,
.admin-edit-field textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-edit-field textarea {
    resize: vertical;
    min-height: 220px;
    line-height: 1.8;
}

.admin-edit-field input:focus,
.admin-edit-field textarea:focus {
    border-color: #163A63;
    box-shadow: 0 0 0 3px rgba(22, 58, 99, 0.1);
}

.admin-edit-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding-top: 10px;
}

/* 오류 페이지 */
.error-page {
    min-height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
}

.error-page h1 {
    font-size: 96px;
    font-weight: 800;
    color: #163A63;
    margin: 0 0 12px;
}

.error-page h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.error-page p {
    color: #666;
    margin-bottom: 32px;
}
.error-home-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #163A63;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}
.error-home-btn:hover {
    background: #102a48;
}



/* 모바일 반응형 */
@media (max-width: 768px) {

    /* Header */
    .header-inner {
        height: auto;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav a {
        padding: 5px 0;
        font-size: 14px;
    }

    /* Home */
    .hero {
        padding: 80px 20px;
        background-position: 60% center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

    .service-grid {
        flex-direction: column;
    }

    .services {
        padding: 60px 20px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 25px 0;
        border-right: none;
        border-bottom: 1px solid #d8dee6;
    }

    /* About */
    .about {
        padding: 45px 20px 70px;
    }

    .about-hero h1 {
        font-size: 34px;
    }

    .about-hero > p:last-child {
        font-size: 16px;
    }

    .history-timeline {
        margin-left: 75px;
    }

    .history-year {
        min-width: 65px;
        font-size: 16px;
        right: calc(100% + 25px);
    }

    .history-item {
        padding-left: 22px;
    }

    .history-content p {
        font-size: 15px;
    }

    .achievement-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .achievement-certificate {
        max-width: 280px;
        margin: 0 auto;
    }

    .achievement-item {
        gap: 15px;
    }

    /* Service 목록 */
    .service-page-hero {
        padding: 65px 20px;
    }

    .service-page-hero h1 {
        font-size: 34px;
    }

    .service-overview {
        padding: 45px 20px 70px;
    }

    .service-overview-item {
        grid-template-columns: 45px minmax(0, 1fr) 24px;
        gap: 12px;
        padding: 30px 5px;
    }

    .service-overview-number {
        font-size: 21px;
    }

    .service-overview-content h2 {
        font-size: 20px;
    }

    .service-overview-content p {
        font-size: 14px;
    }

    .service-overview-arrow {
        font-size: 22px;
    }

    /* Service 상세 */
    .service-detail {
        padding: 45px 20px 70px;
    }

    .service-detail-hero h1 {
        font-size: 34px;
    }

    .service-detail-hero h2 {
        font-size: 18px;
    }

    .service-feature-list {
        grid-template-columns: 1fr;
    }

    .rbi-section {
        margin-bottom: 45px;
    }

    .rbi-section h3 {
        font-size: 23px;
    }

    /* Contact */
    .contact-hero {
        padding: 65px 20px;
    }

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-section {
        padding: 45px 16px 70px;
    }

    .contact-container {
        padding: 30px 22px;
    }

    .contact-heading h2 {
        font-size: 24px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        display: block;
    }

    .contact-submit {
        width: 100%;
    }

    /* 문의 완료 */
    .contact-result-page {
        padding: 50px 16px;
    }

    .contact-result-container {
        padding: 50px 22px;
    }

    .contact-result-container h1 {
        font-size: 25px;
    }

    .contact-result-description {
        font-size: 14px;
    }
    .admin-header-inner {
        flex-wrap: wrap;
    }

    .admin-header-actions {
        gap: 15px;
    }

    .admin-content {
        padding: 40px 16px 70px;
    }

    .admin-title h1 {
        font-size: 28px;
    }

    .admin-panel-header {
        padding: 20px;
    }

    .admin-table {
        min-width: 850px;
    }
    .admin-detail-header,
    .admin-status-panel,
    .admin-detail-message {
        padding: 22px;
    }
    .admin-detail-row {
        grid-template-columns: 100px minmax(0, 1fr);
    }
    .admin-detail-label,
    .admin-detail-value {
        padding: 18px 15px;
    }
    .admin-status-form {
        flex-wrap: wrap;
    }
    .admin-detail-actions {
        flex-wrap: wrap;
    }
    .admin-edit-form {
        padding: 25px 20px;
    }

    .admin-edit-actions {
        flex-wrap: wrap;
    }



}
