/* ============================================================
   Deshholdings Plc — Public Website Theme
   Modern Light + Gradient (Navy & Gold)
   ============================================================ */

:root {
    --primary: #0a3d62;
    --primary-2: #072a4a;
    --primary-3: #0d5794;
    --accent: #1273b8;
    --gold: #f9c851;
    --gold-2: #e8a93d;
    --light: #f4f8fb;
    --dark: #22313f;
    --muted: #6b7f92;
    --grad: linear-gradient(135deg, #0a3d62 0%, #0d5794 55%, #1273b8 100%);
    --grad-gold: linear-gradient(135deg, #f9c851 0%, #e8a93d 100%);
    --shadow: 0 8px 30px rgba(10, 61, 98, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 61, 98, 0.2);
    --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body { -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Public Sans', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, .font-display { font-family: 'Playfair Display', Georgia, serif; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container-w { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* Responsive visibility helpers (this site does not load Bootstrap) */
.hide-md, .hide-lg { display: revert; }
@media (max-width: 767px) { .hide-md { display: none !important; } }
@media (max-width: 991px) { .hide-lg { display: none !important; } }

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--primary-2);
    color: #fff;
    font-size: .8rem;
    padding: 9px 0;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1002;
}

.top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
}

.contact-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.contact-info i { color: var(--gold); margin-right: 7px; }

.social-icons { display: flex; gap: 8px; align-items: center; }
.social-icons a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    transition: all .25s ease;
    color: #fff;
}
.social-icons a:hover { background: rgba(249,200,81,.2); color: var(--gold); }

.login-link {
    background: rgba(249,200,81,.15);
    border: 1px solid rgba(249,200,81,.35);
    padding: 4px 14px !important;
    border-radius: 40px;
    font-weight: 600;
    width: auto !important;
}
.login-link:hover { background: var(--grad-gold); color: #21313f !important; }

/* ================= HEADER ================= */
header {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 18px rgba(10,61,98,.08);
    position: fixed;
    top: var(--topbar-h, 36px); left: 0; right: 0;
    z-index: 1001;
    transition: all .3s ease;
}
header.scrolled { top: 0; box-shadow: 0 6px 24px rgba(10,61,98,.14); }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 22px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 52px; width: auto; border-radius: 12px; box-shadow: var(--shadow); }

.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.05;
    display: flex;
    flex-direction: column;
}
.logo-text > span { display: block; }
.logo-text span span { color: var(--gold-2); }
.logo-text small {
    font-family: 'Public Sans', sans-serif;
    font-size: .56rem;
    letter-spacing: .32em;
    color: var(--muted);
    font-weight: 700;
    margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    padding: 9px 15px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    transition: all .22s ease;
    white-space: nowrap;
}
.main-nav a:hover { color: var(--primary-3); background: #eef4fa; }
.main-nav a.active { color: var(--primary); background: #eaf2fa; }

.nav-cta {
    background: var(--grad);
    color: #fff !important;
    box-shadow: 0 5px 16px rgba(10,61,98,.3);
}
.nav-cta:hover { transform: translateY(-2px); background: var(--grad) !important; color: #fff !important; }

.nav-toggle-btn {
    display: none;
    background: var(--grad);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    z-index: 1003;
}

/* Dark backdrop shown behind the mobile slide-in menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 42, 74, .6);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    z-index: 1000;
}
.nav-overlay.show { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ================= HERO ================= */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(115deg, rgba(7,42,74,.92) 0%, rgba(10,61,98,.78) 45%, rgba(18,115,184,.35) 100%),
        url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    padding: 150px 22px 110px;
    overflow: hidden;
}

.hero-content { max-width: 720px; position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(249,200,81,.16);
    border: 1px solid rgba(249,200,81,.45);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
}
.hero h1 span {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: rgba(255,255,255,.88);
    font-size: clamp(1rem, 1.6vw, 1.12rem);
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-w {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 700;
    font-size: .92rem;
    transition: all .28s ease;
    cursor: pointer;
    border: none;
}

.btn-w-gold {
    background: var(--grad-gold);
    color: #21313f;
    box-shadow: 0 10px 26px rgba(232,169,61,.45);
}
.btn-w-gold:hover { transform: translateY(-3px); filter: brightness(1.06); color: #21313f; }

.btn-w-outline {
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.5);
    color: #fff;
}
.btn-w-outline:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }

.btn-w-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 24px rgba(10,61,98,.35);
}
.btn-w-primary:hover { transform: translateY(-3px); filter: brightness(1.1); color: #fff; }

/* wave divider */
.hero-wave {
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    z-index: 1;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* ================= SECTION COMMON ================= */
.section { padding: 90px 0; position: relative; }
.section-light { background: var(--light); }
.section-white { background: #fff; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }

.section-tag {
    display: inline-block;
    background: #eaf2fa;
    color: var(--primary-3);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.section-head h2 {
    color: var(--primary);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-head p { color: var(--muted); font-size: 1rem; }

.section-tag.gold { background: rgba(232,169,61,.15); color: #b07d14; }

/* ================= STAT COUNTERS ================= */
.stats-band {
    background: var(--grad);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(249,200,81,.14), transparent 40%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 26px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    padding: 28px 18px;
    transition: transform .3s ease;
}
.stat-item:hover { transform: translateY(-5px); }

.stat-item .stat-icon {
    width: 58px; height: 58px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(249,200,81,.18);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.35rem;
}

.stat-item h3 { color: #fff; font-size: 2rem; font-weight: 800; font-family: 'Public Sans', sans-serif; }
.stat-item p { color: rgba(255,255,255,.75); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ================= FEATURE / WHY INVEST ================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 26px;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 28px;
    box-shadow: var(--shadow);
    border: 1px solid #e6eef6;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }

.feature-card .f-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--grad);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(10,61,98,.3);
}
.feature-card.gold .f-icon { background: var(--grad-gold); color: #21313f; box-shadow: 0 10px 24px rgba(232,169,61,.4); }

.feature-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: .93rem; }

/* ================= PACKAGES ================= */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 28px;
}

.package-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #e6eef6;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.package-card .pkg-banner {
    background: var(--grad);
    padding: 30px 24px;
    text-align: center;
    position: relative;
}
.package-card.featured .pkg-banner { background: linear-gradient(135deg, #b8860b, #e8a93d); }

.pkg-banner .pkg-name {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.pkg-banner .pkg-sub {
    color: rgba(255,255,255,.75);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.pkg-banner .pkg-price {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    font-family: 'Public Sans', sans-serif;
    margin-top: 12px;
}
.pkg-banner .pkg-price small { font-size: .85rem; font-weight: 600; opacity: .8; }

.package-card .pkg-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.package-card .pkg-desc {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 18px;
    flex: 1;
}

.pkg-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.pkg-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--dark);
    background: #f4f8fb;
    border-radius: 10px;
    padding: 9px 14px;
}
.pkg-meta i { color: var(--gold-2); width: 18px; text-align: center; }

.package-card .btn-w { justify-content: center; width: 100%; padding: 12px 24px; }

/* ================= NOTICES ================= */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 24px;
}

.notice-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e6eef6;
    box-shadow: var(--shadow);
    padding: 26px;
    position: relative;
    transition: all .3s ease;
}
.notice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.notice-card .n-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--grad);
    color: #fff;
    border-radius: 14px;
    padding: 8px 14px;
    font-weight: 800;
    font-family: 'Public Sans', sans-serif;
    margin-bottom: 16px;
    min-width: 66px;
    text-align: center;
}
.notice-card .n-date .d { font-size: 1.3rem; line-height: 1.2; }
.notice-card .n-date .m { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

.notice-card p { color: var(--dark); font-size: .95rem; line-height: 1.75; }
.notice-card .n-time { display: block; margin-top: 12px; color: var(--muted); font-size: .76rem; }

/* ================= GALLERY ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item .g-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,42,74,.85) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    opacity: 0;
    transition: opacity .35s ease;
}
.gallery-item:hover .g-overlay { opacity: 1; }

.gallery-item .g-overlay h4 { color: #fff; font-size: 1.05rem; font-weight: 700; font-family: 'Public Sans', sans-serif; }
.gallery-item .g-overlay p { color: rgba(255,255,255,.8); font-size: .8rem; }

/* ================= ABOUT ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 54px;
    align-items: center;
}
.about-grid.reverse { grid-template-columns: 1fr 1.05fr; }

.about-img {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; display: block; border-radius: var(--radius); }

.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(249,200,81,.4);
    border-radius: var(--radius);
    pointer-events: none;
}

.about-content h2 {
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.3;
}
.about-content p { color: var(--muted); margin-bottom: 16px; }

.about-points { display: flex; flex-direction: column; gap: 13px; margin: 22px 0 28px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; color: var(--dark); font-size: .95rem; }
.about-points i {
    color: #1fa85a;
    background: rgba(31,168,90,.12);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
    margin-top: 4px;
}

/* ================= CTA BAND ================= */
.cta-band {
    background:
        linear-gradient(100deg, rgba(7,42,74,.94) 0%, rgba(10,61,98,.85) 55%, rgba(13,87,148,.6) 100%),
        url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    padding: 90px 0;
    text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 34px; }

/* ================= PAGE HERO (inner pages) ================= */
.page-hero {
    background: var(--grad);
    padding: 150px 22px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(249,200,81,.15), transparent 45%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin-bottom: 12px; position: relative; }
.page-hero .breadcrumb {
    display: inline-flex;
    gap: 10px; align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.85);
    padding: 8px 22px;
    border-radius: 40px;
    font-size: .82rem;
    font-weight: 600;
    position: relative;
}
.page-hero .breadcrumb a:hover { color: var(--gold); }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 34px; }

.contact-info-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e6eef6;
    box-shadow: var(--shadow);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .c-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--grad);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.contact-item.gold .c-icon { background: var(--grad-gold); color: #21313f; }
.contact-item h4 { color: var(--primary); font-size: .95rem; font-weight: 700; margin-bottom: 4px; font-family: 'Public Sans', sans-serif; }
.contact-item p { color: var(--muted); font-size: .88rem; }

.contact-form-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e6eef6;
    box-shadow: var(--shadow);
    padding: 34px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; color: var(--primary); font-size: .85rem; margin-bottom: 8px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1.5px solid #dce7f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .92rem;
    font-family: inherit;
    color: var(--dark);
    background: #fbfdff;
    transition: all .25s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(249,200,81,.22);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ================= MAP / LOCATION ================= */
.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #fff;
}
.map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }

.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }

/* ================= PAGINATION ================= */
.pagination-w { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination-w a, .pagination-w span {
    min-width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid #dce7f0;
    color: var(--primary);
    font-weight: 700;
    padding: 0 14px;
    transition: all .22s ease;
}
.pagination-w a:hover { background: #eaf2fa; border-color: var(--primary-3); }
.pagination-w .active-page { background: var(--grad); color: #fff; border-color: transparent; }

/* ================= EMPTY STATE ================= */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    background: #fff;
    border: 2px dashed #dce7f0;
    border-radius: var(--radius);
    color: var(--muted);
    grid-column: 1 / -1;
}
.empty-state i { font-size: 2.6rem; color: #c3d2de; margin-bottom: 16px; display: block; }

/* ================= FOOTER ================= */
.footer { background: var(--primary-2); color: rgba(255,255,255,.8); }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 22px 50px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 48px; border-radius: 10px; }
.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}
.footer-logo span span { color: var(--gold); }
.footer-logo small {
    font-family: 'Public Sans', sans-serif;
    font-size: .55rem;
    letter-spacing: .3em;
    color: rgba(255,255,255,.55);
    font-weight: 700;
}

.footer-desc { font-size: .88rem; line-height: 1.8; margin-bottom: 20px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s ease;
}
.footer-social a:hover { background: var(--grad-gold); color: #21313f; transform: translateY(-3px); }

.footer-col h4 {
    color: #fff;
    font-family: 'Public Sans', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 34px; height: 3px;
    border-radius: 4px;
    background: var(--grad-gold);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,.75);
    font-size: .87rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
}
.footer-links a i { font-size: .6rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .87rem;
    align-items: flex-start;
}
.footer-contact i { color: var(--gold); margin-top: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    font-size: .8rem;
}
.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-bottom a { color: var(--gold); }

/* ================= BACK TO TOP ================= */
.back-to-top {
    position: fixed;
    right: 26px; bottom: 26px;
    width: 48px; height: 48px;
    background: var(--grad);
    color: #fff;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(10,61,98,.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .3s ease;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--grad-gold); color: #21313f; }

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.anim-up { animation: fadeUp .8s ease both; }
.anim-delay-1 { animation-delay: .15s; }
.anim-delay-2 { animation-delay: .3s; }
.anim-delay-3 { animation-delay: .45s; }

/* ================= RESPONSIVE ================= */

/* ---------- Tablet & below: slide-in menu ---------- */
@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 0; right: -300px;
        width: 280px; height: 100vh; height: 100dvh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--topbar-h, 36px) + 74px) 20px 30px;
        gap: 4px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -10px 0 40px rgba(10,61,98,.2);
        transition: right .3s ease;
        z-index: 1001;
    }
    .main-nav.open { right: 0; }
    .main-nav a {
        width: 100%;
        padding: 13px 16px;
        font-size: .95rem;
        border-radius: 12px;
        white-space: normal;
    }
    .main-nav a.nav-cta { margin-top: 12px; text-align: center; justify-content: center; }
    .nav-toggle-btn { display: block; }

    .section { padding: 74px 0; }
    .section-head { margin-bottom: 40px; }
    .stats-band { padding: 48px 0; }
    .cta-band { padding: 72px 0; background-attachment: scroll; }
    .page-hero { padding: 132px 22px 64px; }

    .about-grid, .about-grid.reverse { grid-template-columns: 1fr; gap: 34px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-card, .contact-info-card { padding: 26px 22px; }
    .map-frame iframe { height: 360px; }

    .footer-container { grid-template-columns: 1fr 1fr; gap: 34px; padding: 56px 22px 40px; }
    .pkg-body { padding: 22px 20px; }
    .feature-card { padding: 28px 22px; }
    .notice-card { padding: 22px 20px; }
}

/* ---------- Large phones ---------- */
@media (max-width: 767px) {
    .top-bar { padding: 7px 0; font-size: .76rem; }
    .top-container { padding: 0 18px; gap: 10px; }
    .contact-info { gap: 12px; }
    .login-link { padding: 3px 11px !important; }

    .header-container { padding: 11px 18px; }
    .logo { gap: 9px; }
    .logo-img { height: 44px; border-radius: 10px; }
    .logo-text { font-size: 1.3rem; }

    .hero { padding: 128px 20px 96px; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
    .hero p { font-size: .98rem; margin-bottom: 26px; }
    .hero-badge { padding: 7px 16px; font-size: .7rem; letter-spacing: .08em; }
    .hero-wave svg { height: 60px; }

    .section { padding: 62px 0; }
    .stats-band { padding: 42px 0; }
    .stats-grid { gap: 16px; }
    .stat-item { padding: 22px 14px; border-radius: 14px; }
    .stat-item h3 { font-size: 1.6rem; }
    .stat-item .stat-icon { width: 48px; height: 48px; font-size: 1.15rem; margin-bottom: 10px; }
    .stat-item p { font-size: .74rem; }

    .section-head { margin-bottom: 34px; }
    .section-tag { font-size: .66rem; padding: 6px 16px; }

    .gallery-grid, .features-grid, .packages-grid, .notices-grid { gap: 18px; }
    .pkg-banner { padding: 24px 18px; }
    .pkg-banner .pkg-name { font-size: 1.3rem; }
    .pkg-banner .pkg-price { font-size: 1.7rem; }

    .page-hero { padding: 128px 20px 56px; }
    .page-hero .breadcrumb { padding: 7px 18px; font-size: .78rem; }

    .map-frame iframe { height: 300px; }
    .map-frame { border-width: 3px; }

    /* 16px inputs stop iOS Safari from auto-zooming on focus */
    .form-group input,
    .form-group textarea,
    .form-group select { font-size: 16px; }

    .cta-band { padding: 60px 0; }

    .footer-container { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding: 50px 20px 36px; }
    .footer-logo img { height: 42px; }
    .footer-logo span { font-size: 1.15rem; }
    .footer-col h4 { margin-bottom: 16px; }

    .footer-bottom-container { justify-content: center; text-align: center; padding: 0 18px; }

    .back-to-top { right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 12px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 575px) {
    .container-w, .top-container, .header-container, .footer-bottom-container { padding-left: 16px; padding-right: 16px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .footer-container { grid-template-columns: 1fr; gap: 30px; }

    .about-content h2 { font-size: 1.5rem; }
    .contact-item .c-icon { width: 46px; height: 46px; font-size: 1.05rem; }
    .contact-item { gap: 13px; }
    .contact-form-card h2 { font-size: 1.25rem !important; }

    .pagination-w { gap: 6px; margin-top: 32px; }
    .pagination-w a, .pagination-w span { min-width: 38px; height: 38px; border-radius: 10px; padding: 0 11px; }
}

@media (max-width: 479px) {
    .social-icons .icon-social { display: none; }
    .logo-text { font-size: 1.18rem; }
    .logo-text small { font-size: .5rem; letter-spacing: .24em; }

    .hero { padding-top: 122px; padding-bottom: 84px; }
    .hero h1 { font-size: 1.95rem; line-height: 1.22; }
    .hero-actions { flex-direction: column; gap: 11px; }
    .hero-actions .btn-w { width: 100%; justify-content: center; padding: 13px 22px; }

    .btn-w { padding: 13px 24px; font-size: .88rem; }

    .empty-state { padding: 50px 16px; }
    .empty-state i { font-size: 2.1rem; }

    .notice-card .n-date { min-width: 58px; padding: 7px 11px; }
    .notice-card .n-date .d { font-size: 1.15rem; }
}

/* ---------- Touch devices: reveal hover-only content ---------- */
@media (hover: none) {
    .gallery-item .g-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(7,42,74,.88) 0%, rgba(7,42,74,.2) 45%, transparent 70%);
    }
    .feature-card:hover, .package-card:hover, .notice-card:hover { transform: none; }
}

/* ---------- Safety: never allow horizontal scrolling ---------- */
body { max-width: 100%; overflow-x: hidden; }
