/* CSS Custom Properties (Variables) */
:root {
    /* Colors - Emergency Service Theme */
    --primary-color: #dc2626; /* Emergency Red */
    --primary-light: #fee2e2;
    --primary-dark: #991b1b;
    --secondary-color: #1e40af; /* Professional Blue */
    --secondary-light: #dbeafe;
    --secondary-dark: #1e3a8a;
    --accent-color: #f59e0b; /* Warning Orange */
    --success-color: #059669;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Font Sizes - Mobile First */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Border Radius */
    --rounded-sm: 0.125rem;
    --rounded: 0.25rem;
    --rounded-md: 0.375rem;
    --rounded-lg: 0.5rem;
    --rounded-xl: 0.75rem;
    --rounded-2xl: 1rem;
    --rounded-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
    
    /* Breakpoints */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    text-decoration: none;
    border-radius: var(--rounded);
    z-index: 100;
}

.skip-to-content:focus {
    top: 6px;
}

/* Focus Styles */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-3xl);
}

h2 {
    font-size: var(--text-2xl);
}

h3 {
    font-size: var(--text-xl);
}

p {
    margin-bottom: var(--space-4);
}

a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color var(--transition-fast) ease;
}

a:hover {
    color: var(--secondary-dark);
}

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

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--rounded-lg);
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base) ease;
    white-space: nowrap;
    min-height: 44px; /* Touch target size */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--white);
    color: #000000;
    border: 2px solid var(--gray-200);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    font-weight: var(--font-weight-bold);
    text-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--white);
    border-color: var(--gray-300);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    font-weight: var(--font-weight-bold);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    flex-direction: column;
    gap: var(--space-1);
    min-height: 56px;
}

.btn-icon {
    font-size: 1.2em;
}

.btn-primary .btn-icon,
.btn-primary i {
    color: var(--white);
}

.btn-subtext {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 50;
    transition: all var(--transition-base) ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header.scrolled .logo-text,
.header.scrolled .nav-link,
.header.scrolled .hamburger {
    color: var(--gray-900) !important;
    opacity: 1;
}

.header.scrolled .logo-subtitle {
    color: var(--gray-600) !important;
}

.header.scrolled .hamburger {
    background-color: var(--gray-700) !important;
}

.nav {
    padding: var(--space-4) 0;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--gray-900);
    transition: transform var(--transition-fast) ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo-img {
        height: 60px;
    }
}

.logo-text {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.logo-subtitle {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--rounded);
}

.hamburger {
    width: 24px;
    height: 3px;
    background-color: var(--gray-700);
    transition: all var(--transition-base) ease;
    border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: var(--space-4);
    transform: translateY(-100vh);
    opacity: 0;
    transition: all var(--transition-base) ease;
}

.nav-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.nav-menu li {
    margin-bottom: var(--space-2);
}

.nav-link {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--gray-800);
    text-decoration: none;
    border-radius: var(--rounded-lg);
    transition: all var(--transition-fast) ease;
    font-weight: var(--font-weight-medium);
}

.nav-link:hover {
    background-color: var(--gray-50);
    color: var(--gray-900);
}

.nav-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--rounded-lg);
    transition: all var(--transition-fast) ease;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.4);
}

.cta-text {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-number {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        align-items: center;
        gap: var(--space-6);
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        transform: none;
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-link {
        padding: var(--space-2) var(--space-3);
    }
    
    .nav-cta {
        flex-direction: row;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
    }
    
    .cta-text,
    .cta-number {
        font-size: var(--text-sm);
    }
}

/* Main Content - offset for fixed header */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(30, 64, 175, 0.85) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: -1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    z-index: 1;
}

.hero-text {
    margin-bottom: var(--space-12);
}

.hero-subtitle {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: rgba(220, 38, 38, 0.9);
    color: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--rounded-full);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.text-accent {
    color: #fbbf24;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 0, 0, 0.6);
    font-weight: var(--font-weight-bold);
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--white);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: var(--font-weight-medium);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    margin-bottom: var(--space-12);
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-4);
    max-width: 600px;
    margin: 0 auto;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin-top: var(--space-8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .trust-badges {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--rounded-lg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast) ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.trust-badge i {
    font-size: var(--text-2xl);
    color: var(--primary-color);
}

.trust-badge span {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    text-align: center;
    line-height: 1.2;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: var(--rounded-xl);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.info-icon {
    font-size: var(--text-2xl);
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.info-text {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Responsive Hero */
@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-title {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
    
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-actions {
        justify-content: flex-start;
    }
    
    .hero-info {
        justify-content: flex-start;
        margin: 0;
    }
}

/* Section Styles */
section {
    padding: var(--space-16) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-bold);
    color: #111827;
    margin-bottom: var(--space-4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: #374151;
    max-width: 600px;
    margin: 0 auto;
    font-weight: var(--font-weight-semibold);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Services Section */
.services {
    background-color: var(--gray-50);
}

.services .section-title {
    color: #000000;
    font-weight: var(--font-weight-bold);
}

.services .section-subtitle {
    color: #374151;
    font-weight: var(--font-weight-semibold);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--white);
    padding: var(--space-8);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base) ease;
    border: 1px solid var(--gray-100);
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.15), 0 8px 10px -6px rgba(220, 38, 38, 0.1);
    border-color: var(--primary-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: var(--rounded-xl);
    margin-bottom: var(--space-4);
    transition: all var(--transition-base) ease;
}

.service-icon i {
    font-size: var(--text-2xl);
    color: var(--primary-color);
    transition: color var(--transition-base) ease;
}

.service-icon span {
    font-size: var(--text-2xl);
}

.service-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.service-description {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-2);
}

.service-features li::before {
    content: "✓";
    color: var(--success-color);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-sm);
}

/* About Section */
.about {
    background-color: var(--white);
}

.about .section-title {
    color: #000000;
    font-weight: var(--font-weight-bold);
}

.about .section-subtitle {
    color: #1f2937;
    font-weight: var(--font-weight-semibold);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
}

.about-description p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: var(--space-4);
    font-weight: var(--font-weight-medium);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

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

.stat-number {
    display: block;
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-700);
}

.feature-icon {
    color: var(--success-color);
    font-weight: var(--font-weight-bold);
}

.about-image {
    order: -1;
}

@media (min-width: 768px) {
    .about-image {
        order: 0;
    }
}

.about-image img {
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-xl);
}

/* Service Area Section */
.service-area {
    background-color: #eff6ff;
}

.service-area .section-title {
    color: #000000;
    font-weight: var(--font-weight-bold);
}

.service-area .section-subtitle {
    color: #1f2937;
    font-weight: var(--font-weight-semibold);
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .area-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.area-primary,
.area-secondary {
    background-color: var(--white);
    padding: var(--space-8);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-sm);
}

.area-primary h3,
.area-secondary h3 {
    color: var(--gray-900);
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.area-location {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.area-location i {
    color: var(--primary-color);
    margin-right: var(--space-1);
}

.area-description {
    color: var(--gray-600);
    line-height: 1.7;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-3);
    margin: var(--space-4) 0;
}

.city-tag {
    display: inline-block;
    padding: var(--space-2) var(--space-3);
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--rounded-full);
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    text-align: center;
    transition: all var(--transition-fast) ease;
}

.city-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.area-note {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-style: italic;
    margin-top: var(--space-2);
}

/* Gallery Section */
.gallery {
    background-color: var(--gray-900);
    color: var(--white);
}

.gallery .section-title {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery .section-subtitle {
    color: var(--gray-100);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: var(--font-weight-medium);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--rounded-xl);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base) ease;
}

.gallery-item:hover,
.gallery-item:focus {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-base) ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: var(--space-6);
    transform: translateY(100%);
    transition: all var(--transition-base) ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2);
}

.gallery-overlay p {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

.testimonials .section-title {
    color: #000000;
    font-weight: var(--font-weight-bold);
}

.testimonials .section-subtitle {
    color: #1f2937;
    font-weight: var(--font-weight-semibold);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: var(--space-8);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base) ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.1), 0 8px 10px -6px rgba(220, 38, 38, 0.05);
    border-color: var(--primary-color);
}

.testimonial-rating {
    margin-bottom: var(--space-4);
    color: #fbbf24;
    font-size: var(--text-lg);
}

.testimonial-rating i {
    margin-right: var(--space-1);
}

.testimonial-text {
    color: #000000;
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    font-style: italic;
    font-weight: var(--font-weight-semibold);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-avatar {
    font-size: var(--text-4xl);
    color: var(--gray-400);
}

.testimonial-author strong {
    display: block;
    color: #000000;
    font-size: var(--text-base);
    font-weight: var(--font-weight-bold);
}

.testimonial-location {
    display: block;
    color: #1f2937;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
}

.testimonials-cta {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background-color: var(--gray-50);
    border-radius: var(--rounded-2xl);
}

.testimonials-cta p {
    font-size: var(--text-lg);
    color: #000000;
    margin-bottom: var(--space-4);
    font-weight: var(--font-weight-semibold);
}

.testimonials-cta .btn i {
    color: var(--white);
}

/* FAQ Section */
.faq {
    background-color: var(--gray-50);
}

.faq .section-title {
    color: #000000;
    font-weight: var(--font-weight-bold);
}

.faq .section-subtitle {
    color: #1f2937;
    font-weight: var(--font-weight-semibold);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base) ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-base) ease;
}

.faq-question:hover {
    background-color: var(--gray-50);
}

.faq-question h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: #000000;
    margin: 0;
    padding-right: var(--space-4);
}

.faq-icon {
    font-size: var(--text-xl);
    color: var(--primary-color);
    transition: transform var(--transition-base) ease;
    flex-shrink: 0;
    font-weight: var(--font-weight-bold);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base) ease, padding var(--transition-base) ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-6) var(--space-5) var(--space-6);
}

.faq-answer p {
    color: #1f2937;
    line-height: 1.7;
    margin: 0;
    font-weight: var(--font-weight-medium);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact .section-title {
    color: #000000;
    font-weight: var(--font-weight-bold);
}

.contact .section-subtitle {
    color: #1f2937;
    font-weight: var(--font-weight-semibold);
}

/* Contact section simplified - no form */

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    background-color: var(--white);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base) ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
}

.contact-card:hover .contact-icon i {
    color: var(--white);
}

.contact-card.emergency {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border: none;
}

.contact-card.emergency .contact-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-card.emergency .contact-icon i {
    color: var(--white);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: var(--rounded-lg);
    font-size: var(--text-xl);
    flex-shrink: 0;
    transition: all var(--transition-base) ease;
}

.contact-icon i {
    color: var(--primary-color);
    transition: color var(--transition-base) ease;
}

.contact-details h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-1);
    color: #000000;
}

.contact-link {
    display: block;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    margin-bottom: var(--space-1);
    color: #000000;
}

.contact-card.emergency .contact-link {
    color: var(--white);
}

.contact-text {
    display: block;
    font-size: var(--text-base);
    margin-bottom: var(--space-1);
    color: #1f2937;
    font-weight: var(--font-weight-medium);
}

.contact-card.emergency .contact-text {
    color: var(--white);
}

.contact-note {
    font-size: var(--text-sm);
    opacity: 0.7;
    color: #4b5563;
    font-weight: var(--font-weight-medium);
}

.contact-card.emergency .contact-note {
    color: var(--white);
}

/* Contact Form */
.contact-form-section h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-6);
    color: var(--gray-900);
}

.contact-form {
    background-color: var(--white);
    padding: var(--space-8);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    font-family: inherit;
    font-size: var(--text-base);
    transition: all var(--transition-fast) ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-message {
    display: block;
    font-size: var(--text-sm);
    color: var(--primary-color);
    margin-top: var(--space-1);
    opacity: 0;
    transition: opacity var(--transition-fast) ease;
}

.error-message.show {
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #111827 !important;
    color: #ffffff !important;
    padding: var(--space-16) 0 var(--space-8) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h3,
.footer-section h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    color: #FFFFFF !important;
}

.footer-brand p {
    color: #FFFFFF !important;
    margin-bottom: var(--space-4);
    font-weight: var(--font-weight-medium);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
    color: #FFFFFF !important;
    font-weight: var(--font-weight-medium);
}

.footer-contact i {
    color: #dc2626 !important;
    font-size: var(--text-lg);
}

.footer-contact a {
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.footer-contact a:hover {
    color: #fbbf24 !important;
}

.footer-links {
    list-style: none;
    color: #FFFFFF !important;
    font-weight: var(--font-weight-medium);
}

.footer-links li {
    margin-bottom: var(--space-2);
    color: #FFFFFF !important;
    font-weight: var(--font-weight-medium);
}

.footer-links a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: all var(--transition-fast) ease;
    font-weight: var(--font-weight-medium);
}

.footer-links a:hover {
    color: #fbbf24 !important;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-700);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copyright {
    color: #d1d5db !important;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
}

.emergency-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--rounded-full);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base) ease;
    animation: pulse 2s infinite;
}

.emergency-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: scale(1.05);
}

.emergency-icon {
    font-size: var(--text-lg);
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--rounded-full);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all var(--transition-base) ease;
    z-index: 40;
}

.back-to-top i {
    color: var(--white);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.5);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 90px;
    right: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    z-index: 50;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--rounded-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base) ease;
    text-decoration: none;
    color: var(--white);
}

.floating-call {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    animation: pulse-call 2s infinite;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.floating-btn i {
    font-size: var(--text-xl);
    color: var(--white);
}

@keyframes pulse-call {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.6), 0 0 0 10px rgba(220, 38, 38, 0.1);
    }
}

@media (max-width: 767px) {
    .floating-buttons {
        bottom: 80px;
        right: var(--space-4);
    }

    .floating-btn {
        width: 52px;
        height: 52px;
    }
}

/* Loading and Animation Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow) ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--transition-slow) ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--transition-slow) ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Print Styles */
@media print {
    .header,
    .back-to-top,
    .hero-actions,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-background,
    .hero-overlay {
        display: none;
    }
    
    .hero-content {
        color: var(--gray-900);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --gray-600: #000000;
        --gray-700: #000000;
        --gray-800: #000000;
        --gray-900: #000000;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.9) !important;
    }
    
    .hero-title,
    .hero-description,
    .hero-subtitle,
    .info-text {
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
    }
    
    .text-accent {
        color: #ffff00 !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 1) !important;
    }
    
    .btn-primary {
        background-color: #000000 !important;
        color: #ffffff !important;
        border: 3px solid #ffffff !important;
    }
    
    .btn-secondary {
        background-color: #ffffff !important;
        color: #000000 !important;
        border: 3px solid #000000 !important;
    }
    
    .info-card {
        background-color: rgba(0, 0, 0, 0.8) !important;
        border: 3px solid #ffffff !important;
    }
}

/* 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;
    }
    
    .emergency-btn {
        animation: none;
    }
}

/* High Performance Mobile Styles */
@media (max-width: 767px) {
    /* Reduce shadows and effects for better performance */
    .service-card:hover,
    .contact-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    /* Optimize spacing for mobile */
    section {
        padding: var(--space-12) 0;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    /* Enhanced hero text contrast for mobile */
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(30, 64, 175, 0.9) 50%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
    
    .hero-title,
    .hero-description {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.7);
    }
    
    .text-accent {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.8);
    }
}

/* Dark Mode Removed - Single Light Mode Only */