/* =========================================================================
   emart24 English site (/en) - page-specific components
   Rebuilt to faithfully follow the planning deck (en_image/*).
   ========================================================================= */

/* ---------------------------------------------------- Home hero (new landing, slide 1) */
.enh-hero2 { background: #fff; padding: 80px 0 60px; }
.enh-hero2__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.enh-hero2 .enh-logo { width: min(440px, 82%); height: auto; display: block; margin-bottom: 32px; }
.enh-hero2__left p { font-size: 20px; line-height: 1.7; color: var(--e24-text); max-width: 500px; }
.enh-hero2__right { display: flex; align-items: center; justify-content: center; }
.enh-hero2__right img { max-width: 320px; width: 100%; height: auto; }
@media (max-width: 760px) { .enh-hero2__grid { grid-template-columns: 1fr; gap: 24px; } .enh-hero2 .enh-logo { width: 70%; } .enh-hero2__right img { max-width: 220px; } }

/* ---------------------------------------------------- Home hero (legacy) */
.enh-hero {
    position: relative;
    background: linear-gradient(120deg, #2c2c33 0%, #555560 100%);
    color: #fff;
    padding: 110px 0;
    overflow: hidden;
}
.enh-hero__badge {
    display: inline-block; background: var(--e24-yellow); color: var(--e24-dark);
    font-weight: 800; padding: 6px 16px; border-radius: 999px; font-size: 13px; letter-spacing: 1px;
}
.enh-hero h1 { font-size: 54px; font-weight: 900; line-height: 1.12; margin-top: 22px; letter-spacing: -1px; }
.enh-hero h1 .y { color: var(--e24-yellow); }
.enh-hero p { margin-top: 20px; font-size: 19px; color: rgba(255, 255, 255, 0.82); max-width: 620px; }
.enh-hero__cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 600px) { .enh-hero h1 { font-size: 34px; } .enh-hero { padding: 70px 0; } }

.enh-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -40px; position: relative; z-index: 5; }
.enh-quick a { background: #fff; border: 1px solid var(--e24-line); border-radius: 14px; padding: 26px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.06); transition: transform .18s ease; }
.enh-quick a:hover { transform: translateY(-4px); }
.enh-quick .ico { font-size: 26px; }
.enh-quick h3 { margin-top: 12px; font-size: 18px; color: var(--e24-dark); }
.enh-quick p { margin-top: 6px; font-size: 13px; color: var(--e24-muted); }
@media (max-width: 960px) { .enh-quick { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .enh-quick { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Brand Value (slide 1) */
.bv-top { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.bv-top__img { border-radius: 14px; overflow: hidden; }
.bv-top__img img { width: 100%; display: block; }
.bv-top h2 { font-size: 38px; font-weight: 900; color: var(--e24-dark); letter-spacing: -0.5px; }
.bv-top h2 .sub { display: block; font-size: 22px; font-weight: 800; margin-top: 4px; color: var(--e24-gray); }
.bv-narrative { margin-top: 22px; color: var(--e24-text); }
.bv-narrative p { margin-bottom: 14px; }
@media (max-width: 860px) { .bv-top { grid-template-columns: 1fr; } .bv-top h2 { font-size: 30px; } }

.bv-banner { border-radius: 12px; padding: 26px; text-align: center; margin:20px 0; }



.bv-banner img {
    width: 600px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.bv-banner .pill { display: inline-block; font-weight: 900; font-style: italic; letter-spacing: 1px; font-size: 26px; }
.bv-banner .pill .a { background: var(--e24-yellow); color: #fff; padding: 4px 14px; border-radius: 6px; }
.bv-banner .pill .b { background: #fff; color: var(--e24-dark); padding: 4px 14px; border-radius: 6px; margin-left: 4px; }
.bv-banner .pill .b i { color: var(--e24-yellow-dark); font-style: normal; }

.bv-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bv-promise .item { text-align: center; padding: 30px 24px; border-radius: 14px; background: #fff; border: 2px solid var(--e24-yellow); }
.bv-promise .item h3 { font-size: 20px; color: var(--e24-dark); }
.bv-promise .item p { margin-top: 10px; color: var(--e24-muted); font-size: 14px; }
@media (max-width: 600px) { .bv-promise { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Brand Gallery (slides 2-3) */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal-tile { border: 1px solid var(--e24-line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.gal-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.gal-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gal-cap { padding: 14px 16px; }
.gal-cap strong { display: block; font-size: 16px; color: var(--e24-dark); }
.gal-cap span { display: block; font-size: 13px; color: var(--e24-muted); margin-top: 4px; }
/* blank placeholder for images not yet provided */
.gal-blank { border: 1px dashed #cfcfd6; border-radius: 12px; background: #f7f7f9; overflow: hidden; }
.gal-blank .ph { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; color: #b3b3bb; font-size: 13px; text-align: center; line-height: 1.5; }
.gal-blank .gal-cap strong { color: var(--e24-gray); }
@media (max-width: 860px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gal-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Resource Center (slides 4-8) */
.rc-tabs { display: flex; gap: 8px; border-bottom: 2px solid var(--e24-line); margin-bottom: 36px; }
.rc-tabs button { background: none; border: 0; padding: 14px 26px; font-size: 17px; font-weight: 700; color: var(--e24-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.rc-tabs button.on { color: var(--e24-dark); border-bottom-color: var(--e24-yellow); }
.rc-panel { display: none; }
.rc-panel.on { display: block; }
.rc-block { margin-bottom: 40px; }
.rc-block h3 { font-size: 20px; color: var(--e24-dark); margin-bottom: 8px; padding-left: 12px; border-left: 4px solid var(--e24-yellow); }
.rc-block p.desc { color: var(--e24-muted); font-size: 14px; margin-bottom: 16px; }
.rc-img { border-radius: 12px; overflow: hidden; }
.rc-img img { width: 100%; height: auto; display: block; }
.rc-dl { margin-top: 18px; }
.rc-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rc-swatch { border-radius: 14px; padding: 30px; color: #fff; }
.rc-swatch h3 { font-size: 22px; font-weight: 800; }
.rc-swatch .spec { margin-top: 18px; font-size: 14px; line-height: 1.9; opacity: .95; }
.rc-swatch--yellow { background: var(--e24-yellow); }
.rc-swatch--gray { background: var(--e24-gray); }
@media (max-width: 600px) { .rc-swatches { grid-template-columns: 1fr; } }
/* enlarged English descriptions (slides 4-6) */
.rc-block p.desc--lg { font-size: 17px; line-height: 1.8; color: var(--e24-text); }
.rc-sub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 22px 0 8px; }
.rc-sub__item { background: var(--e24-bg); border-radius: 12px; padding: 20px 22px; }
.rc-sub__item h4 { font-size: 16px; color: var(--e24-dark); margin-bottom: 8px; }
.rc-sub__item p { font-size: 14px; color: var(--e24-muted); line-height: 1.6; }
.rc-oop-title { font-size: 17px; color: var(--e24-dark); margin: 30px 0 8px; padding-left: 12px; border-left: 4px solid var(--e24-yellow); }
.rc-oop { margin: 0 0 18px; padding-left: 20px; counter-reset: oop; }
.rc-oop li { list-style: decimal; margin: 8px 0; padding-left: 6px; font-size: 15px; color: var(--e24-text); line-height: 1.7; }
@media (max-width: 600px) { .rc-sub { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Core Features (slide 9) */
.feat-img { border: 1px solid var(--e24-line); border-radius: 14px; overflow: hidden; }
.feat-img img { width: 100%; display: block; }

/* affiliate logo grid (Shinsegae Group) */
.aff-group { margin-bottom: 40px; }
.aff-group h3 { font-size: 18px; color: var(--e24-dark); margin: 0 0 18px; padding-left: 12px; border-left: 4px solid var(--e24-yellow); }
.aff-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: stretch; }
.aff-card { border: 1px solid var(--e24-line); border-radius: 12px; background: #fff; padding: 18px 12px; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; }
.aff-card .logo { height: 52px; display: flex; align-items: center; justify-content: center; }
.aff-card .logo img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; }
.aff-card .nm { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--e24-dark); line-height: 1.35; }
.aff-card .nm .role { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--e24-muted); }
.aff-card.is-e24 { border: 2px solid var(--e24-yellow); background: #fffaf0; }
.aff-card.is-e24 .nm { color: var(--e24-dark); font-weight: 800; }
.aff-card .noimg { font-weight: 800; color: var(--e24-gray); font-size: 14px; }
@media (max-width: 960px) { .aff-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .aff-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------- Products / PL (slide 10) */
.pl-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.pl-row__img { border-radius: 12px; overflow: hidden; border: 1px solid var(--e24-line); }
.pl-row__img img { width: 100%; display: block; }
.pl-row__txt h3 { font-size: 22px; color: var(--e24-dark); }
.pl-row__txt .lead { font-size: 16px; color: var(--e24-yellow-dark); font-weight: 700; margin-top: 6px; }
.pl-row__txt p { margin-top: 8px; color: var(--e24-muted); }
.pl-row:nth-child(even) .pl-row__img { order: 2; }
@media (max-width: 760px) { .pl-row { grid-template-columns: 1fr; } .pl-row:nth-child(even) .pl-row__img { order: 0; } }

/* full-width PL promo banners (slide 10) */
.pl-banner { margin-bottom: 34px; }
.pl-banner img { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--e24-line); }
.pl-banner__txt { padding: 16px 4px 0; }
.pl-banner__txt h3 { font-size: 21px; color: var(--e24-dark); }
.pl-banner__txt p { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--e24-yellow-dark); }

/* ---------------------------------------------------- Stores 3D (slide 11) */
.store3d-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.store3d { border-radius: 16px; overflow: hidden; border: 1px solid var(--e24-line); background: #1a1a1f; display: block; }
.store3d .store3d-thumb { position: relative; line-height: 0; }
.store3d .store3d-thumb > img { width: 100%; display: block; }
.store3d .store3d-3d { position: absolute; right: 16px; bottom: 16px; width: 32%; max-width: 190px; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.store3d .meta { padding: 20px 24px; background: #fff; }
.store3d .meta h3 { font-size: 20px; color: var(--e24-dark); }
.store3d .meta p { margin-top: 6px; color: var(--e24-muted); font-size: 14px; }
@media (max-width: 600px) { .store3d-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Global Business (slide 12) */
.gb-timeline { display: flex; justify-content: space-between; position: relative; margin: 50px 0; flex-wrap: wrap; gap: 20px; }
.gb-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--e24-line); }
.gb-step { position: relative; text-align: center; flex: 1; min-width: 100px; }
.gb-step .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--e24-yellow); margin: 0 auto 14px; position: relative; z-index: 2; }
.gb-step .label { font-size: 13px; font-weight: 700; color: var(--e24-dark); }
.gb-step .date { font-size: 12px; color: var(--e24-muted); font-style: italic; margin-top: 4px; }
.gb-stats { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: center; }
.gb-map { overflow: hidden; }
.gb-map img { width: 100%; height: auto; display: block; }
.gb-table { width: 100%; border-collapse: collapse; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.gb-table caption { background: #f0a070; color: #fff; font-weight: 800; padding: 16px; font-size: 18px; }
.gb-table td { padding: 16px 20px; border-bottom: 1px solid var(--e24-line); background: #fff; }
.gb-table tr td:last-child { text-align: right; font-weight: 800; color: var(--e24-dark); }
.gb-table .gb-flag { width: 30px; height: auto; vertical-align: middle; margin-right: 12px; }
@media (max-width: 860px) { .gb-stats { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Strengths (slide 13) */
.str-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.str-card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--e24-line); background: #fff; }
.str-card .strip { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--e24-line); background: #fff; }
.str-card .strip.str-blank { display: flex; align-items: center; justify-content: center; background: #f7f7f9; color: #b3b3bb; font-size: 13px; text-align: center; border-bottom: 1px dashed #cfcfd6; }
.str-card .body { padding: 22px 26px; }
.str-card .num { position: absolute; top: 14px; left: 14px; width: 36px; height: 36px; border-radius: 8px; background: var(--e24-yellow); color: var(--e24-dark); font-weight: 900; display: flex; align-items: center; justify-content: center; z-index: 2; }
.str-card h3 { font-size: 19px; color: var(--e24-dark); }
.str-card p { margin-top: 8px; color: var(--e24-muted); font-size: 14px; }
@media (max-width: 600px) { .str-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- Franchise / MFA (slides 14-15) */
.mfa-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.mfa-step { background: #fff; border: 1px solid var(--e24-line); border-radius: 12px; padding: 16px 12px; text-align: center; }
.mfa-step .badge { display: inline-block; background: var(--e24-yellow); color: var(--e24-dark); font-weight: 800; font-size: 12px; padding: 4px 12px; border-radius: 999px; }
.mfa-step h4 { margin-top: 12px; font-size: 14px; color: var(--e24-dark); }
.mfa-step p { margin-top: 6px; font-size: 12px; color: var(--e24-muted); }
.mfa-actors { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.mfa-actors .cell { text-align: center; font-size: 11px; }
.mfa-actors .p { border: 1px solid var(--e24-yellow-dark); color: var(--e24-yellow-dark); border-radius: 6px; padding: 4px; font-weight: 700; margin-bottom: 5px; }
.mfa-actors .e { border: 1px solid var(--e24-gray); color: var(--e24-gray); border-radius: 6px; padding: 4px; font-weight: 700; }
.mfa-actors .blank { visibility: hidden; }
@media (max-width: 960px) { .mfa-steps, .mfa-actors { grid-template-columns: repeat(2, 1fr); } .mfa-actors { display: none; } }
@media (max-width: 600px) { .mfa-steps { grid-template-columns: 1fr; } }

.opt-tabs { display: flex; gap: 12px; justify-content: center; margin: 0 auto 36px; max-width: 720px; }
.opt-tabs button { flex: 1; padding: 18px; border: 2px solid var(--e24-line); background: #fff; border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--e24-gray); transition: all .15s ease; text-align: center; }
.opt-tabs button .t { display: block; font-size: 12px; color: var(--e24-yellow-dark); font-weight: 800; }
.opt-tabs button .d { display: block; font-size: 17px; margin-top: 4px; }
.opt-tabs button.on { border-color: var(--e24-yellow); background: #fffaf0; color: var(--e24-dark); }
.opt-panel { display: none; }
.opt-panel.on { display: block; }

.opt1-box { background: #fff; border: 1px solid var(--e24-line); border-radius: 16px; padding: 44px; text-align: center; max-width: 760px; margin: 0 auto; }
.opt1-box h3 { font-size: 24px; color: var(--e24-dark); }
.opt1-box p { margin-top: 14px; color: var(--e24-muted); }
.opt1-box .mail { display: inline-block; margin-top: 24px; font-size: 22px; font-weight: 800; color: var(--e24-yellow-dark); }
.opt1-box .note { margin-top: 22px; font-size: 13px; color: var(--e24-muted); }

.mfa-form { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--e24-line); border-radius: 16px; padding: 40px; }
.mfa-form .fieldset { margin-bottom: 28px; border: 0; padding: 0; }
.mfa-form .fieldset > legend { font-size: 16px; font-weight: 800; color: var(--e24-dark); padding: 0 0 14px; border-bottom: 2px solid var(--e24-yellow); width: 100%; }
.mfa-form .field { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--e24-line); }
.mfa-form .field label { font-weight: 600; color: var(--e24-gray); font-size: 14px; }
.mfa-form .field label .req { color: #e8541e; margin-left: 4px; }
.mfa-form .field input, .mfa-form .field select, .mfa-form .field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--e24-line); border-radius: 8px; font-size: 14px; font-family: inherit; }
.mfa-form .field input:focus, .mfa-form .field textarea:focus { outline: none; border-color: var(--e24-yellow); }
.mfa-form .checks { display: flex; gap: 18px; flex-wrap: wrap; }
.mfa-form .checks label { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.mfa-form .agree { display: flex; align-items: center; gap: 8px; margin: 20px 0; font-size: 13px; color: var(--e24-muted); }
.mfa-form .submit-row { text-align: center; }
@media (max-width: 600px) { .mfa-form { padding: 24px; } .mfa-form .field { grid-template-columns: 1fr; gap: 6px; } }
