﻿@charset "utf-8";

/* ==========================================================================
   Subpage Common CSS — Redesign 2026
   Relies on variables defined in styles.css
   ========================================================================== */

/* 단락 균형 (widow 방지, 한글 단어 보존) */
.page-body p,
.page-body li,
.page-body dd,
.page-hero__sub,
.product-intro p,
.info-section p,
.notice-card p {
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: pretty;
}
.page-body h1, .page-body h2, .page-body h3, .page-body h4,
.page-hero__title,
.product-intro__title {
    word-break: keep-all;
    text-wrap: balance;
}

/* --------------------------------------------------------------------------
   1. Page Hero
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: var(--surface-dark);
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero--light {
    background: var(--bg);
}

.page-hero--light::after {
    display: none;
}

.page-hero--deeper {
    background: #0d160f;
}

.page-hero--deeper::after {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.12) 0%, transparent 70%);
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
}

.page-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.page-hero__kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.page-hero--light .page-hero__kicker {
    color: var(--accent-dark);
}

.page-hero__title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 16px;
}

.page-hero--light .page-hero__title {
    color: var(--text);
}

.page-hero__sub {
    font-size: clamp(15px, 1.4vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    word-break: keep-all;
}

.page-hero--light .page-hero__sub {
    color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   2. Breadcrumb Bar
   -------------------------------------------------------------------------- */
.breadcrumb-bar {
    border-bottom: 1px solid var(--line);
    background: var(--surface, #fff);
}

.breadcrumb-bar__inner {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 500;
}

.breadcrumb-bar__inner a {
    color: var(--text-soft);
    transition: color 0.3s;
}

.breadcrumb-bar__inner a:hover {
    color: var(--accent-dark);
}

.breadcrumb-bar__sep {
    font-size: 11px;
    color: #c0c0c0;
}

.breadcrumb-bar__current {
    color: var(--text);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   3. Page Body Wrapper
   -------------------------------------------------------------------------- */
.page-body {
    padding: 80px 0 120px;
}

.page-body__inner {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. Product / Section Tabs
   -------------------------------------------------------------------------- */
.section-tabs {
    display: flex;
    border-bottom: 2px solid var(--line);
    margin-bottom: 64px;
    gap: 0;
}

.section-tabs__item {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-soft);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.section-tabs__item:hover {
    color: var(--text);
}

body.suppress-section-tab-hover .section-tabs__item,
body.suppress-section-tab-hover .section-tabs__item:hover {
    transition: none;
}

body.suppress-section-tab-hover .section-tabs__item:hover:not(.is-active) {
    color: var(--text-soft);
}

body.suppress-section-tab-hover .section-tabs__item.is-active:hover {
    color: var(--accent-dark);
}

.section-tabs__item.is-active {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   5. Product Intro Block (image + text)
   -------------------------------------------------------------------------- */
.product-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.product-intro__img {
    aspect-ratio: 4 / 3;
    background: var(--surface-2, #eef0eb);
    border-radius: 4px;
    overflow: hidden;
}

.product-intro__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-intro__kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.product-intro__title {
    font-size: clamp(22px, 2.2vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.product-intro__desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-soft);
    word-break: keep-all;
    margin-bottom: 28px;
}

.product-intro__list-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 12px;
}

.product-intro__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-intro__list li {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    padding-left: 16px;
    position: relative;
}

.product-intro__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 1px;
    background: var(--accent);
}

/* --------------------------------------------------------------------------
   6. Product Card Grid
   -------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.product-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
    border-color: transparent;
}

.product-card__img {
    aspect-ratio: 4 / 3;
    background: var(--surface-2, #eef0eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__img-placeholder {
    font-size: 13px;
    font-weight: 600;
    color: #aaa;
    text-align: center;
    padding: 16px;
    line-height: 1.5;
}

.product-card__body {
    padding: 24px;
}

.product-card__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.product-card__spec {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. Partnership Band (EATON)
   -------------------------------------------------------------------------- */
.partner-band {
    background: var(--surface-dark);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 64px;
}

.partner-band__inner {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.partner-band__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.partner-band__title {
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.18;
    margin-bottom: 8px;
}

.partner-band__since {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.partner-band__desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
    word-break: keep-all;
}

/* --------------------------------------------------------------------------
   8. Category Card Grid (2-col, EATON)
   -------------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.category-card {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 36px 32px;
    transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.category-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
    border-color: transparent;
}

.category-card__num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 14px;
}

.category-card__title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 10px;
}

.category-card__desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-soft);
    word-break: keep-all;
}

/* --------------------------------------------------------------------------
   9. CTA Bar
   -------------------------------------------------------------------------- */
.cta-bar {
    background: var(--surface-dark);
    color: #fff;
    padding: 52px 0;
}

.cta-bar__inner {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta-bar__text {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta-bar__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
}

.cta-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 0.3s, transform 0.35s var(--ease);
}

.cta-bar__btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   10. Process Steps (Battery / Service)
   -------------------------------------------------------------------------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 64px;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}

.process-step {
    padding: 36px 28px;
    border-right: 1px solid var(--line);
    background: var(--surface, #fff);
    transition: background 0.3s;
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: var(--surface-2, #eef0eb);
}

.process-step__num {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 14px;
}

.process-step__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    word-break: keep-all;
}

.process-step__desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-soft);
    word-break: keep-all;
}

/* --------------------------------------------------------------------------
   11. Feature Cards (3-col)
   -------------------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.feature-card {
    padding: 32px 28px;
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 4px;
    transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.feature-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.feature-card__icon {
    width: 44px;
    height: 44px;
    background: var(--surface-2, #eef0eb);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-dark);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card__desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-soft);
    word-break: keep-all;
}

/* --------------------------------------------------------------------------
   12. Info Text Section
   -------------------------------------------------------------------------- */
.info-section {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 48px;
}

.info-section__title {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 18px;
}

.info-section__body {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-soft);
    word-break: keep-all;
    max-width: 820px;
}

/* --------------------------------------------------------------------------
   13. Inquiry Layout (2-col: contact info + form)
   -------------------------------------------------------------------------- */
.inquiry-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.inquiry-contact__title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--text);
}

.inquiry-contact__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

.inquiry-contact__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.inquiry-contact__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.inquiry-contact__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
}

.inquiry-contact__hours {
    padding: 20px 24px;
    background: var(--surface-2, #eef0eb);
    border-radius: 4px;
}

.inquiry-contact__hours-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.inquiry-contact__hours-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

/* Service process (left side for service request) */
.service-process__title {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--text);
}

.service-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.service-step:last-child {
    border-bottom: none;
}

.service-step__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-step__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.service-step__desc {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. Form
   -------------------------------------------------------------------------- */
.inquiry-form {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px;
}

.inquiry-form__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}

.form-field label .req {
    color: var(--accent-dark);
    margin-left: 2px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    background: #fff;
}

.form-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23606060' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: var(--bg);
    padding-right: 40px;
    cursor: pointer;
}

.form-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    margin-top: 4px;
}

.form-agree input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent-dark);
    cursor: pointer;
}

.form-agree label {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.6;
    cursor: pointer;
}

.form-submit-wrap {
    margin-top: 28px;
}

.btn-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: var(--surface-dark);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.35s var(--ease);
    letter-spacing: 0.02em;
}

.btn-form-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Notice / Board List
   -------------------------------------------------------------------------- */
.notice-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid var(--text);
}

.notice-table th {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-soft);
    border-bottom: 1px solid var(--line);
    text-align: left;
    background: var(--surface-2, #eef0eb);
    letter-spacing: 0.04em;
}

.notice-table th.th-num {
    width: 80px;
    text-align: center;
}

.notice-table th.th-date {
    width: 140px;
    text-align: right;
}

.notice-table td {
    padding: 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.notice-table td.td-num {
    text-align: center;
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 600;
}

.notice-table td.td-date {
    text-align: right;
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 500;
    white-space: nowrap;
}

.notice-table tbody tr {
    transition: background 0.2s;
}

.notice-table tbody tr:hover {
    background: var(--surface-2, #eef0eb);
}

.notice-table .td-title a {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.25s;
}

.notice-table .td-title a:hover {
    color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   16. Catalog Grid
   -------------------------------------------------------------------------- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.catalog-card {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.catalog-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
    border-color: transparent;
}

.catalog-card__img {
    aspect-ratio: 4 / 3;
    background: var(--surface-2, #eef0eb);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-card__img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #aaa;
}

.catalog-card__img-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: #bbb;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.catalog-card__img-placeholder span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.catalog-card__body {
    padding: 24px;
}

.catalog-card__tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 8px;
}

.catalog-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    word-break: keep-all;
}

.catalog-card__dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.catalog-card__dl:hover {
    background: var(--surface-dark);
    color: #fff;
    border-color: var(--surface-dark);
}

.catalog-card__dl svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   17. Section title within page body
   -------------------------------------------------------------------------- */
.body-section-title {
    font-size: clamp(18px, 1.8vw, 24px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-step:nth-child(2) {
        border-right: none;
    }

    .process-step:nth-child(1),
    .process-step:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .inquiry-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .partner-band__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

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

    .cta-bar__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   19. Company Sub-page Layout (LNB sidebar)
   -------------------------------------------------------------------------- */
.page-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 64px;
    align-items: start;
}

.page-lnb {
    position: sticky;
    top: 100px;
}

.page-lnb__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 20px;
}

.page-lnb__list {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--text);
}

.page-lnb__list li {
    border-bottom: 1px solid var(--line);
}

.page-lnb__list a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    transition: color 0.2s, padding-left 0.2s;
}

.page-lnb__list a:hover {
    color: var(--text);
    padding-left: 8px;
}

.page-lnb__list li.is-active a {
    color: var(--accent-dark);
    font-weight: 700;
    border-left: 2px solid var(--accent);
    padding-left: 12px;
}

/* Content head */
.content-head {
    margin-bottom: 48px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.content-head h2 {
    font-size: clamp(24px, 2.4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text);
}

.content-head p {
    margin-top: 10px;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   20. Greeting Split
   -------------------------------------------------------------------------- */
.greeting-split {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 56px;
    align-items: start;
}

.greeting-split__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    word-break: keep-all;
}

.greeting-lead {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1.6;
}

.greeting-sign {
    margin-top: 16px;
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
}

.greeting-split__image {
    aspect-ratio: 3 / 4;
    background-color: #d4ddd6;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

/* --- Greeting Hero (배경 이미지 + 텍스트 오버레이) --- */
.greeting-hero {
    position: relative;
    min-height: 720px;
    padding: 80px 0;
    border-radius: 6px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    isolation: isolate;
}
.greeting-hero__overlay {
    display: none;
}
.greeting-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--text);
    word-break: keep-all;
}
.greeting-hero__inner .greeting-lead {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-dark);
    line-height: 1.6;
    margin-bottom: 4px;
}
.greeting-hero__inner .greeting-sign {
    margin-top: 16px;
    font-weight: 700;
    color: var(--text);
    font-size: 15px;
}

@media (max-width: 900px) {
    .greeting-hero { min-height: 0; padding: 56px 0; }
    .greeting-hero__inner { padding: 0 24px; font-size: 14px; }
    .greeting-hero__inner .greeting-lead { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   21. History Timeline
   -------------------------------------------------------------------------- */
.history-tl {
    display: flex;
    flex-direction: column;
}

.history-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    position: relative;
    padding-bottom: 40px;
}

.history-item::before {
    content: "";
    position: absolute;
    left: 100px;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: var(--line);
}

.history-item:last-child::before {
    display: none;
}

.history-item__year {
    font-size: 22px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
    padding-top: 4px;
    text-align: right;
}

.history-item__events {
    padding-left: 32px;
    position: relative;
}

.history-item__events::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 1px var(--accent);
}

.history-item__events ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item__events li {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    word-break: keep-all;
    position: relative;
    padding-left: 26px; /* align text consistently */
}

.history-item__events li strong {
    position: absolute;
    left: 0;
    top: 0;
    width: 26px; /* consistent space for month numbers */
    color: var(--text);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   22. Certification Grid
   -------------------------------------------------------------------------- */
.cert-section {
    margin-bottom: 44px;
}

.cert-section__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(46, 125, 50, 0.18);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-card {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    padding: 28px 24px;
    border-radius: 6px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.cert-card:hover {
    border-color: rgba(46, 125, 50, 0.3);
    box-shadow: 0 8px 24px rgba(9, 18, 14, 0.07);
}

.cert-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(46, 125, 50, 0.08);
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.cert-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.cert-card__year {
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

/* --------------------------------------------------------------------------
   22-1. Certification Filter / PDF Viewer
   -------------------------------------------------------------------------- */
.certfilter {
    margin-bottom: 32px;
}

.certfilter__search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.certfilter__search:focus-within {
    border-color: rgba(46, 125, 50, 0.45);
    box-shadow: 0 0 0 3px rgba(118, 196, 66, 0.14);
}
.certfilter__search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--accent-dark);
}
.certfilter__search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 14px;
    color: var(--text);
}
.certfilter__search input::-webkit-search-cancel-button {
    cursor: pointer;
}

.certfilter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.cert-chip {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.cert-chip span {
    display: inline-block;
    margin-left: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-soft);
    opacity: 0.75;
}
.cert-chip:hover:not(:disabled) {
    color: var(--accent-dark);
    border-color: rgba(46, 125, 50, 0.35);
}
.cert-chip.is-active {
    color: #fff;
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}
.cert-chip.is-active span { color: #fff; opacity: 0.85; }
.cert-chip:disabled { opacity: 0.4; cursor: default; }

.certfilter__count {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-soft);
}
.certfilter__count strong {
    color: var(--accent-dark);
    font-weight: 700;
}

.cert-empty {
    padding: 48px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-soft);
}

/* 클릭 가능한 카드(버튼) */
button.cert-card {
    font: inherit;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: block;
}
.cert-card--pdf:focus-visible {
    outline: 2px solid var(--accent-dark);
    outline-offset: 2px;
}
.cert-card--pdf:hover .cert-card__view {
    color: var(--accent-dark);
}

.cert-card__view {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
    transition: color 0.2s;
}
.cert-card__view--none {
    color: #b0a68a;
    font-weight: 600;
}

/* 모달 뷰어 */
body.is-modal-open { overflow: hidden; }

.certmodal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}
.certmodal[hidden] { display: none; }

.certmodal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 18, 14, 0.62);
}

.certmodal__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1000px, 100%);
    height: min(88vh, 100%);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(9, 18, 14, 0.35);
}

.certmodal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    flex: 0 0 auto;
}
.certmodal__meta { min-width: 0; }
.certmodal__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    background: rgba(46, 125, 50, 0.08);
    padding: 4px 8px;
    border-radius: 3px;
}
.certmodal__title {
    margin: 7px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.certmodal__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.certmodal__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-dark);
    border: 1px solid var(--accent-dark);
    border-radius: 6px;
    padding: 9px 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.certmodal__btn svg { width: 15px; height: 15px; }
.certmodal__btn:hover { background: #256428; }
.certmodal__btn--ghost {
    color: var(--accent-dark);
    background: #fff;
    border-color: rgba(46, 125, 50, 0.35);
}
.certmodal__btn--ghost:hover {
    background: #f6fff2;
    color: var(--accent-dark);
}

.certmodal__close {
    font: inherit;
    font-size: 15px;
    line-height: 1;
    color: var(--text-soft);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.certmodal__close:hover {
    color: var(--text);
    border-color: rgba(17, 23, 20, 0.3);
}

.certmodal__body {
    flex: 1 1 auto;
    min-height: 0;
    background: #f3f5f3;
}
.certmodal__body iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .certmodal { padding: 0; }
    .certmodal__panel { width: 100%; height: 100%; border-radius: 0; }
    .certmodal__head { flex-wrap: wrap; }
}

/* --------------------------------------------------------------------------
   23. Partner Section
   -------------------------------------------------------------------------- */
.partner-section {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.global-partners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.global-partner-card {
    background: var(--surface-dark);
    color: #fff;
    padding: 32px 28px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.global-partner-card__name {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}

.global-partner-card__region {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

.global-partner-card__desc {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.clients-section__head {
    margin-bottom: 20px;
}

.clients-section__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.clients-section__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
}

.client-logo-item {
    background: var(--bg);
    padding: 18px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-soft);
    text-align: center;
    transition: background 0.15s, color 0.15s;
}

.client-logo-item:hover {
    background: #fff;
    color: var(--text);
}

/* --------------------------------------------------------------------------
   24. Location
   -------------------------------------------------------------------------- */
.location-map {
    background: #e0e8e2;
    height: 460px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #8a9e8d;
    margin-bottom: 40px;
    overflow: hidden;
}

.location-map .root_daum_roughmap,
.location-map .wrap_map,
.location-map .wrap_controllers {
    width: 100% !important;
}

.location-map iframe {
    width: 100% !important;
    height: 100%;
    border: none;
    display: block;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.location-info-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 24px 28px;
}

.location-info-block__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 8px;
}

.location-info-block__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.6;
}

.location-info-block__value a:hover {
    color: var(--accent-dark);
}

/* --------------------------------------------------------------------------
   24-B. Laptop breakpoint (1101px ~ 1340px) — subpage layout tightening
   -------------------------------------------------------------------------- */
@media (min-width: 1101px) and (max-width: 1340px) {
    /* page-hero inner padding 축소 */
    .page-hero__inner,
    .page-body__inner,
    .breadcrumb-bar__inner,
    .cta-bar__inner,
    .partner-band__inner,
    .service-urgent-bar__inner {
        width: calc(100% - 48px);
    }

    /* product cards 3열 유지하되 gap 줄이기 */
    .product-cards {
        gap: 14px;
    }

    /* product-grid 3열 → 컴팩트 */
    .product-grid {
        gap: 16px;
    }

    /* catalog-grid gap */
    .catalog-grid {
        gap: 16px;
    }

    /* inquiry form padding 축소 */
    .inquiry-form {
        padding: 32px;
    }

    /* quote form wrap padding 축소 */
    .quote-form-wrap {
        padding: 36px;
    }

    /* feature grid gap */
    .feature-grid {
        gap: 16px;
    }

    /* page-layout sidebar gap 축소 */
    .page-layout {
        gap: 40px;
    }

    /* 사이드바 너비 축소 */
    .page-layout {
        grid-template-columns: 190px 1fr;
    }
}

/* --------------------------------------------------------------------------
   25. Subpage header — always opaque (no hero to key tone off of)
   -------------------------------------------------------------------------- */
.site-header.subpage-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 6px 30px rgba(8, 17, 13, 0.07);
}

.site-header.subpage-header .brand a,
.site-header.subpage-header .main-nav > ul > li > a,
.site-header.subpage-header .lang-toggle {
    color: var(--text);
}

.site-header.subpage-header .menu-toggle span {
    background: var(--text);
}

/* --------------------------------------------------------------------------
   Responsive additions for company pages
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-lnb {
        position: static;
    }

    .page-lnb__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: none;
        gap: 8px;
    }

    .page-lnb__list li {
        border-bottom: none;
    }

    .page-lnb__list a {
        padding: 12px 14px;
        border: 1px solid var(--line);
        border-radius: 4px;
        font-size: 13px;
    }

    .page-lnb__list a:hover {
        padding-left: 14px;
    }

    .page-lnb__list li.is-active a {
        padding-left: 14px;
        border-color: var(--accent);
        border-left-width: 3px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .global-partners {
        grid-template-columns: 1fr;
    }

    .client-logo-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .greeting-split {
        grid-template-columns: 1fr;
    }

    .greeting-split__image {
        aspect-ratio: 16 / 7;
    }

    .history-item {
        grid-template-columns: 80px 1fr;
        gap: 24px;
    }

    .history-item__year {
        font-size: 18px;
    }

    .location-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: calc(var(--header-height) + 48px);
        padding-bottom: 52px;
    }

    .page-body {
        padding: 52px 0 80px;
    }

    .product-intro {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

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

    .process-steps {
        grid-template-columns: 1fr;
        border-radius: 4px;
    }

    .process-step {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .process-step:last-child {
        border-bottom: none;
    }

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

    .inquiry-form {
        padding: 28px 24px;
    }

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

    .notice-table th.th-num,
    .notice-table td.td-num {
        display: none;
    }

    .info-section {
        padding: 32px 24px;
    }

    .section-tabs__item {
        padding: 14px 20px;
        font-size: 14px;
    }

    .page-lnb__list {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .client-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .history-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-left: 20px;
        border-left: 2px solid var(--accent);
    }

    .history-item::before {
        display: none;
    }

    .history-item__year {
        text-align: left;
    }

    .history-item__events {
        padding-left: 0;
    }

    .history-item__events::before {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   26. Service Urgent Bar
   -------------------------------------------------------------------------- */
.service-urgent-bar {
    background: #1a2e1c;
    border-bottom: 1px solid rgba(46, 125, 50, 0.25);
}

.service-urgent-bar__inner {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
}

.service-urgent-bar__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.service-urgent-bar__tel {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.service-urgent-bar__tel a {
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}

.service-urgent-bar__tel a:hover {
    border-color: var(--accent);
    color: #a8d5aa;
}

.service-urgent-bar__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-left: auto;
}

@media (max-width: 768px) {
    .service-urgent-bar__inner {
        gap: 8px;
    }

    .service-urgent-bar__note {
        margin-left: 0;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   27. Quote page — full-width form layout
   -------------------------------------------------------------------------- */
.quote-contact-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 48px;
}

.quote-contact-item {
    background: var(--surface, #fff);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quote-contact-item__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.quote-contact-item__value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.quote-contact-item__value a {
    color: var(--text);
    transition: color 0.2s;
}

.quote-contact-item__value a:hover {
    color: var(--accent-dark);
}

.quote-form-wrap {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    padding: 48px;
}

.quote-form-wrap .inquiry-form__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

@media (max-width: 1100px) {
    .quote-contact-strip {
        grid-template-columns: 1fr;
    }

    .quote-contact-item {
        border-bottom: 1px solid var(--line);
    }

    .quote-contact-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .quote-form-wrap {
        padding: 28px 24px;
    }
}

/* --------------------------------------------------------------------------
   28. Product Cards + Expandable Detail Panel
   -------------------------------------------------------------------------- */

/* ── Card Grid ── */
.product-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.product-card-v2 {
    background: var(--surface, #fff);
    border: 1px solid var(--line);
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: box-shadow 0.25s, transform 0.25s, outline-color 0.2s;
}

/* 링크형 카드 (a 태그) */
a.product-card-v2,
.product-card-v2--link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-v2:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-card-v2.is-active {
    outline-color: var(--accent);
    transform: none;
    box-shadow: none;
}

/* Card image area */
.product-card-v2__img {
    aspect-ratio: 4 / 3;
    background: #fff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-v2__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 16px;
    box-sizing: border-box;
}

.product-card-v2__img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b0bdb3;
}

.product-card-v2__img-placeholder svg {
    width: 36px;
    height: 36px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-card-v2__img-placeholder span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hover badge on image */
.product-card-v2__badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 14px;
    background: rgba(10, 22, 12, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s, transform 0.2s;
}

.product-card-v2__badge svg {
    width: 13px;
    height: 13px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.product-card-v2:hover .product-card-v2__badge,
.product-card-v2.is-active .product-card-v2__badge {
    opacity: 1;
    transform: translateY(0);
}

.product-card-v2.is-active .product-card-v2__badge {
    background: rgba(27, 67, 30, 0.85);
}

/* Card text */
.product-card-v2__body {
    padding: 18px 20px 20px;
    border-top: 1px solid var(--line);
}

.product-card-v2__num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 6px;
}

.product-card-v2__name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    word-break: keep-all;
}

.product-card-v2__cap {
    display: inline-block;
    margin: 0 0 8px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    line-height: 1.4;
}

.product-card-v2__spec {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.6;
    margin: 0;
}

/* ── Detail Panel (expands below grid on click) ── */
.product-detail-panel {
    border: 2px solid var(--accent);
    margin-bottom: 64px;
    display: none;
    overflow: hidden;
    animation: detailOpen 0.28s ease;
}

.product-detail-panel.is-open {
    display: block;
}

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

/* Inner: video left | info right */
.product-detail-panel__inner {
    display: grid;
    grid-template-columns: 1fr 340px;
}

/* Video side */
.product-detail__video {
    aspect-ratio: 16 / 9;
    background: #0c1a0d;
    position: relative;
    overflow: hidden;
}

.product-detail__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.product-detail__video-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    pointer-events: none;
}

.product-detail__video-ph svg {
    width: 52px;
    height: 52px;
    stroke: rgba(255, 255, 255, 0.14);
    fill: none;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-detail__video-ph span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.18);
}

.product-detail__video-ph.is-hidden {
    display: none;
}

/* Info side */
.product-detail__side {
    display: flex;
    flex-direction: column;
    background: var(--surface, #fff);
    border-left: 1px solid var(--line);
}

.product-detail__info {
    padding: 28px 28px 20px;
    flex: 1;
}

.product-detail__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.product-detail__name {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 10px;
    word-break: keep-all;
}

.product-detail__spec {
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-soft);
    word-break: keep-all;
}

/* Action buttons */
.product-detail__actions {
    padding: 0 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-detail__pdf {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    background: var(--surface-2, #eef0eb);
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.product-detail__pdf svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.product-detail__pdf:hover {
    background: var(--surface-dark);
    border-color: var(--surface-dark);
    color: #fff;
}

.product-detail__pdf.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.product-detail__inquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    transition: background 0.2s;
}

.product-detail__inquiry svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.product-detail__inquiry:hover {
    background: var(--surface-dark);
    color: #fff;
}

/* Close strip */
.product-detail__close {
    width: 100%;
    padding: 12px;
    background: var(--surface-2, #eef0eb);
    border: none;
    border-top: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: inherit;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.product-detail__close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-detail__close:hover {
    background: var(--surface-dark);
    color: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
    .product-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-detail-panel__inner {
        grid-template-columns: 1fr;
    }

    .product-detail__side {
        border-left: none;
        border-top: 1px solid var(--line);
    }

    .product-detail__info {
        padding: 22px 24px 16px;
    }

    .product-detail__actions {
        padding: 0 24px 24px;
    }
}

@media (max-width: 768px) {
    .product-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-cards {
        grid-template-columns: 1fr;
    }
}


/* ──────────────────────────────────────────────
   EmailJS 폼 피드백 스타일
─────────────────────────────────────────────── */
.form-result-msg {
    margin-top: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}
.form-result-msg--success {
    background: rgba(46, 125, 50, 0.08);
    color: #1b5e20;
    border: 1px solid rgba(46, 125, 50, 0.25);
}
.form-result-msg--error {
    background: rgba(198, 40, 40, 0.07);
    color: #b71c1c;
    border: 1px solid rgba(198, 40, 40, 0.2);
}

/* 필수 항목 에러 표시 */
input.is-error,
select.is-error,
textarea.is-error {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.12);
}
.form-agree.is-error label {
    color: #e53935;
}
/* ── 공용 CTA 배너 ── */
.page-cta {
  background: linear-gradient(135deg, #0a2e14, #1b5e20);
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
  margin: 48px 0 0;
}
@media (max-width: 640px) { .page-cta { padding: 40px 24px; } }
.page-cta h3 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-cta p { color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 36px; }
.page-cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.page-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.page-cta__btn--white { background: #fff; color: #1b5e20; }
.page-cta__btn--white:hover { background: #e8f5e9; }
.page-cta__btn--ghost { border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }
.page-cta__btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* --------------------------------------------------------------------------
   브랜드 카탈로그 그리드
   -------------------------------------------------------------------------- */
.brand-catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 64px;
}

.brand-catalog-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.3s var(--ease);
}

.brand-catalog-card:hover {
    transform: translateY(-4px);
}

.brand-catalog-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brand-catalog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s var(--ease);
}

.brand-catalog-card:hover .brand-catalog-card__img img {
    transform: scale(1.04);
}

.brand-catalog-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-catalog-card__name {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.brand-catalog-card__dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 0;
    background: var(--surface-2, #eef0eb);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    width: 100%;
}

.brand-catalog-card__dl svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.brand-catalog-card__dl:hover {
    background: var(--surface-dark);
    border-color: var(--surface-dark);
    color: #fff;
}

.brand-catalog-card__dl.is-pending {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 1100px) {
    .brand-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .brand-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}
