body.public-page {
    background: var(--color-surface);
}

::selection {
    background: var(--color-primary-200);
    color: #000;
}

body.menu-open {
    overflow: hidden;
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: var(--color-surface);
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.site-preloader-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid var(--color-primary-100);
    border-top-color: var(--color-primary-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(220, 230, 239, 0.72);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scroll {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    width: min(1280px, calc(100% - 40px));
    height: 76px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 auto;
}

.logo {
    flex: 0 0 auto;
    margin: 0;
}

.logo img {
    width: 154px;
    display: block;
}
.fa-brands {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}
.fas, .fa-regular, .fa-brands {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}
.gnb {
    margin-left: auto;
}

.gnb ul {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.gnb a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.gnb a:hover,
.gnb a.active {
    color: var(--color-primary-600);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-primary-900);
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(380px, 86vw);
    height: 100vh;
    padding: 24px;
    background: var(--color-surface);
    box-shadow: -18px 0 50px rgba(6, 23, 43, 0.18);
    transform: translateX(105%);
    transition: transform 0.25s ease;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.mobile-menu-head img {
    width: 138px;
}

.mobile-menu-head button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-background-soft);
}

.mobile-menu ul {
    display: grid;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 18px;
    font-weight: 800;
}

.mobile-menu-dim {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(6, 23, 43, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.mobile-menu-dim.is-open {
    opacity: 1;
    visibility: visible;
}

.page-container {
    padding-top: 76px;
}

.main-hero {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background: var(--color-primary-950);
}

.main-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 23, 43, 0.98), rgba(9, 34, 61, 0.9)),
        radial-gradient(circle at 80% 18%, rgba(85, 169, 233, 0.22), transparent 28%);
}

.main-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent);
}

.main-hero-grid {
    position: relative;
    min-height: calc(100vh - 76px);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 60px;
    align-items: center;
    padding: 86px 0 92px;
}

.main-hero-copy h2 {
    max-width: 820px;
    margin: 0;
    font-size: 70px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.main-hero-copy p {
    max-width: 720px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 19px;
    line-height: 1.85;
}

.main-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.main-hero-panel {
    min-width: 0;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.hero-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.hero-panel-head strong {
    color: var(--color-white);
}

.hero-signal-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.hero-signal-list span {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
}

.hero-chart {
    height: 220px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 14px;
    margin: 28px 0;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(6, 23, 43, 0.46);
}

.hero-chart i {
    display: block;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--color-primary-300), var(--color-primary-600));
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.hero-metrics div {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metrics dt {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 900;
}

.hero-metrics dd {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 13px;
}

.proof-grid,
.method-grid,
.compare-grid,
.faq-grid,
.inline-contact-grid,
.final-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 64px;
    align-items: start;
}

.proof-board {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.proof-board article {
    min-height: 170px;
    padding: 30px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.proof-board article:nth-child(2n) {
    border-right: 0;
}

.proof-board article:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.proof-board strong {
    display: block;
    color: var(--color-primary-700);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.25;
}

.proof-board span {
    display: block;
    margin-top: 12px;
    color: var(--color-text-secondary);
    font-weight: 700;
}

.problem-list {
    display: grid;
    gap: 14px;
}

.problem-list article {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 24px 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}

.problem-list span,
.service-number {
    color: var(--color-primary-500);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.problem-list p {
    margin: 0;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 800;
}

.service-flow {
    display: grid;
    gap: 18px;
}

.service-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 24px;
    align-items: start;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.service-row:nth-child(even) {
    background: var(--color-primary-50);
}

.service-body h3 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 900;
}

.service-body p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 17px;
}

.service-body dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0 0;
}

.service-body dt {
    color: var(--color-primary-700);
    font-size: 13px;
    font-weight: 900;
}

.service-body dd {
    margin: 6px 0 0;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.method-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.method-list article {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
}

.method-list i {
    color: var(--color-primary-300);
    font-size: 26px;
}

.method-list strong,
.method-list span {
    display: block;
}

.method-list strong {
    margin-top: 18px;
    color: var(--color-white);
    font-size: 18px;
}

.method-list span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.case-lead {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 38px;
}

.case-lead h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.16;
}

.case-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
}

.featured-case {
    padding: 34px;
    border-radius: var(--radius-xl);
    color: var(--color-white);
    background: var(--color-primary-900);
    box-shadow: var(--shadow-lg);
}

.featured-case span {
    color: var(--color-primary-300);
    font-weight: 900;
}

.featured-case h3 {
    margin: 18px 0 0;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.2;
}

.featured-case p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.featured-case dl {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
}

.featured-case div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.featured-case dt {
    font-weight: 900;
}

.featured-case dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
}

.portfolio-card--simple {
    position: relative;
    display: grid;
    grid-template-rows: auto 72px;
    height: 100%;
    min-height: 278px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.06),
        0 14px 30px rgba(15, 23, 42, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.portfolio-card--simple::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
    pointer-events: none;
}

.portfolio-card--simple:hover {
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(15, 23, 42, 0.08),
        0 18px 42px rgba(15, 23, 42, 0.12);
}

.portfolio-card--simple:hover::before {
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.14);
}
.portfolio-mini-list {
    display: grid;
    gap: 14px;
}

.portfolio-mini-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 18px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.portfolio-mini-item span {
    grid-column: 1 / -1;
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 800;
}

.portfolio-mini-item strong {
    color: var(--color-text);
    font-size: 19px;
}

.portfolio-mini-item em {
    color: var(--color-primary-600);
    font-style: normal;
    font-weight: 800;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-surface);
}

.process-timeline li {
    min-height: 190px;
    padding: 24px;
    border-right: 1px solid var(--color-border);
}

.process-timeline li:last-child {
    border-right: 0;
}

.process-timeline strong {
    display: block;
    color: var(--color-primary-700);
    font-size: 20px;
    font-weight: 900;
}

.process-timeline span {
    display: block;
    margin-top: 12px;
    color: var(--color-text-secondary);
}

.compare-table-wrap {
    overflow-x: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.compare-table thead th {
    color: var(--color-primary-700);
    background: var(--color-primary-50);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.review-grid article {
    padding: 34px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
}

.review-grid p {
    margin: 0 0 22px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.75;
}

.review-grid strong {
    color: var(--color-text-secondary);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}

.faq-list summary {
    padding: 20px 22px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.faq-list p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--color-text-secondary);
}

.final-cta {
    padding: 78px 0;
    color: var(--color-white);
    background: var(--color-primary-950);
}

.final-cta h2 {
    margin: 0;
    font-size: clamp(34px, 4.5vw, 54px);
    font-weight: 900;
    line-height: 1.18;
}

.final-cta p {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.final-cta-actions {
    display: grid;
    justify-items: start;
    gap: 16px;
    align-self: end;
}

.final-cta-actions span {
    color: rgba(255, 255, 255, 0.72);
}

.inline-contact-section {
    padding: 98px 0;
    background: var(--color-background);
}

.inline-contact-info {
    position: sticky;
    top: 110px;
}

.inline-contact-info h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.22;
}

.inline-contact-info p {
    margin: 18px 0 0;
    color: var(--color-text-secondary);
}

.inline-contact-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 28px 0 0;
    list-style: none;
}

.inline-contact-list li {
    display: flex;
    gap: 12px;
    color: var(--color-text-secondary);
}

.inline-contact-list i {
    width: 22px;
    color: var(--color-primary-600);
    padding-top: 5px;
}

.contact-form-wrap {
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

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

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

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

.form-field label,
.form-agree label {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 800;
}

.required-field label::after {
    content: " *";
    color: var(--color-danger);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-file-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 14px;
}

.form-help {
    margin: -2px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.email-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(130px, 0.8fr);
    gap: 8px;
    align-items: center;
}

.email-composer [data-email-custom]:not([hidden]) {
    grid-column: 1 / -1;
}

.email-at {
    color: var(--color-text-muted);
    font-weight: 800;
}

.form-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-agree input {
    margin-top: 6px;
}

.form-submit {
    display: flex;
    justify-content: flex-end;
}

.site-footer {
    padding: 58px 0;
    color: rgba(255, 255, 255, 0.74);
    background: var(--color-primary-950);
}

.footer-inner {
    width: min(1280px, calc(100% - 40px));
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 36px;
    margin: 0 auto;
}

.footer-brand img {
    width: 150px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin: 18px 0 0;
}

.footer-info strong {
    display: block;
    margin-bottom: 12px;
    color: var(--color-white);
}

.footer-info p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 8px;
}

.footer-info small {
    display: block;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.46);
}

.footer-channels strong {
    display: block;
    margin-bottom: 12px;
    color: var(--color-white);
}

.footer-channels div {
    display: flex;
    gap: 8px;
}

.footer-channels a,
.scroll-quick-btn,
.quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-channels a {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
}

.quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-primary-800);
}

.quick-icon.kakao {
    color: #2f261c;
    background: #f7dc32;
}

.quick-icon.instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #515bd4);
}

.quick-icon.phone {
    background: var(--color-success);
}

.scroll-quick-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 901;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: var(--radius-sm);
    color: var(--color-white);
    background: var(--color-primary-700);
    box-shadow: var(--shadow-md);
}

.quick-menu {
    position: fixed;
    right: 22px;
    top: 50%;
    z-index: 900;

    display: grid;
    justify-items: end;
    gap: 8px;

    transform: translateY(-50%);
}

.quick-item {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-surface);
    box-shadow: var(--shadow-md);

    transition: width 0.25s ease;
}

.quick-item:hover {
    width: 150px;
}

.quick-icon {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-primary-800);
}

.quick-text {
    flex: 0 0 auto;
    opacity: 0;
    visibility: hidden;

    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;

    transition: opacity 0.18s ease;
}

.quick-item:hover .quick-text {
    opacity: 1;
    visibility: visible;
}

.reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-list,
.pricing-grid,
.new-card-grid.three {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.portfolio-card,
.pricing-card,
.new-service-card,
.new-info-card {
    display: block;
    height: 100%;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.portfolio-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin: -24px -24px 20px;
    background: var(--color-background-soft);
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-info h3,
.pricing-card h3,
.new-service-card h3,
.new-info-card h3 {
    margin: 0 0 8px;
    color: var(--color-text);
    font-size: 22px;
    font-weight: 900;
}

.portfolio-info p,
.pricing-card p,
.new-service-card p,
.new-info-card p {
    margin: 0;
    color: var(--color-text-secondary);
}

@media (max-width: 1199.98px) {
    .gnb {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-block;
        margin-left: auto;
    }

    .header-contact-btn,
    .quick-menu {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .main-hero-grid,
    .proof-grid,
    .method-grid,
    .compare-grid,
    .faq-grid,
    .inline-contact-grid,
    .final-cta-grid,
    .case-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .main-hero-grid {
        min-height: auto;
    }

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

    .service-body dl,
    .process-timeline,
    .review-grid,
    .portfolio-list,
    .pricing-grid,
    .new-card-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-timeline li:nth-child(2n) {
        border-right: 0;
    }

    .process-timeline li {
        border-bottom: 1px solid var(--color-border);
    }

    .inline-contact-info {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .header-inner {
        width: calc(100% - 32px);
        height: 66px;
    }

    .logo img,
    .mobile-menu-head img {
        width: 132px;
    }

    .page-container {
        padding-top: 66px;
    }

    .main-hero-copy h2 {
        font-size: 42px;
    }

    .main-hero-grid {
        padding: 60px 0 70px;
    }

    .main-hero-panel,
    .contact-form-wrap,
    .featured-case,
    .review-grid article {
        padding: 22px;
    }

    .proof-board,
    .method-list,
    .service-body dl,
    .process-timeline,
    .review-grid,
    .portfolio-list,
    .pricing-grid,
    .new-card-grid.three,
    .form-row {
        grid-template-columns: 1fr;
    }

    .proof-board article,
    .process-timeline li {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .proof-board article:last-child,
    .process-timeline li:last-child {
        border-bottom: 0;
    }

    .problem-list article {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .case-lead {
        align-items: start;
        flex-direction: column;
    }

    .email-composer {
        grid-template-columns: 1fr;
    }

    .email-at {
        display: none;
    }

    .footer-inner {
        width: calc(100% - 32px);
    }
}

/* Compatibility layer for existing public subpage templates. */
.btn-black,
.btn-red {
    color: var(--color-white) !important;
    background: var(--color-primary-700) !important;
    border-color: var(--color-primary-700) !important;
    width: 200px;
    height: 60px;
    font-size: 24px;
}

.btn-black:hover,
.btn-red:hover {
    color: var(--color-white) !important;
    background: var(--color-primary-800) !important;
    border-color: var(--color-primary-800) !important;
    width: 200px;
    height: 60px;
    font-size: 24px;
}

.btn-line {
    color: var(--color-primary-800) !important;
    background: var(--color-surface) !important;
    border-color: var(--color-border-strong) !important;
    width: 200px;
    height: 60px;
    font-size: 24px;
}

.btn-line:hover {
    color: var(--color-white) !important;
    background: var(--color-primary-700) !important;
    border-color: var(--color-primary-700) !important;
}

.main-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.service-hero-new,
.portfolio-visual {
    padding: 104px 0 86px;
    background:
        radial-gradient(circle at 82% 18%, rgba(145, 205, 243, 0.26), transparent 30%),
        linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-surface) 58%, var(--color-background-soft) 100%);
    border-bottom: 1px solid var(--color-border);
}

.service-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 56px;
    align-items: center;
}

.service-hero-new h1,
.portfolio-visual-title {
    max-width: 880px;
    margin: 0;
    color: var(--color-text);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.service-hero-new p,
.portfolio-visual-desc {
    max-width: 820px;
    margin: 22px 0 0;
    color: var(--color-text-secondary);
    font-size: 18px;
    line-height: 1.85;
}

.service-hero-panel {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 14px;
    padding: 34px;
    border-radius: var(--radius-xl);
    color: var(--color-white);
    background:
        linear-gradient(145deg, rgba(6, 23, 43, 0.96), rgba(18, 72, 120, 0.92)),
        var(--color-primary-950);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.service-hero-panel::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
}

.service-hero-panel i,
.service-hero-panel strong,
.service-hero-panel span {
    position: relative;
    z-index: 1;
}

.service-hero-panel i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-primary-950);
    background: var(--color-primary-200);
    font-size: 24px;
}

.service-hero-panel strong {
    color: var(--color-white);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.16;
}

.service-hero-panel span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
}

.new-section {
    padding: 104px 0;
    background: var(--color-surface);
}

.new-soft {
    background: var(--color-background);
}

.new-navy {
    color: var(--color-white);
    background: var(--color-primary-950);
}

.new-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
    align-items: start;
}

.new-head {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-title {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(34px, 4.8vw, 54px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.section-desc {
    margin: 16px 0 0;
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.85;
}

.new-navy .section-title,
.new-navy .section-desc {
    color: var(--color-white);
}

.new-list-cards {
    display: grid;
    gap: 14px;
}

.new-list-cards article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.new-list-cards span,
.new-process span {
    color: var(--color-primary-500);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.new-list-cards p {
    margin: 0;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 700;
}

.new-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.new-process article {
    min-height: 160px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary-500);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.new-process h3 {
    margin: 14px 0 0;
    color: var(--color-text);
    font-size: 22px;
    font-weight: 900;
}

.portfolio-preview-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.portfolio-empty,
.pricing-empty {
    grid-column: 1 / -1;
    padding: 42px 24px;
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    text-align: center;
    background: var(--color-surface);
}

.onad-pricing-list-section {
    padding: 90px 0 108px;
    background: var(--color-surface);
}

.onad-inner {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
}

.onad-pricing-summary {
    max-width: 760px;
    margin-bottom: 34px;
}

.onad-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--color-primary-600);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.onad-pricing-summary h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.onad-pricing-summary p {
    margin: 14px 0 0;
    color: var(--color-text-secondary);
    font-size: 17px;
}

.onad-pricing-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.onad-pricing-sidebar {
    position: sticky;
    top: 85px;
}

.onad-pricing-sidebar-card {
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.onad-pricing-sidebar-title {
    display: block;
    margin-bottom: 12px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 900;
}

.onad-pricing-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
}

button.onad-pricing-nav-item,
.onad-pricing-nav-link {
    cursor: pointer;
}

.onad-pricing-nav-link,
button.onad-pricing-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
}

.onad-pricing-nav-item.is-scroll-active,
.onad-pricing-nav-link:hover,
button.onad-pricing-nav-item:hover {
    color: var(--color-primary-800);
    background: var(--color-primary-50);
    border-color: var(--color-primary-100);
}

.onad-pricing-filter-check {
    flex: 0 0 auto;
    display: inline-flex;
    margin: 0;
}

.onad-pricing-filter-check input {
    width: 16px;
    height: 16px;
}

.onad-pricing-nav-count {
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    font-size: 12px;
}

.onad-pricing-nav-label {
    white-space: nowrap;
}

.onad-pricing-content {
    min-width: 0;
    display: grid;
    gap: 22px;
}

.onad-pricing-category {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.onad-pricing-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 26px 28px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-primary-50);
}

.onad-pricing-category-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.onad-pricing-category-title-row h2 {
    margin: 0;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 900;
}

.onad-pricing-category-title-row > span,
.onad-pricing-category-badge,
.onad-pricing-product-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--color-primary-700);
    background: var(--color-primary-200);
    font-size: 12px;
    font-weight: 900;
}


.onad-pricing-category-head p {
    margin: 10px 0 0;
    color: var(--color-text-secondary);
}

.onad-pricing-product-list {
    display: grid;
}

.onad-pricing-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
    gap: 24px;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--color-border);
}

.onad-pricing-product:last-child {
    border-bottom: 0;
}

.onad-pricing-product-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.onad-pricing-product h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 22px;
    font-weight: 900;
}

.onad-pricing-product p {
    margin: 9px 0 0;
    color: var(--color-text-secondary);
}

.onad-pricing-product-price {
    justify-self: end;
    color: var(--color-primary-700);
    font-size: 20px;
    font-weight: 900;
    white-space: nowrap;
}

.onad-pricing-category-empty,
.onad-pricing-empty {
    padding: 80px 0;
    color: var(--color-text-secondary);
    text-align: center;
}

@media (max-width: 991.98px) {
    .service-hero-grid,
    .new-split,
    .onad-pricing-layout {
        grid-template-columns: 1fr;
    }

    .service-hero-panel {
        min-height: 260px;
    }

    .onad-pricing-sidebar {
        position: sticky;
        top: 76px;
        z-index: 850;
        min-width: 0;
    }

    .onad-pricing-sidebar-card {
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 12px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .onad-pricing-sidebar-title,
    .onad-pricing-nav-item,
    .onad-pricing-nav-link,
    button.onad-pricing-nav-item {
        flex: 0 0 auto;
    }

    .onad-pricing-sidebar-title {
        margin: 0 4px 0 0;
    }

    .onad-pricing-nav-item,
    .onad-pricing-nav-link,
    button.onad-pricing-nav-item {
        width: auto;
    }

    .onad-pricing-nav-item.is-scroll-active .onad-pricing-nav-link {
        color: var(--color-primary-800);
    }

    .new-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .service-hero-new,
    .portfolio-visual,
    .new-section,
    .onad-pricing-list-section {
        padding: 68px 0;
    }

    .onad-inner {
        width: calc(100% - 32px);
    }

    .portfolio-preview-head,
    .onad-pricing-category-head {
        align-items: stretch;
        flex-direction: column;
    }

    .new-process,
    .onad-pricing-product {
        grid-template-columns: 1fr;
    }

    .onad-pricing-product-price {
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* UI balance refinements for public pages. */
.new-card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.new-info-card,
.new-service-card {
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-content: start;
    min-height: 238px;
}

.new-info-card i,
.new-service-card i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    font-size: 20px;
}

.new-info-card h3,
.new-service-card h3 {
    line-height: 1.28;
}

.new-info-card p,
.new-service-card p {
    line-height: 1.72;
}

.new-process {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.new-process article {
    display: grid;
    grid-template-rows: auto 1fr;
}

.new-history-empty,
.execution-board-empty,
.portfolio-empty.is-filled,
.onad-pricing-empty-panel {
    border: 1px solid rgba(220, 230, 239, 0.86);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.new-history-empty {
    padding: 34px;
    color: rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.new-history-empty strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-white);
    font-size: 22px;
    font-weight: 900;
}

.execution-board-empty {
    flex: 2;
    padding: 28px;
}

.execution-board-section {
    padding: 88px 0;
    background: #f5f6f8;
}

.execution-board-inner {
    width: min(1180px, calc(100% - 48px));
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.execution-board-head {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.execution-board-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary-600);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.execution-board-head h2 {
    margin: 0;
    color: #111318;
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.2;
}

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

.execution-empty-card {
    min-height: 150px;
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-primary-50);
}

.execution-empty-card span {
    color: var(--color-primary-600);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.execution-empty-card strong {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.35;
}

.execution-empty-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.portfolio-mini-list .empty-state {
    min-height: 100%;
    display: grid;
    align-content: center;
}

.portfolio-placeholder-list {
    display: grid;
    gap: 14px;
}

.portfolio-placeholder-list .portfolio-mini-item {
    pointer-events: none;
}

.portfolio-empty.is-filled {
    min-height: 260px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    padding: 44px 24px;
}

.portfolio-empty.is-filled strong {
    color: var(--color-text);
    font-size: 24px;
    font-weight: 900;
}

.portfolio-empty.is-filled span {
    max-width: 520px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.onad-pricing-empty {
    padding: 90px 0 108px;
    background: var(--color-surface);
}

.onad-pricing-empty-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 34px;
    text-align: left;
}

.onad-pricing-empty-panel h2 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.22;
}

.onad-pricing-empty-panel p {
    margin: 14px 0 0;
    color: var(--color-text-secondary);
}

.onad-empty-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.onad-empty-card {
    min-height: 134px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-primary-50);
}

.onad-empty-card strong {
    display: block;
    color: var(--color-primary-700);
    font-size: 17px;
    font-weight: 900;
}

.onad-empty-card span {
    display: block;
    margin-top: 8px;
    color: var(--color-text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.contact-section {
    padding: 96px 0 112px;
    background: var(--color-background);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: 44px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 108px;
    padding: 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    margin: 0;
    color: var(--color-text);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.28;
}

.contact-info p {
    margin: 16px 0 0;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

.contact-list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 26px 0 0;
    list-style: none;
}

.contact-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--color-text-secondary);
}

.contact-list i {
    padding-top: 5px;
    color: var(--color-primary-600);
}

.portfolio-detail-visual {
    padding: 96px 0 64px;
    background:
        radial-gradient(circle at 84% 20%, rgba(145, 205, 243, 0.25), transparent 30%),
        linear-gradient(135deg, var(--color-primary-50), var(--color-surface));
    border-bottom: 1px solid var(--color-border);
}

.portfolio-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.portfolio-breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    font-size: 12px;
    font-weight: 900;
}

.portfolio-detail-title {
    max-width: 980px;
    margin: 0;
    color: var(--color-text);
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.14;
}

.portfolio-detail-section {
    padding: 72px 0 40px;
    background: var(--color-surface);
}

.portfolio-content {
    max-width: 860px;
    margin: 0 auto 34px;
    color: var(--color-text-secondary);
    font-size: 18px;
    line-height: 1.85;
}

.portfolio-detail-media {
    display: grid;
    gap: 22px;
}

.portfolio-detail-media-item {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-background-soft);
}

.portfolio-detail-media-item img,
.portfolio-detail-media-item video,
.portfolio-detail-media-item iframe {
    width: 100%;
    display: block;
}

.portfolio-detail-media-item iframe {
    aspect-ratio: 16 / 9;
}

.history-list.new-history {
    display: grid;
    gap: 16px;
}

.history-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
}

.history-year {
    color: var(--color-primary-300);
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.history-content {
    display: grid;
    gap: 16px;
}
.history-month-item{
    display: flex;
    gap: 20px;
}
.history-month-item h3 {
    margin: 0 0 6px;
    color: var(--color-white);
    font-size: 18px;
    font-weight: 900;
    line-height: 2;
    width: 40px;
}

.history-month-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 17px;
    line-height: 2;
}
.history-month-item p b{
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 991.98px) {
    .new-card-grid.three,
    .new-process,
    .execution-empty-grid,
    .onad-empty-card-grid,
    .onad-pricing-empty-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .onad-pricing-empty-panel {
        align-items: start;
    }

    .contact-grid,
    .history-item {
        grid-template-columns: 1fr;
    }

    .execution-board-inner {
        flex-direction: column;
        gap: 24px;
    }

    .execution-board-head {
        align-items: flex-start;
        margin-bottom: 0;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .new-card-grid.three,
    .new-process,
    .execution-empty-grid,
    .onad-empty-card-grid,
    .onad-pricing-empty-panel {
        grid-template-columns: 1fr;
    }

    .new-info-card,
    .new-service-card {
        min-height: 0;
    }

    .execution-board-empty,
    .onad-pricing-empty-panel {
        padding: 22px;
    }
}

.link_contact{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-items: flex-end;
}
/* 포트폴리오 상세 이미지 */
.portfolio-detail-media {
    display: block;
}

body.portfolio-detail-page .portfolio-detail-section > .inner.egglink-reveal {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
}

.portfolio-detail-media-item {
    display: block;
    width: 100%;
    margin: 0 0 28px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/*
 * 초장축 이미지가 컨테이너 너비까지 확대되면
 * 렌더링 높이가 20,000px 이상이 되므로 너비를 제한한다.
 */
.portfolio-detail-media-item img {
    display: block;
    width: auto;
    max-width: min(100%, 860px);
    max-height: none;
    height: auto;
    margin: 0 auto;

    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: initial;

    transform: none;
    filter: none;
    clip-path: none;
    mask: none;
    contain: none;
    will-change: auto;
}

/* 영상은 기존처럼 전체 너비 사용 */
.portfolio-detail-media-item video,
.portfolio-detail-media-item iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--color-background-soft);
}

.portfolio-detail-media-item iframe {
    aspect-ratio: 16 / 9;
}
/* =========================================================
   EGGLINK - HOMEPAGE PRODUCTION PAGE
========================================================= */

body.homepage-production-page {
    background: var(--color-surface);
}


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

.homepage-production-page .hp-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    color: var(--color-text);
    background:
        radial-gradient(
            circle at 82% 24%,
            rgba(255, 192, 29, 0.24),
            transparent 28%
        ),
        radial-gradient(
            circle at 18% 78%,
            rgba(255, 192, 29, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #fffdf5 0%,
            var(--color-surface) 58%,
            var(--color-background-soft) 100%
        );
    border-bottom: 1px solid var(--color-border);
}


.homepage-production-page .hp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}


/* 잔잔한 그리드 */
.homepage-production-page .hp-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(17, 24, 39, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(17, 24, 39, 0.035) 1px,
            transparent 1px
        );

    background-size: 54px 54px;

    mask-image:
        linear-gradient(
            90deg,
            rgba(0,0,0,.5),
            transparent 88%
        );
}


.homepage-production-page .hp-hero-inner {
    position: relative;
    z-index: 2;

    min-height: 720px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(340px, .95fr);

    gap: 56px;

    align-items: center;

    padding: 76px 0 88px;
}


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

.homepage-production-page .hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 32px;
    padding: 0 13px;

    border: 1px solid rgba(255, 192, 29, .34);
    border-radius: 999px;

    color: #9a7000;
    background: rgba(255, 192, 29, .11);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .08em;
}


.homepage-production-page .hp-eyebrow::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffc01d;
}


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

.homepage-production-page .hp-hero-copy h2 {
    max-width: 820px;

    margin: 26px 0 0;

    color: var(--color-text);

    font-size: clamp(46px, 5.6vw, 76px);

    font-weight: 900;

    line-height: 1.08;

    letter-spacing: -.055em;
}


.homepage-production-page .hp-hero-copy h2 strong {
    position: relative;

    display: inline-block;

    color: var(--color-text);

    z-index: 1;
}


/* 에그링크 노란 강조 */
.homepage-production-page .hp-hero-copy h2 strong::after {
    content: "";

    position: absolute;

    left: -4px;
    right: -4px;

    bottom: 5px;

    height: 18px;

    border-radius: 4px;

    background: #ffc01d;

    z-index: -1;

    transform: rotate(-1deg);
}


.homepage-production-page .hp-hero-copy p {
    max-width: 700px;

    margin: 26px 0 0;

    color: var(--color-text-secondary);

    font-size: 18px;

    line-height: 1.85;
}


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

.homepage-production-page .hp-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}


/*
 * 기존 EggLink CSS의 .btn-red 에 !important가 있기 때문에
 * 여기에서도 !important 필요
 */
.homepage-production-page .hp-hero .btn-red {
    width: auto !important;
    min-width: 190px;

    height: 56px !important;

    padding: 0 24px;

    border-radius: 999px;

    color: #171717 !important;

    border-color: #ffc01d !important;

    background: #ffc01d !important;

    font-size: 15px !important;
    font-weight: 900;

    box-shadow:
        0 14px 32px rgba(255, 192, 29, .24);
}


.homepage-production-page .hp-hero .btn-red:hover {
    width: auto !important;

    color: #171717 !important;

    border-color: #ffd04d !important;

    background: #ffd04d !important;

    transform: translateY(-2px);
}


.homepage-production-page .hp-hero .btn-line {
    width: auto !important;
    min-width: 180px;

    height: 56px !important;

    padding: 0 24px;

    border-radius: 999px;

    color: var(--color-primary-900) !important;

    border-color: var(--color-border-strong) !important;

    background: rgba(255,255,255,.9) !important;

    font-size: 15px !important;
    font-weight: 900;

    box-shadow: var(--shadow-sm);
}


.homepage-production-page .hp-hero .btn-line:hover {
    color: var(--color-white) !important;

    border-color: var(--color-primary-800) !important;

    background: var(--color-primary-800) !important;
}


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

.homepage-production-page .hp-hero-object {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 420px;
}


.homepage-production-page .hp-hero-object::before {
    content: "";

    position: absolute;

    width: 440px;
    height: 440px;

    max-width: 90%;
    max-height: 90%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,192,29,.30) 0%,
            rgba(255,192,29,.11) 48%,
            transparent 72%
        );
}


.homepage-production-page .hp-hero-object img {
    position: relative;
    z-index: 2;

    width: min(520px, 100%);

    filter:
        drop-shadow(
            0 30px 45px rgba(6,23,43,.13)
        );
}


/* =========================================================
   공통 HP SECTION
========================================================= */

.homepage-production-page .hp-operation-section,
.homepage-production-page .hp-portfolio-cta-section,
.homepage-production-page .hp-estimate-section {
    position: relative;
}


.homepage-production-page .section-label {
    color: var(--color-primary-600);
}


.homepage-production-page .section-title {
    color: var(--color-text);
}


.homepage-production-page .section-desc {
    color: var(--color-text-secondary);
}


/* =========================================================
   OPERATION SUPPORT
========================================================= */

.homepage-production-page .hp-operation-section {
    padding: 104px 0;

    background: var(--color-surface);
}


.homepage-production-page .hp-operation-head {
    max-width: 780px;
}


.homepage-production-page .hp-operation-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 42px;
}


.homepage-production-page .hp-operation-card {
    min-height: 290px;

    padding: 30px;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    background: var(--color-surface);

    box-shadow: var(--shadow-sm);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


.homepage-production-page .hp-operation-card:hover {
    transform: translateY(-5px);

    border-color: var(--color-primary-200);

    box-shadow: var(--shadow-md);
}


.homepage-production-page .hp-operation-icon {
    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: var(--radius-md);

    color: var(--color-primary-950);

    background: #ffc01d;

    font-size: 21px;
}


.homepage-production-page .hp-operation-card h3 {
    margin: 26px 0 0;

    color: var(--color-text);

    font-size: 24px;

    font-weight: 900;

    line-height: 1.3;
}


.homepage-production-page .hp-operation-card p {
    margin: 14px 0 0;

    color: var(--color-text-secondary);

    font-size: 15px;

    line-height: 1.75;
}


/* 가운데 강조 카드 */
.homepage-production-page .hp-operation-card.is-accent {
    color: var(--color-white);

    border-color: var(--color-primary-900);

    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(255,192,29,.24),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--color-primary-950),
            var(--color-primary-800)
        );

    box-shadow: var(--shadow-md);
}


.homepage-production-page
.hp-operation-card.is-accent
.hp-operation-icon {
    color: #111;

    background: #ffc01d;
}


.homepage-production-page
.hp-operation-card.is-accent h3 {
    color: var(--color-white);
}


.homepage-production-page
.hp-operation-card.is-accent p {
    color: rgba(255,255,255,.72);
}


/* =========================================================
   WEBSITE ESTIMATE IFRAME
========================================================= */

.homepage-production-page
.website-estimate-iframe-section {
    padding: 92px 0;

    background: var(--color-background);
}


.homepage-production-page
.website-estimate-iframe {
    display: block;

    width: min(
        var(--container-width),
        calc(100% - 40px)
    );

    min-height: 720px;

    margin: 0 auto;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    background: var(--color-surface);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   PORTFOLIO CTA
========================================================= */

.homepage-production-page
.hp-portfolio-cta-section {
    padding: 96px 0;

    color: var(--color-white);

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(255,192,29,.20),
            transparent 30%
        ),
        var(--color-primary-950);
}


.homepage-production-page
.hp-portfolio-cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 48px;
}


.homepage-production-page
.hp-portfolio-cta-section
.section-label {
    color: #ffc01d;
}


.homepage-production-page
.hp-portfolio-cta-section
.section-title {
    color: var(--color-white);
}


.homepage-production-page
.hp-portfolio-cta-section
.section-desc {
    color: rgba(255,255,255,.70);
}


.homepage-production-page
.hp-portfolio-cta-section
.btn-red {
    flex: 0 0 auto;

    width: auto !important;
    min-width: 220px;

    height: 58px !important;

    padding: 0 26px;

    border-radius: 999px;

    color: #151515 !important;

    border-color: #ffc01d !important;

    background: #ffc01d !important;

    font-size: 15px !important;

    box-shadow:
        0 14px 36px rgba(255,192,29,.20);
}


.homepage-production-page
.hp-portfolio-cta-section
.btn-red:hover {
    width: auto !important;

    color: #151515 !important;

    background: #ffd04d !important;

    border-color: #ffd04d !important;
}


/* =========================================================
   ESTIMATE CALCULATOR
========================================================= */

.homepage-production-page
.hp-estimate-section {
    padding: 104px 0 120px;

    background: var(--color-background-soft);
}


.homepage-production-page
.hp-estimate-embed-iframe {
    display: block;

    width: 100%;

    min-height: 720px;

    border: 1px solid var(--color-border);

    border-radius: var(--radius-xl);

    background: var(--color-surface);

    box-shadow: var(--shadow-md);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .homepage-production-page .hp-hero-inner {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 42px;

        padding: 72px 0 82px;
    }


    .homepage-production-page .hp-hero-object {
        min-height: 330px;
    }


    .homepage-production-page .hp-operation-grid {
        grid-template-columns: 1fr;
    }


    .homepage-production-page
    .hp-portfolio-cta-inner {
        display: grid;

        grid-template-columns: 1fr;

        align-items: start;
    }

}


@media (max-width: 575.98px) {

    .homepage-production-page .hp-hero {
        min-height: auto;
    }


    .homepage-production-page .hp-hero-inner {
        padding: 54px 0 66px;
    }


    .homepage-production-page
    .hp-hero-copy h2 {
        font-size: 42px;

        line-height: 1.1;
    }


    .homepage-production-page
    .hp-hero-copy h2 strong::after {
        bottom: 3px;

        height: 11px;
    }


    .homepage-production-page
    .hp-hero-copy p {
        font-size: 16px;
    }


    .homepage-production-page
    .hp-hero-actions {
        flex-direction: column;
    }


    .homepage-production-page
    .hp-hero-actions .btn-red,
    .homepage-production-page
    .hp-hero-actions .btn-line {
        width: 100% !important;

        min-width: 0;
    }


    .homepage-production-page
    .hp-operation-section,
    .homepage-production-page
    .website-estimate-iframe-section,
    .homepage-production-page
    .hp-portfolio-cta-section,
    .homepage-production-page
    .hp-estimate-section {
        padding-top: 68px;
        padding-bottom: 68px;
    }


    .homepage-production-page
    .hp-operation-card {
        min-height: 0;

        padding: 24px;
    }


    .homepage-production-page
    .website-estimate-iframe {
        width: calc(100% - 32px);

        border-radius: var(--radius-lg);
    }


    .homepage-production-page
    .hp-estimate-embed-iframe {
        border-radius: var(--radius-lg);
    }


    .homepage-production-page
    .hp-portfolio-cta-section
    .btn-red {
        width: 100% !important;

        min-width: 0;
    }

}
/* =========================================================
   CEO MESSAGE
========================================================= */

.ceo-message-section {
    padding: 130px 0;
    background: #fff;
}

.ceo-message-box {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 650px;
    overflow: hidden;
    border-radius: 34px;
    background: #f7f8fb;
    box-shadow: var(--shadow-card);
}

/* 왼쪽 메시지 */
.ceo-message-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px;
}

.ceo-message-title {
    margin-top: 8px;
    font-size: 50px;
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.ceo-message-title em {
    position: relative;
    z-index: 1;
    font-style: normal;
    color: var(--color-primary-600);
}

.ceo-message-text {
    max-width: 650px;
    margin-top: 38px;
}

.ceo-message-text p {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--gray-700);
}

.ceo-message-text p:first-child {
    margin-top: 0;
    color: #111;
    font-weight: 800;
}

/* 대표 이름 */
.ceo-sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ceo-sign span {
    font-size: 14px;
    font-weight: 800;
    color: var(--gray-500);
}

.ceo-sign strong {
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -0.035em;
}


/* 오른쪽 대표 사진 */
.ceo-message-photo {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #111;
}

.ceo-message-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 55%,
            rgba(0, 0, 0, 0.65) 100%
        );
    pointer-events: none;
}

.ceo-message-photo img {
    width: 100%;
    height: 100%;
    min-height: 650px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.ceo-message-box:hover .ceo-message-photo img {
    transform: scale(1.025);
}


/* 사진 하단 텍스트 */
.ceo-photo-caption {
    position: absolute;
    left: 38px;
    bottom: 36px;
    z-index: 2;
    color: #fff;
}

.ceo-photo-caption span {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.65);
}

.ceo-photo-caption strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.04em;
}


/* =========================================================
   CEO MESSAGE - TABLET
========================================================= */

@media (max-width: 1024px) {

    .ceo-message-box {
        grid-template-columns: 1fr;
    }

    .ceo-message-copy {
        padding: 60px 48px;
    }

    .ceo-message-photo {
        min-height: 560px;
    }

    .ceo-message-photo img {
        min-height: 560px;
    }
}


/* =========================================================
   CEO MESSAGE - MOBILE
========================================================= */

@media (max-width: 640px) {

    .ceo-message-section {
        padding: 82px 0;
    }

    .ceo-message-box {
        display: flex;
        flex-direction: column;
        min-height: auto;
        border-radius: 24px;
    }

    .ceo-message-copy {
        padding: 38px 24px 42px;
    }

    .ceo-message-title {
        font-size: 38px;
        line-height: 1.18;
    }

    .ceo-message-text {
        margin-top: 28px;
    }

    .ceo-message-text p {
        font-size: 15px;
        line-height: 1.8;
    }

    .ceo-sign {
        align-items: flex-end;
        margin-top: 30px;
        padding-top: 22px;
    }

    .ceo-sign span {
        font-size: 13px;
    }

    .ceo-sign strong {
        font-size: 18px;
    }

    .ceo-message-photo {
        min-height: auto;
        aspect-ratio: 4 / 5;
    }

    .ceo-message-photo img {
        min-height: 0;
        height: 100%;
    }

    .ceo-photo-caption {
        left: 24px;
        bottom: 24px;
    }

    .ceo-photo-caption strong {
        font-size: 24px;
    }
}
/* =========================================================
   OFFLINE AD - problem / media detail
   EggLink scoped styles
   ========================================================= */
.offline-ad-page .oa-inner {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
    position: relative;
}

.offline-ad-page .oa-problem,
.offline-ad-page .oa-service-tabs-section {
    padding: 104px 0;
}

.offline-ad-page .oa-problem {
    background: var(--color-surface);
}

.offline-ad-page .oa-service-tabs-section {
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.offline-ad-page .oa-section-head {
    max-width: 840px;
    margin: 0 0 44px;
}

.offline-ad-page .oa-section-head.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.offline-ad-page .oa-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-primary-500);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offline-ad-page .oa-section-head h3,
.offline-ad-page .oa-service-feature-head h3 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(34px, 4.8vw, 54px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.offline-ad-page .oa-section-head p {
    margin: 18px 0 0;
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.85;
}

.offline-ad-page .oa-chip-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 980px;
    margin: 0 auto;
}

.offline-ad-page .oa-chip {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-primary-800);
    background: var(--color-primary-50);
    box-shadow: var(--shadow-sm);
    font-size: 16px;
    font-weight: 800;
}

.offline-ad-page .oa-service-tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1040px;
    margin: 0 auto 36px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    z-index: 99;
}

.offline-ad-page .oa-service-tab-btn {
    appearance: none;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    background: transparent;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.offline-ad-page .oa-service-tab-btn:hover {
    color: var(--color-primary-700);
    background: var(--color-primary-50);
}

.offline-ad-page .oa-service-tab-btn.active {
    color: var(--color-white);
    border-color: var(--color-primary-700);
    background: var(--color-primary-700);
    box-shadow: 0 10px 24px rgba(18, 72, 120, 0.16);
}

.offline-ad-page .oa-service-panel {
    display: none;
}

.offline-ad-page .oa-service-panel.active {
    display: block;
    animation: egglinkOfflineTabIn 0.32s ease both;
}

@keyframes egglinkOfflineTabIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offline-ad-page .oa-service-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 48px;
    align-items: center;
    padding: 48px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.offline-ad-page .oa-service-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 32px;
    margin-bottom: 18px;
    border-radius: 999px;
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.offline-ad-page .oa-service-detail-text > h3 {
    margin: 0 0 14px;
    color: var(--color-text);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.offline-ad-page .oa-service-detail-text > strong {
    display: block;
    margin-bottom: 14px;
    color: var(--color-primary-800);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.55;
}

.offline-ad-page .oa-service-detail-text > p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.85;
}

.offline-ad-page .oa-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.offline-ad-page .oa-service-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: var(--color-primary-800);
    background: var(--color-primary-50);
    font-size: 13px;
    font-weight: 800;
}

.offline-ad-page .oa-service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.offline-ad-page .oa-service-detail-actions .btn {
    width: auto;
    min-width: 164px;
    height: 52px;
    padding: 0 20px;
    font-size: 15px;
}

.offline-ad-page .oa-service-detail-actions .btn:hover {
    width: auto;
    height: 52px;
    font-size: 15px;
}

.offline-ad-page .oa-service-detail-image {
    position: relative;
    min-width: 0;
}

.offline-ad-page .oa-service-image-card {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, var(--color-primary-50), var(--color-background-soft));
}

.offline-ad-page .oa-service-image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.offline-ad-page .oa-service-floating-card {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: min(310px, calc(100% - 44px));
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 3px 12px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    background: rgba(6, 23, 43, 0.88);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.offline-ad-page .oa-service-floating-card i {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--color-primary-950);
    background: var(--color-primary-200);
    font-size: 18px;
}

.offline-ad-page .oa-service-floating-card strong {
    color: var(--color-white);
    font-size: 15px;
    font-weight: 900;
}

.offline-ad-page .oa-service-floating-card span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.5;
}

.offline-ad-page .oa-service-feature-section {
    margin-top: 32px;
    padding: 38px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
}

.offline-ad-page .oa-service-feature-head {
    margin-bottom: 24px;
}

.offline-ad-page .oa-service-feature-head h3 {
    font-size: clamp(28px, 3.2vw, 38px);
}

.offline-ad-page .oa-service-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.offline-ad-page .oa-service-feature-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-background);
}

.offline-ad-page .oa-service-feature-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: var(--radius-sm);
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    font-size: 19px;
}

.offline-ad-page .oa-service-feature-card h4 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.35;
}

.offline-ad-page .oa-service-feature-card p {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.offline-ad-page .oa-service-feature-point {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    color: var(--color-primary-700);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.65;
}

@media (max-width: 991.98px) {
    .offline-ad-page .oa-service-detail {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 34px;
    }

    .offline-ad-page .oa-service-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .offline-ad-page .oa-problem,
    .offline-ad-page .oa-service-tabs-section {
        padding: 68px 0;
    }

    .offline-ad-page .oa-inner {
        width: calc(100% - 32px);
    }

    .offline-ad-page .oa-section-head {
        margin-bottom: 30px;
    }

    .offline-ad-page .oa-section-head h3,
    .offline-ad-page .oa-service-feature-head h3 {
        font-size: 32px;
    }

    .offline-ad-page .oa-section-head p {
        font-size: 15px;
    }

    .offline-ad-page .oa-chip-cloud {
        display: grid;
        grid-template-columns: 1fr;
    }

    .offline-ad-page .oa-chip {
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        font-size: 14px;
    }

    .offline-ad-page .oa-service-tab-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin-bottom: 24px;
        padding: 8px;
        border-radius: var(--radius-lg);
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .offline-ad-page .oa-service-tab-btn {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 0 16px;
        font-size: 14px;
    }

    .offline-ad-page .oa-service-detail {
        gap: 24px;
        padding: 22px;
        border-radius: var(--radius-lg);
    }

    .offline-ad-page .oa-service-detail-text > h3 {
        font-size: 32px;
    }

    .offline-ad-page .oa-service-detail-text > strong {
        font-size: 17px;
    }

    .offline-ad-page .oa-service-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .offline-ad-page .oa-service-detail-actions .btn,
    .offline-ad-page .oa-service-detail-actions .btn:hover {
        width: 100%;
        min-width: 0;
        height: 50px;
        font-size: 14px;
    }

    .offline-ad-page .oa-service-image-card {
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-lg);
    }

    .offline-ad-page .oa-service-floating-card {
        position: static;
        width: 100%;
        margin-top: 12px;
    }

    .offline-ad-page .oa-service-feature-section {
        margin-top: 18px;
        padding: 22px;
        border-radius: var(--radius-lg);
    }

    .offline-ad-page .oa-service-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   NEXT STRATEGY SECTION
========================================================= */
.next-strategy-section {
    padding: 104px 0;
    border-top: 1px solid var(--color-border);
    background:
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-primary-50) 100%);
}

.next-strategy-head {
    max-width: 860px;
    margin-bottom: 38px;
}

.next-strategy-title {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(34px, 4.8vw, 54px);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.next-strategy-desc {
    max-width: 760px;
    margin: 16px 0 0;
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.85;
}

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

.next-strategy-card {
    position: relative;
    min-width: 0;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-text);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.next-strategy-card::after {
    content: "";
    position: absolute;
    right: -62px;
    bottom: -72px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--color-primary-50);
    transition: transform 0.25s ease;
}

.next-strategy-card:hover {
    color: var(--color-text);
    border-color: var(--color-primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.next-strategy-card:hover::after {
    transform: scale(1.12);
}

.next-strategy-card em,
.next-strategy-card strong,
.next-strategy-card span,
.next-strategy-card b {
    position: relative;
    z-index: 1;
}

.next-strategy-card em {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
    border-radius: var(--radius-md);
    color: var(--color-primary-700);
    background: var(--color-primary-100);
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.next-strategy-card strong {
    display: block;
    color: var(--color-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.next-strategy-card > span {
    display: block;
    flex: 1;
    margin-top: 13px;
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.next-strategy-card b {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: var(--color-primary-700);
    font-size: 14px;
    font-weight: 900;
}

.next-strategy-card b i {
    font-size: 12px;
    transition: transform 0.25s ease;
}

.next-strategy-card:hover b i {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .next-strategy-section {
        padding: 88px 0;
    }

    .next-strategy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .next-strategy-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        min-height: 240px;
    }
}

@media (max-width: 575.98px) {
    .next-strategy-section {
        padding: 68px 0;
    }

    .next-strategy-head {
        margin-bottom: 28px;
    }

    .next-strategy-title {
        font-size: 32px;
    }

    .next-strategy-desc {
        font-size: 15px;
        line-height: 1.75;
    }

    .next-strategy-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .next-strategy-card,
    .next-strategy-card:last-child:nth-child(odd) {
        grid-column: auto;
        min-height: 0;
        padding: 24px;
        border-radius: var(--radius-lg);
    }

    .next-strategy-card em {
        width: 42px;
        height: 42px;
        margin-bottom: 24px;
    }

    .next-strategy-card strong {
        font-size: 21px;
    }

    .next-strategy-card b {
        margin-top: 22px;
    }
}

/* =========================================================
   ABOUT - OFFICE GALLERY
   ========================================================= */

.office-gallery-section {
    padding: 120px 0;
    background: #f7f5ef;
}


/* ---------------------------------------------------------
   HEAD
   --------------------------------------------------------- */

.office-gallery-head {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 60px;

    margin-bottom: 52px;
}

.office-gallery-head .section-title {
    margin-bottom: 0;
}

.office-gallery-desc {
    max-width: 430px;
    margin: 0;

    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   MAIN IMAGE
   ========================================================= */

.office-gallery-main {
    position: relative;
    width: 70%;
    margin: auto;
}

.office-gallery-main-media {
    position: relative;

    width: 100%;
    height: 620px;

    overflow: hidden;

    background: #e9e9e9;

    border-radius: 26px;
}

.office-gallery-main-media img,
.office-gallery-main-media video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* 영상 배경 */
.office-gallery-main-media video {
    background: #06172b;
}


/* =========================================================
   THUMB AREA
   ========================================================= */

.office-gallery-thumb-area {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px auto;
    width: 70%;
}


/* =========================================================
   THUMB LIST
   ========================================================= */

.office-gallery-thumbs {
    display: grid;

    grid-auto-flow: column;

    /*
        데스크톱에서 정확히 5개씩 보이도록
    */
    grid-auto-columns:
        calc((100% - 56px) / 5);

    gap: 14px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;

    padding: 1px;
}

.office-gallery-thumbs::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   THUMB
   ========================================================= */

.office-gallery-thumb {
    position: relative;

    display: block;

    width: 100%;
    height: 112px;

    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 16px;

    background: #e7e7e7;

    cursor: pointer;

    scroll-snap-align: start;

    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.office-gallery-thumb:hover {
    transform: translateY(-2px);
}

.office-gallery-thumb.active {
    border-color: var(--color-primary-900);
}


/* 선택되지 않은 썸네일 */
.office-gallery-thumb:not(.active) {
    opacity: 0.72;
}

.office-gallery-thumb:not(.active):hover {
    opacity: 1;
}


.office-gallery-thumb img,
.office-gallery-thumb video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   VIDEO ICON
   ========================================================= */

.office-gallery-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    color: #fff;

    background: rgba(6, 23, 43, 0.72);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;
}

.office-gallery-video-icon i {
    margin-left: 2px;
    font-size: 13px;
}


/* =========================================================
   ARROWS
   ========================================================= */

.office-gallery-arrow {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    color: var(--color-primary-900);

    background: #fff;

    border: 1px solid var(--color-border);
    border-radius: 50%;

    box-shadow: var(--shadow-sm);

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.office-gallery-arrow:hover {
    color: #fff;

    background: var(--color-primary-900);
    border-color: var(--color-primary-900);
}


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

@media (max-width: 991px) {

    .office-gallery-section {
        padding: 90px 0;
    }

    .office-gallery-head {
        display: block;

        margin-bottom: 40px;
    }

    .office-gallery-desc {
        margin-top: 22px;
    }

    .office-gallery-main-media {
        height: 480px;
        border-radius: 22px;
    }

    .office-gallery-thumbs {
        grid-auto-columns:
            calc((100% - 36px) / 4);

        gap: 12px;
    }

    .office-gallery-thumb {
        height: 100px;
    }

}


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

@media (max-width: 575px) {

    .office-gallery-section {
        padding: 72px 0;
    }

    .office-gallery-head {
        margin-bottom: 30px;
    }

    .office-gallery-desc {
        margin-top: 18px;

        font-size: 15px;
        line-height: 1.7;
    }

    .office-gallery-desc br {
        display: none;
    }


    /* 메인 */
    .office-gallery-main-media {
        height: auto;

        aspect-ratio: 4 / 3;

        border-radius: 18px;
    }


    /* 하단 */
    .office-gallery-thumb-area {
        gap: 8px;

        margin-top: 12px;
    }

    .office-gallery-thumbs {
        /*
            모바일에서는 약 3개 반 정도 보이게 해서
            옆에 더 있다는 걸 자연스럽게 보여줌
        */
        grid-auto-columns: 31%;

        gap: 9px;
    }

    .office-gallery-thumb {
        height: 76px;

        border-radius: 12px;
    }


    /* 모바일은 손가락 스와이프가 있으므로
       좌우 버튼을 작게 */
    .office-gallery-arrow {
        width: 34px;
        height: 34px;

        font-size: 12px;
    }

    .office-gallery-video-icon {
        width: 30px;
        height: 30px;
    }

    .office-gallery-video-icon i {
        font-size: 10px;
    }

}
