.main-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--header-height));
    overflow: hidden;
    background: var(--color-ink);
}

.main-hero__slide {
    position: absolute;
    inset: 0;
}

.main-hero__slide::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.3));
    content: "";
}

.main-hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-hero__content {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.main-hero h1 {
    max-width: 820px;
    margin-top: var(--space-4);
    font-weight: 820;
    line-height: 1.16;
}

.main-hero p:not(.eyebrow) {
    max-width: 620px;
    margin-top: var(--space-5);
    color: #dbeafe;
    }

.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 300px;
    overflow: hidden;
    isolation: isolate;
    background: var(--color-ink);
    --hero-accent: var(--color-accent);
    --hero-shade-left: rgba(7, 17, 31, 0.82);
    --hero-shade-bottom: rgba(7, 17, 31, 0.78);
}

.page-hero__image,
.page-hero__overlay {
    position: absolute;
    inset: 0;
}

.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.01);
    filter: saturate(1.05) contrast(1.03);
}

.page-hero__overlay {
    background:
        linear-gradient(90deg, var(--hero-shade-left) 0%, rgba(2, 6, 23, 0.48) 52%, rgba(2, 6, 23, 0.18) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.1), var(--hero-shade-bottom));
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding: 0 0 var(--space-20);
    color: #ffffff;
}

.page-hero h1,
.page-hero__title {
    font-weight: 820;
    line-height: var(--line-heading);
    font-size:46px;
}

.page-hero .eyebrow {
    color: var(--hero-accent);
    font-size:22px;
}



.section-tabs {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(24px, 3vw, 44px);
    min-height: 52px;
    padding: 0;
    border: 0;
    border-radius: 0;
    margin-inline: auto;
    background: transparent;
}

.section-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 2px 1px 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
    transition: color 0.2s ease, opacity 0.2s ease;
}

.section-tabs a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--hero-accent);
    content: "";
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.section-tabs a:hover {
    background: transparent;
    color: #ffffff;
}

.section-tabs a.is-active,
.section-tabs a[aria-current="page"] {
    background: transparent;
    color: #ffffff;
    font-weight: 850;
}

.section-tabs a.is-active::after,
.section-tabs a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.section-tabs a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.82);
    outline-offset: -2px;
}

@media (max-width: 768px) {
    .section-tabs {
        width: calc(100% - 32px);
        gap: clamp(16px, 4.5vw, 22px);
        min-height: 44px;
        margin-inline: auto;
        padding: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: 1px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .section-tabs::-webkit-scrollbar {
        display: none;
    }

    .section-tabs a {
        flex: 0 0 auto;
        justify-content: center;
        min-height: 44px;
        padding: 2px 0 0;
        font-size: clamp(11px, 3.1vw, 13px);
        letter-spacing: -0.04em;
    }

    .section-tabs a:first-child:nth-last-child(n + 4),
    .section-tabs a:first-child:nth-last-child(n + 4) ~ a {
        flex: 1 1 0;
        min-width: 0;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.stat-card {
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #ffffff;
}

.stat-card strong {
    display: block;
    color: var(--color-primary);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: var(--space-3);
    color: var(--color-subtext);
    font-weight: 750;
}

.service-link-grid,
.process-grid,
.certificate-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.service-link-card,
.process-card,
.certificate-card,
.gallery-card,
.target-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.service-link-card:hover,
.target-card:hover {
    transform: translateY(-5px);
}

.service-link-card img,
.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.service-link-card span,
.service-link-card p,
.process-card,
.target-card {
    padding: var(--space-6);
}

.service-link-card span {
    display: block;
    padding-bottom: 0;
    color: var(--color-text);
    font-weight: 800;
}

.service-link-card p {
    padding-top: var(--space-3);
    color: var(--color-subtext);
}

.process-card span {
    color: var(--color-primary);
    font-weight: 900;
}

.process-card h3,
.target-card h3 {
    margin-top: var(--space-3);
    font-size: 22px;
}

.process-card p,
.target-card p {
    margin-top: var(--space-3);
    color: var(--color-subtext);
}

.detail-cta {
    background: var(--color-primary-dark);
    color: #ffffff;
}

.detail-cta__inner {
    display: flex;
    gap: var(--space-8);
    align-items: center;
    justify-content: space-between;
}

.detail-cta h2,
.detail-cta p,
.detail-cta .eyebrow {
    color: #ffffff;
}

.detail-cta p {
    max-width: 680px;
    color: #dbeafe;
}

.detail-cta__note {
    margin-top: var(--space-3);
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px;
    line-height: 1.6;
}

.detail-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.site-phone-cta {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: #07111f;
}

.site-phone-cta .cta-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.site-phone-cta .cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.32;
    filter: grayscale(15%) contrast(108%);
}

.site-phone-cta .cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 24, 68, 0.94) 0%, rgba(27, 48, 103, 0.82) 50%, rgba(7, 17, 31, 0.94) 100%);
}

.site-phone-cta .cta-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.site-phone-cta .cta-title {
    color: #ffffff !important;
    font-size: clamp(28px, 4.5vw, 44px) !important;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: 0;
    margin-bottom: 22px;
}

.site-phone-cta .cta-desc {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: clamp(15px, 2vw, 19px) !important;
    line-height: 1.65;
    font-weight: 500;
    margin: 0 0 42px;
}

.site-phone-cta .cta-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-phone-cta .cta-note {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 14px;
    line-height: 1.6;
}

.site-phone-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 42px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.site-phone-cta .cta-btn--call {
    background: #25b9cb;
    color: #ffffff !important;
}

.site-phone-cta .cta-btn--call:hover {
    background: #7cecf6;
    color: #ffffff !important;
    transform: translateY(-3px);
}

.site-phone-cta .cta-icon {
    margin-right: 10px;
    font-size: 12px;
    letter-spacing: 0.04em;
    opacity: 0.78;
}

.site-phone-cta .cta-phone-number {
    letter-spacing: 0;
}

.site-phone-cta .cta-btn--inquiry {
    background: transparent;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.site-phone-cta .cta-btn--inquiry:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .site-phone-cta {
        padding: 86px 0;
    }

    .site-phone-cta .cta-buttons {
        flex-direction: column;
        width: 80%;
        gap: 12px;
    }

    .site-phone-cta .cta-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 24px;
        font-size: 16px;
    }
}

.esg-slide-section {
    width: 100%;
    height: 700px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
    background-color: #111;
    color: #FFFFFF;
}
.esg-content-block {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}
.esg-content-block.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.esg-slide-section .bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease-out;
}
.esg-content-block.active .bg-image {
    transform: scale(1);
}
.esg-slide-section .bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}
.esg-text-wrap {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    z-index: 10;
}
.esg-eyebrow {
    font-weight: 700; letter-spacing: 1px; color: #FFFFFF;
    margin-bottom: 20px; display: block;
    opacity: 0; transform: translateY(20px);
}
.esg-title {
    font-weight: 700; line-height: 1.3; margin-bottom: 30px;
    opacity: 0; transform: translateY(20px);
    color: #fff;
}
.esg-desc {
    line-height: 1.6; font-weight: 300; color: #E0E0E0;
    opacity: 0; transform: translateY(20px);
}
.esg-content-block.active .esg-eyebrow { animation: fadeInUp 0.8s 0.2s forwards; }
.esg-content-block.active .esg-title { animation: fadeInUp 0.8s 0.4s forwards; }
.esg-content-block.active .esg-desc { animation: fadeInUp 0.8s 0.6s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.esg-tabs-container {
    grid-area: 1 / 1;
    z-index: 20;
    justify-self: end;
    align-items: center;
    align-self: center;
    margin-right: 10%;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.esg-tab-item {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.6);
}
.esg-tab-item:hover { background-color: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.esg-tab-item.active {
    background-color: #FFFFFF;
    color: #111111;
    transform: scale(1.03);
    border-color: #FFFFFF;
}
.tab-num { display: block; margin-bottom: 5px; }
.tab-text { font-weight: 700; }
.progress-bar { position: absolute; bottom: 0; left: 0; height: 4px; background-color: var(--color-primary); width: 0%; }
.esg-tab-item.active .progress-bar { animation: progressAnimation 5s linear forwards; }
@keyframes progressAnimation { from { width: 0%; } to { width: 100%; } }
@media (max-width: 1024px) {
    .esg-text-wrap { left: 5%; max-width: 50%; }
    .esg-tabs-container { margin-right: 5%; width: 250px; }
}
@media (max-width: 767px) {
    .esg-slide-section { height: auto; min-height: 800px; display: flex; flex-direction: column; }
    .esg-content-block { position: absolute; }
    .esg-slide-section .bg-overlay { background: rgba(0,0,0,0.6); }
    .esg-text-wrap { position: relative; top: auto; left: auto; transform: none; padding: 60px 20px 40px 20px; text-align: center; max-width: 100%; }
    .esg-tabs-container { position: relative; width: 90%; margin: 0 auto 40px auto; justify-self: center; }
    .esg-desc { }
}

.open-api-section {
    width: 100%;
    min-height: 600px;
    position: relative;
    background: linear-gradient(135deg, #000428 0%, #004e92 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #FFFFFF;
    overflow: hidden;
}
.open-api-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.3; pointer-events: none;
}
.api-container { width: 100%; max-width: var(--container-wide); display: flex; justify-content: space-between; align-items: center; gap: 60px; position: relative; z-index: 2; margin: 0 auto;}
.api-text-area { flex: 1; max-width: 500px; }
.api-title-group { margin-bottom: 20px; }
.api-sub-title { font-weight: 700; margin-bottom: 5px; opacity: 0.9; }
.api-main-title { font-weight: 900; line-height: 1.2; color:#fff;}
.api-desc { font-weight: 300; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }
.api-cards-area { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.api-card { background-color: #FFFFFF; border-radius: 8px; padding: 30px; color: #333333; transition: transform 0.3s ease; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; }
.api-card:hover { transform: translateY(-5px); }
.card-icon-wrap { margin-bottom: 20px; }
.card-icon { }
.card-content { display: flex; flex-direction: column; }
.card-category { font-weight: 700; color: #555; margin-bottom: 5px; display: block; }
.card-title { font-weight: 900; color: #000; margin-bottom: 10px; }
.card-desc { color: #666; line-height: 1.5; word-break: keep-all; }
@media (max-width: 1024px) {
    .api-container { flex-direction: column; align-items: center; text-align: center; gap: 50px; }
    .api-text-area { max-width: 80%; }
    .api-cards-area { width: 100%; max-width: 700px; }
}
@media (max-width: 767px) {
    .open-api-section { padding: 60px 20px; }
    .api-sub-title { }
    .api-desc { }
    .api-cards-area { grid-template-columns: 1fr; gap: 15px; width: 100%; }
    .api-card { min-height: auto; padding: 25px; }

.page-hero {
    height: 180px;
}
.page-hero__content {
    padding-bottom: var(--space-16);
}
.page-hero h1,
.page-hero__title {
    font-size:24px;
}
.page-hero .eyebrow {
    font-size:10px;
    }
}

.network-partners-section {
    width: 100%; min-height: 600px; position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/4483610/pexels-photo-4483610.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; padding: 80px 20px; color: #FFFFFF;
}
.network-container { width: 100%; max-width: var(--container-wide); display: flex; justify-content: space-between; align-items: center; gap: 60px; margin: 0 auto;}
.network-text-area { flex: 1; max-width: 500px; }
.network-title { font-weight: 900; margin-bottom: 20px; position: relative; display: inline-block; line-height: 1; color:#fff;}
.network-title::after { content: ''; position: absolute; top: 0; right: -15px; width: 12px; height: 12px; background-color: #FF4081; border-radius: 50%; }
.network-desc { font-weight: 300; line-height: 1.6; opacity: 0.9; }
.network-cards-area { flex: 1.5; display: flex; gap: 30px; justify-content: flex-end; }
.partner-card { width: 320px; height: 380px; border-radius: 20px; overflow: hidden; position: relative; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; cursor: pointer; transition: transform 0.3s ease; }
.partner-card:hover { transform: translateY(-10px); }
.partner-card .card-content { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; width:100%;}
.partner-card .card-title { font-weight: 700; color:#fff; }
.more-icon { opacity: 0.7; }
.partner-card.brand::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(233, 30, 99, 0.6) 60%, rgba(233, 30, 99, 0.9) 100%); z-index: 1; transition: opacity 0.3s ease; }
.partner-card.channel::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.9) 100%); z-index: 1; transition: opacity 0.3s ease; }
.partner-card:hover::before { opacity: 0.9; }
@media (max-width: 1024px) {
    .network-container { flex-direction: column; align-items: center; text-align: center; gap: 50px; }
    .network-text-area { max-width: 80%; }
    .network-cards-area { width: 100%; justify-content: center; }
    .partner-card { width: 45%; min-width: 280px; }
}
@media (max-width: 767px) {
    .network-partners-section { padding: 60px 20px; }
    .network-desc { }
    .network-cards-area { flex-direction: column; align-items: center; gap: 20px; }
    .partner-card { width: 100%; max-width: 350px; height: 300px; }
}

.footer-wrap { padding: 80px 0 40px; background: #111111; color: #999999; }
.footer-grid { display: grid; gap: 50px; grid-template-columns: 2fr 1fr 1fr 1fr; margin-bottom: 60px; border-bottom: 1px solid #222222; padding-bottom: 60px; }
@media (max-width: 767px) { .footer-grid { gap: 40px; grid-template-columns: 1fr; } }

.ft-logo { font-weight: 600; color: #ffffff; margin-bottom: 20px; }
.ft-desc { max-width: 300px; line-height: 1.6; color:#999; }
.ft-col h4 { color: #ffffff; margin-bottom: 20px; }
.ft-links li { margin-bottom: 12px; }
.ft-links a { color: #ccc; }
.ft-links a:hover { color: #21cbbe; text-decoration: underline; }
.contact-list { color: #cccccc; }
.ft-info { display: flex; gap: 20px; flex-wrap: wrap; }
.ft-info span b { color: #cccccc; margin-right: 5px; }
.ft-copyright { color: #555555; margin-top: 20px; }

.capability-stats-section {
    width: 100%;
    padding: 80px 20px;
    background-color: #FFFFFF;
}
.capability-stats-section .stats-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}
.capability-stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}
.stat-item .stat-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 24px;
}
.stat-item .stat-icon-wrapper svg {
    width: 100%;
    height: 100%;
}
.stat-item .stat-label {
    font-weight: 700;
    color: #495057;
    margin-bottom: 12px;
}
.stat-item .stat-number {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    color: #212529;
    line-height: 1.1;
    margin-bottom: 8px;
}
.stat-item .stat-number .stat-unit {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    margin-left: 4px;
}
.stat-item .stat-subtext {
    color: #6C757D;
}
@media (max-width: 1024px) {
    .capability-stats-section .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat-item .stat-number { }
    .stat-item .stat-number .stat-unit { }
}
@media (max-width: 767px) {
    .capability-stats-section { padding: 60px 15px; }
    .capability-stats-section .stats-grid { gap: 30px 20px; }
    .stat-item .stat-icon-wrapper { width: 50px; height: 50px; margin-bottom: 20px; }
    .stat-item .stat-label { }
    .stat-item .stat-number { }
    .stat-item .stat-number .stat-unit { }
    .stat-item .stat-subtext { }
}

.gallery {
    width: 100%;
    padding: 100px 0;
    background-color: #F8F9FA;
}
.gallery .inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.gallery .gslider-container {
    position: relative;
}
.gallery .gslider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.gallery .gslider::-webkit-scrollbar {
    display: none;
}
.gallery .item {
    flex: 0 0 calc(100% / 3);
    padding: 0 10px;
    text-align: center;
}
.gallery .item a {
    display: block;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: none;
}
.gallery .item a:hover {
}
.gallery .item .img {
    width: 100%;
    height: auto;
}
.gallery .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery .item .txt {
    padding: 15px;
    font-weight: 500;
    color: #343a40;
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Shared online estimate section: used by the home page and subpages. */
#online-estimate {
    padding: 112px 0;
    background:
        linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 45%, rgba(255, 255, 255, 0) 70%),
        url("../images/home/contact_bg.png") no-repeat center right / cover;
}

#online-estimate .online-section__head {
    margin-bottom: 48px;
    text-align: center;
}

#online-estimate .online-section__head h2 {
    margin-bottom: 12px;
    color: var(--home-ink, #07111f);
    font-size: clamp(28px, 3.8vw, 40px);
    font-weight: 800;
}

#online-estimate .online-section__head p {
    color: var(--home-muted, #596579);
    font-size: 16.5px;
}

#online-estimate .online-section__iframe-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid var(--home-line, #dfe5ed);
    border-radius: 16px;
    background: var(--home-white, #ffffff);
    box-shadow: rgba(0, 0, 0, 0.06) 0 12px 36px;
    line-height: 0;
}

#online-estimate .online-section__iframe-wrap iframe {
    display: block;
    vertical-align: bottom;
}

#online-estimate .online-layout {
    display: block;
}

#online-estimate .online-info {
    width: 100%;
    max-width: 600px;
    margin-inline: 0 auto;
    color: var(--home-ink, #07111f);
    text-align: left;
}

#online-estimate .online-info__eyebrow {
    margin-bottom: 12px;
    color: var(--home-primary-dark, #0164b1) !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

#online-estimate .online-info__title {
    margin-bottom: 20px;
    color: var(--home-ink, #07111f) !important;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.22;
}

#online-estimate .online-info__desc {
    margin-bottom: 38px;
    color: var(--home-muted, #596579) !important;
    font-size: 16.5px;
    line-height: 1.7;
}

#online-estimate .info-call-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 24px;
}

#online-estimate .info-call-box {
    display: flex;
    align-items: center;
    width: 280px;
    max-width: 100%;
    margin: 0;
    padding: 12px 20px;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #0f1d3a;
    box-shadow: 0 4px 20px rgba(15, 29, 58, 0.08);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

#online-estimate .info-call-box:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: #15274d;
    box-shadow: 0 10px 24px rgba(15, 29, 58, 0.2);
    transform: translateY(-2px);
}

#online-estimate .info-call-box__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1c3f98 0%, #3065da 100%);
    color: var(--home-white, #ffffff);
    font-size: 20px;
}

#online-estimate .info-call-box__content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

#online-estimate .info-call-box__label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 700;
}

#online-estimate .info-call-box__number {
    margin: 2px 0;
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

#online-estimate .info-call-box__hours {
    color: var(--home-muted, #596579);
    font-size: 13px;
}

#online-estimate .info-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

#online-estimate .channel-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    gap: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

#online-estimate .channel-btn--kakao {
    background: #fee500;
    color: #191919 !important;
}

#online-estimate .channel-btn--kakao:hover {
    background: #e6ce00;
    transform: translateY(-2px);
}

#online-estimate .channel-btn--blog {
    background: #03c75a;
    color: #ffffff !important;
}

#online-estimate .channel-btn--blog:hover {
    background: #02b34f;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    #online-estimate {
        padding: 80px 0 480px;
        background:
            linear-gradient(to bottom, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.15) 75%, rgba(255, 255, 255, 0) 100%),
            url("../images/home/contact_bg.png") no-repeat center bottom / cover;
    }

    #online-estimate .online-info {
        max-width: 90%;
        margin-inline: auto;
        text-align: center;
    }

    #online-estimate .info-call-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 0 auto 20px;
    }

    #online-estimate .info-call-box {
        justify-content: flex-start;
        width: 100%;
        max-width: 320px;
        margin-inline: auto;
        padding: 10px 16px;
    }

    #online-estimate .info-channels {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        margin-inline: auto;
        gap: 10px;
    }

    #online-estimate .info-channels .channel-btn {
        box-sizing: border-box;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    #online-estimate {
        position: relative;
        min-height: 1120px;
        padding: 72px 0 clamp(300px, 62vw, 460px);
        isolation: isolate;
        background: #ffffff;
    }

    #online-estimate::before {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        height: clamp(220px, 48vw, 390px);
        background: url("../images/home/contact_bg.png") no-repeat center bottom / 100% auto;
        content: "";
        pointer-events: none;
    }

    #online-estimate::after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        height: clamp(300px, 72vw, 550px);
        background: linear-gradient(
            to bottom,
            #ffffff 0%,
            rgba(255, 255, 255, 0.96) 20%,
            rgba(255, 255, 255, 0.72) 42%,
            rgba(255, 255, 255, 0) 72%
        );
        content: "";
        pointer-events: none;
    }

    #online-estimate .online-layout {
        position: relative;
        z-index: 2;
    }

    #online-estimate .info-call-box__number {
        font-size: 22px;
    }
}
