/* ========================================
   Mississauga SEO Company — Professional Theme
   Brand: Search Gurus Inc. Since 2011
   Colors: Navy #193e63 / #0d345a, Red #ee3437, Text #335474
   Font: Fira Sans
   ======================================== */

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

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

body {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #335474;
    background: #e5e9ed;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #ee3437; text-decoration: none; transition: color 0.2s; }
a:hover { color: #c42a2c; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #0d345a;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section {
    padding: 80px 0;
}

.section-light {
    background: #ffffff;
}

.section-gray {
    background: #e5e9ed;
}

.section-dark {
    background: #193e63;
    color: #ffffff;
}

.section-dark h1, .section-dark h2, .section-dark h3 {
    color: #ffffff;
}

.section-dark a:not(.btn) {
    color: #bbe0ff;
}

.section-dark a:not(.btn):hover {
    color: #ffffff;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background: #ee3437;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #c42a2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 52, 55, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #193e63 !important;
}

.btn-light {
    background: #ffffff;
    color: #193e63 !important;
}

.btn-light:hover {
    background: #e5e9ed;
    transform: translateY(-2px);
}

/* --- Top Bar --- */
.top-bar {
    background: #0d345a;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 3px solid #ee3437;
}

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

.top-bar-phone {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.top-bar-phone:hover {
    color: #ee3437 !important;
}

/* --- Header / Navigation --- */
.header {
    background: #ffffff;
    border-bottom: 1px solid #d0d5db;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.logo-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0d345a;
    line-height: 1.1;
}

.logo-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #335474;
    letter-spacing: 0.5px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav a {
    padding: 8px 16px;
    color: #335474;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav a:hover, .nav a.active {
    background: #eef1f5;
    color: #0d345a;
}

.nav-cta {
    background: #ee3437 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background: #c42a2c !important;
    color: #ffffff !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #0d345a;
    border-radius: 2px;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, rgba(13,52,90,0.7) 0%, rgba(25,62,99,0.7) 50%, rgba(31,77,117,0.7) 100%), url('../images/hero-bg.jpg') center center / cover no-repeat;
    color: #ffffff;
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(238, 52, 55, 0.2);
    color: #ff6b6b;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(238, 52, 55, 0.3);
}

.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hero-stat {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ee3437;
    display: block;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
    display: block;
}

/* --- Trust Bar --- */
.trust-bar {
    background: #ffffff;
    border-bottom: 1px solid #d0d5db;
    padding: 18px 0;
    text-align: center;
}

.trust-bar p {
    font-size: 0.85rem;
    color: #335474;
    font-weight: 500;
}

.trust-bar-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #5a7a9a;
    font-weight: 500;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #d0d5db;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 52, 90, 0.1);
    border-color: #ee3437;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-card p {
    color: #5a7a9a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-link::after {
    content: '→';
    transition: transform 0.2s;
}

.service-link:hover::after {
    transform: translateX(4px);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 2rem;
    width: 64px;
    height: 64px;
    background: rgba(238, 52, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #5a7a9a;
    font-size: 0.9rem;
}

/* --- Content Sections --- */
.content-section {
    max-width: 800px;
    margin: 0 auto;
}

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

.content-section p {
    margin-bottom: 16px;
    color: #5a7a9a;
    font-size: 1.05rem;
}

.content-section ul {
    margin: 20px 0;
}

.content-section li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: #5a7a9a;
    font-size: 1.05rem;
}

.content-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ee3437;
    font-weight: 700;
}

/* --- Two-Column Content Grid --- */
.content-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-grid-2col h2 {
    margin-bottom: 20px;
}

.content-grid-2col p {
    color: #5a7a9a;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.content-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(13,52,90,0.15);
    display: block;
}

@media (max-width: 768px) {
    .content-grid-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .content-image {
        max-height: 300px;
        object-fit: cover;
    }
}

/* --- Page Header --- */
.page-header {
    position: relative;
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,52,90,0.88) 0%, rgba(25,62,99,0.88) 100%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-about {
    background: linear-gradient(135deg, rgba(13,52,90,0.35) 0%, rgba(25,62,99,0.35) 100%), url('../images/about-hero.jpg') center center / cover no-repeat;
}
.page-header-services {
    background: linear-gradient(135deg, rgba(13,52,90,0.35) 0%, rgba(25,62,99,0.35) 100%), url('../images/services-hero.jpg') center center / cover no-repeat;
}
.page-header-webdesign {
    background: linear-gradient(135deg, rgba(13,52,90,0.35) 0%, rgba(25,62,99,0.35) 100%), url('../images/webdesign-hero.jpg') center center / cover no-repeat;
}
.page-header-casestudies {
    background: linear-gradient(135deg, rgba(13,52,90,0.35) 0%, rgba(25,62,99,0.35) 100%), url('../images/casestudies-hero.jpg') center center / cover no-repeat;
}
.page-header-blog {
    background: linear-gradient(135deg, rgba(13,52,90,0.35) 0%, rgba(25,62,99,0.35) 100%), url('../images/blog-header.jpg') center center / cover no-repeat;
}
.page-header-contact {
    background: linear-gradient(135deg, rgba(13,52,90,0.35) 0%, rgba(25,62,99,0.35) 100%), url('../images/contact-hero.jpg') center center / cover no-repeat;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 12px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Blog Card Layout (listing page) --- */
.blog-card-listing {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.blog-card-thumb {
    background: linear-gradient(135deg, #193e63, #1f4d75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-height: 200px;
    overflow: hidden;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-thumb span {
    font-size: 3rem;
}

.blog-layout {
    display: flex;
    gap: 40px;
}

.blog-main {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.blog-sidebar-box {
    background: #ffffff;
    border: 1px solid #d0d5db;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.blog-sidebar-box h4 {
    margin-bottom: 12px;
}

.blog-sidebar-box li {
    margin-bottom: 8px;
}

.blog-sidebar-box li a {
    color: #335474;
}

.blog-sidebar-cta {
    background: linear-gradient(135deg, #0d345a, #193e63);
    border-radius: 12px;
    padding: 24px;
    color: #ffffff;
}

.blog-sidebar-cta h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.blog-sidebar-cta p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}

.blog-sidebar-cta .btn {
    width: 100%;
    text-align: center;
}

/* --- Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d0d5db;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 52, 90, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e5e9ed;
}

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

.blog-card-meta {
    font-size: 0.8rem;
    color: #7a9aba;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: #0d345a;
}

.blog-card h3 a:hover {
    color: #ee3437;
}

.blog-card p {
    color: #5a7a9a;
    font-size: 0.9rem;
    line-height: 1.6;
}

.blog-card .btn {
    margin-top: 16px;
}

/* Blog Post Page */
.blog-post-header {
    background: linear-gradient(135deg, #0d345a, #193e63);
    color: #ffffff;
    padding: 60px 0 50px;
}

.blog-post-header h1 {
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-meta {
    text-align: center;
    margin-top: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.blog-post-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

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

.blog-post-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.blog-post-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

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

.blog-post-content li {
    margin-bottom: 10px;
}

/* --- Contact Form --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info p {
    color: #5a7a9a;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-detail h4 {
    font-size: 1rem;
    color: #0d345a;
    margin-bottom: 4px;
}

.contact-detail p {
    color: #5a7a9a;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form {
    background: #ffffff;
    padding: 36px;
    border-radius: 12px;
    border: 1px solid #d0d5db;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0d345a;
    margin-bottom: 6px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 0.95rem;
    border: 1px solid #d0d5db;
    border-radius: 6px;
    background: #f5f7f9;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: #335474;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #ee3437;
    box-shadow: 0 0 0 3px rgba(238, 52, 55, 0.15);
    background: #ffffff;
}

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

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- Case Studies / Results --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.result-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #d0d5db;
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ee3437;
    display: block;
}

.result-label {
    font-size: 1rem;
    color: #0d345a;
    font-weight: 600;
    margin: 8px 0;
    display: block;
}

.result-desc {
    color: #5a7a9a;
    font-size: 0.9rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #0d345a, #193e63);
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* --- About Page --- */
.about-mission {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    color: #5a7a9a;
    line-height: 1.8;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 40px auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #d0d5db;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: #ee3437;
    border-radius: 50%;
    border: 3px solid #e5e9ed;
}

.timeline-year {
    font-weight: 700;
    color: #ee3437;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.timeline-text {
    color: #5a7a9a;
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: #0d345a;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

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

.footer h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.footer h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    margin-bottom: 16px;
}

.footer a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer a:hover {
    color: #ffffff;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-contact a {
    display: block;
    margin-bottom: 8px;
}

.footer-phone {
    font-size: 1.1rem !important;
    font-weight: 600;
    color: #ffffff !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* --- 404 Page --- */
.error-page {
    text-align: center;
    padding: 120px 0;
}

.error-page h1 {
    font-size: 6rem;
    color: #ee3437;
    line-height: 1;
}

.error-page p {
    font-size: 1.2rem;
    color: #5a7a9a;
    margin: 20px 0 30px;
}

/* --- Section Title Helper --- */
.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: #5a7a9a;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 10px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #ee3437;
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* --- Mobile Responsive --- */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid #d0d5db;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-cta {
        margin-left: 0;
        text-align: center;
    }

    .header-inner {
        position: relative;
    }

    .hero {
        padding: 60px 0 50px;
    }

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

    .hero-stat {
        padding: 16px;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

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

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

    /* Blog listing: stack card thumb + body vertically */
    .blog-card-listing {
        grid-template-columns: 1fr;
    }

    .blog-card-thumb {
        min-height: 200px;
        padding: 0;
    }

    .blog-card-thumb span {
        font-size: 1.5rem;
    }

    /* Blog layout: stack sidebar below */
    .blog-layout {
        flex-direction: column;
    }

    .blog-sidebar {
        width: 100%;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-header {
        padding: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .top-bar-text {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

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

/* --- Mobile Sticky Action Bar --- */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.mobile-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.mobile-bar-btn:active {
    opacity: 0.85;
}

.mobile-bar-btn span {
    font-size: 1.2rem;
}

.mobile-bar-call {
    background: #28a745;
    color: #ffffff !important;
}

.mobile-bar-msg {
    background: #ee3437;
    color: #ffffff !important;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-bar {
        display: grid;
    }

    /* Add padding to body so content isn't hidden behind the bar */
    body {
        padding-bottom: 58px;
    }
}

@media (min-width: 769px) {
    .mobile-bar {
        display: none !important;
    }
}
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
