:root {
  --ecwox-green: #0f473d; --ecwox-green-dark: #0a312b; --ecwox-green-soft: #1c5d50;
  --ecwox-ivory: #f4f0e6; --ecwox-ivory-light: #faf8f2; --ecwox-sand: #e7ddc9;
  --ecwox-gold: #c8a85d; --ecwox-gold-light: #e3cf9f; --ecwox-text: #10231f;
  --ink: var(--ecwox-text); --muted: #586b65; --forest: var(--ecwox-green); --forest-2: var(--ecwox-green-soft);
  --cream: var(--ecwox-ivory); --sand: var(--ecwox-sand); --gold: var(--ecwox-gold); --gold-soft: var(--ecwox-gold-light);
  --white: #fff; --border: #d8d7cd; --success: #176b4a; --danger: #9f3d37;
  --shadow: 0 24px 70px rgba(10,49,43,.10); --shadow-soft: 0 12px 38px rgba(10,49,43,.07); --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: inherit; } button, input, select, textarea { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .8rem 1rem; color: var(--white); background: var(--forest); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgba(15,71,61,.12); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; flex: 0 0 auto; color: var(--forest); text-decoration: none; line-height: 1; }
.brand-logo { display: block; width: 190px; height: 60px; object-fit: contain; object-position: left center; }
.brand-logo-reverse { width: 186px; height: 92px; margin: -18px 0; object-fit: contain; object-position: left center; }
.brand-wordmark { font-size: 1.62rem; font-weight: 900; letter-spacing: .075em; }
.brand-x { color: var(--gold); }
.brand-tagline { margin-top: 6px; font-size: .58rem; font-weight: 750; letter-spacing: .22em; text-transform: uppercase; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--gold-soft); background: var(--forest); font-family: Georgia, serif; letter-spacing: 0; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px,2vw,30px); margin-left: auto; }
.primary-nav a, .language-switch a { position: relative; text-decoration: none; font-size: .88rem; font-weight: 700; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--gold); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.language-switch { display: flex; gap: 8px; color: var(--muted); font-size: .85rem; }
.language-switch [aria-current="page"] { color: var(--forest); font-weight: 900; }
.nav-toggle { display: none; min-height: 44px; padding: .55rem .85rem; color: var(--forest); background: transparent; border: 1px solid rgba(15,71,61,.26); border-radius: 9px; font-weight: 800; }
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--ecwox-green-dark); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(5,36,31,.2),rgba(15,71,61,.32)); pointer-events: none; }
.hero-grid { position: relative; width: min(1560px,calc(100% - 64px)); min-height: 680px; display: grid; grid-template-columns: minmax(0,1fr) minmax(520px,1fr); align-items: center; gap: 54px; padding-block: 96px; }
.eyebrow { margin: 0 0 20px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 900; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 820px; font-size: clamp(3rem,5.4vw,5.6rem); font-weight: 800; }
h2 { font-size: clamp(2.1rem,3.8vw,3.7rem); font-weight: 780; }
h3 { font-size: 1.26rem; }
.hero-copy { max-width: 650px; margin: 28px 0 0; color: #dce8e3; font-size: clamp(1.05rem,1.8vw,1.3rem); }
.hero h1 { font-size: clamp(2.75rem,4vw,4rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: .78rem 1.2rem; color: var(--forest); background: var(--gold); border: 1px solid transparent; border-radius: 8px; font-weight: 850; text-decoration: none; cursor: pointer; transition: transform .2s ease,background .2s ease,color .2s ease; }
.button:hover { transform: translateY(-2px); } .button:disabled { cursor: wait; opacity: .65; transform: none; }
.button-secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.45); }
.button-secondary:hover { color: var(--forest); background: var(--white); }
.button-secondary-dark { color: var(--forest); background: transparent; border-color: rgba(15,71,61,.35); }
.button-secondary-dark:hover { color: var(--white); background: var(--forest); }
.button-dark { color: var(--white); background: var(--forest); } .button-dark:hover { background: var(--ecwox-green-dark); }
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; color: var(--gold-soft); }
.world-map { position: absolute; z-index: 1; left: -34%; width: min(840px,145%); height: auto; opacity: .28; }
.hero-master-x { position: absolute; z-index: 2; right: -48%; top: -36%; width: min(690px,118%); height: 172%; object-fit: cover; object-position: left center; opacity: .88; }
.map-origin { position: absolute; top: 39%; right: 17%; display: grid; grid-template-columns: 15px auto; column-gap: 9px; color: var(--white); line-height: 1.1; }
.map-origin span { grid-row: 1 / 3; align-self: center; width: 12px; height: 12px; background: var(--gold); border: 3px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 0 0 8px rgba(200,168,93,.2); }
.map-origin strong { font-size: .75rem; letter-spacing: .14em; } .map-origin small { margin-top: 4px; color: #d5e1dd; font-size: .58rem; letter-spacing: .2em; }
.map-caption { position: absolute; right: 0; bottom: 30px; padding: 18px 21px; background: rgba(10,49,43,.82); border: 1px solid rgba(227,207,159,.28); border-radius: 10px; backdrop-filter: blur(10px); }
.map-caption span, .map-caption strong { display: block; } .map-caption span { color: var(--gold); font-size: .65rem; font-weight: 850; letter-spacing: .16em; }
.map-caption strong { margin-top: 5px; font-family: Georgia,"Times New Roman",serif; font-size: 1.2rem; font-weight: 500; }
.section { padding-block: 112px; } .section-alt { background: var(--ecwox-ivory-light); } .section-dark { color: var(--white); background: var(--forest); }
.section-heading { max-width: 780px; margin-bottom: 48px; } .section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 1.06rem; } .section-dark .section-heading p { color: #cedbd6; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 22px; } .grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); } .grid-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
.card { padding: 30px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.card p { color: var(--muted); } .section-dark .card { color: var(--white); background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.14); box-shadow: none; } .section-dark .card p { color: #cedbd6; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: .22rem .65rem; color: var(--forest); background: #e8f0ed; border-radius: 999px; font-size: .76rem; font-weight: 850; }
.pill-warning { color: #735119; background: #f7ebcd; } .pill-closed { color: #713f3a; background: #f2dfdc; }
.rfq-card { position: relative; display: flex; flex-direction: column; min-height: 420px; overflow: hidden; }
.rfq-card::before { content: ""; position: absolute; right: -22px; top: 30px; width: 150px; height: 150px; background: url('/assets/brand/x-motif/ecwox_x_watermark.svg') center/contain no-repeat; opacity: .045; }
.rfq-card h3 { position: relative; color: var(--forest); font-size: 1.45rem; } .rfq-card .button { align-self: stretch; margin-top: auto; }
.rfq-card .button strong { color: #e5c56f; }
.rfq-description { min-height: 5.2em; }
.empty-state { padding: 56px; text-align: center; background: rgba(255,255,255,.5); border: 1px dashed #a7b4af; border-radius: var(--radius); }
.process { counter-reset: process; } .process .card { position: relative; padding-top: 78px; } .process .card::before { counter-increment: process; content: counter(process,decimal-leading-zero); position: absolute; top: 24px; color: var(--gold); font-family: Georgia,serif; font-size: 1.75rem; }
.form-shell { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: 56px; align-items: start; }
.form-panel { padding: clamp(26px,4vw,48px); background: var(--white); border: 1px solid rgba(15,71,61,.1); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; } .field { display: grid; gap: 8px; } .field-full { grid-column: 1 / -1; }
.field label, .fieldset-label { font-weight: 780; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .72rem .82rem; color: var(--ink); background: #fffefa; border: 1px solid #b9c4bf; border-radius: 8px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #81978f; } .field textarea { min-height: 122px; resize: vertical; }
.help { margin: 0; color: var(--muted); font-size: .87rem; } .checks { display: flex; flex-wrap: wrap; gap: 16px; } .check { display: inline-flex; gap: 9px; align-items: flex-start; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--forest); }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 28px; }
.setup-note { padding: .8rem 1rem; color: #704a18; background: #fff3df; border-radius: 8px; font-size: .86rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 16px 18px; border-radius: 10px; }
.notice-success { color: #104d36; background: #ddf2e8; border: 1px solid #97d4b9; } .notice-error { color: #7b2c29; background: #f9e4e2; border: 1px solid #e3aaa5; }
.submission-success { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 32px; max-width: 920px; margin-top: 64px; margin-bottom: 64px; padding: clamp(36px,5vw,64px); background: var(--white); border: 1px solid var(--sand); border-radius: 12px; box-shadow: var(--shadow-soft); }
.submission-success-centered { text-align: center; grid-template-columns: 1fr; } .submission-success-centered .success-mark, .submission-success-centered p { margin-inline: auto; }
.submission-success h2 { font-size: clamp(2rem,4vw,3.2rem); } .submission-success p { max-width: 760px; color: var(--muted); } .submission-success .eyebrow { margin-bottom: 10px; color: var(--success); }
.success-mark { display: block; width: 148px; height: 128px; object-fit: contain; margin-inline: auto; }
.submission-reference-label { margin: 26px 0 4px !important; font-size: .8rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.submission-reference { display: block; margin-bottom: 20px; color: var(--forest); font-size: clamp(1.2rem,3vw,1.55rem); letter-spacing: .05em; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.definition-list { display: grid; grid-template-columns: minmax(150px,.35fr) 1fr; gap: 0; margin-top: 38px; border-top: 1px solid var(--border); }
.definition-list dt, .definition-list dd { margin: 0; padding: 17px 0; border-bottom: 1px solid var(--border); } .definition-list dt { color: var(--muted); font-weight: 750; }
.rfq-detail-section { background: var(--ecwox-ivory-warm, #f4f0e6); }
.rfq-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.78fr); gap: 52px; align-items: start; }
.rfq-summary { padding: clamp(28px,4vw,48px); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.rfq-summary h1 { color: var(--forest); font-size: clamp(2.5rem,5vw,4.7rem); }
.rfq-summary .meta { display: flex; gap: 8px; margin-top: 24px; }
.proposal-panel { position: sticky; top: 112px; padding: 34px; color: var(--ink); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.proposal-panel > p { color: var(--muted); }
.proposal-panel .form-panel { margin-top: 22px; padding: 0; color: var(--ink); border: 0; box-shadow: none; }
.proposal-context { display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 16px; padding: 14px 16px; background: var(--ecwox-ivory-light); border: 1px solid var(--sand); border-radius: 9px; }
.proposal-context span { color: var(--muted); }
.proposal-closed { min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--border); } .faq summary { cursor: pointer; font-weight: 820; }
.company-section { position: relative; min-height: 720px; overflow: hidden; background: var(--ecwox-ivory-light); }
.company-x { position: absolute; inset: 0 auto 0 0; width: 43%; overflow: hidden; }
.company-x img { width: 112%; height: 100%; object-fit: cover; object-position: right center; }
.company-layout { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,1.15fr); gap: 70px; align-items: center; min-height: 500px; }
.company-copy { position: relative; z-index: 1; }
.company-copy > p { font-size: 1.04rem; }
.company-experience { color: var(--forest); font-weight: 850; }
.trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 30px; border-top: 1px solid var(--sand); }
.trust-grid div { position: relative; padding: 28px 24px 0 0; }
.trust-grid div + div { padding-left: 24px; border-left: 1px solid var(--sand); }
.trust-grid div::before { content: "X"; display: block; margin-bottom: 8px; color: var(--gold); font-weight: 900; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid span { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.policy { max-width: 840px; } .policy h2 { margin-top: 48px; font-size: 1.8rem; } .policy .legal-review { padding: 18px; background: #fff1d8; border-left: 4px solid var(--gold); }
.site-footer { padding-top: 72px; color: #d7e1dd; background: var(--ecwox-green-dark); } .footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 36px; }
.footer-brand { color: var(--white); } .footer-brand .brand-x { color: var(--gold); } .site-footer a { color: #d7e1dd; }
.footer-bottom { margin-top: 46px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
@media (max-width: 980px) {
  .hero-grid, .form-shell, .rfq-detail-grid { grid-template-columns: 1fr; } .hero-grid { width: min(100% - 48px,1200px); gap: 6px; padding-block: 80px 48px; } .hero-visual { min-height: 380px; }
  .proposal-panel { position: static; }
  .world-map { left: 0; width: min(760px,100%); } .hero-master-x { right: -30%; opacity: .52; } .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); } .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .company-x { width: 34%; opacity: .22; } .company-layout { grid-template-columns: 1fr; } .company-spacer { display: none; }
  .primary-nav { display: none; position: absolute; left: 24px; right: 24px; top: 76px; padding: 18px; flex-direction: column; align-items: stretch; background: var(--ecwox-ivory-light); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; } .primary-nav a { min-height: 44px; display: flex; align-items: center; } .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px,1200px); } .header-inner { min-height: 76px; gap: 12px; } .brand-logo { width: 130px; height: 48px; } .language-switch { font-size: .8rem; }
  .hero-grid { min-height: auto; padding-block: 66px 34px; } .hero-visual { min-height: 230px; margin-top: 12px; } .world-map { left: -8%; width: 110%; } .hero-master-x { right: -42%; top: -22%; width: 92%; height: 140%; opacity: .4; }
  h1 { font-size: clamp(2.45rem,12vw,3.8rem); } .desktop-break { display: none; } .section { padding-block: 78px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; } .field-full { grid-column: auto; }
  .download-card, .notice { align-items: stretch; flex-direction: column; } .submission-success { grid-template-columns: 1fr; text-align: center; } .button-row .button { width: 100%; }
  .company-section { min-height: 0; } .company-x { width: 74%; opacity: .09; } .trust-grid { grid-template-columns: 1fr; } .trust-grid div + div { padding-left: 0; border-left: 0; }
  .definition-list { grid-template-columns: 1fr; } .definition-list dt { padding-bottom: 0; border-bottom: 0; } .rfq-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
