/* =====================================================
   시큐메디 공통 스타일
   ===================================================== */
:root {
    --primary: #1e4fa8;
    --primary-dark: #13337a;
    --accent: #00b4d8;
    --text: #222;
    --text-light: #666;
    --bg: #f7f9fc;
    --white: #fff;
    --border: #dde3ea;
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    font-size: 15px;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

/* ── GNB (헤더) ────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.gnb { display: flex; gap: 32px; list-style: none; }
.gnb a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color .2s, color .2s;
}
.gnb a:hover, .gnb a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ── 히어로 섹션 ─────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
    color: var(--white);
    padding: 100px 24px;
    text-align: center;
}
.hero h2 { font-size: 40px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.hero p  { font-size: 18px; opacity: .88; margin-bottom: 36px; }
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border-radius: 50px;
    font-size: 15px;
    transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); color: var(--primary); }

/* ── 공통 섹션 ─────────────────────────────── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-sub {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 48px;
}
.section-bg { background: var(--white); }

/* ── 카드 그리드 ─────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,87,168,.10); transform: translateY(-3px); }
.card .icon { font-size: 36px; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.card p  { font-size: 14px; color: var(--text-light); }

/* ── 회사 소개 레이아웃 ───────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.about-text p  { color: var(--text-light); margin-bottom: 12px; }
.value-list { list-style: none; margin-top: 24px; }
.value-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}
.value-list li::before { content: "✔"; color: var(--accent); font-weight: 700; }

/* ── 문의 폼 ────────────────────────────── */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color .2s;
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { height: 140px; resize: vertical; }
.recaptcha-wrap { min-height: 78px; overflow-x: auto; }
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background .2s;
}
.btn-submit:hover { background: var(--primary-dark); }
.btn-submit:disabled { background: #8aa4d1; cursor: wait; }
.form-message {
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
}
.form-message.success {
    background: #e6f4ea;
    border: 1px solid #a8d5b5;
    color: #2e7d32;
}
.form-message.error {
    background: #fff3f0;
    border: 1px solid #f1b6ac;
    color: #b23b2a;
}

/* ── 푸터 ───────────────────────────────── */
.site-footer {
    background: #1a2535;
    color: #aab4c0;
    padding: 48px 24px 28px;
    margin-top: 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    margin-bottom: 32px;
}
.footer-brand .logo { color: var(--white); font-size: 20px; }
.footer-brand p { font-size: 13px; margin-top: 10px; line-height: 1.8; }
.footer-links h4 { color: var(--white); font-size: 14px; margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: #aab4c0; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #2d3a4a;
    font-size: 12px;
    color: #6b7a8a;
    text-align: center;
}
