:root {
    --primary-color: #f15a25;
    --primary-hover: #d94b1c;
    --primary-gradient: linear-gradient(135deg, #f15a25 0%, #e04b16 100%);
    --primary-light: rgba(241, 90, 37, 0.08);
    --primary-glow: rgba(241, 90, 37, 0.2);
    --secondary-color: #1f2937;
    --accent-color: #4CAF50;
    --accent-light: rgba(76, 175, 80, 0.12);
    --bg-light: #f8fafc;
    --bg-surface: #ffffff;
    --text-color: #4b5563;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --border-subtle: #f1f5f9;
    --border-light: #e2e8f0;
    --white: #ffffff;
    
    /* Luxury Soft Shadows */
    --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 25px 60px rgba(15, 23, 42, 0.12);
    --shadow-primary: 0 10px 25px rgba(241, 90, 37, 0.28);
    
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Base & Mobile Viewport Safeguards */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: clip;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.68;
    font-size: 1.025rem;
    padding-bottom: 0;
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 74px; /* Space for sticky bottom mobile bar */
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

/* Color & Background Helpers */
.text-dark { color: var(--text-dark) !important; }
.text-primary-custom { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }
.bg-accent-light { background-color: var(--accent-light) !important; }
.border-subtle { border-color: var(--border-subtle) !important; }

/* Buttons & CTAs */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    padding: 13px 28px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    min-height: 48px;
}

.btn-primary-custom:hover, .btn-primary-custom:focus {
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(241, 90, 37, 0.35);
}

.btn-outline-custom {
    background-color: var(--white);
    color: var(--text-dark) !important;
    border: 1.5px solid var(--border-light);
    border-radius: 50px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    min-height: 48px;
}

.btn-outline-custom:hover, .btn-outline-custom:focus {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.btn-white-custom {
    background-color: var(--white);
    color: var(--primary-color) !important;
    border: none;
    border-radius: 50px;
    padding: 13px 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    min-height: 48px;
}

.btn-white-custom:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

/* Header & Glassmorphic Navbar */
.navbar {
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1040;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar-brand img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 36px;
    }
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
    padding: 6px 0 !important;
    font-size: 0.98rem;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Mobile Navbar Overlay */
@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 0;
        background: #ffffff;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 20px 24px 24px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-xl);
        margin-top: 14px;
        border: 1px solid var(--border-light);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-link {
        margin: 6px 0;
        padding: 10px 0 !important;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .navbar-toggler {
        padding: 8px;
        border-radius: 10px;
        background-color: var(--bg-light);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px var(--primary-light);
    }
}

/* Section Spacing Architecture */
.section-padding {
    padding: 100px 0;
}

@media (max-width: 991.98px) {
    .section-padding { padding: 75px 0; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 55px 0; }
}

/* Standard Inner Page Headers */
.page-header {
    padding-top: 120px;
    padding-bottom: 45px;
}

@media (max-width: 767.98px) {
    .page-header {
        padding-top: 92px;
        padding-bottom: 30px;
    }
}

/* Typography Hierarchy */
.hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 0.82rem;
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 12px;
    background: var(--primary-light);
    border-radius: 50px;
}

/* Hero Section */
.hero-section {
    background: radial-gradient(circle at 85% 20%, rgba(241, 90, 37, 0.07) 0%, rgba(255, 255, 255, 1) 70%),
                linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    padding: 130px 0 70px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 95px 0 50px;
    }
}

.hero-img-container {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 90, 37, 0.1));
    box-shadow: var(--shadow-xl);
}

.hero-main-img {
    border-radius: calc(var(--radius-xl) - 8px);
    width: 100%;
    height: 520px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .hero-main-img {
        height: 420px;
    }
}

@media (max-width: 575.98px) {
    .hero-main-img {
        height: 330px;
    }
}

/* Floating Badges with Zero Overflow */
.hero-floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: gentleFloat 5s ease-in-out infinite;
}

.hero-badge-top {
    top: 24px;
    left: -16px;
    animation-delay: 0s;
}

.hero-badge-bottom {
    bottom: 24px;
    right: -16px;
    animation-delay: 2.5s;
}

@media (max-width: 991.98px) {
    .hero-badge-top {
        left: 10px;
        top: 15px;
    }
    .hero-badge-bottom {
        right: 10px;
        bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    .hero-floating-card {
        padding: 10px 14px;
        gap: 10px;
        font-size: 0.85rem;
    }
    .hero-badge-top {
        left: 8px;
        top: 10px;
    }
    .hero-badge-bottom {
        right: 8px;
        bottom: 10px;
    }
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Clinical Trust Ribbon */
.trust-ribbon-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 26px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: all 0.35s ease;
    height: 100%;
}

.trust-ribbon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(241, 90, 37, 0.2);
}

/* Premium Cards */
.premium-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(241, 90, 37, 0.18);
}

.icon-wrapper {
    width: 62px;
    height: 62px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--primary-color);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.premium-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.06);
}

/* Service Preview Card */
.service-preview-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(241, 90, 37, 0.2);
}

.service-preview-card .img-wrapper {
    overflow: hidden;
    height: 220px;
    position: relative;
}

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

.service-preview-card:hover img {
    transform: scale(1.07);
}

/* Comparison Matrix (Why Choose Us) */
.comparison-card-highlight {
    background: linear-gradient(145deg, #ffffff 0%, #fff7f4 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.comparison-card-standard {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
}

/* Process Timeline */
.process-step-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 22px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
    transition: all 0.35s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(241, 90, 37, 0.2);
}

.step-number-badge {
    width: 46px;
    height: 46px;
    background: var(--primary-gradient);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px rgba(241, 90, 37, 0.3);
}

/* Counter & Stats */
.stat-card-luxury {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 20px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.35s ease;
    height: 100%;
}

.stat-card-luxury:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(241, 90, 37, 0.25);
}

/* Testimonials */
.review-card-luxury {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s ease;
}

.review-card-luxury:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(241, 90, 37, 0.2);
}

/* FAQ Accordion */
.accordion-luxury .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 14px;
}

.accordion-luxury .accordion-button {
    background: var(--white);
    border-radius: var(--radius-md) !important;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.accordion-luxury .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(241, 90, 37, 0.25);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.accordion-luxury .accordion-button:focus {
    box-shadow: 0 0 0 3px var(--primary-light);
}

.accordion-luxury .accordion-body {
    background: var(--white);
    padding: 20px 24px 26px;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    border-top: none;
    box-shadow: var(--shadow-sm);
    color: var(--text-color);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 26px rgba(76, 175, 80, 0.35);
    z-index: 1030;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    color: white;
    box-shadow: 0 16px 36px rgba(76, 175, 80, 0.45);
}

@media (max-width: 767.98px) {
    .floating-whatsapp {
        bottom: 84px; /* Lifted above mobile bottom bar */
        right: 18px;
        width: 52px;
        height: 52px;
    }
}

/* Mobile Quick Action Fixed Bottom Bar */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-light);
    padding: 10px 14px;
    z-index: 1035;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    gap: 10px;
}

.mobile-bottom-bar .btn-mobile-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    min-height: 48px;
}

.mobile-bottom-bar .btn-mobile-call {
    background: var(--text-dark);
    color: var(--white);
}

.mobile-bottom-bar .btn-mobile-whatsapp {
    background: #25D366;
    color: var(--white);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Input Enhancements (prevents iOS auto-zoom with min 16px) */
.form-control, .form-select {
    font-size: 16px !important;
    min-height: 48px;
    border-radius: 12px;
    border: 1.5px solid var(--border-light);
    padding: 12px 16px;
    transition: all 0.25s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Responsive Google Map Wrapper */
.map-container-responsive {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767.98px) {
    .map-container-responsive {
        height: 320px;
        border-radius: var(--radius-md);
    }
}
