/* ==========================================================================
   SoFlo Cooling - Main Stylesheet
   Color Palette: Light blue, white, grays
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1565C0;
    --primary-dark: #0D47A1;
    --primary-light: #42A5F5;
    --primary-lighter: #BBDEFB;
    --primary-bg: #E3F2FD;
    --accent: #0288D1;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --success: #2E7D32;
    --error: #C62828;
    --warning: #F57F17;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;
    --container: 1200px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }

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

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

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
}

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

.btn-link {
    background: none;
    border: none;
    color: var(--primary);
    padding: 0;
    font-weight: 600;
}
.btn-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--gray-900);
    color: var(--gray-400);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar a {
    color: var(--gray-300);
    transition: color var(--transition);
}
.top-bar a:hover { color: var(--white); }

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-left i, .top-bar-right i {
    margin-right: 6px;
    color: var(--primary-light);
}

.top-bar-divider {
    color: var(--gray-700);
}

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    animation: spin-slow 8s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
}

.logo-accent {
    color: var(--primary);
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-list a {
    padding: 8px 16px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary);
    background: var(--primary-bg);
}

.nav-cta a {
    background: var(--primary) !important;
    color: var(--white) !important;
}
.nav-cta a:hover {
    background: var(--primary-dark) !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-toggle.active .hamburger {
    background: transparent;
}
.mobile-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.mobile-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.85) 0%, rgba(21,101,192,0.7) 50%, rgba(2,136,209,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-sub {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-badges .badge i {
    color: var(--primary-lighter);
}

/* ---------- Trust Bar ---------- */
.trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
}

.trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.trust-item span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-header-light h2 { color: var(--white); }
.section-header-light h2::after { background: var(--primary-lighter); }
.section-header-light p { color: rgba(255,255,255,0.85); }

/* ---------- Services Grid (Home) ---------- */
.services-section {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.service-card-body {
    padding: 24px;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.service-card-body h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.service-card-body p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* ---------- Why Choose Us ---------- */
.why-us {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-us-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,71,161,0.92) 0%, rgba(21,101,192,0.88) 100%);
}

.why-us-content {
    position: relative;
    z-index: 1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-us-item {
    text-align: center;
    padding: 24px;
}

.why-us-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.why-us-icon i {
    font-size: 1.5rem;
    color: var(--primary-lighter);
}

.why-us-item h3 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.why-us-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary-lighter);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    margin-bottom: 16px;
}

.testimonial-stars i {
    color: #FFC107;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author strong {
    display: block;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ---------- Service Areas ---------- */
.areas-section {
    background: var(--gray-50);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
}

.area-card h3 {
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: var(--primary);
}

.area-card h3 i {
    margin-right: 8px;
}

.area-cities {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.area-cities li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 4px 0;
}

.area-cities li::before {
    content: '\2022';
    color: var(--primary-light);
    margin-right: 8px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 60px 0;
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- Page Hero ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 48px 0;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 2.5rem;
}

.page-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}
.breadcrumb a:hover { color: var(--white); }

.breadcrumb i {
    margin: 0 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

.breadcrumb span {
    color: rgba(255,255,255,0.9);
}

/* ---------- Services Detail (Services Page) ---------- */
.service-detail {
    border-bottom: 1px solid var(--gray-200);
}

.service-detail-alt {
    background: var(--gray-50);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-detail-reverse {
    direction: rtl;
}
.service-detail-reverse > * {
    direction: ltr;
}

.service-detail-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-detail-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.service-detail-content h2 {
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-bottom: 28px;
}

.service-features li {
    padding: 6px 0;
    color: var(--text);
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--success);
    margin-right: 10px;
}

/* Brands */
.brands-section {
    background: var(--gray-50);
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.brand-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 32px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 1rem;
    transition: all var(--transition);
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* ---------- About Page ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image-wide {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-image-wide img {
    width: 100%;
    object-fit: cover;
    max-height: 500px;
}

.about-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 60px 40px 40px;
    color: var(--white);
}

.about-image-caption h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.about-image-caption p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-lighter);
    display: inline;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    transition: all var(--transition);
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.value-card h3 {
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Certifications */
.certifications-section {
    background: var(--gray-50);
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.cert-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 24px;
    font-weight: 600;
    color: var(--gray-700);
}

.cert-item i {
    color: var(--primary);
    margin-right: 8px;
}

/* ---------- Contact Page ---------- */
.contact-section {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrap h2 {
    margin-bottom: 8px;
}

.contact-form-wrap > p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.form-group .required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    transition: all var(--transition);
    background: var(--white);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error);
}

.form-error {
    display: block;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 4px;
    min-height: 1.2em;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

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

/* Form Messages */
#form-messages {
    margin-bottom: 16px;
}

.form-success {
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    color: var(--success);
    padding: 16px;
    border-radius: var(--radius);
    font-weight: 500;
}

.form-error-msg {
    background: #FFEBEE;
    border: 1px solid #EF9A9A;
    color: var(--error);
    padding: 16px;
    border-radius: var(--radius);
    font-weight: 500;
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--gray-800);
}

.contact-info-card h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-info-card a {
    color: var(--primary);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--text);
}

.contact-emergency {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

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

.contact-emergency h3 i {
    color: #FFC107;
}

.contact-emergency p {
    color: rgba(255,255,255,0.9);
}

/* Map */
.map-section {
    line-height: 0;
}

.map-section iframe {
    width: 100%;
}

/* ---------- Thank You ---------- */
.thank-you-section {
    text-align: center;
    padding: 80px 0;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 24px;
}

.thank-you-content h2 {
    margin-bottom: 16px;
}

.thank-you-content p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.thank-you-phone {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 12px 0 28px;
}

.thank-you-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.footer-logo i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.footer-logo .logo-accent {
    color: var(--primary-light);
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact-info i {
    color: var(--primary-light);
    margin-right: 8px;
    width: 16px;
}

.footer-contact-info a {
    color: var(--gray-400);
}
.footer-contact-info a:hover {
    color: var(--white);
}

.site-footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
    position: relative;
}

.mt-2 {
    margin-top: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

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

.footer-links a:hover {
    color: var(--white);
}

.footer-cities {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 900;
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail-reverse {
        direction: ltr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .top-bar-right { display: none; }

    .mobile-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
        padding: 80px 24px 24px;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 4px;
    }

    .nav-list a {
        display: block;
        padding: 12px 16px;
    }

    .nav-cta {
        margin-top: 16px;
    }

    .nav-cta a {
        display: flex;
        justify-content: center;
    }

    .hero {
        min-height: 480px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 48px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid,
    .areas-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .trust-items {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* ---------- Mobile Nav Overlay ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* ---------- Blog Listing ---------- */
.blog-listing-section {
    background: var(--gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.blog-card-meta i {
    margin-right: 4px;
    color: var(--primary-light);
}

.blog-card-body h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--gray-900);
}

.blog-card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.blog-card:hover .blog-card-link {
    gap: 10px;
}

/* ---------- Blog Single Post ---------- */
.blog-post-section {
    background: var(--gray-50);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.blog-article {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-featured-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-meta {
    display: flex;
    gap: 20px;
    padding: 24px 32px 0;
    font-size: 0.9rem;
    color: var(--gray-500);
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 6px;
    color: var(--primary-light);
}

.blog-content {
    padding: 24px 32px 32px;
    line-height: 1.8;
    color: var(--text);
}

.blog-content .lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin: 36px 0 16px;
    color: var(--gray-900);
}

.blog-content h3 {
    font-size: 1.2rem;
    margin: 28px 0 12px;
    color: var(--gray-800);
}

.blog-content p {
    margin-bottom: 16px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.blog-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.blog-content a {
    color: var(--primary);
    font-weight: 500;
}

.blog-content a:hover {
    text-decoration: underline;
}

.blog-content strong {
    color: var(--gray-900);
}

/* Blog Tags */
.blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 0 32px 24px;
    border-top: 1px solid var(--gray-200);
    padding-top: 24px;
    margin: 0 32px;
    padding-left: 0;
    padding-right: 0;
}

.blog-tags-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.blog-tag {
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Blog CTA Box */
.blog-cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 32px;
    margin: 0 32px 32px;
    border-radius: var(--radius-lg);
    color: var(--white);
    text-align: center;
}

.blog-cta-box h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.blog-cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.blog-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-bg);
    color: var(--gray-900);
}

.sidebar-posts {
    list-style: none;
}

.sidebar-posts li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-posts a {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.sidebar-posts img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-post-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.3;
    margin-bottom: 4px;
}

.sidebar-posts a:hover .sidebar-post-title {
    color: var(--primary);
}

.sidebar-post-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.sidebar-categories {
    list-style: none;
}

.sidebar-categories li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
    color: var(--gray-700);
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.cat-count {
    background: var(--primary-bg);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sidebar-cta {
    background: var(--primary-bg);
    border: 1px solid var(--primary-lighter);
}

.sidebar-cta h4 {
    border-bottom-color: var(--primary-lighter);
}

.sidebar-cta h4 i {
    color: var(--warning);
    margin-right: 6px;
}

.sidebar-cta p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.sidebar-areas {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    margin-top: 48px;
}

.related-posts h2 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    display: block;
}

.related-post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.related-post-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.related-post-body {
    padding: 16px;
}

.related-post-category {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-post-body h3 {
    font-size: 1rem;
    margin: 6px 0;
    line-height: 1.3;
    color: var(--gray-900);
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ---------- Blog Responsive ---------- */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .blog-content {
        padding: 20px;
    }

    .blog-meta {
        padding: 20px 20px 0;
    }

    .blog-tags {
        margin: 0 20px;
    }

    .blog-cta-box {
        margin: 0 20px 20px;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
