/**
 * SafetyManager Pro - Main Stylesheet
 * Brand Colors:
 * - Signature Safety Orange: #CD3000
 * - Deep Charcoal / Slate: #1E2229
 * - Surface Light: #F8FAFC
 * - Border / Divider: #E2E8F0
 */

:root {
    --primary: #CD3000;
    --primary-hover: #AA2800;
    --primary-light: #FDF2EE;
    --secondary: #1E2229;
    --secondary-hover: #12151A;
    --dark: #181B20;
    --gray-900: #1E293B;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748B;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --gray-50:  #F8FAFC;
    --white: #FFFFFF;
    --accent: #E67E22;
    --success: #10B981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 30px -5px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max: 1200px;
}

/* ==========================================================================
   RESET & TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Space for mobile floating bar */
    }
}

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

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

a:hover {
    color: var(--primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.site-container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--primary) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(205, 48, 0, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(205, 48, 0, 0.45);
}

.btn-dark {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--secondary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--secondary);
    border-color: var(--gray-300);
}

.btn-outline-dark:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background-color: var(--gray-100);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.9rem 1.85rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
    background-color: var(--dark);
    color: var(--gray-300);
    font-size: 0.825rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-item a {
    color: var(--white);
    font-weight: 500;
}

.topbar-item a:hover {
    color: var(--primary);
}

.topbar-label {
    color: var(--gray-400);
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #4ade80;
    font-size: 0.775rem;
    font-weight: 600;
    background: rgba(34, 197, 94, 0.12);
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 2s infinite;
}

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

@media (max-width: 991px) {
    .topbar-item-email, .topbar-badge {
        display: none;
    }
}

@media (max-width: 600px) {
    .topbar {
        display: none; /* Keep mobile header clean; handled by floating bar */
    }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.site-branding .custom-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation .nav-menu a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.925rem;
    padding: 0.5rem 0.25rem;
    position: relative;
}

.main-navigation .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.main-navigation .nav-menu a:hover {
    color: var(--primary);
}

.main-navigation .nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 991px) {
    .main-navigation, .header-action {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.drawer-close {
    font-size: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    line-height: 1;
}

.drawer-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-list a {
    display: block;
    padding: 0.85rem 0;
    color: var(--secondary);
    font-weight: 600;
    font-size: 1rem;
}

.mobile-nav-list a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.drawer-contacts {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-contact-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray-500);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.drawer-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.drawer-btn-call {
    background-color: var(--gray-100);
    color: var(--secondary);
}

.drawer-btn-call:hover {
    background-color: var(--gray-200);
    color: var(--secondary);
}

.drawer-btn-quote {
    background-color: var(--primary);
    color: var(--white);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 5.5rem 0 4.5rem;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 27, 32, 0.92) 0%, rgba(30, 34, 41, 0.85) 60%, rgba(205, 48, 0, 0.75) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    color: var(--white);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-title .text-accent {
    color: #FF5E33 !important; /* Slightly brighter for contrast over dark hero */
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2.25rem;
    max-width: 760px;
}

.hero-subtitle strong {
    color: var(--white);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.stat-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: #FF5E33;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-section {
        padding: 4rem 0 3.5rem;
    }
}

/* ==========================================================================
   QUICK CALLOUT BAR
   ========================================================================== */
.quick-callout-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.25rem 0;
}

.quick-callout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.callout-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.callout-icon {
    font-size: 2rem;
}

.callout-text strong {
    font-size: 1.1rem;
    display: block;
}

.callout-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.92;
}

.callout-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .quick-callout-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
    padding: 5rem 0;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--primary-light);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin: 0;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--gray-50);
}

.services-nav-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 3.5rem;
}

.service-pill {
    padding: 0.6rem 1.15rem;
    background-color: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.service-pill:hover, .service-pill.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(205, 48, 0, 0.25);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-detail-card {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gray-300);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon {
    font-size: 2rem;
}

.service-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.service-title {
    font-size: 1.45rem;
    color: var(--secondary);
    margin: 0;
}

.service-lead {
    font-size: 1.05rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-subtitle {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--gray-700);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
}

.yde-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.yde-case {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-900);
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.service-footer-note {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

@media (max-width: 600px) {
    .service-detail-card {
        padding: 1.5rem;
    }
    .service-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-us-section {
    background-color: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.why-card {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    transition: var(--transition);
}

.why-card:hover {
    background-color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.why-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.why-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   INTERACTIVE QUOTE SECTION
   ========================================================================== */
.quote-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
}

.quote-card-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.quote-badge {
    color: #FF7A50;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.quote-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.quote-desc {
    color: var(--gray-300);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.quote-perks {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 500;
}

.perk-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(205, 48, 0, 0.35);
    color: #FF5E33;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.quote-direct-call {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.direct-call-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--gray-400);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.direct-call-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.direct-number {
    color: var(--white);
    font-size: 1.05rem;
    display: inline-block;
}

.direct-number:hover {
    color: #FF7A50;
}

.custom-form {
    background-color: var(--white);
    color: var(--gray-900);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.form-label .req {
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background-color: var(--gray-50);
    color: var(--gray-900);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(205, 48, 0, 0.12);
}

textarea.form-control {
    resize: vertical;
}

.form-response {
    display: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.925rem;
    line-height: 1.5;
}

.form-response.success {
    display: block;
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.form-response.error {
    display: block;
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

@media (max-width: 991px) {
    .quote-card-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .custom-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   OFFICES & CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--white);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.contact-card {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card.highlight-card {
    border-color: var(--primary);
    background-color: #FFFDFD;
    box-shadow: 0 8px 24px rgba(205, 48, 0, 0.08);
}

.contact-card-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.contact-card-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-card-desc {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.info-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 600;
}

.info-link, .info-value {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.05rem;
}

.info-link:hover {
    color: var(--primary);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: var(--gray-300);
    padding-top: 4.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    margin-bottom: 1.25rem;
}

.footer-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.footer-trust-tags {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.trust-tag {
    font-size: 0.825rem;
    color: #4ade80;
    font-weight: 600;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.925rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.35rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.875rem;
}

.fci-icon {
    font-size: 1rem;
}

.fci-content strong {
    display: block;
    color: var(--gray-200);
    font-size: 0.8rem;
}

.fci-content p {
    margin: 0;
    color: var(--gray-400);
}

.fci-content a {
    color: var(--white);
    font-weight: 600;
}

.footer-text-small {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-hours-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.825rem;
    margin-bottom: 1.25rem;
}

.hours-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-hours-box p {
    margin: 0;
    color: var(--gray-400);
}

.footer-bottom {
    background-color: #0E1013;
    padding: 1.25rem 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--gray-500);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-legal-links a {
    color: var(--gray-400);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MOBILE FLOATING CONTACT BAR
   ========================================================================== */
.mobile-floating-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-floating-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background-color: var(--dark);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 999;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.25);
    }

    .floating-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 0.7rem;
        font-weight: 600;
        text-decoration: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        transition: background 0.2s ease;
    }

    .floating-btn:last-child {
        border-right: none;
    }

    .floating-btn:active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .floating-quote {
        background-color: var(--primary);
    }

    .floating-quote:active {
        background-color: var(--primary-hover);
    }

    .floating-icon {
        font-size: 1.15rem;
        line-height: 1;
        margin-bottom: 2px;
    }
}

/* ==========================================================================
   INNER PAGE LAYOUT & SIDEBAR
   ========================================================================== */
.page-header-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-bottom: 0.75rem;
}

.breadcrumbs a {
    color: var(--white);
}

.breadcrumbs .sep {
    margin: 0 0.4rem;
}

.page-title {
    color: var(--white);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin: 0;
}

.page-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
}

.page-entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
}

.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.75rem;
}

.widget-title {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.widget-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.widget-phone-item {
    margin-bottom: 0.85rem;
}

.wpi-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
}

.wpi-phone, .wpi-email {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
}

.sidebar-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-services-list a {
    display: block;
    padding: 0.6rem 0.85rem;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-services-list a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
}

.inner-page-cta-box {
    background: var(--primary-light);
    border: 1.5px solid rgba(205, 48, 0, 0.25);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cta-box-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1.3rem;
}

.cta-box-text p {
    margin: 0;
    color: var(--gray-600);
}

.cta-box-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .page-layout-container {
        grid-template-columns: 1fr;
    }
}
