/* ==========================================================
   빅팜주식회사 — Premium Corporate Style
   Brand: 로고 그라데이션 (골든 앰버 → 오렌지 레드)
   ========================================================== */

:root {
    /* Brand colors (로고에서 추출) */
    --orange: #E8432E;
    --orange-deep: #C93520;
    --amber: #F5A623;
    --grad-brand: linear-gradient(135deg, #F5A623 0%, #E8432E 100%);

    /* Neutrals */
    --ink: #1F1E1D;
    --charcoal: #262422;
    --charcoal-2: #2E2B28;
    --text: #3D3935;
    --text-soft: #6E675F;
    --text-muted: #9B938A;
    --line: #E7E1D8;

    /* Backgrounds */
    --bg-white: #FFFFFF;
    --bg-warm: #FAF8F5;
    --bg-light: #F5F1EB;

    /* Type */
    --font-kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo", sans-serif;
    --font-en: "Marcellus", "Times New Roman", serif;

    --header-h: 76px;
    --radius: 18px;
    --shadow-sm: 0 2px 10px rgba(31, 30, 29, 0.05);
    --shadow-md: 0 14px 40px rgba(31, 30, 29, 0.10);
    --shadow-lg: 0 24px 70px rgba(31, 30, 29, 0.16);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    /* 화면 밖에 숨겨둔 모바일 메뉴가 문서 폭을 넓히지 않도록 차단
       (clip은 hidden과 달리 sticky 헤더를 깨지 않음) */
    overflow-x: hidden;
    overflow-x: clip;
}
body {
    font-family: var(--font-kr);
    color: var(--text);
    background: var(--bg-white);
    line-height: 1.75;
    font-size: 16.5px;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1200px, 92%); margin: 0 auto; }

::selection { background: rgba(232, 67, 46, 0.85); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ==========================================================
   Top Bar
   ========================================================== */
.top-bar {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    letter-spacing: 0.01em;
}
.top-bar-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 40px; gap: 16px;
}
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 14px; }
.top-bar i { color: var(--amber); margin-right: 5px; font-size: 11.5px; }
.top-divider { width: 1px; height: 11px; background: rgba(255, 255, 255, 0.18); display: inline-block; }
.top-bar a { transition: color 0.25s; }
.top-bar a:hover { color: #fff; }
.top-tel { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ==========================================================
   Header
   ========================================================== */
#header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.35s, border-color 0.35s;
}
#header.scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(31, 30, 29, 0.06);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-h);
}
.logo img { height: 44px; width: auto; }

.gnb { display: flex; align-items: center; gap: 34px; }
.gnb ul { display: flex; gap: 6px; }
.gnb-link {
    display: block; padding: 10px 15px;
    font-size: 15.5px; font-weight: 600; color: var(--ink);
    position: relative; transition: color 0.25s;
}
.gnb-link::after {
    content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
    height: 2px; background: var(--grad-brand);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.gnb-link:hover { color: var(--orange); }
.gnb-link:hover::after, .gnb-link.active::after { transform: scaleX(1); }
.gnb-link.active { color: var(--orange); }

.gnb-cta {
    padding: 11px 24px; border-radius: 999px;
    background: var(--grad-brand); color: #fff;
    font-size: 14.5px; font-weight: 700; letter-spacing: 0;
    box-shadow: 0 6px 18px rgba(232, 67, 46, 0.28);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
    white-space: nowrap;
}
.gnb-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232, 67, 46, 0.36); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.mobile-toggle span {
    width: 24px; height: 2px; background: var(--ink);
    border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - 40px);
    min-height: max(640px, calc(100vh - var(--header-h) - 40px));
    display: flex; align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.06);
    animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-dim {
    position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(24, 20, 17, 0.92) 0%, rgba(24, 20, 17, 0.62) 45%, rgba(24, 20, 17, 0.28) 100%),
        linear-gradient(to top, rgba(24, 20, 17, 0.55) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 120px; }

.hero-eyebrow {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--font-en);
    font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 26px;
}
.eyebrow-line { width: 56px; height: 1px; background: var(--amber); display: inline-block; }

.hero-title {
    font-size: clamp(40px, 6vw, 74px);
    font-weight: 800; line-height: 1.18; letter-spacing: -0.03em;
    margin-bottom: 28px;
}
.hero-title em {
    font-style: normal;
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.hero-desc {
    font-size: clamp(16px, 1.6vw, 19px);
    font-weight: 300; line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 34px; border-radius: 999px;
    font-size: 16px; font-weight: 700;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn i { font-size: 13px; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--solid {
    background: var(--grad-brand); color: #fff;
    box-shadow: 0 10px 30px rgba(232, 67, 46, 0.38);
}
.btn--solid:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(232, 67, 46, 0.46); }
.btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: #fff; background: rgba(255, 255, 255, 0.14); }

.hero-scroll {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    font-family: var(--font-en); font-size: 10.5px; letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-line {
    width: 1px; height: 46px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.75));
    animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================
   Stats Band
   ========================================================== */
.stats {
    background: var(--charcoal);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-brand);
}
.stats-inner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: 58px 0;
}
.stat {
    text-align: center; padding: 8px 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.stat:first-child { border-left: none; }
.stat-num {
    font-family: var(--font-en);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15; letter-spacing: 0.01em;
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.stat-suffix { font-size: 0.62em; vertical-align: 0.28em; }
.stat-label {
    margin-top: 10px; font-size: 14px; font-weight: 500;
    color: rgba(255, 255, 255, 0.66); letter-spacing: 0.02em;
}

/* ==========================================================
   Sections (공통)
   ========================================================== */
.sec { padding: 130px 0; }
.sec--white { background: var(--bg-white); }
.sec--light { background: var(--bg-warm); }
.sec--dark { background: var(--charcoal); }

.sec-head { text-align: center; margin-bottom: 70px; }

.sec-label {
    font-family: var(--font-en);
    font-size: 13.5px; letter-spacing: 0.34em; text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 14px;
}
.sec-head .sec-label { justify-content: center; }
.sec-head .sec-label::before, .sec-head .sec-label::after {
    content: ""; width: 34px; height: 1px; background: var(--orange); opacity: 0.5;
}
.sec-label--light { color: var(--amber); }
.sec-head .sec-label--light::before, .sec-head .sec-label--light::after { background: var(--amber); }

.sec-heading {
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800; line-height: 1.32; letter-spacing: -0.03em;
    color: var(--ink);
}
.sec-heading strong { font-weight: 800; color: var(--orange); }
.sec-heading--white { color: #fff; }
.sec-sub { margin-top: 18px; font-size: 17px; color: var(--text-soft); font-weight: 300; }
.sec-sub--light { color: rgba(255, 255, 255, 0.6); }

/* ==========================================================
   About
   ========================================================== */
.about-layout {
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}
.about-text .sec-heading { margin-bottom: 30px; }
.about-lead {
    font-size: 19px; font-weight: 600; line-height: 1.8;
    color: var(--ink); margin-bottom: 18px;
}
.about-body { color: var(--text-soft); margin-bottom: 42px; }

.about-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px;
    border-top: 2px solid var(--ink);
}
.about-meta dl {
    display: flex; gap: 16px; align-items: baseline;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}
.about-meta--full { grid-column: 1 / -1; }
.about-meta dt {
    flex: 0 0 74px;
    font-weight: 700; color: var(--ink); letter-spacing: 0.01em;
}
.about-meta dd { color: var(--text-soft); }

.about-visual { position: relative; padding: 0 26px 26px 0; }
.about-img-wrap {
    position: relative; z-index: 2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.6;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-visual:hover .about-img-wrap img { transform: scale(1.045); }
.about-frame {
    position: absolute; z-index: 1;
    top: 26px; left: 26px; right: 0; bottom: 0;
    border-radius: var(--radius);
    background: var(--grad-brand);
    opacity: 0.9;
}
.about-badge {
    position: absolute; z-index: 3;
    left: -18px; bottom: 14px;
    background: var(--charcoal); color: #fff;
    padding: 20px 30px; border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column; line-height: 1.2;
}
.badge-since {
    font-family: var(--font-en); font-size: 11px;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--amber); margin-bottom: 6px;
}
.badge-year { font-family: var(--font-en); font-size: 38px; }

/* ==========================================================
   Infrastructure
   ========================================================== */
.infra-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.infra-card {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 42px 36px;
    transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
    position: relative;
    overflow: hidden;
}
.infra-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-brand);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease);
}
.infra-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.infra-card:hover::before { transform: scaleX(1); }
.infra-card--wide { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 8px 34px; align-items: start; }
.infra-card--wide h4 { grid-column: 2; }
.infra-card--wide p { grid-column: 2; }
.infra-card--wide .infra-icon { grid-row: span 2; margin-bottom: 0; }

.infra-icon {
    width: 62px; height: 62px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.14), rgba(232, 67, 46, 0.12));
    color: var(--orange); font-size: 24px;
    margin-bottom: 24px;
    transition: background 0.4s, color 0.4s, transform 0.4s var(--ease);
}
.infra-card:hover .infra-icon { background: var(--grad-brand); color: #fff; transform: scale(1.06) rotate(-4deg); }
.infra-card h4 { font-size: 19.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.02em; }
.infra-card p { font-size: 15px; color: var(--text-soft); line-height: 1.8; }

/* ==========================================================
   Business Area
   ========================================================== */
.biz-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.biz-card {
    background: var(--bg-warm);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px 36px 44px;
    transition: transform 0.45s var(--ease), box-shadow 0.45s, background 0.45s;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); background: var(--bg-white); }
.biz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.biz-num {
    font-family: var(--font-en);
    font-size: 44px; line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.3px rgba(232, 67, 46, 0.42);
    transition: -webkit-text-stroke 0.4s;
}
.biz-card:hover .biz-num {
    background: var(--grad-brand);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-stroke: 1.3px transparent;
}
.biz-icon { font-size: 26px; color: var(--orange); opacity: 0.85; }
.biz-card h4 { font-size: 19.5px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.02em; }
.biz-card p { font-size: 15px; color: var(--text-soft); line-height: 1.8; }

/* ==========================================================
   Products (dark)
   ========================================================== */
#products { position: relative; overflow: hidden; }
#products::after {
    content: "";
    position: absolute; right: -220px; top: -220px;
    width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 67, 46, 0.22), transparent 65%);
    pointer-events: none;
}
.product-row {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 13px;
    max-width: 940px; margin: 0 auto;
    position: relative; z-index: 1;
}
.prod-chip {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.88);
    font-size: 15.5px; font-weight: 500;
    transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease), color 0.35s;
}
.prod-chip i { color: var(--amber); font-size: 14px; transition: color 0.35s; }
.prod-chip:hover {
    background: var(--grad-brand); border-color: transparent;
    color: #fff; transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(232, 67, 46, 0.35);
}
.prod-chip:hover i { color: #fff; }

/* ==========================================================
   History (timeline)
   ========================================================== */
.timeline {
    position: relative;
    max-width: 780px; margin: 0 auto;
    padding-left: 0;
}
.timeline::before {
    content: ""; position: absolute; top: 8px; bottom: 8px; left: 130px;
    width: 2px;
    background: linear-gradient(to bottom, var(--amber), var(--orange) 55%, var(--line));
}
.tl-item {
    position: relative;
    display: grid; grid-template-columns: 96px 1fr;
    gap: 70px;
    padding: 0 0 58px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
    font-family: var(--font-en);
    font-size: 30px; line-height: 1.15;
    color: var(--ink); text-align: right;
    letter-spacing: 0.02em;
}
.tl-dot {
    position: absolute; left: 130px; top: 9px;
    width: 15px; height: 15px; border-radius: 50%;
    transform: translateX(-6.5px);
    background: var(--bg-warm);
    border: 3.5px solid var(--orange);
    box-shadow: 0 0 0 5px rgba(232, 67, 46, 0.13);
}
.tl-body {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 34px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.tl-body:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.tl-body h4 {
    font-size: 18.5px; font-weight: 800; color: var(--orange);
    margin-bottom: 10px; letter-spacing: -0.02em;
}
.tl-body ul { display: grid; gap: 6px; }
.tl-body li {
    position: relative; padding-left: 16px;
    font-size: 15px; color: var(--text-soft);
}
.tl-body li::before {
    content: ""; position: absolute; left: 0; top: 11px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--amber);
}

/* ==========================================================
   Vision
   ========================================================== */
.vision-layout {
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 26px;
    align-items: stretch;
}
.vision-main {
    position: relative;
    background: var(--charcoal);
    color: #fff;
    border-radius: calc(var(--radius) + 6px);
    padding: 58px 54px;
    overflow: hidden;
}
.vision-main::after {
    content: "";
    position: absolute; right: -140px; bottom: -140px;
    width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.18), transparent 65%);
}
.vision-quote-mark {
    width: 54px; height: 54px; border-radius: 14px;
    background: var(--grad-brand);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 20px;
    margin-bottom: 28px;
}
.vision-main h3 {
    font-size: 15px; font-weight: 600; letter-spacing: 0.18em;
    color: var(--amber); text-transform: uppercase;
    margin-bottom: 22px;
}
.vision-main blockquote { display: grid; gap: 16px; position: relative; z-index: 1; }
.vq-lead { font-size: 21px; font-weight: 700; line-height: 1.7; letter-spacing: -0.02em; color: #fff; }
.vision-main blockquote p { font-size: 15.5px; font-weight: 300; color: rgba(255, 255, 255, 0.78); }
.ceo-sign {
    margin-top: 36px; padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex; align-items: baseline; gap: 14px;
    position: relative; z-index: 1;
}
.ceo-sign span { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.ceo-sign strong { font-size: 21px; font-weight: 800; letter-spacing: 0.22em; }

.vision-side { display: grid; gap: 26px; align-content: stretch; }
.vision-value {
    background: var(--bg-warm);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    padding: 30px 32px;
    display: flex; gap: 22px; align-items: flex-start;
    transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s;
}
.vision-value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); background: var(--bg-white); }
.value-icon {
    flex: 0 0 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(232, 67, 46, 0.12));
    color: var(--orange); font-size: 19px;
    transition: background 0.35s, color 0.35s;
}
.vision-value:hover .value-icon { background: var(--grad-brand); color: #fff; }
.vision-value h4 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; letter-spacing: -0.02em; }
.vision-value p { font-size: 14.5px; color: var(--text-soft); line-height: 1.75; }

/* ==========================================================
   Contact
   ========================================================== */
.contact-layout {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: 26px; align-items: stretch;
}
.contact-info-panel {
    background: var(--bg-white);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    padding: 46px 44px;
    box-shadow: var(--shadow-sm);
}
.contact-info-panel h3 {
    font-size: 24px; font-weight: 800; color: var(--ink);
    letter-spacing: -0.02em;
    padding-bottom: 22px; margin-bottom: 10px;
    border-bottom: 2px solid var(--ink);
}
.contact-info-panel h3 small {
    display: block; margin-top: 6px;
    font-family: var(--font-en); font-size: 12.5px; font-weight: 400;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--text-muted);
}
.ci-table { width: 100%; border-collapse: collapse; }
.ci-table th, .ci-table td {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px; text-align: left; vertical-align: top;
}
.ci-table tr:last-child th, .ci-table tr:last-child td { border-bottom: none; }
.ci-table th { width: 96px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ci-table th i { color: var(--orange); width: 20px; font-size: 13.5px; }
.ci-table td { color: var(--text-soft); }
.ci-table td small { color: var(--text-muted); }
.ci-table a { color: var(--orange); font-weight: 600; transition: opacity 0.25s; }
.ci-table a:hover { opacity: 0.75; }

.contact-map-panel { min-height: 460px; }
.map-wrap {
    width: 100%; height: 100%; min-height: 460px;
    border-radius: calc(var(--radius) + 6px);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================
   Footer
   ========================================================== */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 44px;
    position: relative;
}
.footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-brand);
}
.footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 40px; flex-wrap: wrap;
    padding-bottom: 36px; margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo { height: 40px; width: auto; border-radius: 6px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; }
.footer-nav a { color: rgba(255, 255, 255, 0.62); transition: color 0.25s; }
.footer-nav a:hover { color: var(--amber); }
.footer-bottom p { font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, 0.38); }
.footer-bottom .copyright { margin-top: 8px; font-family: var(--font-en); letter-spacing: 0.04em; }

/* ==========================================================
   Back to Top
   ========================================================== */
.btt {
    position: fixed; right: 26px; bottom: 26px; z-index: 900;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--grad-brand); color: #fff; font-size: 15px;
    box-shadow: 0 10px 26px rgba(232, 67, 46, 0.38);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s;
}
.btt.show { opacity: 1; visibility: visible; transform: none; }
.btt:hover { transform: translateY(-4px); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
    .infra-grid, .biz-grid { grid-template-columns: repeat(2, 1fr); }
    .infra-card--wide { grid-column: span 2; }
    .about-layout { grid-template-columns: 1fr; gap: 64px; }
    .about-visual { max-width: 520px; }
    .vision-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 34px 0; padding: 48px 0; }
    .stat:nth-child(3) { border-left: none; }
}

@media (max-width: 768px) {
    body { font-size: 15.5px; }
    .sec { padding: 84px 0; }
    .sec-head { margin-bottom: 48px; }

    /* 모바일 상단 띠: 전화(터치하면 발신) + 의약품 주문만 남김.
       팩스·영업시간·블로그는 '오시는 길'과 푸터에서 제공 */
    .top-only-pc { display: none; }
    .top-bar { font-size: 13.5px; }
    .top-bar-inner { height: 42px; gap: 10px; }
    .top-tel { font-weight: 600; color: #fff; }
    .top-bar-right a { white-space: nowrap; }

    .mobile-toggle { display: flex; }
    .gnb {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(320px, 82vw);
        background: var(--bg-white);
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 0;
        padding: 96px 30px 40px;
        box-shadow: -20px 0 60px rgba(31, 30, 29, 0.18);
        transform: translateX(105%);
        transition: transform 0.45s var(--ease);
        z-index: 999;
    }
    .gnb.open { transform: none; }
    .gnb ul { flex-direction: column; gap: 0; }
    .gnb-link { padding: 15px 6px; font-size: 17px; border-bottom: 1px solid var(--line); }
    .gnb-link::after { display: none; }
    .gnb-cta { margin-top: 26px; text-align: center; justify-content: center; display: inline-flex; }

    .hero-content { padding: 70px 0 110px; }
    .hero-actions .btn { padding: 14px 26px; font-size: 15px; }

    .infra-grid, .biz-grid { grid-template-columns: 1fr; }
    .infra-card--wide { grid-column: span 1; display: block; }
    .infra-card--wide .infra-icon { margin-bottom: 24px; }
    .about-meta { grid-template-columns: 1fr; }

    .timeline::before { left: 8px; }
    .tl-item { grid-template-columns: 1fr; gap: 14px; padding-left: 40px; padding-bottom: 44px; }
    .tl-year { text-align: left; font-size: 26px; }
    .tl-dot { left: 8px; top: 10px; }

    .vision-main { padding: 42px 30px; }
    .vq-lead { font-size: 19px; }
    .contact-info-panel { padding: 36px 26px; }
    .map-wrap, .contact-map-panel { min-height: 340px; }

    .footer-top { flex-direction: column; }
    .btt { right: 18px; bottom: 18px; width: 46px; height: 46px; }
}

@media (max-width: 420px) {
    .stats-inner { grid-template-columns: 1fr 1fr; }
    .stat { padding: 8px 10px; }
    .stat-label { font-size: 12.5px; }
    .hero-title { font-size: 36px; }
    .about-badge { left: 0; padding: 16px 22px; }
    .badge-year { font-size: 30px; }
}
