/* ==========================================================================
   Smile Lab Dental - High Conversion Premium Landing Page Styles
   ========================================================================== */

/* --- 1. CSS Variables & Tokens --- */
:root {
    --color-gold: #FBC864;
    /* Match the logo */
    --color-gold-dark: #A97E40;
    /* Darker gold for hover */
    --color-gold-light: #e5cc9f;
    --color-dark: #121212;
    /* Deep dark for text and background */
    --color-gray: #333333;
    /* Darker gray for better contrast */
    --color-white: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-beige: #fdfbf7;
    /* Very soft warm tint */
    --color-success: #25D366;
    /* WhatsApp */

    --font-heading: 'Montserrat', sans-serif;
    --font-sans: 'Inter', sans-serif;

    --header-height: 80px;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 8px 25px rgba(207, 168, 110, 0.4);
    --shadow-gold-glow: 0 10px 40px rgba(207, 168, 110, 0.15);

    --text-xs: 0.76rem;
    --text-sm: 0.9rem;
    --text-base: 1rem;
    --text-md: 1.0625rem;
    --text-lg: 1.2rem;
    --text-xl: 1.4rem;
    --text-2xl: 1.8rem;
    --text-3xl: 2.35rem;
    --text-4xl: clamp(2.7rem, 5vw, 4.2rem);

    --lh-tight: 1.15;
    --lh-snug: 1.3;
    --lh-body: 1.58;
}

/* --- 2. Global Resets & Body --- */
body {
    font-family: var(--font-sans);
    color: var(--color-gray);
    font-weight: 400;
    font-size: var(--text-base);
    line-height: var(--lh-body);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
    line-height: var(--lh-snug);
}

h1,
.h1 {
    font-size: var(--text-4xl);
}

h2,
.h2 {
    font-size: var(--text-3xl);
}

h3,
.h3 {
    font-size: 1.95rem;
}

h4,
.h4 {
    font-size: var(--text-xl);
}

h5,
.h5 {
    font-size: 1.15rem;
}

h6,
.h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 0;
}

.small,
small {
    font-size: var(--text-sm) !important;
    line-height: 1.58;
}

.bg-beige {
    background-color: var(--color-bg-beige);
}

.bg-gold-gradient {
    /* Subtle premium gradient */
    /* background: linear-gradient(135deg, #fdfbf7 0%, #f4e8d5 100%); */
    background: url(assets/img/liner-bg.webp);
    background-size: cover;
}

.text-gold {
    color: #b8944e !important;
}

.py-section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .py-section {
        padding: 60px 0;
    }
}

.ls-1 {
    letter-spacing: 1px;
}

/* --- Global Shadows Override for Premium Look --- */
.shadow-sm {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.shadow {
    box-shadow: 0 8px 24px rgba(207, 168, 110, 0.05), 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

.shadow-lg {
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.06), 0 12px 24px rgba(207, 168, 110, 0.05) !important;
}

/* --- Global Button & Link Refinements --- */
a {
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 999px;
    line-height: 1.2;
}

.btn:not(.btn-close) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.lucide,
[data-lucide] {
    width: 1em;
    height: 1em;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    vertical-align: -0.125em;
}

.btn:not(.btn-close)>.lucide,
.btn:not(.btn-close)>[data-lucide] {
    font-size: 0.95em;
    line-height: 1;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.75rem 2rem;
}

.btn-sm {
    font-size: 0.84rem;
}

/* Custom Buttons */
.btn-primary-gold {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-gold:hover,
.btn-primary-gold:focus {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, #9a7642 100%);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-gold {
    border: 1px solid #b8944e;
    color: #b8944e;
    transition: all 0.3s;
}

.btn-outline-gold:hover {
    background-color: #b8944e;
    color: var(--color-white);
}

.shadow-gold {
    box-shadow: var(--shadow-gold) !important;
}

/* --- 3. Header --- */
#mainHeader {
    transition: all 0.3s ease;
}

#mainHeader .container {
    transition: padding 0.3s ease;
}

.header-transparent {
    background: transparent;
    padding: 10px 0;
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0;
}

/* Shrink container padding to reduce height */
.header-scrolled .container.py-3 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.language-switcher .btn-lang {
    min-width: 78px;
    height: 40px;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(229, 204, 159, 0.4);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.3s ease;
}

.language-switcher .btn-lang.dropdown-toggle::after {
    margin-left: 0.35rem;
}

.language-switcher .btn-lang:hover,
.language-switcher .btn-lang:focus,
.language-switcher .btn-lang.show {
    border-color: rgba(207, 168, 110, 0.65);
    box-shadow: var(--shadow-gold-glow);
}

.header-transparent .btn-lang {
    color: var(--color-white);
    background: rgba(18, 18, 18, 0.28);
    backdrop-filter: blur(10px);
}

.header-scrolled .btn-lang {
    color: var(--color-dark) !important;
    background: rgba(253, 251, 247, 0.96);
    border-color: rgba(207, 168, 110, 0.35);
    box-shadow: 0 12px 24px rgba(18, 18, 18, 0.08);
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.lang-code {
    line-height: 1;
}

.language-switcher .btn-lang .flag {
    width: 18px;
    height: 13px;
}

.flag {
    width: 22px;
    height: 16px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(18, 18, 18, 0.08), 0 6px 16px rgba(18, 18, 18, 0.12);
}

.lang-menu.dropdown-menu {
    min-width: 240px;
    margin-top: 0.75rem !important;
    padding: 0.45rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(207, 168, 110, 0.18) !important;
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(18, 18, 18, 0.14);
}

.language-switcher .dropdown-item {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--color-dark);
    font-weight: 600;
}

.language-switcher .dropdown-item:hover,
.language-switcher .dropdown-item:focus {
    background: linear-gradient(135deg, rgba(207, 168, 110, 0.12) 0%, rgba(207, 168, 110, 0.04) 100%);
    color: var(--color-dark);
}

.language-switcher .dropdown-item.active,
.language-switcher .dropdown-item:active {
    background: linear-gradient(135deg, rgba(207, 168, 110, 0.2) 0%, rgba(207, 168, 110, 0.08) 100%);
    color: var(--color-dark);
}

.dropdown-lang-main {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-lang-name {
    line-height: 1.2;
}

.dropdown-lang-meta {
    min-width: 36px;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(18, 18, 18, 0.04);
    color: var(--color-gold-dark);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
}

.language-switcher .dropdown-item.active .dropdown-lang-meta {
    background: rgba(207, 168, 110, 0.18);
}

.brand-logo {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

/* Shrink logo on scroll */
.header-scrolled .brand-logo {
    height: 32px;
}

/* --- 4. Hero Section --- */
.hero-section {
    position: relative;
    background: #f4ead7;
}

.hero-background-swiper {
    width: 100%;
}

.hero-background-swiper .swiper-slide {
    height: auto;
}

.hero-slide {
    position: relative;
    width: 100%;
}

.hero-slide picture {
    display: block;
    width: 100%;
}

.hero-slide-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-pagination-wrap {
    bottom: 2rem;
    pointer-events: none;
}

.hero-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.66);
    border: 1px solid rgba(255, 239, 209, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px rgba(116, 80, 29, 0.14);
    pointer-events: auto;
}

.hero-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    margin: 0 !important;
    border-radius: 999px;
    background: transparent;
    opacity: 1;
}

.hero-pagination-bullet-inner {
    min-width: 3.1rem;
    height: 0.52rem;
    display: block;
    border-radius: 999px;
    background: rgba(128, 97, 57, 0.22);
    transition: all 0.32s ease;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.hero-pagination .swiper-pagination-bullet-active .hero-pagination-bullet-inner {
    min-width: 5.2rem;
    background: linear-gradient(90deg, rgba(246, 201, 114, 0.96) 0%, rgba(179, 133, 64, 0.96) 100%);
    box-shadow: 0 10px 18px rgba(185, 141, 73, 0.24);
}

@media (max-width: 768px) {
    .hero-pagination-wrap {
        bottom: 1rem;
    }

    .language-switcher .btn-lang {
        min-width: 72px;
        height: 38px;
        padding: 0.4rem 0.7rem;
    }

    .lang-menu.dropdown-menu {
        min-width: 220px;
    }

    .hero-pagination {
        gap: 0.5rem;
        padding: 0.6rem 0.7rem;
    }

    .hero-pagination-bullet-inner {
        min-width: 2.2rem;
    }

    .hero-pagination .swiper-pagination-bullet-active .hero-pagination-bullet-inner {
        min-width: 3.8rem;
    }
}

/* --- 5. Sections Base --- */
.section-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--text-xs);
    color: #b8944e;
    font-weight: 600;
}

.section-header {
    max-width: 760px;
}

.section-header.section-header-narrow {
    max-width: 680px;
}

.section-copy {
    max-width: 900px;
    margin-inline: auto;
    font-size: 0.94rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.6;
    color: #6c757d;
}

.section-header.text-start .section-copy,
.section-copy.text-start {
    margin-inline: 0;
}

.section-copy.section-copy-light {
    color: rgba(255, 255, 255, 0.78);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 700;
    line-height: 1.15;
}

@media (max-width: 768px) {
    .section-badge {
        letter-spacing: 1.6px;
    }

    .section-copy {
        max-width: 100%;
    }
}


/* Features */
.section-features .feature-card {
    box-shadow: 0 10px 26px rgba(138, 104, 52, 0.08), 0 2px 6px rgba(138, 104, 52, 0.05) !important;
}

.section-features .feature-card:hover {
    box-shadow: 0 16px 34px rgba(138, 104, 52, 0.14), 0 4px 12px rgba(138, 104, 52, 0.08) !important;
}

.why-us-grid {
    align-items: stretch;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(207, 168, 110, 0.14);
    border-radius: 24px;
    box-shadow: 0 22px 48px rgba(196, 154, 86, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    text-align: left;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 168, 110, 0.32);
    box-shadow: 0 26px 56px rgba(196, 154, 86, 0.18);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, rgba(251, 200, 100, 0.92) 0%, rgba(233, 187, 99, 0.96) 45%, rgba(169, 126, 64, 0.96) 100%);
}

.feature-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem !important;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    height: 2.8rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(251, 200, 100, 0.14) 0%, rgba(255, 248, 235, 0.95) 100%);
    color: var(--color-gold-dark);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.feature-icon-wrapper {
    width: 3.25rem;
    height: 3.25rem;
    background: linear-gradient(135deg, rgba(251, 200, 100, 0.12) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(207, 168, 110, 0.16);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 10px 24px rgba(196, 154, 86, 0.12);
    flex-shrink: 0;
}

.feature-kicker {
    margin: 0 0 0.7rem;
    color: #b08a4b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feature-highlight {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: 1.48rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: #2b2a28;
}

.service-card .h4,
.portfolioSwiper .h5,
#booking .card h3,
#doctorModal .h4 {
    line-height: 1.25;
}

.service-card .h4 {
    font-size: 1.35rem;
}

.portfolioSwiper .h5 {
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    line-height: 1.3;
}

.doctorSwiper .h6,
.testimonial-scroll .h6,
#booking h5 {
    font-size: 1rem;
    line-height: 1.35;
}

.contact-info-block p,
.service-card p,
.feature-card p,
.portfolioSwiper p,
.testimonial-scroll p,
#booking .card p,
footer p {
    line-height: 1.58;
}

.service-card p.small,
.feature-card p.small,
.contact-info-block p.small {
    font-size: 0.86rem !important;
    font-weight: 400;
}

.feature-card p.small {
    color: #62666d !important;
    line-height: 1.6;
}

.booking-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(44, 31, 11, 0.46) 0%, rgba(44, 31, 11, 0.24) 34%, rgba(44, 31, 11, 0.08) 56%, rgba(44, 31, 11, 0) 72%),
        radial-gradient(circle at 18% 28%, rgba(255, 247, 224, 0.18) 0%, rgba(255, 247, 224, 0) 38%);
    pointer-events: none;
    z-index: 0;
}

.booking-info-panel {
    max-width: 520px;
    padding: 2rem 2rem 2rem 0;
    position: relative;
}

.booking-info-panel::before {
    content: "";
    position: absolute;
    inset: -1.75rem 1.25rem -1.75rem -2rem;
    background: linear-gradient(135deg, rgba(21, 19, 15, 0.46) 0%, rgba(21, 19, 15, 0.24) 48%, rgba(21, 19, 15, 0.12) 100%);
    border: 1px solid rgba(255, 244, 224, 0.16);
    border-radius: 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 64px rgba(39, 24, 6, 0.14);
    z-index: -1;
}

.booking-info-panel .section-badge {
    color: rgba(255, 240, 204, 0.68);
}

.booking-info-panel .section-title {
    text-shadow: 0 10px 26px rgba(26, 15, 4, 0.26);
}

.booking-info-panel .section-copy-light,
.booking-info-panel .contact-info-block p.small {
    color: rgba(255, 248, 236, 0.88) !important;
}

.booking-info-panel .contact-info-block h6 {
    letter-spacing: -0.01em;
}

.booking-contact-icon {
    width: 52px;
    height: 52px;
    background: rgba(25, 27, 32, 0.88);
    border: 1px solid rgba(255, 232, 186, 0.18);
    box-shadow: 0 14px 28px rgba(17, 13, 7, 0.18);
}

.booking-info-panel a.small {
    color: #ffd27e !important;
    border-bottom-color: rgba(255, 210, 126, 0.65) !important;
}

.booking-info-panel a.small:hover {
    color: #fff5df !important;
}

@media (max-width: 1199px) {
    .feature-highlight {
        font-size: 1.34rem;
    }

    .contact-bar-shell {
        border-radius: 28px;
        padding: 1rem 1.1rem;
    }

    .contact-bar-section+.contact-bar-section {
        border-left: none;
    }

    .contact-bar-section:not(:first-child) {
        border-top: 1px solid rgba(207, 168, 110, 0.16);
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .contact-bar-section {
        text-align: center;
    }

    .contact-bar-caption {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 1.6rem !important;
    }

    .feature-highlight {
        font-size: 1.24rem;
    }

    .feature-card p.small {
        font-size: 0.9rem !important;
    }

    .booking-info-panel {
        max-width: 100%;
        padding: 1.5rem 1.25rem;
    }

    .booking-info-panel::before {
        inset: 0;
        border-radius: 26px;
    }
}

.accordion-body {
    font-size: 0.94rem;
    font-weight: 400;
    line-height: 1.58 !important;
}

/* Services */

#services {
    background-color: #F9FAFB;
}

.servicesSwiper .swiper-wrapper,
.doctorSwiper .swiper-wrapper {
    padding: 0;
}

.servicesSwiper .swiper-slide,
.doctorSwiper .swiper-slide {
    height: auto;
}

.servicesSwiper,
.doctorSwiper {
    padding: 0.45rem 0.75rem 1rem;
    margin: -0.45rem -0.75rem -1rem;
}

.servicesSwiper .hvr-grow:hover,
.doctorSwiper .hvr-grow:hover {
    transform: translateY(-5px) scale(1.02);
}

.service-card {
    background: var(--color-white);
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

.service-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.service-img-wrapper img {
    transition: transform 0.5s;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-action-buttons .btn {
    min-height: 50px;
    flex: 1 1 0;
}

.service-case-btn {
    white-space: nowrap;
    border: 1px solid #747474 !important;
    background: #ffffff !important;
    color: #747474 !important;
    box-shadow: none !important;
    font-weight: 700;
    transition: all 0.25s ease;
}

.service-case-btn .lucide,
.service-case-btn [data-lucide] {
    color: #111111 !important;
}

.service-case-btn:hover,
.service-case-btn:focus {
    background: #111111 !important;
    color: #ffffff !important;
}

.service-case-btn:hover .lucide,
.service-case-btn:focus .lucide,
.service-case-btn:hover [data-lucide],
.service-case-btn:focus [data-lucide] {
    color: #ffffff !important;
}

.case-image-card {
    background: #fbfaf8;
    border: 1px solid rgba(207, 168, 110, 0.2);
    border-radius: 14px;
    padding: 8px;
}

.case-image-modal {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Photo Grid clinic */
.photo-grid {
    display: flex;
    flex-direction: column;
    height: 450px;
}

.grid-item img {
    transition: transform 0.5s;
}

.grid-item:hover img {
    transform: scale(1.03);
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Swiper */
.swiper-pagination-bullet-active {
    background-color: var(--color-gold-dark) !important;
}

/* Compare Slider Customization */
.slider-premium {
    --default-handle-color: var(--color-gold);
    --divider-color: rgba(207, 168, 110, 0.8);
    --divider-width: 3px;
    border-radius: 1rem;
    outline: none;
}

.slider-img {
    height: 400px !important;
    object-fit: cover;
}

@media (max-width: 768px) {
    .slider-img {
        height: 250px !important;
    }
}

/* Offers Section */
.offer-section {
    background-color: var(--color-dark);
}

.offer-bg {
    min-height: 500px;
    /* Deep luxury gradient over a subtle texture/image */
    background: linear-gradient(to right, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.7)), url('https://images.unsplash.com/photo-1590634651371-da051f687bf9?auto=format&fit=crop&q=80') center/cover;
}

.badge-outline-gold {
    border: 1px solid var(--color-gold-dark);
    color: var(--color-gold-dark);
    border-radius: 4px;
    font-weight: 500;
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
}

.countdown-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(207, 168, 110, 0.3);
    border-radius: 12px;
    padding: 15px 30px;
    backdrop-filter: blur(5px);
}

.cd-num {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gold);
    font-family: var(--font-heading);
    line-height: 1;
}

.cd-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    opacity: 0.7;
}

.cd-colon {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--color-gold);
    font-weight: bold;
    line-height: 1;
    opacity: 0.5;
}

/* Reviews */
.testimonial-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-scroll {
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Form */
.custom-select {
    cursor: pointer;
}

/* Floating Elements */
.floating-wa-desktop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.sticky-footer-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.96) 0%, rgba(251, 244, 231, 0.96) 100%);
    border-top: 1px solid rgba(207, 168, 110, 0.2);
    box-shadow: 0 -16px 36px rgba(175, 135, 73, 0.12);
    backdrop-filter: blur(14px);
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-footer-cta.show {
    transform: translateY(0);
}

.hvr-grow {
    transition: transform 0.2s;
}

.hvr-grow:hover {
    transform: scale(1.05);
}

.hvr-text-gold:hover i {
    color: var(--color-gold);
}

#faq {
    background: url(assets/img/faq.png);
    background-position: top center;
    background-size: 100% cover;
    background-repeat: no-repeat;
}

/* PC Contact Bar */
.contact-floating-bar {
    position: fixed;
    bottom: 18px;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: none;
    box-shadow: none;
    z-index: 1050;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-floating-bar .btn-close {
    filter: none;
    width: 1.95rem;
    height: 1.95rem;
    padding: 0;
    border-radius: 999px;
    background-color: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(207, 168, 110, 0.2);
    box-shadow: 0 10px 20px rgba(169, 126, 64, 0.12);
    z-index: 3;
}

.contact-bar-shell {
    position: relative;
    padding: 1.1rem 1.35rem;
    padding-right: 4.5rem;
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 253, 249, 0.96) 0%, rgba(251, 243, 229, 0.95) 56%, rgba(244, 231, 207, 0.96) 100%);
    border: 1px solid rgba(207, 168, 110, 0.18);
    box-shadow: 0 26px 54px rgba(173, 129, 64, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    overflow: hidden;
}

.contact-bar-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 26%),
        linear-gradient(90deg, rgba(251, 200, 100, 0.04) 0%, rgba(255, 255, 255, 0) 24%, rgba(169, 126, 64, 0.06) 100%);
    pointer-events: none;
}

.contact-bar-section {
    position: relative;
    z-index: 1;
}

.contact-bar-section+.contact-bar-section {
    border-left: 1px solid rgba(207, 168, 110, 0.18);
}

.contact-bar-section-action {
    padding-right: 0.9rem;
}

.contact-bar-label {
    color: rgba(125, 95, 54, 0.8) !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: block;
}

.contact-bar-value,
.contact-bar-phone {
    font-size: 1.6rem;
    color: #2f2922 !important;
}

.contact-bar-note {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(118, 95, 66, 0.72);
}

.contact-bar-caption {
    font-size: 0.8rem;
    color: rgba(116, 93, 64, 0.74);
    opacity: 1;
}

.contact-bar-caption .lucide,
.contact-bar-caption [data-lucide] {
    width: 0.92em;
    height: 0.92em;
    color: #b79255;
}

.contact-bar-divider {
    position: relative;
}

.contact-bar-divider::before {
    content: "";
    position: absolute;
    left: -0.55rem;
    top: 50%;
    width: 1px;
    height: 0.95rem;
    transform: translateY(-50%);
    background: rgba(207, 168, 110, 0.2);
}

.contact-bar-cta {
    background: linear-gradient(135deg, #35d06e 0%, #23c45d 100%);
    border: none;
    color: #fff !important;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 34px rgba(38, 195, 94, 0.24) !important;
}

.contact-bar-cta:hover,
.contact-bar-cta:focus {
    background: linear-gradient(135deg, #23c45d 0%, #1eb756 100%);
    color: #fff !important;
}

.contact-floating-bar.closed {
    transform: translateY(110%);
}

body.contact-bar-active .floating-wa-desktop {
    bottom: 120px;
    /* Push WA button above the bar */
}

/* --- 6. Custom Badges --- */
.badge-hot {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.form-label.small {
    font-size: 0.88rem !important;
    line-height: 1.45;
}

.form-control,
.form-select {
    font-size: 0.98rem;
}

.offer-section .display-5 {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    line-height: 1.1;
}

.offer-section .lead {
    font-size: 1.02rem;
    line-height: 1.7;
}

.sticky-footer-cta .btn {
    font-size: 0.82rem !important;
}

.sticky-wa-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.sticky-wa-shine::after {
    content: "";
    position: absolute;
    top: -35%;
    left: -120%;
    width: 42%;
    height: 170%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 35%,
            rgba(255, 255, 255, 0.68) 50%,
            rgba(255, 255, 255, 0.18) 65%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(18deg);
    pointer-events: none;
    animation: sticky-wa-sweep 2.8s ease-in-out infinite;
}

@keyframes sticky-wa-sweep {
    0% {
        left: -120%;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    42% {
        left: 130%;
        opacity: 1;
    }

    55% {
        left: 130%;
        opacity: 0;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

.contact-floating-bar .small,
footer .small {
    font-size: 0.88rem !important;
}

.site-footer {
    position: relative;
    background:
        radial-gradient(circle at top center, rgba(255, 248, 231, 0.92) 0%, rgba(255, 248, 231, 0) 42%),
        linear-gradient(180deg, #fffdf8 0%, #f8f1e5 100%);
    border-top: 1px solid rgba(207, 168, 110, 0.14);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(251, 200, 100, 0.04) 0%, rgba(255, 255, 255, 0) 22%, rgba(169, 126, 64, 0.05) 100%);
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.site-footer p,
.site-footer small,
.site-footer a {
    color: rgba(88, 72, 49, 0.78) !important;
}

.site-footer a {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(207, 168, 110, 0.16);
    box-shadow: 0 10px 22px rgba(180, 142, 84, 0.08);
}

.site-footer a:hover {
    background: #fffaf1;
    border-color: rgba(207, 168, 110, 0.3);
}

/* --- 7. Location Interactive Buttons --- */
.location-btn {
    background: #fff;
    border: 1px solid transparent !important;
    transition: all 0.3s ease;
    border-radius: 12px !important;
}

.location-btn:hover {
    background: rgba(207, 168, 110, 0.05);
}

.location-btn .loc-icon-wrapper {
    background: #f8f9fa;
    border: 1px solid #eee;
    color: #adb5bd;
}

.location-btn.active {
    background: #fff !important;
    border: 1.5px solid var(--color-gold-dark) !important;
    box-shadow: 0 8px 20px rgba(207, 168, 110, 0.15) !important;
}

.location-btn.active .loc-icon-wrapper {
    background: linear-gradient(135deg, #dfc391 0%, #b28b49 100%);
    border-color: transparent !important;
    color: #fff;
    box-shadow: 0 4px 10px rgba(207, 168, 110, 0.3);
}

.location-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(207, 168, 110, 0.14);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.location-card:hover {
    transform: translateY(-6px);
    border-color: rgba(207, 168, 110, 0.28);
    box-shadow: 0 22px 50px rgba(18, 18, 18, 0.08) !important;
}

.location-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.location-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.18), transparent 55%);
}

.location-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.location-card:hover .location-card-media img {
    transform: scale(1.04);
}

.location-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.location-country {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(207, 168, 110, 0.12);
    color: var(--color-gold-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.location-card-body p {
    flex: 1;
    line-height: 1.65;
}

/* Hide scrollbar for location tabs but keep functional */
.location-tabs-wrapper::-webkit-scrollbar {
    height: 6px;
}

.location-tabs-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.location-tabs-wrapper::-webkit-scrollbar-thumb {
    background: rgba(207, 168, 110, 0.3);
    border-radius: 10px;
}

.location-tabs-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(207, 168, 110, 0.6);
}

/* --- 8. Custom FAQ Accordion --- */
.custom-accordion .accordion-item {
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button {
    font-size: 1.05rem;
    color: #212529;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--color-gold);
    box-shadow: none;
    background-color: transparent !important;
}

.custom-accordion .accordion-button::after {
    filter: invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(80%) contrast(90%);
    transition: all 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(72%) sepia(35%) saturate(760%) hue-rotate(352deg) brightness(88%) contrast(85%);
    /* approximation of gold */
    transform: rotate(-180deg);
}

.faq-cta-btn {
    min-height: 50px;
    border: 1.5px solid #111111 !important;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

.faq-cta-btn i {
    color: #111111 !important;
}

.faq-cta-btn:hover,
.faq-cta-btn:focus {
    background: #111111 !important;
    color: #ffffff !important;
}

.faq-cta-btn:hover i,
.faq-cta-btn:focus i {
    color: #ffffff !important;
}

/* Form Enhancements */
#countryCodeBtn {
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
    transition: all 0.2s ease;
    align-self: stretch;
}

#countryCodeBtn:hover,
#countryCodeBtn:focus {
    background-color: #eee;
}

#countryCodeBtn:after {
    margin-left: 0.2rem;
    vertical-align: middle;
}

.input-group>.form-control:focus {
    z-index: 3;
}

.input-group .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    min-width: 180px;
}

.input-group .dropdown-item:active {
    background-color: var(--color-gold);
    color: #fff;
}

/* Date Input Styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.5);
    cursor: pointer;
}

input[type="date"]:invalid {
    color: #999;
}

/* Premium Network Swiper Gallery */
.networkSwiper .swiper-slide {
    height: 400px;
    width: auto;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    background-color: var(--color-bg-light);
    cursor: zoom-in;
}

.networkSwiper .slide-wide {
    /* Auto-calculates width based on the slide's uniform height */
    aspect-ratio: 16 / 9;
}

.networkSwiper .slide-narrow {
    aspect-ratio: 9 / 16;
}

@media (max-width: 991px) {
    .networkSwiper .swiper-slide {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .networkSwiper .swiper-slide {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .networkSwiper .swiper-slide {
        height: 260px;
    }
}

.networkSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.networkSwiper .swiper-slide:hover img {
    transform: scale(1.08);
}

.networkSwiper .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--color-white);
    font-size: 2rem;
    pointer-events: none;
}

.networkSwiper .swiper-slide:hover .gallery-overlay {
    opacity: 1;
}

/* Premium Feature Cards (Why Us Section) */
.feature-card-premium {
    position: relative;
    border-radius: 20px;
    background-color: #FDF3D5;
    /* Soft beige/yellow fallback */
    overflow: hidden;
    height: 480px;
    box-shadow: 0 10px 40px rgba(185, 141, 73, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.feature-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(185, 141, 73, 0.15);
}

/* Polkadot / Texture Background Layer */
.premium-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background-image: radial-gradient(rgba(229, 189, 105, 0.6) 2px, transparent 2px);
    background-size: 24px 24px;
    opacity: 0.8;
    z-index: 1;
}

/* If there is a real image we use this */
.premium-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    z-index: 2;
}

/* Gradient Placeholder for elegance if no image */
.premium-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background: linear-gradient(to bottom, transparent 30%, rgba(207, 168, 110, 0.15) 100%);
    z-index: 2;
}

/* Gold Divider Arc / Line */
.premium-card-divider {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #D5A054, #F8C87A, #D5A054);
    z-index: 5;
    box-shadow: 0 -2px 10px rgba(213, 160, 84, 0.3);
}

/* White Content Area */
.premium-card-content {
    background-color: #fff;
    padding: 35px 25px 40px;
    position: relative;
    z-index: 4;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.premium-kicker {
    color: #B38645;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.premium-highlight {
    color: #2b2a28;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 1379px) and (min-width: 769px) {

    .feature-card-premium {
        height: 430px;
    }

    .premium-card-placeholder {
        height: 54%;
    }

    .premium-card-divider {
        top: 54%;
    }

    .premium-card-content {
        height: 46%;
        padding: 28px 22px 30px;
    }

    .premium-kicker {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .premium-highlight {
        font-size: 0.96rem;
        line-height: 1.35;
    }
}

@media (max-width: 768px) {

    .why-us-grid {
        margin-top: 2rem !important;
    }

    .feature-card-premium {
        height: auto;
        min-height: 0;
        border-radius: 18px;
    }

    .premium-card-img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        object-position: center center;
    }

    .premium-card-placeholder {
        height: 150px;
    }

    .premium-card-divider {
        top: 150px;
    }

    .premium-card-content {
        margin-top: 150px;
        height: auto;
        min-height: 0;
        padding: 18px 16px 22px;
    }

    .premium-kicker {
        font-size: 0.68rem;
        line-height: 1.45;
        margin-bottom: 8px;
        letter-spacing: 0.04em;
    }

    .premium-highlight {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}
