/* ============================================
   보은부동산 — 메인페이지
   딥 네이비 #0F172A + 웜 옐로우 #F2C94C
   ============================================ */

:root {
    --navy: #0F172A;
    --navy-soft: #1a2438;
    --yellow: #F2C94C;
    --yellow-hover: #e0b83a;
    --ink: #0F172A;
    --muted: #64748b;
    --line: #e2e8f0;
    --hero-overlay: rgba(15, 23, 42, 0.78);
    --header-bg: #0F172A;
    --footer-bg: #0F172A;
    --max: 1120px;
    --header-h: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Pretendard", "Malgun Gothic", sans-serif;
    color: var(--ink);
    background: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
}

/* 시그니처 골드 컨테이너 (기본) */
.logo-badge {
    width: 42px;
    height: 42px;
    background-color: var(--logo-badge-bg, var(--yellow));
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.logo-icon {
    background: transparent;
    color: var(--navy);
    width: 100%;
    height: 100%;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1;
}

.logo-icon[hidden],
.logo-img[hidden],
.logo-text[hidden] {
    display: none !important;
}

.logo.has-logo .logo-icon {
    display: none !important;
}

/* 골드 박스 안 까치 로고 — 비율로 실제 차지 크기 변경 */
.logo-img {
    width: calc(100% * var(--logo-img-scale, 1));
    height: calc(100% * var(--logo-img-scale, 1));
    max-width: none;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    flex-shrink: 0;
    display: block;
    transform: none;
}

.logo.has-logo .logo-img {
    display: block;
}

.logo-text {
    color: #fff;
    white-space: nowrap;
}

.pc-menu {
    display: flex;
    gap: 28px;
}

.pc-menu a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    transition: color 0.2s;
}

.pc-menu a:hover {
    color: var(--yellow);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-btn-header {
    background: var(--yellow);
    color: var(--navy);
    padding: 8px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s;
}

.contact-btn-header:hover {
    background: var(--yellow-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 24px 20px;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu .mobile-consult {
    color: var(--navy);
    background: var(--yellow);
    font-weight: 700;
    border-bottom: none;
    margin-top: 12px;
    text-align: center;
    border-radius: 999px;
    padding: 12px;
}

/* ---------- Hero (전체 배경 + 좌측 정렬) ---------- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 48px) 8vw 80px;
    color: #fff;
    /* 새로고침 FOUC 방지: 예전 hero.jpg를 기본으로 쓰지 않음 */
    --hero-image: none;
    --hero-grad-enabled: 1;
    --hero-grad-rgb: 15, 23, 42;
    --hero-grad-opacity: 0.82;
    --hero-grad-range: 42%;
    --hero-grad-range-mobile: 68%;
    --hero-grad-dir: to left; /* right side dark → fade toward left */
    background-color: #0F172A;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-slides {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.hero.is-ready .hero-slides {
    opacity: 1;
}

.hero-slides,
.hero-slide,
.hero-grad-overlay {
    position: absolute;
    inset: 0;
}

.hero-slides { z-index: 0; }

.hero-grad-overlay {
    z-index: 1;
    pointer-events: none;
    opacity: var(--hero-grad-enabled);
    background: linear-gradient(
        var(--hero-grad-dir),
        rgba(var(--hero-grad-rgb), var(--hero-grad-opacity)) 0%,
        rgba(var(--hero-grad-rgb), 0) var(--hero-grad-range)
    );
}

@media screen and (max-width: 768px) {
    .hero-grad-overlay {
        background: linear-gradient(
            var(--hero-grad-dir),
            rgba(var(--hero-grad-rgb), var(--hero-grad-opacity)) 0%,
            rgba(var(--hero-grad-rgb), 0) var(--hero-grad-range-mobile)
        );
    }
}

.hero-slide {
    background: center / cover no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-flipped {
    transform: scaleX(-1);
}

.hero-slide.is-active { opacity: 1; }

.hero-content,
.scroll-hint { position: relative; z-index: 2; }

.hero-content {
    width: min(620px, 100%);
    text-align: left;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.35);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero-subtitle {
    font-size: 12px;
    color: var(--yellow);
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-title {
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 18px;
    word-break: keep-all;
    color: #fff;
}

.hero-title span {
    color: var(--yellow);
}

.hero-title-sub {
    font-size: clamp(15px, 1.7vw, 19px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 14px;
    word-break: keep-all;
    line-height: 1.5;
}

.hero-desc {
    font-size: clamp(13px, 1.35vw, 15px);
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
    margin-bottom: 36px;
    font-weight: 400;
    word-break: keep-all;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--yellow);
    color: var(--navy);
    border: none;
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.25s;
    box-shadow: 0 12px 28px rgba(242, 201, 76, 0.28);
    text-decoration: none;
    word-break: keep-all;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cta-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-2px);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.cta-kakao {
    background: #FEE500;
    color: #191600;
    box-shadow: 0 12px 28px rgba(254, 229, 0, 0.28);
}

.cta-kakao:hover {
    background: #ffe94d;
}

.consult-cta-row {
    justify-content: center;
    margin-top: 22px;
}

.scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(242, 201, 76, 0.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    font-size: 9px;
    letter-spacing: 0.12em;
    font-weight: 700;
    animation: scrollBob 2.2s ease-in-out infinite;
}

@keyframes scrollBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

.section-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    color: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--yellow);
    opacity: 0.55;
}

.section-title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    margin-bottom: 14px;
    word-break: keep-all;
    color: #fff;
}

.section-desc {
    text-align: center;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 48px;
    font-size: 15px;
}

/* ---------- Listings (실시간 추천 매물) ---------- */
.listings {
    background: var(--navy);
    padding-top: 80px;
}

.listings-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.listings-head .section-title {
    margin-bottom: 0;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(242, 201, 76, 0.12);
    color: var(--yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(242, 201, 76, 0.35);
}

.live-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.listing-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.listing-thumb {
    height: 160px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.1)),
        linear-gradient(145deg, #334155, #1e293b);
}

.listing-thumb.alt {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.05)),
        linear-gradient(145deg, #475569, #273449);
}

.listing-thumb.alt2 {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.05)),
        linear-gradient(145deg, #3f4f63, #2a3648);
}

.listing-body {
    padding: 22px 20px 24px;
}

.listing-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.deal-type {
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
}

.deal-type.sale {
    background: rgba(15, 23, 42, 0.08);
    color: var(--navy);
}

.deal-type.jeonse {
    background: rgba(242, 201, 76, 0.2);
    color: #8a6a00;
}

.deal-type.monthly {
    background: rgba(34, 197, 94, 0.15);
    color: #15803d;
}

.listing-area {
    font-size: 13px;
    color: var(--muted);
}

.listing-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    word-break: keep-all;
}

.listing-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--yellow);
}

.listing-price em {
    font-style: normal;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    flex-shrink: 0;
}

.listing-price strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.listing-price.dual {
    flex-wrap: wrap;
    gap: 8px 6px;
}

.listing-price.dual span {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.listing-price.dual .sep {
    color: #cbd5e1;
    font-weight: 700;
    padding: 0 2px;
}

.listing-price.dual strong {
    font-size: 20px;
}

.listing-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.listing-tags li {
    font-size: 12px;
    color: var(--muted);
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 999px;
}

/* ---------- Promise (함께하는 방식) ---------- */
.promise {
    background: #f8fafc;
}

.promise .section-title {
    color: var(--navy);
}

.promise .section-desc {
    color: var(--muted);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}

.promise-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 24px;
}

.promise-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--yellow);
    margin-bottom: 14px;
}

.promise-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    word-break: keep-all;
}

.promise-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    word-break: keep-all;
}

/* ---------- Villages (단지 카드) ---------- */
.villages {
    background: #fff;
}

.villages .section-title {
    color: var(--navy);
}

.villages .section-desc {
    color: var(--muted);
}

.village-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.village-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    color: inherit;
}

.village-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.village-visual {
    height: 160px;
    background: linear-gradient(145deg, #334155, #1e293b);
}

.village-visual.top {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.25), rgba(15, 23, 42, 0.05)),
        linear-gradient(145deg, #3b82f6, #1e3a5f);
}

.village-visual.jangmi {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.05)),
        linear-gradient(145deg, #f472b6, #9f1239);
}

.village-visual.maehoa {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.05)),
        linear-gradient(145deg, #a78bfa, #5b21b6);
}

.village-body {
    padding: 24px 22px 26px;
}

.village-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--navy);
    background: rgba(242, 201, 76, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.village-body h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.village-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
    word-break: keep-all;
}

.village-cta {
    font-size: 14px;
    font-weight: 800;
    color: #b8941f;
}

/* ---------- Results ---------- */
.results {
    background: var(--navy-soft);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: left;
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.card-tag {
    color: #b8941f;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--navy);
}

.card-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
}

/* ---------- Column / Consult ---------- */
.column {
    background: var(--navy);
}

.consult {
    background: linear-gradient(160deg, #0b1220 0%, #162033 100%);
    color: #fff;
    text-align: center;
}

.consult-inner h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    margin-bottom: 12px;
}

.consult-inner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #fff;
    color: #475569;
    padding: 64px 0 0;
    font-size: 14px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.3fr 1.1fr;
    gap: 36px 28px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-brand .logo {
    margin-bottom: 14px;
    color: var(--navy);
}

.footer-brand .logo-text {
    color: var(--navy);
}

.footer-brand p,
.footer-company p,
.footer-consult p {
    line-height: 1.75;
    margin-bottom: 4px;
    word-break: keep-all;
}

.footer-area {
    margin-top: 10px;
    color: #64748b;
}

.footer-pages nav {
    display: grid;
    gap: 10px;
}

.footer-pages a {
    color: #64748b;
}

.footer-pages a:hover {
    color: var(--navy);
}

.footer-company p:first-of-type,
.footer-consult a {
    color: #334155;
}

.footer-consult a {
    text-decoration: none;
}

.footer-consult a:hover {
    color: var(--navy);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0 28px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: #94a3b8;
}

.footer-bottom a {
    color: #64748b;
}

.footer-bottom a:hover {
    color: var(--navy);
}

.copyright {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 13px;
}

/* ============================================
   태블릿
   ============================================ */
@media screen and (max-width: 1024px) {
    .promise-grid,
    .village-grid {
        grid-template-columns: 1fr;
    }

    .listing-grid,
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   모바일
   ============================================ */
@media screen and (max-width: 768px) {
    :root {
        --header-h: 60px;
    }

    .pc-menu,
    .contact-btn-header {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo-text {
        font-size: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: calc(var(--header-h) + 36px) 6vw 88px;
        background-color: #0F172A;
        background-image: var(--hero-image);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .hero-content {
        text-shadow: 0 1px 2px rgba(15, 23, 42, 0.55), 0 8px 24px rgba(15, 23, 42, 0.35);
    }

    .hero-title {
        font-size: 26px;
    }

    .cta-btn {
        width: auto;
        flex: 1 1 160px;
        max-width: 100%;
    }

    .hero-cta-row {
        width: 100%;
    }

    .scroll-hint {
        bottom: 18px;
    }

    .section {
        padding: 64px 0;
    }

    .listings {
        padding-bottom: 40px;
    }

    .listings-head {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .section-label {
        justify-content: flex-start;
    }

    .section-title,
    .section-desc {
        text-align: left;
    }

    .listing-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .listing-price strong {
        font-size: 22px;
    }

    .consult {
        padding-bottom: 100px;
    }
}

/* ---------- PC 전화 상담 모달 ---------- */
.phone-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.phone-modal[hidden] {
    display: none !important;
}

.phone-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    animation: phoneModalFade 0.25s ease;
}

.phone-modal-panel {
    position: relative;
    width: min(440px, 100%);
    padding: 48px 36px 40px;
    border-radius: 20px;
    background: linear-gradient(165deg, #1a2438 0%, #0F172A 55%, #0b1220 100%);
    border: 1px solid rgba(242, 201, 76, 0.28);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    text-align: center;
    color: #fff;
    animation: phoneModalRise 0.3s ease;
}

.phone-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.phone-modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.phone-modal-eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
    color: var(--yellow);
    margin-bottom: 10px;
}

.phone-modal-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.phone-modal-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 28px;
}

.phone-modal-numbers {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.phone-modal-number {
    display: block;
    width: 100%;
    padding: 18px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.phone-modal-number.is-primary {
    font-size: 34px;
    background: rgba(242, 201, 76, 0.12);
    border-color: rgba(242, 201, 76, 0.45);
    color: var(--yellow);
}

.phone-modal-number:hover {
    transform: translateY(-1px);
    background: rgba(242, 201, 76, 0.18);
    border-color: rgba(242, 201, 76, 0.55);
}

.phone-modal-hint {
    margin-top: 22px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

@keyframes phoneModalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes phoneModalRise {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .phone-modal-panel {
        padding: 40px 22px 32px;
    }

    .phone-modal-number {
        font-size: 24px;
    }

    .phone-modal-number.is-primary {
        font-size: 28px;
    }
}

/* ---------- 우측 하단 방문자 ---------- */
.visitor-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    min-width: 128px;
    padding: 14px 16px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(242, 201, 76, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    color: #fff;
    text-align: center;
    pointer-events: none;
    backdrop-filter: blur(8px);
}

.visitor-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 4px;
}

.visitor-today {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--yellow);
    line-height: 1.15;
}

.visitor-total {
    margin-top: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.visitor-total span {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

@media (max-width: 640px) {
    .visitor-widget {
        right: 12px;
        bottom: 12px;
        min-width: 110px;
        padding: 12px 12px 10px;
    }

    .visitor-today {
        font-size: 22px;
    }
}
