/* ==========================================================================
   Haider Foam – Premium Professional & Mobile-First Production Stylesheet
   Brand: Sofa Repair Gurgaon | Gurugram, Haryana
   Color Palette: Deep Navy/Slate, Warm Cream/Off-White, Accent Rust/Red, WhatsApp Green
   Mobile-First Architecture: 320px -> 1920px
   ========================================================================== */

:root {
    /* Primary Slate/Navy */
    --hf-navy-dark: #0f172a;
    --hf-navy: #1e293b;
    --hf-navy-light: #334155;
    
    /* Warm Cream / Off-White Backgrounds */
    --hf-cream-bg: #fcfbfa;
    --hf-cream-subtle: #f8f5f0;
    --hf-cream-card: #f2eee6;
    --hf-border: #e6ded3;
    --hf-border-light: #f1eae0;

    /* Accent Furniture Red / Terra-cotta */
    --hf-accent: #c93b2b;
    --hf-accent-hover: #a82b1d;
    --hf-accent-subtle: #fdf2f0;

    /* Status & CTA Colors */
    --hf-whatsapp: #25d366;
    --hf-whatsapp-hover: #1eb857;
    --hf-phone: #0284c7;
    --hf-phone-hover: #0369a1;
    --hf-gold: #f59e0b;

    /* Typography Slate */
    --hf-text-dark: #0f172a;
    --hf-text-body: #334155;
    --hf-text-muted: #64748b;
    --hf-text-light: #94a3b8;

    /* Shadows */
    --hf-shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
    --hf-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --hf-shadow-md: 0 6px 20px -2px rgba(15, 23, 42, 0.08);
    --hf-shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);

    /* Radii */
    --hf-radius-sm: 8px;
    --hf-radius-md: 14px;
    --hf-radius-lg: 20px;
    --hf-radius-pill: 50px;

    /* Transitions */
    --hf-transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--hf-text-body);
    background-color: var(--hf-cream-bg);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Ensure images never overflow their container */
img, picture, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fluid Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--hf-text-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.85rem);
    font-weight: 800;
    color: var(--hf-navy-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw + 0.2rem, 2.25rem);
    font-weight: 800;
    color: var(--hf-navy-dark);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.5vw + 0.5rem, 1.125rem);
    color: var(--hf-text-muted);
    max-width: 720px;
    margin: 0 auto 2.25rem;
    line-height: 1.6;
}

.section-padding {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

a {
    color: var(--hf-accent);
    text-decoration: none;
    transition: var(--hf-transition);
}

a:hover {
    color: var(--hf-accent-hover);
}

/* Top Utility Bar (Desktop only) */
.top-bar {
    background-color: var(--hf-navy-dark);
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #e2e8f0;
}

.top-bar a:hover {
    color: #ffffff;
}

/* Header & Main Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--hf-border);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all 0.2s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.site-header .navbar {
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

.site-logo img {
    max-height: 42px;
    width: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .site-logo img {
        max-height: 36px;
    }
}

/* Desktop Navbar Navigation */
.site-header .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.site-header .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--hf-navy);
    padding: 0.45rem 0.65rem !important;
    transition: all 0.15s ease-in-out;
    border-radius: var(--hf-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap !important;
    line-height: 1.25;
}

.site-header .navbar-nav .nav-link:hover {
    color: var(--hf-accent);
    background-color: var(--hf-cream-subtle);
}

.site-header .navbar-nav .nav-link.active {
    color: var(--hf-accent);
    background-color: rgba(201, 59, 43, 0.08);
    font-weight: 700;
}

/* Header CTA Action Buttons */
.site-header .header-cta-group {
    flex-shrink: 0;
}

.site-header .header-cta-group .btn-sm,
.site-header .navbar .btn-sm {
    white-space: nowrap !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0.35rem 0.95rem !important;
    font-size: 0.84rem !important;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem;
    border-radius: 50px !important;
    line-height: 1 !important;
}

.site-header .header-cta-group .btn-hf-outline {
    border-color: #cbd5e1;
    color: var(--hf-navy) !important;
    background-color: #ffffff;
}

.site-header .header-cta-group .btn-hf-outline:hover {
    border-color: var(--hf-navy);
    background-color: var(--hf-navy);
    color: #ffffff !important;
}

.site-header .header-cta-group .btn-hf-outline:hover i {
    color: #ffffff !important;
}

/* Dropdown Menus */
.dropdown-menu {
    border: 1px solid var(--hf-border);
    box-shadow: var(--hf-shadow-md);
    border-radius: var(--hf-radius-md);
    padding: 0.5rem;
    min-width: 260px;
    background: #ffffff;
}

.dropdown-item {
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: var(--hf-radius-sm);
    color: var(--hf-navy);
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--hf-transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--hf-cream-subtle);
    color: var(--hf-accent);
}

/* Offcanvas Mobile Menu */
.offcanvas-mobile {
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    border-left: 1px solid var(--hf-border);
}

.offcanvas-mobile .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.85rem 1rem;
    color: var(--hf-navy-dark);
    border-radius: var(--hf-radius-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px; /* Touch target minimum */
}

.offcanvas-mobile .nav-link:hover,
.offcanvas-mobile .nav-link.active {
    background-color: var(--hf-accent-subtle);
    color: var(--hf-accent);
}

.offcanvas-mobile .mobile-sub-menu {
    padding-left: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--hf-border);
}

.offcanvas-mobile .mobile-sub-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    color: var(--hf-navy);
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--hf-radius-sm);
    min-height: 44px;
}

.offcanvas-mobile .mobile-sub-link:hover {
    color: var(--hf-accent);
    background-color: var(--hf-cream-subtle);
}

/* Standard Buttons - Mobile Friendly (48px+ min height) */
.btn-hf-primary {
    background-color: var(--hf-accent);
    border: 2px solid var(--hf-accent);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    min-height: 48px;
    border-radius: var(--hf-radius-pill);
    box-shadow: 0 4px 14px rgba(201, 59, 43, 0.25);
    transition: var(--hf-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal;
}

.btn-hf-primary:hover {
    background-color: var(--hf-accent-hover);
    border-color: var(--hf-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 59, 43, 0.35);
}

.btn-hf-whatsapp {
    background-color: var(--hf-whatsapp);
    border: 2px solid var(--hf-whatsapp);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.4rem;
    min-height: 48px;
    border-radius: var(--hf-radius-pill);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transition: var(--hf-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal;
}

.btn-hf-whatsapp:hover {
    background-color: var(--hf-whatsapp-hover);
    border-color: var(--hf-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-hf-outline {
    background-color: transparent;
    border: 2px solid var(--hf-navy);
    color: var(--hf-navy) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.35rem;
    min-height: 48px;
    border-radius: var(--hf-radius-pill);
    transition: var(--hf-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal;
}

.btn-hf-outline:hover {
    background-color: var(--hf-navy);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-hf-white {
    background-color: #ffffff;
    border: 2px solid #ffffff;
    color: var(--hf-navy-dark) !important;
    font-weight: 700;
    padding: 0.65rem 1.4rem;
    min-height: 48px;
    border-radius: var(--hf-radius-pill);
    box-shadow: var(--hf-shadow-md);
    transition: var(--hf-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-hf-white:hover {
    background-color: #f1f5f9;
    border-color: #f1f5f9;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: 
        radial-gradient(100% 80% at 0% 0%, rgba(201, 59, 43, 0.04) 0%, transparent 50%),
        radial-gradient(80% 60% at 100% 100%, rgba(15, 23, 42, 0.03) 0%, transparent 60%),
        linear-gradient(180deg, #fdfbf7 0%, #f6f0e6 100%);
    padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    border-bottom: 1px solid var(--hf-border);
    position: relative;
    overflow: hidden;
}

.badge-pulsing-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: hf-pulse 2s infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes hf-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.hero-badge {
    background-color: #ffffff;
    color: var(--hf-navy-dark);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    border-radius: var(--hf-radius-pill);
    border: 1px solid var(--hf-border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--hf-shadow-xs);
}

.hero-title-highlight {
    color: var(--hf-accent);
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.25vw + 0.2rem, 1.15rem);
    color: var(--hf-text-body);
    margin-bottom: 1.75rem;
    line-height: 1.75;
    max-width: 660px;
}

.hero-highlights-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-highlight-pill {
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-pill);
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hf-navy);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--hf-shadow-xs);
}

.hero-trust-strip {
    border-top: 1px solid rgba(230, 222, 211, 0.9);
}

/* Integrated Hero Booking Card */
.hero-booking-card {
    background: #ffffff;
    border-radius: var(--hf-radius-lg);
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(230, 222, 211, 0.9);
    overflow: hidden;
    transition: var(--hf-transition);
}

.hero-booking-card:hover {
    box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.06);
}

.hero-booking-banner {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--hf-navy-dark);
}

.hero-booking-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-booking-card:hover .hero-booking-banner img {
    transform: scale(1.05);
}

.hero-booking-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem 1.25rem;
}

.hero-booking-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

@media (max-width: 575.98px) {
    .hero-booking-body {
        padding: 1.25rem 1rem 1.5rem;
    }
}

.trust-pillar-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0;
}

.trust-pillar-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.trust-pillar-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hf-navy);
    line-height: 1.3;
}

/* Service Cards */
.card-service {
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    transition: var(--hf-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--hf-shadow-xs);
}

.card-service:hover {
    transform: translateY(-6px);
    box-shadow: var(--hf-shadow-md);
    border-color: #cfbeac;
}

.card-service .card-img-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background-color: var(--hf-cream-subtle);
}

.card-service .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

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

.service-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--hf-accent-subtle);
    color: var(--hf-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Why Choose Us Feature Box */
.feature-box {
    padding: 1.75rem 1.5rem;
    background: #ffffff;
    border-radius: var(--hf-radius-md);
    border: 1px solid var(--hf-border);
    height: 100%;
    transition: var(--hf-transition);
    box-shadow: var(--hf-shadow-xs);
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--hf-shadow-sm);
    border-color: #d1c3b3;
}

/* Repair Process Timeline (Desktop Horizontal & Mobile Vertical) */
.process-timeline {
    position: relative;
}

.process-card {
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--hf-transition);
    box-shadow: var(--hf-shadow-xs);
    position: relative;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hf-shadow-sm);
    border-color: var(--hf-accent);
}

.process-img-wrap {
    border-radius: var(--hf-radius-sm);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-bottom: 1rem;
    background: var(--hf-cream-subtle);
}

.process-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hf-accent);
    color: #ffffff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 6px rgba(201, 59, 43, 0.3);
}

/* Before & After Cards */
.ba-card {
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--hf-shadow-xs);
    transition: var(--hf-transition);
}

.ba-card:hover {
    box-shadow: var(--hf-shadow-sm);
}

.ba-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.ba-before {
    background: rgba(220, 38, 38, 0.92);
    color: #ffffff;
}

.ba-after {
    background: rgba(22, 163, 74, 0.92);
    color: #ffffff;
}

/* Location Card / Areas Grid */
.card-location {
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    overflow: hidden;
    height: 100%;
    transition: var(--hf-transition);
    box-shadow: var(--hf-shadow-xs);
}

.card-location:hover {
    transform: translateY(-4px);
    box-shadow: var(--hf-shadow-sm);
    border-color: #d1c3b3;
}

/* Testimonial Quote Card */
.review-card {
    background: #ffffff;
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--hf-shadow-xs);
}

.review-stars {
    color: var(--hf-gold);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* FAQ Accordion Styling */
.accordion-item {
    border: 1px solid var(--hf-border);
    border-radius: var(--hf-radius-md) !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    box-shadow: var(--hf-shadow-xs);
}

.accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--hf-navy-dark);
    background-color: #ffffff;
    padding: 1.15rem 1.25rem;
    min-height: 52px; /* Touch target */
}

.accordion-button:not(.collapsed) {
    color: var(--hf-accent);
    background-color: var(--hf-accent-subtle);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--hf-border);
}

.accordion-body {
    padding: 1.25rem;
    background-color: #ffffff;
    color: var(--hf-text-body);
    font-size: 0.975rem;
    line-height: 1.7;
}

/* Lead Enquiry Form Styling */
.enquiry-card {
    background: #ffffff;
    border-radius: var(--hf-radius-lg);
    box-shadow: var(--hf-shadow-md);
    border: 1px solid var(--hf-border);
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.form-label {
    font-weight: 600;
    color: var(--hf-navy-dark);
    font-size: 0.88rem;
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    border: 1.5px solid var(--hf-border);
    border-radius: var(--hf-radius-sm);
    padding: 0.7rem 0.95rem;
    min-height: 48px; /* Touch friendly & stops iOS auto-zoom */
    font-size: 1rem;
    color: var(--hf-text-dark);
    background-color: #ffffff;
    transition: var(--hf-transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hf-accent);
    box-shadow: 0 0 0 0.2rem rgba(201, 59, 43, 0.15);
    background-color: #ffffff;
}

textarea.form-control {
    min-height: 90px;
}

/* Floating Action Buttons (Desktop / Tablet) */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1050;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: var(--hf-transition);
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn-whatsapp {
    background-color: var(--hf-whatsapp);
}

.floating-btn-phone {
    background-color: var(--hf-phone);
}

.floating-tooltip {
    position: absolute;
    right: 64px;
    background: var(--hf-navy-dark);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    box-shadow: var(--hf-shadow-sm);
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
}

/* Mobile Sticky Bottom Call / WhatsApp / Book Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -3px 16px rgba(15, 23, 42, 0.12);
    z-index: 1045;
    padding: 8px 10px;
    border-top: 1px solid var(--hf-border);
}

.mobile-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0.5rem;
    min-height: 48px;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: var(--hf-radius-sm);
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
}

.mobile-sticky-call {
    background-color: var(--hf-navy-dark);
    color: #ffffff !important;
}

.mobile-sticky-wa {
    background-color: var(--hf-whatsapp);
    color: #ffffff !important;
}

.mobile-sticky-book {
    background-color: var(--hf-accent);
    color: #ffffff !important;
}

/* Footer */
.site-footer {
    background-color: var(--hf-navy-dark);
    color: #94a3b8;
    padding: clamp(3rem, 5vw, 4.5rem) 0 1.5rem;
    border-top: 4px solid var(--hf-accent);
}

.footer-logo-card {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 7px 14px;
    border-radius: var(--hf-radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: var(--hf-transition);
    text-decoration: none !important;
}

.footer-logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    padding-left: 14px !important;
}

.footer-logo-card img {
    max-height: 42px;
    width: auto;
    display: block;
}

.site-footer h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--hf-transition);
}

.site-footer a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
}

/* Breadcrumbs */
.breadcrumb-wrap {
    background-color: var(--hf-cream-subtle);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hf-border);
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--hf-text-muted);
}

.breadcrumb-item.active {
    color: var(--hf-navy-dark);
    font-weight: 600;
}

/* Rich Content Container for Editorial Articles & Pages */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.article-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--hf-navy-dark);
}

.article-content h3 {
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--hf-navy);
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Background Subtle Utility */
.bg-beige-subtle {
    background-color: var(--hf-cream-subtle);
    border-top: 1px solid var(--hf-border);
    border-bottom: 1px solid var(--hf-border);
}

/* ==========================================================================
   Mobile-First Media Queries (Strictly responsive across all viewports)
   320px, 360px, 375px, 390px, 414px, 430px, 768px, 1024px, 1366px, 1920px
   ========================================================================== */

@media (max-width: 767.98px) {
    /* Show Mobile Sticky Contact Bar on phone */
    .mobile-sticky-bar {
        display: flex;
        gap: 6px;
    }

    /* Prevent bottom sticky bar from obscuring footer or page contents */
    body {
        padding-bottom: 74px;
    }

    /* Hide desktop floating actions on phone to avoid clutter */
    .floating-actions {
        display: none !important;
    }

    /* Adjust button touch sizes */
    .btn-hf-primary, 
    .btn-hf-whatsapp, 
    .btn-hf-outline {
        width: 100%;
        text-align: center;
    }

    /* Hero adjustments */
    .hero-section {
        padding-top: 1.75rem;
    }

    /* Form padding */
    .enquiry-card {
        padding: 1.25rem 1rem;
    }

    /* Card image heights on small screens */
    .card-service .card-body {
        padding: 1.25rem;
    }

    /* Process cards vertical connection */
    .process-card {
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    /* Tablet optimizations */
    .hero-section {
        padding: 3rem 0;
    }
}

@media (min-width: 992px) and (max-width: 1240px) {
    /* Compact desktop navigation between 992px and 1240px */
    .site-header .navbar-nav .nav-link {
        font-size: 0.82rem;
        padding: 0.4rem 0.5rem !important;
    }
    .site-header .header-cta-group .btn-sm {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
}

/* Inquiry Success Modal Popup */
.enquiry-success-modal {
    border-radius: 24px !important;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.enquiry-success-accent-bar {
    height: 6px;
    background: linear-gradient(90deg, #25D366 0%, #10b981 50%, #c93b2b 100%);
    width: 100%;
}

.success-icon-badge {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 3px solid #86efac;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.28);
    animation: successBadgePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes successBadgePop {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }
    70% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
