/* public/style.css — Catori Premium Landing Page */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --error: #ef4444;
    --success: #10b981;
    --accent: #f59e0b;
    --kakao: #FEE500;
    --naver: #03c75a;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Pretendard', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Responsive visibility utilities */
.mobile-only { display: none !important; }
.desktop-only { display: flex !important; }
@media (max-width: 900px) {
    .mobile-only { display: flex !important; }
    .desktop-only { display: none !important; }
}

/* Review bold highlights */
.review-text strong {
    color: var(--primary);
    font-style: normal;
}

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.fab-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .4s, transform .4s;
}
.fab-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-btn {
    display: flex;
    align-items: center;
    padding: 13px 22px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.3s cubic-bezier(.175,.885,.32,1.275), box-shadow 0.3s;
}

.fab-btn:hover { transform: translateY(-3px) scale(1.04); }

.fab-phone {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,99,235,.3);
}
.fab-phone svg { margin-right: 8px; flex-shrink: 0; }
.fab-phone:hover { box-shadow: 0 10px 28px rgba(37,99,235,.4); }

.fab-kakao {
    background: var(--kakao);
    color: #191919;
    box-shadow: 0 6px 20px rgba(254,229,0,.35);
}
.fab-kakao img { width: 22px; height: 22px; margin-right: 8px; }
.fab-kakao:hover { box-shadow: 0 10px 28px rgba(254,229,0,.45); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo-sub {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
}

nav#mainNav { display: flex; align-items: center; gap: 28px; }
nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color .2s;
    position: relative;
}
nav a:hover { color: var(--primary); }
nav a.btn::after { display: none; }
nav a.btn:hover { color: inherit; }
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width .25s;
}
nav a:hover::after { width: 100%; }
nav a.btn::after { display: none; }

.header-cta {
    background: var(--primary-light);
    color: var(--primary);
    border-color: #bfdbfe;
    box-shadow: none;
}
.header-cta:hover {
    background: #dbeafe;
    color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none;
    cursor: pointer; padding: 6px;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--text-main); border-radius: 2px;
    transition: all .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.45); z-index: 200;
    opacity: 0; transition: opacity .3s;
}
.mobile-menu-overlay.active { display: block; opacity: 1; }

.mobile-menu {
    position: fixed; top: 0; right: -300px;
    width: 280px; height: 100vh; height: 100dvh;
    background: #fff; z-index: 201;
    padding: 24px;
    transition: right .35s cubic-bezier(.25,.8,.25,1);
    box-shadow: -8px 0 30px rgba(0,0,0,.08);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.mobile-menu.active { right: 0; }

.mobile-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 28px; padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.mobile-close {
    background: none; border: none;
    font-size: 2rem; cursor: pointer;
    color: var(--text-muted);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
}

.mobile-nav { display: flex; flex-direction: column; flex: 1; }
.mobile-nav a {
    text-decoration: none; color: var(--text-main);
    font-weight: 600; font-size: 1.1rem;
    padding: 15px 0; border-bottom: 1px solid var(--border);
    transition: color .2s, padding-left .2s;
}
.mobile-nav a:hover { color: var(--primary); padding-left: 8px; }

.mobile-menu-footer { padding-top: 20px; border-top: 1px solid var(--border); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 26px; font-size: 1rem; font-weight: 700;
    text-decoration: none; border-radius: 10px;
    cursor: pointer; border: 2px solid transparent;
    transition: all .22s;
}
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,.2);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,99,235,.3);
    color: #fff;
}

.btn-header-cta {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
    border-color: rgba(37,99,235,.12);
}
.btn-header-cta:hover {
    background: #dbeafe;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-kakao {
    background: var(--kakao); color: #191919;
    box-shadow: 0 4px 10px rgba(254,229,0,.25);
}
.btn-kakao:hover {
    background: #FADA0A;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(254,229,0,.35);
    color: #191919;
}

.btn-outline {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,.45);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
}

.btn-block { width: 100%; }

.btn-naver-map {
    background: transparent; color: var(--naver);
    border-color: var(--naver);
}
.btn-naver-map:hover { background: rgba(3,199,90,.06); transform: translateY(-2px); }

.btn-kakao-map {
    background: transparent; color: #191919;
    border-color: var(--kakao);
}
.btn-kakao-map:hover { background: rgba(254,229,0,.08); transform: translateY(-2px); }

/* ============================================================
   HERO — trust first on desktop, phone first on mobile
   ============================================================ */
.hero {
    position: relative;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: #fff; padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.8) 0%, rgba(15,23,42,.94) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    padding: 84px 20px;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    grid-template-areas:
        "trust contact"
        "copy contact";
    align-items: start;
    gap: 28px 36px;
}

.hero-copy {
    grid-area: copy;
    max-width: 640px;
}

.hero-contact {
    grid-area: contact;
}

.hero-trust {
    grid-area: trust;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    animation: fadeInUp .7s ease .36s both;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #dbeafe;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hero h2 {
    font-size: 2.8rem; font-weight: 800;
    margin-bottom: 16px; line-height: 1.3;
    letter-spacing: -1px;
    animation: fadeInUp .7s ease both;
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: rgba(219, 234, 254, 0.12);
    color: #dbeafe;
    padding: 8px 14px;

    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.04em;

    animation: fadeInUp .7s ease both;
}
.hero .highlight { color: #93c5fd; }

.hero-sub {
    font-size: 1.08rem;
    color: #cbd5e1;
    margin-bottom: 0;
    line-height: 1.8;
    max-width: 560px;
    animation: fadeInUp .7s ease .12s both;
    text-align: left;
}

.hero-contact-card {
    animation: fadeInUp .7s ease .24s both;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(219, 234, 254, 0.18);
    border-radius: 24px;
    padding: 28px;
    backdrop-filter: blur(16px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
}

.hero-contact-label {
    font-size: 0.86rem;
    color: #bfdbfe;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hero-contact-card .btn {
    width: 100%;
}

.hero-primary-cta {
    margin-bottom: 12px;
}

.hero-secondary-cta {
    gap: 10px;
    box-shadow: none;
}

.hero-secondary-cta img {
    width: 20px;
    height: 20px;
}

.kakao-sub-note {
    margin-top: 12px;
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.6;
}

.kakao-sub-note strong {
    color: #fff;
}

.proof-story {
    padding: 72px 0 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg-white) 32%);

}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2.2rem; font-weight: 800;
    margin-bottom: 14px; color: var(--text-main);
}
.text-primary { color: var(--primary); }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 550px; margin: 0 auto; }

.section-label {
    display: inline-block;
    font-size: .72rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px; border-radius: 4px;
    margin-bottom: 14px;
}

/* ============================================================
   REVIEWS (placed right after hero for trust)
   ============================================================ */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.review-card {
    background: var(--bg-main);
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
}

.review-card-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stars {
    color: var(--accent);
    margin-bottom: 14px;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: .95rem; color: var(--text-main);
    margin-bottom: auto; padding-bottom: 22px;
    line-height: 1.8;
    text-align: left;
}

.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.reviewer-info strong { display: block; font-size: .93rem; color: var(--text-main); }
.reviewer-info span { font-size: .82rem; color: var(--text-muted); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 100px 0; background: var(--bg-main); }

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

.service-card {
    background: var(--bg-white);
    border-radius: 14px; overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
    transition: transform .35s, box-shadow .35s;
    display: flex; flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
}

.service-img {
    height: 210px;
    background-size: cover; background-position: center;
    position: relative;
    flex-shrink: 0;
}

.service-body {
    padding: 28px;
    flex: 1;
    display: flex; flex-direction: column;
}

.badge {
    display: inline-block;
    padding: 4px 10px; border-radius: 6px;
    font-size: .72rem; font-weight: 700;
    background: #dbeafe; color: var(--primary);
    margin-bottom: 14px;
}
.badge-purple { background: #f3e8ff; color: #7e22ce; }
.badge-green { background: #dcfce3; color: #15803d; }

.service-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 14px; }

.service-link {
    display: inline-block;
    font-size: .88rem; font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color .2s;
    margin-top: auto;
}
.service-link:hover { color: var(--primary-hover); }

.service-meta {
    font-size: .8rem; color: var(--text-muted);
    margin-bottom: 10px; font-weight: 500;
}

.service-img-accent { position: relative; }
.service-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(234,88,12,.7) 0%, rgba(234,88,12,.3) 100%);
    display: flex; align-items: center; justify-content: center;
}
.service-img-label {
    background: #fff; color: #ea580c;
    padding: 6px 20px; border-radius: 6px;
    font-weight: 800; font-size: .9rem;
    letter-spacing: 2px;
}

.badge-orange { background: #fff7ed; color: #ea580c; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-main) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
    transition: transform .3s, box-shadow .3s;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.07);
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37,99,235,.1);
}
.pricing-card-featured:hover {
    box-shadow: 0 12px 28px rgba(37,99,235,.15);
}

.pricing-popular {
    position: absolute; top: 14px; right: -30px;
    background: var(--primary); color: #fff;
    padding: 3px 38px;
    font-size: .7rem; font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center; margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.pricing-icon { font-size: 2.3rem; display: block; margin-bottom: 10px; }
.pricing-header h4 { font-size: 1.2rem; font-weight: 800; }

.pricing-body {
    margin-bottom: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;

    padding: 11px 0;
    border-bottom: 1px dashed #eaecf0;
    font-size: .93rem;
    min-height: 54px;
}
.price-item:last-child { border-bottom: none; }
.price-item span {
    color: var(--text-muted);
    flex: 1;
}
.price-item strong { color: var(--text-main); font-weight: 700; white-space: nowrap; }


.pricing-cta {
    font-size: .93rem !important;
    padding: 11px !important;
    margin-top: auto;
}

.pricing-note {
    text-align: center; color: var(--text-muted);
    font-size: .88rem; margin-top: 28px;
}

/* ============================================================
   BEFORE / AFTER GALLERY
   ============================================================ */
.ba-section { padding: 100px 0; background: var(--bg-main); }

.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.ba-card {
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.ba-slider {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}

.ba-after {
    clip-path: inset(0 0 0 50%);
    transition: clip-path 0s;
}

.ba-label {
    position: absolute;
    top: 12px; left: 12px;
    background: rgba(0,0,0,.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.ba-label-after {
    left: auto; right: 12px;
    background: var(--primary);
}

.ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}
.ba-handle-line {
    flex: 1;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,.3);
}
.ba-handle-circle {
    width: 36px; height: 36px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    color: var(--text-main);
    font-weight: 700;
    flex-shrink: 0;
}

.ba-caption {
    padding: 14px 18px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
}

/* 지점 서비스 라벨 */
.loc-services {
    font-size: .85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 2px;
}

/* ============================================================
   MEDIA (YouTube)
   ============================================================ */
.media-section { padding: 100px 0; background: var(--bg-white); }

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    max-width: 860px;
    margin: 0 auto;
}

.video-card {
    background: var(--bg-main);
    border-radius: 14px; overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s;
}
.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; height: 0; overflow: hidden;
}
.video-container iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
}

/* ============================================================
   PROMOTION (QR)
   ============================================================ */
.promotion {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: #fff; padding: 60px 0;
}

.promo-flex {
    display: flex; align-items: center;
    justify-content: space-between; gap: 40px;
}
.promo-text { flex: 1; }
.promo-text h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 14px; }
.promo-text p { font-size: 1.05rem; opacity: .92; line-height: 1.7; }

.promo-qr-wrap { text-align: center; flex-shrink: 0; }
.promo-qr {
    background: #fff; padding: 14px; border-radius: 12px;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
.qr-label { margin-top: 10px; font-weight: 600; font-size: .88rem; opacity: .9; }

/* ============================================================
   INQUIRY / CONTACT
   ============================================================ */
.inquiry { padding: 100px 0; background: var(--bg-main); }

.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: start;
    max-width: 1000px; margin: 0 auto;
}

.inquiry-info h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 14px; }
.inquiry-info p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 22px; line-height: 1.7; }

.inquiry-kakao-btn {
    margin-bottom: 12px !important;
    font-size: 1.15rem !important;
    padding: 17px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 18px rgba(254,229,0,.35) !important;
}

.inquiry-channel-btn {
    color: #191919 !important;
    border-color: var(--kakao) !important;
    background: rgba(254,229,0,.08) !important;
    font-size: .95rem !important;
    padding: 13px !important;
    border-radius: 12px !important;
}

.channel-add-note {
    font-size: .82rem; color: var(--text-muted);
    margin-top: 8px; margin-bottom: 22px;
    text-align: center;
}

.contact-list { list-style: none; }
.contact-list li {
    padding: 14px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: .95rem;
    transition: transform .2s;
}
.contact-list li:hover { transform: translateX(4px); }

.map-wrapper {
    background: var(--bg-white);
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.map-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.map-container { border-radius: 12px; overflow: hidden; }

.map-buttons {
    display: flex; gap: 10px; margin-top: 14px;
}
.map-buttons .btn { flex: 1; font-size: .88rem; padding: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #0f172a; color: #fff;
    padding: 56px 0 20px;
}
.footer-content {
    display: flex; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 36px; margin-bottom: 18px;
}
.footer-brand .logo { color: #fff; margin-bottom: 10px; }
.footer-brand p { color: #94a3b8; font-size: .95rem; }

.footer-links p { color: #cbd5e1; margin-bottom: 6px; text-align: right; font-size: .93rem; }
.footer-social {
    display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px;
}
.footer-social a {
    font-size: 1.4rem; text-decoration: none;
    transition: transform .2s; display: inline-block;
}
.footer-social a:hover { transform: scale(1.15); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    color: #4a5568; font-size: .82rem;
    padding: 0 20px;
    max-width: 1100px; margin: 0 auto;
}

/* Form styles (admin page compat) */
.form-message {
    padding: 14px; border-radius: 8px;
    margin-bottom: 20px; display: none;
    font-weight: 600; text-align: center;
}
.form-message.error { display: block; background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }
.form-message.success { display: block; background: #ecfdf5; color: var(--success); border: 1px solid #a7f3d0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseKakao {
    0%   { box-shadow: 0 0 0 0 rgba(254,229,0,.6); }
    70%  { box-shadow: 0 0 0 14px rgba(254,229,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(254,229,0,0); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger children */
.review-card.reveal:nth-child(2),
.service-card.reveal:nth-child(2),
.pricing-card.reveal:nth-child(2) { transition-delay: .12s; }
.review-card.reveal:nth-child(3),
.service-card.reveal:nth-child(3),
.pricing-card.reveal:nth-child(3) { transition-delay: .24s; }
.service-card.reveal:nth-child(4),
.pricing-card.reveal:nth-child(4) { transition-delay: .36s; }
.video-card.reveal:nth-child(2) { transition-delay: .12s; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    .review-grid,
    .ba-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .service-grid,
    .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-grid { grid-template-columns: 1fr; }
    .inquiry-wrapper { grid-template-columns: 1fr !important; gap: 36px !important; }

    .hero { padding: 60px 0 0; }
    .hero-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "contact"
            "trust";
        gap: 22px;
    }
    .hero h2 { font-size: 2rem; }
    .hero-copy,
    .hero h2,
    .hero-sub { max-width: none; text-align: center; }
    .hero-contact-card { padding: 24px; }
    .hero-trust { justify-content: center; }
    .hero-trust span { justify-content: center; }


    .promo-flex { flex-direction: column; text-align: center; gap: 24px; }
    .footer-content { flex-direction: column; gap: 28px; text-align: center; }
    .footer-links p { text-align: center; }
    .footer-social { justify-content: center; }
    .map-buttons { flex-direction: column; }

    nav#mainNav { display: none; }
    .hamburger { display: flex; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
    body { padding-bottom: 120px; }

    .hero { padding: 48px 0 0; background-attachment: scroll; }
    .hero h2 { font-size: 1.6rem; letter-spacing: -.5px; }
    .hero-content { padding: 64px 20px 88px; }
    .hero-sub { font-size: .94rem; }
    .hero-badge { font-size: .74rem; }
    .hero-contact-card { padding: 20px; border-radius: 18px; }
    .hero-primary-cta,
    .hero-secondary-cta { font-size: 0.98rem; }
    .hero-trust { gap: 8px; }
    .hero-trust span {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 9px 12px;
    }

    .section-header h2 { font-size: 1.65rem; }

    .section-header p { font-size: .95rem; }
    .section-header h2 { font-size: 1.65rem; }

    .services, .reviews-section, .media-section, .inquiry, .pricing-section { padding: 60px 0; }
    .proof-story { padding: 56px 0 8px; }

    .inquiry-info h3 { font-size: 1.6rem !important; }
    .inquiry-info p { font-size: .95rem !important; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
    .pricing-card { padding: 22px; }
    .pricing-popular { right: -28px; top: 12px; font-size: .65rem; }

    /* FAB → bottom bar */
    .fab-container {
        right: 0; bottom: 0; left: 0;
        flex-direction: row; gap: 0;
        align-items: stretch;
    }
    .fab-btn {
        flex: 1; border-radius: 0;
        justify-content: center; padding: 15px;
        font-size: .95rem;
        transform: none !important;
    }
    .fab-phone { box-shadow: 0 -3px 10px rgba(0,0,0,.08); }
    .fab-kakao {
        box-shadow: 0 -3px 10px rgba(0,0,0,.08);
        animation: pulseKakao 2.5s infinite;
    }
    /* Mobile: phone on RIGHT (primary position, thumb-friendly) */
    .fab-phone {
        order: 2;
        box-shadow: 0 -3px 10px rgba(0,0,0,.08);
        animation: pulsePhone 2.5s infinite;
    }
    .fab-kakao {
        order: 1;
        box-shadow: 0 -3px 10px rgba(0,0,0,.08);
        animation: none;
    }
    .fab-kakao:hover, .fab-phone:hover {
        box-shadow: 0 -3px 10px rgba(0,0,0,.08);
        transform: none !important;
    }
}

@keyframes pulsePhone {
    0%   { box-shadow: 0 0 0 0 rgba(37,99,235,.5); }
    70%  { box-shadow: 0 0 0 12px rgba(37,99,235,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* ============================================================
   MID-CTA BANNERS (between sections for conversion)
   ============================================================ */
.mid-cta {
    padding: 28px 0;
    background: var(--primary-light);
    border-top: 1px solid #dbeafe;
    border-bottom: 1px solid #dbeafe;
}
.mid-cta-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: none;
    color: #fff;
}
.mid-cta-dark .mid-cta-text span { color: #94a3b8; }

.mid-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.mid-cta-text strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 2px;
}
.mid-cta-text span {
    font-size: .95rem;
    color: var(--text-muted);
}
.mid-cta-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 600px) {
    .mid-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .mid-cta-inner .btn { width: 100%; }
    .mid-cta-buttons { width: 100%; flex-direction: column; }
}

/* ============================================================
   INQUIRY — Phone-first, Kakao secondary
   ============================================================ */
.inquiry-phone-btn {
    font-size: 1.25rem !important;
    padding: 18px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(37,99,235,.25) !important;
    margin-bottom: 24px !important;
}

.kakao-secondary {
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.kakao-secondary-label {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-align: center;
    font-weight: 600;
}

.kakao-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 12px;
    font-size: .85rem;
    color: #9a3412;
    line-height: 1.5;
}
.kakao-notice-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.channel-add-link {
    display: block;
    text-align: center;
    font-size: .82rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 12px;
    transition: color .2s;
}
.channel-add-link:hover { color: var(--primary); }

/* ============================================================
   MAP — Services badge + Location Tabs
   ============================================================ */
.map-subtitle {
    font-size: .92rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.map-services-badge {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
    flex-wrap: wrap;
}
.map-services-badge span {
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
}

/* 사고대차 배너 */
.rentcar-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
}
.rentcar-banner-icon { font-size: 1.5rem; flex-shrink: 0; }
.rentcar-banner-text { flex: 1; font-size: .9rem; color: #92400e; line-height: 1.4; }
.rentcar-banner-text strong { color: #c2410c; }
.rentcar-banner-btn {
    flex-shrink: 0;
    background: #ea580c; color: #fff;
    padding: 8px 16px; border-radius: 8px;
    text-decoration: none; font-weight: 700; font-size: .85rem;
    transition: background .2s;
}
.rentcar-banner-btn:hover { background: #c2410c; }

/* 지점 탭 */
.location-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.loc-tab {
    flex: 1;
    padding: 12px 8px;
    background: var(--bg-main);
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: .85rem;
    color: var(--text-muted);
    transition: all .2s;
    text-align: center;
    line-height: 1.3;
}
.loc-tab:not(:last-child) { border-right: 1px solid var(--border); }
.loc-tab.active {
    background: var(--primary);
    color: #fff;
}
.loc-tab:not(.active):hover { background: var(--primary-light); color: var(--primary); }

/* 지점 패널 */
.loc-panel {
    display: none;
}
.loc-panel.active {
    display: block;
    animation: fadeInUp .35s ease;
}
.loc-address {
    font-size: .92rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 14px;
    padding: 10px 14px;
    background: var(--primary-light);
    border-radius: 8px;
}
