/* ==========================================================================
   Industrial Park Template Kit - Premium R·G·B·Y Accent Theme
   Daegu Urban Development Corporation (대구도시개발공사) Presale Standard
   Clean Monochrome Base + 1 Single Dedicated Smart Blue Accent (#005bac)
   ========================================================================== */

:root {
    /* --- 1. The Single Dedicated Accent Color (DUDC Smart Blue) --- */
    --accent-blue: #005bac;            /* Daegu Urban Development Corp Blue */
    --accent-blue-hover: #004585;      /* Deepened Blue for Hover */
    --accent-blue-subtle: #f0f6fc;     /* 5% Tint for light active backgrounds */
    --accent-blue-border: rgba(0, 91, 172, 0.25);
    --primary-color: #005bac;
    --accent-color: #005bac;

    --color-green: #0a7e5e;
    --color-green-hover: #075e46;
    --color-green-subtle: #e8f8f2;
    --color-amber: #d97706;
    --color-amber-hover: #b45309;
    --color-amber-subtle: #fef3c7;
    --color-coral: #dc2626;
    --color-coral-hover: #b91c1c;
    --color-coral-subtle: #fee2e2;

    /* --- 2. Clean Monochrome Architectural Base --- */
    --mono-black: #0b192c;
    --mono-dark: #132238;
    --mono-body: #333333;
    --mono-muted: #777777;
    --mono-light-muted: #999999;

    --mono-border: #e5e5e5;
    --mono-border-subtle: #eeeeee;

    --mono-bg-white: #ffffff;
    --mono-bg-light: #f8fafc;
    --mono-bg-dark: #0b192c;
    --mono-bg-dark-sub: #132238;

    /* --- Typography --- */
    --font-heading: 'Paperlogy', 'Pretendard', sans-serif;
    --font-en: 'Montserrat', 'Futura-PT', sans-serif;
    --font-ko: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* ==========================================================================
   Global Base & Typography
   ========================================================================== */
body {
    background-color: var(--mono-bg-white);
    color: var(--mono-body);
    font-family: var(--font-ko);
    line-height: 1.6;
    letter-spacing: -0.03em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--mono-dark);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Single Accent Corner Line Draw Hover Effect */
.line_eff {
    position: relative;
    transition: all 0.35s ease;
}

.line_eff::before {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    width: 0;
    height: 1px;
    background-color: var(--accent-blue);
    transition: width 0.35s ease;
    z-index: 2;
}

.line_eff::after {
    content: '';
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 0;
    height: 1px;
    background-color: var(--accent-blue);
    transition: width 0.35s ease;
    z-index: 2;
}

.line_eff > span {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.line_eff > span::before {
    content: '';
    position: absolute;
    left: -1px;
    bottom: -1px;
    width: 1px;
    height: 0;
    background-color: var(--accent-blue);
    transition: height 0.35s ease;
    z-index: 2;
}

.line_eff > span::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -1px;
    width: 1px;
    height: 0;
    background-color: var(--accent-blue);
    transition: height 0.35s ease;
    z-index: 2;
}

.line_eff:hover::before,
.line_eff:hover::after {
    width: calc(100% + 2px);
}

.line_eff:hover > span::before,
.line_eff:hover > span::after {
    height: calc(100% + 2px);
}

/* ==========================================================================
   Header & GNB (Clean White & Blue Hover Accent)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease;
}

header.header-transparent {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

header.header-scrolled,
body.sub header {
    background: #ffffff;
    border-bottom: 1px solid var(--mono-border);
}

.navi {
    max-width: 1800px;
    margin: 0 auto;
    height: 90px;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.3s ease;
}

header.header-scrolled .navi,
body.sub .navi {
    height: 75px;
}

.gnb > ul {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    height: 100%;
}

.gnb > ul > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.gnb > ul > li > a.depth1 {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.02em;
    padding: 10px 0;
    transition: color 0.2s ease;
}

header.header-scrolled .gnb > ul > li > a.depth1,
body.sub .gnb > ul > li > a.depth1 {
    color: var(--mono-dark);
}

.gnb > ul > li:hover > a.depth1 {
    color: var(--accent-blue) !important;
}

.gnb .depth2 {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    min-width: 180px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--mono-border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}

.gnb > ul > li:hover .depth2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.gnb .depth2 li a {
    display: block;
    padding: 9px 20px;
    font-size: 0.88rem;
    color: var(--mono-dark);
    text-align: center;
    transition: all 0.2s ease;
}

.gnb .depth2 li a:hover {
    color: var(--accent-blue);
    font-weight: 700;
    background: var(--accent-blue-subtle);
}

/* Header Right Utility */
.tel_wrap .tel a {
    font-family: var(--font-en);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}

header.header-scrolled .tel_wrap .tel a,
body.sub .tel_wrap .tel a {
    color: var(--accent-blue);
}

/* Kumho Waterpolis: retain a clear blue phone number over the main image. */
body.main:not(.sitemap-open) header.header-transparent:not(.header-scrolled) .tel_wrap .tel a {
    color: #93c5fd;
}

.reserve_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: transparent;
    transition: all 0.3s ease;
}

header.header-scrolled .reserve_btn,
body.sub .reserve_btn {
    border-color: var(--accent-blue);
    color: var(--accent-blue) !important;
}

.reserve_btn:hover {
    background: var(--accent-blue) !important;
    color: #ffffff !important;
    border-color: var(--accent-blue) !important;
}

/* ==========================================================================
   Section 1: Hero & Sales Calendar
   ========================================================================== */
.hero-main {
    position: relative;
    min-height: 100vh;
    background: var(--mono-bg-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 4% 80px;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 65% 35%, rgba(0, 91, 172, 0.20) 0%, transparent 60%),
                linear-gradient(180deg, rgba(11, 25, 44, 0.16) 0%, rgba(11, 25, 44, 0.66) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero-subtit-line {
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--accent-blue);
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-main-title span.number-highlight {
    color: #ffffff;
    display: inline-block;
    position: relative;
}

.hero-main-title span.number-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

.hero-main-desc {
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    color: var(--mono-light-muted);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 40px;
}

/* Floating Circular Badges */
.floating-circle-badges {
    position: absolute;
    right: 5%;
    top: 25%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 4;
}

.circle-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(19, 34, 56, 0.78);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.circle-badge.blue {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.circle-badge:hover {
    transform: scale(1.05);
}

.circle-badge h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

.rotating-open-badge {
    width: 110px;
    height: 110px;
    position: absolute;
    right: 5%;
    bottom: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    color: #ffffff;
    cursor: default;
}

.rotating-open-badge .stamp-circle {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    animation: rotateInfinite 18s linear infinite;
}

.rotating-open-badge .stamp-text {
    text-align: center;
    font-family: var(--font-en);
}

.rotating-open-badge .stamp-text b {
    font-size: 1.25rem;
    font-weight: 800;
    display: block;
}

.rotating-open-badge .stamp-text span {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
}

/* ==========================================================================
   Clean Calendar Box (Single Blue Highlight)
   ========================================================================== */
.calendar_box {
    margin-top: 30px;
    background: rgba(19, 34, 56, 0.82);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    padding: 40px;
}

.calendar_tit {
    text-align: center;
    margin-bottom: 28px;
}

.calendar_tit h2 {
    font-family: var(--font-en);
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.calendar_tit p {
    font-size: 0.9rem;
    color: var(--mono-light-muted);
    margin-top: 8px;
}

.calendar_bottom {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.calendar_con {
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

.calendar_con.active {
    border-color: var(--color-amber);
    background: rgba(217, 119, 6, 0.18);
    box-shadow: inset 0 3px 0 var(--color-amber);
}

.calendar_con h4 {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.calendar_con.active h4 {
    color: #fcd34d;
}

.calendar_con p {
    font-size: 0.82rem;
    color: var(--mono-light-muted);
    margin-top: 6px;
}

.calendar_con.active p {
    color: #ffffff;
    font-weight: 600;
}

.calendar_btn ul {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.calendar_btn ul li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.calendar_btn ul li a:hover {
    background: var(--color-coral);
    color: #ffffff;
    border-color: var(--color-coral);
}

/* ==========================================================================
   Section 2: Minimalist Summary (Hairline Grid)
   ========================================================================== */
.section-summary {
    padding: 120px 4%;
    background: linear-gradient(135deg, var(--mono-bg-dark) 0%, var(--mono-bg-dark-sub) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.sum_tit h1 {
    font-family: var(--font-en);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.sum_tit p {
    font-size: 1.05rem;
    color: var(--mono-light-muted);
    line-height: 1.7;
    margin-bottom: 50px;
}

.sum_specs_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.sum_spec_item {
    border-top: 3px solid var(--accent-blue);
    padding-top: 18px;
    text-align: left;
}

/* High-contrast blue emphasis over aerial hero imagery. */
.h1-title .hero-title-highlight {
    color: #60a5fa;
    text-shadow: 0 2px 12px rgba(3, 20, 40, 0.78), 0 1px 2px rgba(3, 20, 40, 0.85);
}
.sum_spec_item:nth-child(4n + 2) { border-color: var(--color-green); }
.sum_spec_item:nth-child(4n + 3) { border-color: var(--color-amber); }
.sum_spec_item:nth-child(4n) { border-color: var(--color-coral); }

.sum_spec_item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.sum_spec_item p {
    font-size: 0.92rem;
    color: var(--mono-light-muted);
    line-height: 1.5;
}

/* Kumho Waterpolis: a brighter, card-based summary section. */
body.main .section-summary-light {
    background: #ffffff;
    color: var(--mono-dark);
    border-top: 1px solid #e5edf5;
    border-bottom: 1px solid #e5edf5;
}

body.main .section-summary-light .sum_tit h1 { color: #0a3f74; }
body.main .section-summary-light .sum_tit p { color: #526477; }
body.main .section-summary-light .sum_specs_grid { gap: 16px; }

body.main .section-summary-light .sum_spec_item {
    background: #ffffff;
    border: 1px solid #dce7f3;
    border-top: 4px solid var(--accent-blue);
    padding: 22px 20px;
    box-shadow: 0 8px 20px rgba(11, 60, 117, 0.06);
}

body.main .section-summary-light .sum_spec_item:nth-child(4n + 2) { border-top-color: var(--color-green); }
body.main .section-summary-light .sum_spec_item:nth-child(4n + 3) { border-top-color: var(--color-amber); }
body.main .section-summary-light .sum_spec_item:nth-child(4n) { border-top-color: var(--color-coral); }
body.main .section-summary-light .sum_spec_item h3 { color: #132238; }
body.main .section-summary-light .sum_spec_item p { color: #5c6d80; }
body.main .section-summary-light > div > p { color: #697b8f !important; }

/* ==========================================================================
   Section 3: Architecture Plan & Complex
   ========================================================================== */
.section-complex {
    padding: 120px 4%;
    background: var(--mono-bg-white);
    color: var(--mono-dark);
}

/* Bright blue bridge between the main summary and masterplan sections. */
body.main .section-complex {
    background: #f2f8ff;
    border-bottom: 1px solid #dbeafe;
}

/* Alternate the pale-blue and near-white section backgrounds on both main pages. */
body.main #section3.section-complex {
    background: #f2f8ff;
    border-top: 1px solid #dbeafe;
    border-bottom-color: #dbeafe;
}

/* Join the floating main statistics card to the following visual section. */
body.daegu-main .stats-transition {
    background: #f2f8ff;
    padding: 0 0 34px;
}

body.daegu-main .stats-transition + .section-complex {
    padding-top: 78px;
}

body.main .complex_txt_box h2 {
    color: #005bac;
}

body.main .complex_txt_box h4 {
    color: var(--color-green);
}

body.main .complex_txt_box > p {
    color: #526477 !important;
}

body.main .complex-split-layout > div:first-child img {
    border-color: #bfd8f2 !important;
    box-shadow: 0 14px 30px rgba(11, 60, 117, 0.10);
}

.complex-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.complex_txt_box h2 {
    font-family: var(--font-en);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--mono-dark);
    margin-bottom: 12px;
}

.complex_txt_box h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-top: 8px;
    margin-bottom: 30px;
}

.complex_features_list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.complex_feature_item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--mono-dark);
    margin-bottom: 6px;
    border-left: 2px solid var(--accent-blue);
    padding-left: 10px;
}

.complex_feature_item p {
    font-size: 0.92rem;
    color: var(--mono-muted);
    line-height: 1.6;
    padding-left: 12px;
}

/* ==========================================================================
   Section 4: Unit / Lot Plan
   ========================================================================== */
.section-unit {
    padding: 120px 4%;
    background: var(--mono-bg-light);
    text-align: center;
}

body.main .section-unit {
    background: #ffffff;
}

.unit_tit h2 {
    font-family: var(--font-en);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--mono-dark);
    margin-bottom: 10px;
}

/* Daegu National main: brighter section identities for faster scanning. */
body.main #section4 .unit_tit h2 {
    color: #1677c8;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.unit_tit h4 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--mono-muted);
    margin-bottom: 50px;
}

.unit_boxes_row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.unit_card_box {
    background: var(--mono-bg-white);
    border: 1px solid var(--mono-border);
    padding: 50px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.unit_card_box:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 91, 172, 0.08);
}

.unit_card_box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--mono-dark);
    margin-bottom: 12px;
}

.unit_card_box p {
    font-size: 0.92rem;
    color: var(--mono-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.unit_card_box .unit_link_btn {
    display: inline-block;
    padding: 9px 24px;
    border: 1px solid var(--mono-dark);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mono-dark);
    transition: all 0.25s ease;
}

.unit_card_box:hover .unit_link_btn {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
}

/* ==========================================================================
   Section 5: 6 High Premium
   ========================================================================== */
.section-premium-clean {
    padding: 120px 4%;
    background: var(--mono-bg-white);
    color: var(--mono-dark);
    border-top: 1px solid var(--mono-border);
}

.premium_tit_clean {
    text-align: center;
    margin-bottom: 60px;
}

.premium_tit_clean .big-6 {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-blue);
    line-height: 1;
}

.premium_tit_clean h2 {
    font-family: var(--font-en);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--mono-dark);
    margin-top: -10px;
}

body.main .section-premium-clean {
    background: #f2f8ff;
}

body.main #section5 .premium_tit_clean h2 {
    color: #0b8a6b;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.premium_tit_clean p {
    font-size: 1rem;
    color: var(--mono-muted);
    margin-top: 10px;
}

.premium_clean_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1300px;
    margin: 0 auto;
    border-top: 1px solid var(--mono-border);
    border-left: 1px solid var(--mono-border);
}

.premium_clean_item {
    padding: 45px 30px;
    text-align: center;
    border-right: 1px solid var(--mono-border);
    border-bottom: 1px solid var(--mono-border);
    transition: background 0.3s ease;
}

.premium_clean_item:hover {
    background: var(--accent-blue-subtle);
}
.premium_clean_item:nth-child(4n + 2):hover { background: var(--color-green-subtle); }
.premium_clean_item:nth-child(4n + 3):hover { background: var(--color-amber-subtle); }
.premium_clean_item:nth-child(4n):hover { background: var(--color-coral-subtle); }

.premium_clean_icon {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 12px;
}
.premium_clean_item:nth-child(4n + 2) .premium_clean_icon { color: var(--color-green); }
.premium_clean_item:nth-child(4n + 3) .premium_clean_icon { color: var(--color-amber); }
.premium_clean_item:nth-child(4n) .premium_clean_icon { color: var(--color-coral); }

.premium_clean_item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--mono-dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.premium_clean_item p {
    font-size: 0.88rem;
    color: var(--mono-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1400px) {
    .floating-circle-badges { display: none; }
    .rotating-open-badge { display: none; }
}

@media (max-width: 1200px) {
    .calendar_bottom { grid-template-columns: repeat(3, 1fr); }
    .sum_specs_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navi { height: 75px; }
    .hero-main { padding: 110px 4% 60px; min-height: auto; }
    .calendar_bottom { grid-template-columns: repeat(2, 1fr); }
    .sum_specs_grid { grid-template-columns: 1fr; }
    .complex-split-layout { grid-template-columns: 1fr; }
    .unit_boxes_row { grid-template-columns: 1fr; }
    .premium_clean_grid { grid-template-columns: 1fr; }
    .calendar_box { padding: 25px 15px; }
}

@media (max-width: 480px) {
    .hero-main { padding: 95px 4% 50px; }
    .calendar_bottom { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .calendar_con { height: 90px; }
    .calendar_con h4 { font-size: 1.05rem; }
    .calendar_con p { font-size: 0.75rem; }
    .calendar_btn ul li a { width: 100%; justify-content: center; }
}


/* ========================================================
   Mobile Bottom Floating CTA Bar
======================================================== */
.mobile_bottom_cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--mono-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
}
.mobile_bottom_cta .cta_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.mobile_bottom_cta .cta_grid:has(.site-home) {
    grid-template-columns: 58px 1fr 1fr;
}
.mobile_bottom_cta .cta_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease;
}
.mobile_bottom_cta .cta_btn.tel {
    background: var(--color-coral);
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile_bottom_cta .cta_btn.inquiry {
    background: var(--accent-blue);
    color: #ffffff;
}
.mobile_bottom_cta .cta_btn.site-home {
    padding: 10px;
    background: var(--color-green);
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 18px;
}
.mobile_bottom_cta .cta_btn:active {
    opacity: 0.85;
}

/* Keep the online inquiry action distinct inside the blue sales CTA cards. */
#sub_container > .card[style*="background:#005bac"] .btn-primary {
    background: #0b2748 !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
#sub_container > .card[style*="background:#005bac"] .btn-primary:hover {
    background: #001d3b !important;
    border-color: #ffffff !important;
}
@media (max-width: 991px) {
    .mobile_bottom_cta {
        display: block;
    }
    body {
        padding-bottom: 56px;
    }
}

@media (max-width: 640px) {
    /* Inline grid cards used across subpages (benefits, directions and sales details). */
    #sub_container [style*="display:grid"][style*="grid-template-columns"],
    #sub_container [style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    .vision-cards { grid-template-columns: 1fr !important; }
    .status-cards { grid-template-columns: 1fr !important; }
    .location-cards { grid-template-columns: 1fr !important; }
    .premium-cards { grid-template-columns: 1fr !important; }
}
