/* ==========================================
   INCHCRAFT OFFICIAL DESIGN SYSTEM
   Primary Logo Red Brand Color Palette (#c83b3b)
   ========================================== */
:root {
    --ic-brand-red: #c83b3b;
    --ic-brand-red-hover: #a82b2b;
    --ic-brand-red-active: #8b2222;
    --ic-brand-red-light: rgba(200, 59, 59, 0.12);
    --ic-brand-red-subtle: #fdf5f5;
    
    /* Bootstrap Overrides */
    --bs-danger: #c83b3b;
    --bs-danger-rgb: 200, 59, 59;
    --bs-btn-danger-bg: #c83b3b;
    --bs-btn-danger-border-color: #c83b3b;
    --bs-btn-danger-hover-bg: #a82b2b;
    --bs-btn-danger-hover-border-color: #a82b2b;
    --bs-btn-danger-active-bg: #8b2222;
    --bs-btn-danger-active-border-color: #8b2222;
    
    --premium-accent: #c83b3b;
}

/* 1. Global Red Solid Buttons */
.btn-danger,
.btn-danger-luxe,
.bg-danger-btn {
    background-color: var(--ic-brand-red) !important;
    border-color: var(--ic-brand-red) !important;
    color: #ffffff !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger-luxe:hover,
.btn-danger-luxe:focus,
.btn-danger-luxe:active {
    background-color: var(--ic-brand-red-hover) !important;
    border-color: var(--ic-brand-red-hover) !important;
    color: #ffffff !important;
}

/* 2. Global Red Outline Buttons */
.btn-outline-danger {
    color: var(--ic-brand-red) !important;
    border-color: var(--ic-brand-red) !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    background-color: var(--ic-brand-red) !important;
    border-color: var(--ic-brand-red) !important;
    color: #ffffff !important;
}

/* 3. Text Color Overrides */
.text-danger,
.text-accent,
.ic-brand-text {
    color: var(--ic-brand-red) !important;
}

/* 4. Background Overrides */
.bg-danger,
.bg-accent {
    background-color: var(--ic-brand-red) !important;
}

.bg-danger-subtle {
    background-color: var(--ic-brand-red-light) !important;
}

/* 5. Border Color Overrides */
.border-danger,
.border-accent {
    border-color: var(--ic-brand-red) !important;
}

/* 6. Form Controls Focus */
.form-control:focus,
.form-select:focus {
    border-color: var(--ic-brand-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(200, 59, 59, 0.2) !important;
}

/* 7. Badges & Active Elements */
.badge.bg-danger,
.badge-danger {
    background-color: var(--ic-brand-red) !important;
}

.nav-pills .nav-link.active {
    background-color: var(--ic-brand-red) !important;
}

/* ==========================================
   8. Clean Premium Typography System
   Replaces fancy serif fonts & normalizes font-weights
   ========================================== */
body, html {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override any remaining fancy/serif font utilities */
.font-playfair,
.font-serif,
.font-fancy {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-style: normal !important;
}

/* Heading Hierarchy - Soft Semibold with Outfit Luxury Geometric Sans */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em !important;
}

/* Badges, Pills & Labels: Refined medium weight */
.badge,
.badge-luxe-gold,
.testimonial-badge-pill,
.process-step-num {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.4px;
}

/* Form Controls & Buttons */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.btn-lg {
    font-weight: 600;
}

/* Paragraphs & Subtitles */
p, .lead, .accordion-body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 400;
}

/* Fix Tailwind CSS .collapse visibility conflict while preserving Bootstrap height slide animation */
.accordion-collapse.collapse,
.accordion-collapse.collapsing,
.accordion-collapse.collapse.show {
    visibility: visible !important;
}

.accordion-body {
    color: #475569 !important;
    background-color: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* 7. Eyebrow Badge Subtitle Style */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ic-brand-red, #c83b3b);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: var(--ic-brand-red, #c83b3b);
}
.eyebrow.eyebrow-light {
    color: rgba(255, 255, 255, 0.75);
}
.eyebrow.eyebrow-light::before {
    background: rgba(255, 255, 255, 0.5);
}

/* 9. Mobile Responsive Layout Helpers & Bottom Padding */
@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom)) !important;
    }
}

/* Ensure page-level legacy duplicate sticky bars do not collide with global app navbar */
#mobStickyCtaBar,
#pkgStickyCta {
    display: none !important;
}

.fs-10 { font-size: 10px !important; }
.fs-12 { font-size: 12px !important; }

/* ============================================================
   📱 NATIVE MOBILE & TABLET HORIZONTAL SWIPE CAROUSEL ENGINE
   Applied to all screen sizes <= 991.98px (Phones + Tablets)
   ============================================================ */
@media (max-width: 991.98px) {
    /* Touch-draggable swipe track for grid rows */
    .app-swipe-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1.25rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        gap: 16px !important;
    }
    .app-swipe-row::-webkit-scrollbar {
        display: none !important;
    }

    /* Cards snapping inside swipe track */
    .app-swipe-row > [class*="col-"] {
        flex: 0 0 84vw !important;
        max-width: 84vw !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }

    /* Tablet adjustment (576px - 991.98px): Show ~2 cards per view */
    @media (min-width: 576px) and (max-width: 991.98px) {
        .app-swipe-row > [class*="col-"] {
            flex: 0 0 46vw !important;
            max-width: 46vw !important;
        }
    }

    /* Compact card variant (e.g. for badges, chips, mini cards) */
    .app-swipe-row.app-swipe-compact > [class*="col-"] {
        flex: 0 0 65vw !important;
        max-width: 65vw !important;
    }
    @media (min-width: 576px) and (max-width: 991.98px) {
        .app-swipe-row.app-swipe-compact > [class*="col-"] {
            flex: 0 0 35vw !important;
            max-width: 35vw !important;
        }
    }

    /* Interactive hint badge above swipeable sections */
    .app-swipe-hint {
        display: flex !important;
        align-items: center;
        gap: 6px;
        font-size: 11.5px;
        font-weight: 600;
        color: #64748b;
        letter-spacing: 0.3px;
        margin-bottom: 12px;
    }
    .app-swipe-hint i {
        font-size: 12px;
        color: #c83b3b;
        animation: appSwipePulse 1.8s ease-in-out infinite;
    }
    @keyframes appSwipePulse {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(4px); }
    }
}

/* Minimal & Elegant FAQ Accordion System */
.custom-faq-accordion .accordion-item {
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.custom-faq-accordion .accordion-item:last-child {
    border-bottom: none !important;
}
.custom-faq-accordion .accordion-header {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.custom-faq-accordion .accordion-button {
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 1.025rem !important;
    padding: 1.25rem 0 !important;
    box-shadow: none !important;
    border: none !important;
}
.custom-faq-accordion .accordion-button:focus {
    box-shadow: none !important;
}
.custom-faq-accordion .accordion-button:not(.collapsed) {
    color: #0f172a !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-bottom: 0.75rem !important;
}
.custom-faq-accordion .accordion-collapse {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}
.custom-faq-accordion .accordion-body {
    padding: 0 0 1.25rem 0 !important;
    color: #475569 !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    background: transparent !important;
}

/* ============================================================
   Floating Quick Action Dock
   ============================================================ */
.floating-action-dock {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.float-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.float-btn-call {
    background: linear-gradient(135deg, #c83b3b 0%, #0f172a 100%);
    box-shadow: 0 10px 25px rgba(200, 59, 59, 0.35);
}

.float-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.float-label {
    position: absolute;
    right: 64px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50rem;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.float-btn:hover .float-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 991.98px) {
    .floating-action-dock {
        bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        right: 14px !important;
        gap: 10px;
    }
    .float-btn {
        width: 46px;
        height: 46px;
    }
    .float-label {
        display: none;
    }
}

/* Sitemap Page Styles */
.sitemap-design {
    background-color: #F3FFFF;
}
.sitemap-design ul li a {
    color: #008388;
    font-size: 14px;
}


