:root {
    /* Color Palette - Premium Navy & Warm Gold */
    --primary: #121c2d;
    --primary-light: #1c2b44;
    --primary-dark: #0a111c;
    --secondary: #e5be65;
    --secondary-hover: #d4a946;
    --secondary-light: #faecd0;
    --accent: #2b5db8;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --text-white: #ffffff;
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-dark: #0f172a;
    --border-light: #e2e8f0;
    --border-gold: rgba(229, 190, 101, 0.35);

    /* Shadows */
    --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
    --shadow-float: 0 15px 35px -5px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05);

    /* Radius & Layout */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;
    --container-max: 1200px;
    --header-h: 76px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Pretendard', 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    word-break: keep-all;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

.section--alt {
    background-color: var(--bg-page);
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-hover));
    border-radius: 2px;
}

.section__desc {
    margin-top: 16px;
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    word-break: keep-all;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn--gold {
    background: linear-gradient(135deg, #ecd189 0%, #d8ac4b 100%);
    color: #0d1624;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(216, 172, 75, 0.35);
}

.btn--gold:hover {
    background: linear-gradient(135deg, #f2dc9e 0%, #e2b757 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(216, 172, 75, 0.45);
}

.btn--outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn--card-pill {
    display: inline-block;
    padding: 6px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #8c6a1e;
    background: #fdf6e6;
    border: 1px solid #f2dfb1;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

.btn--card-pill:hover {
    background: #ecd189;
    color: #121c2d;
    border-color: #d8ac4b;
}

/* ============================================================ */
/* 1. HEADER (Dark Theme like Mockup) */
/* ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(18, 28, 45, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.site-header--scrolled {
    background: rgba(14, 22, 36, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    height: 70px;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.site-header__logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d8ac4b 0%, #b88a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0c1522;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(216, 172, 75, 0.4);
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 6px 0;
}

.main-nav__link:hover,
.main-nav__link--active {
    color: var(--secondary);
}

.main-nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.main-nav__link:hover::after {
    width: 100%;
}

.main-nav__link--cta {
    color: var(--secondary) !important;
    font-weight: 700;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    cursor: pointer;
    gap: 5px;
}

.menu-toggle__bar {
    width: 20px;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
}

/* ============================================================ */
/* 2. HERO SECTION (Atmospheric Office Darkness like Mockup) */
/* ============================================================ */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background-color: #0f1827;
    background-image: 
        radial-gradient(circle at 75% 35%, rgba(43, 93, 184, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 20% 60%, rgba(216, 172, 75, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 16, 26, 0.95) 0%, rgba(18, 28, 45, 0.88) 100%),
        url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center right;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 120px; /* Space for overlapping trust bar */
    color: #ffffff;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 65%, #f8fafc 100%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(229, 190, 101, 0.12);
    border: 1px solid rgba(229, 190, 101, 0.3);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #f1cf81;
    margin-bottom: 24px;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    background: #e5be65;
    border-radius: 50%;
    box-shadow: 0 0 10px #e5be65;
}

.hero__title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
    word-break: keep-all;
}

.hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #f5deb3 0%, #e2b757 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__desc {
    font-size: 1.125rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    word-break: keep-all;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================ */
/* 3. TRUST BAR (Floating Overlap Card like Mockup) */
/* ============================================================ */
.trust-bar-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -65px; /* Overlap into hero */
    margin-bottom: 40px;
}

.trust-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-light);
    padding: 24px 36px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    align-items: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 8px 12px;
    border-right: 1px solid #edf2f7;
    transition: var(--transition);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    transform: translateY(-2px);
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #fdfaf3;
    border: 1px solid #f6e8cc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #be8e2b;
}

.trust-icon-box svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.trust-text {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* ============================================================ */
/* 4. SERVICES GRID (Mockup 4/3 columns, SVG icon + details) */
/* ============================================================ */
.services-container {
    padding-top: 40px;
}

.services-grid-pro {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #eef2f6;
    box-shadow: var(--shadow-subtle);
    padding: 36px 28px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d8ac4b, #e5be65);
    opacity: 0;
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #e5be65;
}

.service-box:hover::after {
    opacity: 1;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: #faf7f0;
    border: 1px solid #f3e5c8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #c59730;
    transition: var(--transition);
}

.service-box:hover .service-icon-wrap {
    background: #d8ac4b;
    color: #ffffff;
    border-color: #d8ac4b;
    transform: scale(1.05);
}

.service-icon-wrap svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.6;
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.service-desc {
    font-size: 0.885rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 22px;
    flex-grow: 1;
    word-break: keep-all;
}

/* ============================================================ */
/* 5. PROCESS SECTION (Horizontal Step Flow like Mockup) */
/* ============================================================ */
.process-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
    position: relative;
}

.process-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #eef2f6;
    box-shadow: var(--shadow-subtle);
    padding: 30px 20px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #dfcaa2;
}

.process-card__num {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #b88a2a;
    background: #fdf5e4;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.process-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    transition: var(--transition);
}

.process-card:hover .process-card__icon {
    background: #121c2d;
    color: #e5be65;
    border-color: #121c2d;
}

.process-card__icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}

.process-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.process-card__desc {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--text-muted);
    word-break: keep-all;
}

/* Arrow between cards */
.process-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94a3b8;
    z-index: 2;
}

/* ============================================================ */
/* 6. FAQ (Refined Accordion with Gold Accents) */
/* ============================================================ */
.faq-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-card:hover {
    border-color: #cbd5e1;
}

.faq-card--active {
    border-color: #d8ac4b;
    box-shadow: 0 4px 16px rgba(216, 172, 75, 0.12);
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
    font-family: inherit;
    transition: var(--transition);
}

.faq-btn__q {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #f8fafc;
    color: #b88a2a;
    font-size: 0.85rem;
    font-weight: 800;
}

.faq-card--active .faq-badge {
    background: #d8ac4b;
    color: #ffffff;
}

.faq-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-card--active .faq-arrow {
    transform: rotate(180deg);
    background: #fdf5e4;
    color: #b88a2a;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-body-inner {
    padding: 0 28px 24px 64px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #475569;
    word-break: keep-all;
}

/* ============================================================ */
/* 7. CTA BANNER (Deep Navy with Gold Button) */
/* ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, #0b1320 0%, #142136 100%);
    padding: 90px 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(216, 172, 75, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin: 0 auto;
}

.cta-banner__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-banner__desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-banner__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================ */
/* 8. FOOTER (Sleek Dark Grid) */
/* ============================================================ */
.site-footer {
    background: #090e17;
    color: #94a3b8;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary);
}

.footer-info-row {
    font-size: 0.8125rem;
    line-height: 1.8;
    display: flex;
    gap: 8px;
}

.footer-info-label {
    color: #cbd5e1;
    font-weight: 600;
    min-width: 60px;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

/* ============================================================ */
/* MOBILE RESPONSIVE (1024px & 640px) */
/* ============================================================ */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .trust-item:nth-child(3) { border-right: none; }
    .services-grid-pro { grid-template-columns: repeat(2, 1fr); }
    .process-flow { grid-template-columns: repeat(2, 1fr); }
    .process-card:not(:last-child)::after { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hero__title { font-size: 2.25rem; }
    .hero__desc { font-size: 1rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item { border-right: none; border-bottom: 1px solid #f1f5f9; padding-bottom: 14px; }
    .services-grid-pro { grid-template-columns: 1fr; }
    .process-flow { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; }
    .cta-banner__actions { flex-direction: column; width: 100%; }
    .cta-banner__actions .btn { width: 100%; }
}

/* ============================================================ */
/* 9. NATIONWIDE 16 BRANCHES NETWORK (xxxsswfscore.com Sync) */
/* ============================================================ */
.branches-16-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1120px;
    margin: 0 auto;
}

.branch-16-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.branch-16-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #d8ac4b;
    transition: all 0.25s ease;
}

.branch-16-card:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    border-color: #60a5fa;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(29, 78, 216, 0.35);
}

.branch-16-card:hover::before {
    width: 6px;
    background: #60a5fa;
}

.b-icon-wrap {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: rgba(216, 172, 75, 0.18);
    border: 1px solid rgba(216, 172, 75, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f6c867;
    transition: all 0.25s ease;
}

.branch-16-card:hover .b-icon-wrap {
    background: #ffffff;
    color: #1d4ed8;
    border-color: #ffffff;
    transform: scale(1.08);
}

.b-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.b-region-name {
    font-size: 0.825rem;
    font-weight: 700;
    color: #fde68a;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.branch-16-card:hover .b-region-name {
    color: #e0f2fe;
}

.b-tel-num {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .branches-16-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .branches-16-grid {
        grid-template-columns: 1fr;
    }
    .branch-16-card {
        padding: 14px 16px;
    }
}

/* ============================================================ */
/* 10. YOUTUBE MEDIA VIDEOS (Cinematic 2-Column Showcase) */
/* ============================================================ */
.section-media-cinematic {
    padding: 85px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #b88a2a;
    background: #fdf5e4;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.kicker-icon {
    font-size: 10px;
    color: #dc2626;
}

.cinematic-video-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px;
    max-width: 1140px;
    margin: 0 auto;
}

.cinematic-video-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cinematic-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.16);
    border-color: #d8ac4b;
}

.cinematic-video-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #0b111a;
    border-bottom: 1px solid #eef2f6;
}

.cinematic-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.cinematic-video-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cinematic-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ep-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: #b88a2a;
    letter-spacing: 0.5px;
}

.yt-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
}

.cinematic-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.cinematic-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
    word-break: keep-all;
}

.cinematic-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #8c6a1e;
    background: #fdf6e6;
    border: 1px solid #f2dfb1;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    text-decoration: none;
}

.cinematic-play-btn:hover {
    background: #ecd189;
    color: #121c2d;
    border-color: #d8ac4b;
    transform: translateX(3px);
}

/* 480px 이하 초소형 모바일 기기에서만 1열 처리 */
@media (max-width: 520px) {
    .cinematic-video-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .cinematic-video-body {
        padding: 18px 20px 20px;
    }
}

/* ============================================================ */
/* 11. ABOUT SPEED & CERTIFICATES & LAWYERS (xxxsswfscore.com)   */
/* ============================================================ */
.section-about-speed {
    padding: 85px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.about-kicker {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 800;
    color: #b88a2a;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* 3대 체계 그리드 */
.speed-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.speed-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 32px 26px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.speed-card:hover {
    background: #ffffff;
    border-color: #d8ac4b;
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.speed-card--featured {
    background: #ffffff;
    border: 2px solid #dfcaa2;
    box-shadow: 0 10px 25px rgba(216, 172, 75, 0.12);
}

.speed-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #b88a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.speed-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.speed-card__desc {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.speed-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.8;
    flex-grow: 1;
}

.speed-card__badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8c6a1e;
    background: #fdf5e4;
    border: 1px solid #f2dfb1;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

/* 자격증 및 공인 인증패 갤러리 (6종) */
.cert-showcase-box {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 44px 32px 40px;
    margin-bottom: 60px;
    text-align: center;
}

.cert-header {
    margin-bottom: 28px;
}

.cert-main-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.cert-sub-title {
    font-size: 0.925rem;
    color: #64748b;
}

.cert-photo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cert-photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cert-img-frame {
    width: 100%;
    height: 155px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.cert-img-frame:hover {
    transform: scale(1.05);
    border-color: #d8ac4b;
    box-shadow: 0 10px 25px rgba(216, 172, 75, 0.25);
}

.cert-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cert-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.01em;
}

/* 4대 핵심 강점 그리드 */
.speed-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.speed-feature-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.speed-feature-item:hover {
    border-color: #d8ac4b;
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.speed-f-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fdf5e4;
    color: #b88a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 1px solid #f6e8cc;
}

.speed-f-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.speed-f-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
    word-break: keep-all;
}

/* 법률 자문 변호사 소개 */
.lawyer-advisory-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 44px 34px;
    box-shadow: var(--shadow-card);
}

.lawyer-box-header {
    text-align: center;
    margin-bottom: 32px;
}

.lawyer-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: #b88a2a;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.lawyer-main-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.lawyer-sub-title {
    font-size: 0.95rem;
    color: #64748b;
}

.lawyer-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.lawyer-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    transition: var(--transition);
}

.lawyer-profile-card:hover {
    background: #ffffff;
    border-color: #d8ac4b;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.lawyer-avatar-wrap {
    width: 78px;
    height: 78px;
    min-width: 78px;
    border-radius: 50%;
    background: #121c2d;
    color: #e5be65;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5be65;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.lawyer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.lawyer-info {
    flex-grow: 1;
}

.l-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.l-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.l-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b88a2a;
    background: #fdf5e4;
    border: 1px solid #f2dfb1;
    padding: 2px 8px;
    border-radius: 4px;
}

.l-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
}

.l-career-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.7;
}

.l-career-list li::before {
    content: '• ';
    color: #b88a2a;
    font-weight: bold;
}

/* 반응형 미디어쿼리 */
@media (max-width: 1024px) {
    .speed-principles-grid { grid-template-columns: 1fr; }
    .cert-photo-grid { grid-template-columns: repeat(3, 1fr); }
    .speed-features-grid { grid-template-columns: repeat(2, 1fr); }
    .lawyer-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .cert-photo-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-img-frame { height: 130px; }
    .speed-features-grid { grid-template-columns: 1fr; }
    .lawyer-profile-card { flex-direction: column; align-items: center; text-align: center; }
    .l-name-row { justify-content: center; }
}

/* ============================================================ */
/* 12. HERO EXACT SPEED SCREENSHOT MATCHING                     */
/* ============================================================ */
.hero--speed-style {
    position: relative;
    overflow: hidden;
    padding: 125px 0 95px;
    text-align: center;
    color: #ffffff;
    background: #0d0a18;
}

.hero--speed-style .hero__bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero--speed-style .hero__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center bottom;
    opacity: 0.28;
    transform: scale(1.04);
}

.hero--speed-style .hero__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center 30%, rgba(30, 20, 55, 0.75) 0%, rgba(12, 10, 24, 0.95) 75%, #0a0814 100%);
}

.hero--speed-style .hero__container {
    position: relative;
    z-index: 2;
}

.hero--speed-style .hero__inner-content {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. 퍼플 캡슐 배지 */
.hero__pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(167, 139, 250, 0.4);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 7px 22px;
    border-radius: 9999px;
    margin-bottom: 26px;
    letter-spacing: -0.01em;
}

.hero__pill-badge .bolt-icon {
    color: #facc15;
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.8));
}

/* 2. 메인 타이틀 */
.hero__main-title {
    font-size: 3.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.hero__main-title .title-highlight {
    color: #38bdf8;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.55), 0 0 10px rgba(56, 189, 248, 0.4);
}

.hero__main-title .title-white {
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* 3. 설명 문구 */
.hero__sub-detail {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 36px;
    word-break: keep-all;
    font-weight: 400;
    opacity: 0.95;
}

/* 4. 2대 버튼 */
.hero__action-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.hero-btn--call {
    background: #1d63ed;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(29, 99, 237, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-btn--call:hover {
    background: #1551c9;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 99, 237, 0.6);
}

.hero-btn--kakao {
    background: #fee500;
    color: #181600;
    box-shadow: 0 8px 24px rgba(254, 229, 0, 0.4);
    border: 1px solid rgba(254, 229, 0, 0.5);
}

.hero-btn--kakao:hover {
    background: #ebd300;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(254, 229, 0, 0.55);
}

/* 5. 4대 통계 밴드 카드 (하단 반투명 다크 퍼플) */
.hero__metrics-band {
    width: 100%;
    max-width: 820px;
    background: rgba(26, 20, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(139, 92, 246, 0.32);
    border-radius: 22px;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(124, 58, 237, 0.15);
}

.metric-col {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-col:last-child {
    border-right: none;
}

.metric-val {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.metric-val--accent {
    color: #a78bfa;
    text-shadow: 0 0 18px rgba(167, 139, 250, 0.45);
}

.metric-lbl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #cbd5e1;
    text-align: left;
    line-height: 1.25;
    white-space: nowrap;
}

.metric-lbl span {
    display: block;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero__main-title { font-size: 2.8rem; }
    .hero__metrics-band { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 20px; }
    .metric-col:nth-child(2) { border-right: none; }
}

@media (max-width: 640px) {
    .hero--speed-style { padding: 90px 0 65px; }
    .hero__main-title { font-size: 2.15rem; gap: 8px; }
    .hero__sub-detail { font-size: 0.95rem; }
    .hero__action-buttons { flex-direction: column; width: 100%; }
    .hero-btn { width: 100%; }
    .hero__metrics-band { grid-template-columns: repeat(2, 1fr); }
    .metric-val { font-size: 1.85rem; }
}

/* ============================================================ */
/* 13. 4 QUICK FLOATING ACTION BUTTONS (xxxsswfscore.com Sync) */
/* ============================================================ */
.quick-floating-wrap {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.q-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.q-float-btn .q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    line-height: 1;
}

.q-float-btn .q-label {
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.q-float-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

/* 1. 전화 (로열 블루) */
.q-float-phone {
    background: linear-gradient(135deg, #1d63ed 0%, #2563eb 100%);
    color: #ffffff;
}
.q-float-phone:hover {
    background: linear-gradient(135deg, #1551c9 0%, #1d4ed8 100%);
}

/* 2. 문자 (에메랄드 그린) */
.q-float-sms {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
}
.q-float-sms:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%);
}

/* 3. 카톡 (카카오 옐로우) */
.q-float-kakao {
    background: linear-gradient(135deg, #fcd34d 0%, #fee500 100%);
    color: #381e1f;
}
.q-float-kakao:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #facc15 100%);
}

/* 4. 텔레 (텔레그램 블루) */
.q-float-telegram {
    background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%);
    color: #ffffff;
}
.q-float-telegram:hover {
    background: linear-gradient(135deg, #1987be 0%, #0077b5 100%);
}

/* 모바일 반응형 조정 */
@media (max-width: 768px) {
    .quick-floating-wrap {
        right: 16px;
        bottom: 24px;
        gap: 10px;
    }
    .q-float-btn {
        width: 50px;
        height: 50px;
    }
    .q-float-btn .q-icon svg {
        width: 18px;
        height: 18px;
    }
    .q-float-btn .q-label {
        font-size: 0.68rem;
    }
}





