/* ===================================
   CSS VARIABLES - SHIFTEZY THEME
   =================================== */
:root {
    /* Core Brand Colors */
    --primary-navy: #0F2A44;
    --secondary-steel: #2F5D8A;
    --accent-gold: #C8A24D;
    
    /* Text Colors */
    --text-dark: #1F1F1F;
    --text-muted: #4B5563;
    --text-inverse: #FFFFFF;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-soft: #F4F6F8;
    --bg-dark: #0F2A44;
    
    /* WhatsApp */
    --whatsapp-green: #25D366;
    
    /* Borders & Shadows */
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 28px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --border-radius: 8px;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===================================
   GLOBAL RESET & BASE
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ===================================
   CONTAINER & GRID SYSTEM
   =================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
    width: 100%;
}

/* Grid Columns — Desktop (lg) */
.col-lg-3  { width: 25%; }
.col-lg-4  { width: 33.333%; }
.col-lg-6  { width: 50%; }
.col-lg-8  { width: 66.666%; }
.col-lg-12 { width: 100%; }

/* Grid Columns — Tablet (md) */
.col-md-4  { width: 33.333%; }
.col-md-6  { width: 50%; }
.col-md-12 { width: 100%; }

/* Grid Columns — Mobile (sm / xs) */
.col-sm-6  { width: 50%; }
.col-6     { width: 50%; }

/* Grid Gaps */
.g-4 > * {
    padding: 15px;
}

/* Flex Alignment */
.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

/* Text Alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--primary-navy);
    color: var(--text-inverse);
}

.btn-primary:hover {
    background-color: #0B2238;
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background-color: var(--whatsapp-green);
    color: var(--text-inverse);
}

.btn-success:hover {
    background-color: #20ba5a;
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    position: relative;
    transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after  { top: 8px; }

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-navy);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.btn-call {
    background-color: var(--primary-navy);
    color: var(--text-inverse);
    font-size: 0.95rem;
    padding: 10px 20px;
}

.btn-call:hover {
    background-color: #0B2238;
    color: var(--text-inverse);
}

.btn-call i {
    transform: scaleX(-1);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--text-inverse);
    font-size: 0.95rem;
    padding: 10px 20px;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    color: var(--text-inverse);
}

/* ===================================
   SECTIONS
   =================================== */
.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-soft);
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ===================================
   FOOTER
   =================================== */
.main-footer {
    background-color: var(--bg-dark);
    color: #d1d5db;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 1.5rem;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-title {
    color: var(--text-inverse);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-text {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-gold);
    margin-top: 3px;
    min-width: 16px;
}

.footer-contact a {
    color: #d1d5db;
}

.footer-contact a:hover {
    color: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-locations i {
    color: var(--accent-gold);
    margin-right: 8px;
    font-size: 0.875rem;
}

/* Footer Middle */
.footer-middle {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-title {
    color: var(--text-inverse);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.125rem;
}

.social-links a:hover {
    background-color: var(--secondary-steel);
    transform: translateY(-3px);
}

/* Footer CTA */
.footer-cta {
    text-align: right;
}

.footer-cta-title {
    color: var(--text-inverse);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-cta-text {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-cta-buttons .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #0B1F33;
    padding: 20px 0;
}

.footer-copyright {
    margin: 0;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-legal-links {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.footer-legal-links li {
    margin: 0;
}

.footer-legal-links a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--accent-gold);
}

/* ===================================
   FLOATING CTA BUTTONS
   =================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-inverse);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-call {
    background-color: var(--primary-navy);
}

.floating-call:hover {
    background-color: #0B2238;
    transform: scale(1.1);
    color: white;
}

.floating-call i {
    transform: scaleX(-1);
}

.floating-whatsapp {
    background-color: var(--whatsapp-green);
}

.floating-whatsapp:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-navy);
    color: var(--text-inverse);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--secondary-steel);
    transform: translateY(-3px);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

.w-100 { width: 100%; }

/* col-12 utility */
.col-12 { width: 100%; }

/* Padding Utilities */
.pb-0 { padding-bottom: 0; }
.pt-3 { padding-top: 1rem; }

/* ===================================
   RESPONSIVE - TABLET & MOBILE
   =================================== */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }

    /* Reset lg columns to full width */
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-lg-8 {
        width: 100%;
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }

    .navbar-collapse.show {
        display: block;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .btn-call,
    .btn-whatsapp {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* md columns stay at 50% on tablet */
    .col-md-4 { width: 33.333%; }
    .col-md-6 { width: 50%; }

    /* sm columns stay at 50% */
    .col-sm-6 { width: 50%; }
    .col-6    { width: 50%; }

    /* Footer responsive */
    .footer-cta {
        text-align: left;
        margin-top: 2rem;
    }

    .footer-cta-buttons {
        justify-content: flex-start;
    }

    .footer-legal-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 50px 0;
    }

    .col-md-4,
    .col-md-6 {
        width: 100%;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Footer mobile */
    .footer-cta-buttons {
        flex-direction: column;
    }

    .footer-cta-buttons .btn {
        width: 100%;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .floating-cta {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .scroll-to-top {
        bottom: 15px;
        left: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* col-6 stays at 50% even on smallest screens */
    .col-6    { width: 50%; }
    .col-sm-6 { width: 50%; }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

:focus-visible {
    outline: 2px solid var(--primary-navy);
    outline-offset: 2px;
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */
@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;
    }
}