:root {
    --primary: #253d5d;
    /* Navy Blue from live site */
    --primary-dark: #1a2a44;
    --accent: #ffc107;
    /* Gold from live site */
    --accent-hover: #e0ac06;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --max-width: 1280px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--primary);
    line-height: 1.2;
    font-family: var(--font-body); /* Default to Outfit */
}

.serif {
    font-family: var(--font-heading);
    font-weight: 800;
}


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

ul {
    list-style: none;
}

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

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

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
}

.nav-links a i {
    font-size: 0.75rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    border-top: 3px solid var(--primary);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.dropdown-menu-wide {
    width: 560px;
    columns: 2;
    column-gap: 0;
}

.dropdown-menu-wide li {
    break-inside: avoid;
}

@media (min-width: 1025px) {
    .nav-links > li:first-child > .dropdown-menu {
        width: 640px;
        columns: 2;
        column-gap: 0;
        max-height: none;
        overflow-y: visible;
    }

    .nav-links > li:first-child > .dropdown-menu li {
        break-inside: avoid;
    }
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-weight: 400;
    font-size: 0.9rem;
    display: block;
    color: var(--text-main);
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    font-family: var(--font-body);
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(37, 61, 93, 0.2), rgba(37, 61, 93, 0.2)), url('assets/images/dima-plumbing-hero-image-slider.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    overflow: hidden;
}



.hero .container {
    display: flex;
    justify-content: flex-end;
    /* Card on the right */
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 480px;
    /* Slightly wider for better text flow */
    width: 100%;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.75);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: center;
    /* Internal centering */
    animation: fadeInUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-header-centered {
    margin-bottom: 80px;
}

.section-desc-large {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 700;
}


.hero-homestars-link {
    display: block;
    margin-bottom: 30px;
}

.hero-homestars-link img {
    margin: 0 auto;
    max-height: 55px;
    width: auto;
}


.hero-badges {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    /* Ensure badges are centered */
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.hero-badges img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hero-action-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badges img {
    transition: transform 0.3s ease;
}

.hero-badges img:hover {
    transform: scale(1.05);
}

/* Intro / About Section */
.intro-section {
    padding: 60px 0;
    background: var(--white);
}

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


.intro-eyebrow {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}


.intro-text h2 {
    font-size: 2.4rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.intro-text p {
    color: var(--text-muted, #555);
    line-height: 1.8;
    margin-bottom: 16px;
}

.intro-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0 24px;
    padding: 24px;
    background: var(--bg-light, #f8f9fa);
    border-radius: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted, #777);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* Services Section */
.services {
    padding: 60px 0;
    background: var(--bg-light, #f8f9fa);
}

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

.section-header h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted, #555);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.service-card .service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 18px;
    width: 56px;
    height: 56px;
    background: rgba(0, 51, 102, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted, #666);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.service-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}




.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

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

/* Why Choose Us */
.why-us {
    padding: 60px 0;
    background: var(--white);
}

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

.why-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.why-text h2 {
    font-size: 2.4rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.why-text>p {
    color: var(--text-muted, #555);
    line-height: 1.8;
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 51, 102, 0.08);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: background 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.92rem;
    color: var(--text-muted, #666);
    line-height: 1.6;
    margin: 0;
}


}

/* Video Section Redesign - Match Live Site */
.video-section {
    padding: 100px 0;
    background: #f8fafc;
    text-align: center;
}

.video-section h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.video-container-custom {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    aspect-ratio: 16 / 9;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: url('assets/images/dima-plumbing-toronto-john-dima-car.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.video-container-custom:hover .video-placeholder {
    transform: scale(1.05);
}

.video-play-overlay {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 10;
}

.play-button-icon {
    background: #ffc107;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.play-button-text {
    padding: 0 30px;
    text-align: left;
}

.play-button-text span {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.play-button-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}


/* Expert Services Section - Live Site Style */
.expert-services {
    padding: 100px 0;
    background: #fff;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 60px;
}

.expert-card {
    background: var(--primary); /* Navy Blue */
    padding: 60px 40px 0 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: visible; /* CRITICAL: Ensure icon box isn't cut off */
    transition: transform 0.3s ease;
    margin-top: 40px; /* Space for the floating icon */
}

.expert-card h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.expert-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    flex-grow: 1;
}

.expert-card-icon {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--accent);
    /* Yellow */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 2rem;
    color: var(--primary);
    z-index: 5;
}

.btn-service-cta {
    display: block;
    background: var(--accent);
    color: var(--primary);
    padding: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 -40px;
    /* Flush with edges */
    transition: background 0.3s ease;
}

.btn-service-cta:hover {
    background: #e0ac06;
}

/* Custom Plumbing CTA Section */
.custom-plumbing-cta {
    margin-top: 80px;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

.custom-cta-icon-box {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.custom-cta-text {
    flex: 1;
    padding-left: 40px;
}

.custom-cta-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.custom-cta-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-custom-cta {
    background: var(--accent);
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-custom-cta:hover {
    background: #e0ac06;
}

@media (max-width: 992px) {
    .custom-plumbing-cta {
        flex-direction: column;
        text-align: center;
        padding: 60px 30px 40px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .custom-cta-icon-box {
        left: 50%;
        top: -40px;
        transform: translateX(-50%);
    }
    .custom-cta-text {
        padding-left: 0;
    }
}
/* Service Areas Section */
.service-areas {
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}

.areas-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.areas-visual {
    position: relative;
}

.areas-image-frame {
    position: relative;
    padding-left: 40px;
    padding-top: 40px;
}

.areas-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 15px solid var(--primary);
    z-index: 1;
}

.areas-image-frame img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    box-shadow: 30px 30px 60px rgba(0,0,0,0.15);
}

.areas-content {
    position: relative;
}

.areas-header {
    margin-bottom: 50px;
}

.areas-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
}

.areas-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
}

.areas-lists-wrapper {
    display: flex;
    gap: 30px;
    margin-left: -100px; /* Overlap the image */
    position: relative;
    z-index: 10;
}

.area-list-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    flex: 1;
    border-top: 5px solid var(--accent);
    transition: transform 0.3s ease;
}

.area-list-card:nth-child(2) {
    margin-top: 40px;
    border-top-color: var(--primary);
}

.area-list-card:hover {
    transform: translateY(-10px);
}

.area-list-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.area-list-card li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.area-list-card li i {
    color: var(--accent);
    font-size: 0.9rem;
}

.area-list-card .btn-text {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.area-list-card .btn-text:hover {
    color: var(--accent-hover);
}

@media (max-width: 1200px) {
    .areas-lists-wrapper {
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .areas-grid {
        grid-template-columns: 1fr;
    }
    .areas-visual {
        order: 2;
    }
    .areas-content {
        order: 1;
        text-align: center;
    }
    .areas-header p {
        margin: 0 auto;
    }
    .areas-lists-wrapper {
        flex-direction: column;
    }
    .area-list-card:nth-child(2) {
        margin-top: 0;
    }
}


/* Footer */

footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: -1px; /* Kills sub-pixel white line */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

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

.footer-list {
    font-size: 0.85rem;
}

.footer-list li {
    margin-bottom: 8px !important;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7;
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: var(--accent);
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Elements Default (Hidden on Desktop) */
.mobile-top-bar {
    display: none;
    background: var(--white);
    padding: 10px 20px;
    justify-content: space-between;
    gap: 10px;
}

.mobile-top-bar .btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-family: inherit;
    color: var(--primary);
    cursor: pointer;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 400px;
    }

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

    /* Header Mobile Adjustments */
    .mobile-top-bar {
        display: flex;
    }

    nav {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 0;
    }

    .nav-actions {
        display: none;
        /* Hide desktop action buttons */
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        /* Hide by default on mobile */
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 15px;
        background: #f9f9f9;
        border-radius: 8px;
        overflow: hidden;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        padding: 15px 20px;
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        transform: none;
        background: #f1f1f1;
        border-radius: 0;
        width: 100%;
        max-height: none;
        overflow-y: visible;
        columns: 1;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* Footer Mobile Adjustments */
    .footer-col {
        text-align: center;
    }

    .footer-col ul {
        text-align: center;
    }

    .footer-map iframe {
        height: 200px !important;
    }
}

/* Gallery Section */
.project-gallery {
    padding: 120px 0;
    background: linear-gradient(rgba(15, 30, 55, 0.9), rgba(15, 30, 55, 0.9)), url('navy_pipes_background_1777602223681.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.gallery-header {
    margin-bottom: 60px;
}

.gallery-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 31, 63, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--accent);
}

/* Lightbox Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: auto;
    border: 3px solid var(--accent);
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 40px;
    box-sizing: border-box;
    left: 0;
}

.modal-btn {
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.modal-btn:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 2.5rem;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 120px 0;
    background: #f8fafc;
    text-align: center;
}

.reviews-header {
    margin-bottom: 70px;
}

.reviews-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.reviews-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 20px 50px;
}

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

.review-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.review-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 30px;
    height: 30px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.02);
}

.review-stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-meta h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--primary);
}

.reviewer-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.google-badge {
    margin-top: 60px;
}

.btn-google-review {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid #e2e8f0;
    padding: 14px 28px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-google-review:hover {
    border-color: var(--accent);
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.google-trust-signal {
    margin-top: 15px;
}

.google-trust-signal .stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.google-trust-signal p {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .review-card {
        margin-bottom: 40px;
    }
}

/* Blogs Section */
.blog-section {
    padding: 120px 0;
    background: #fff;
}

.blog-header {
    text-align: center;
    margin-bottom: 70px;
}

.blog-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.blog-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

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

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

.blog-content-box {
    position: relative;
    background: #fff;
    width: 85%;
    margin: -60px auto 0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    z-index: 10;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-content-box h3 {
    font-size: 1.25rem;
    color: var(--primary);
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: var(--accent);
}

.blog-cta-wrapper {
    text-align: center;
}

.btn-blog-all {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 16px 35px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-blog-all:hover {
    background: #e5ad06;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .blog-content-box {
        width: 90%;
    }
}

/* Blog Layout */
.blog-listing .container {
    max-width: 1360px;
}

.blog-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr);
    gap: 32px;
    align-items: start;
}

.blog-main-column {
    min-width: 0;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 104px;
}

.blog-sidebar-card {
    background: var(--white);
    border: 1px solid #e6edf5;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(37, 61, 93, 0.07);
}

.blog-sidebar .blog-sidebar-card:first-child {
    border: 2px solid var(--primary);
    box-shadow: 0 16px 36px rgba(37, 61, 93, 0.14);
}

.blog-sidebar .blog-sidebar-card:first-child h2 {
    margin-bottom: 8px;
}

.blog-sidebar .blog-sidebar-card:first-child h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
    margin-top: 10px;
}

.blog-sidebar-card h2,
.blog-sidebar-card h3 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.blog-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-sidebar-list a {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.4;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.blog-sidebar-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.blog-sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-sidebar-form input,
.blog-sidebar-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8e0ea;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.blog-sidebar-form textarea {
    min-height: 110px;
    resize: vertical;
}

.blog-file-upload {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px dashed #9fb1c7;
    border-radius: 6px;
    background: #f8fafc;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

.blog-file-upload small {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-file-upload input {
    border: 0;
    padding: 0;
    background: transparent;
    font-size: 0.85rem;
}

.blog-sidebar-form button {
    border: 0;
    justify-content: center;
    width: 100%;
}

.blog-post-body {
    background: var(--white);
    border: 1px solid #e6edf5;
    border-radius: 10px;
    padding: 34px;
    box-shadow: 0 10px 24px rgba(37, 61, 93, 0.07);
}

.blog-post-body h1 {
    margin-bottom: 18px;
}

.blog-post-body h2 {
    color: var(--primary);
    font-size: 1.65rem;
    margin: 34px 0 14px;
}

.blog-post-body h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin: 26px 0 12px;
}

.blog-post-body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 18px;
}

.blog-post-body a:not(.btn) {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255, 193, 7, 0.8);
    text-underline-offset: 3px;
}

.blog-post-body a:not(.btn):hover {
    color: #0f2748;
    text-decoration-color: var(--primary);
}

.blog-post-body ul,
.blog-post-body ol {
    margin: 0 0 22px 22px;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.blog-post-body img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0 28px;
}

.blog-post-eyebrow {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.blog-key-takeaways {
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 18px 22px;
    margin: 0 0 24px;
}

.blog-key-takeaways h2 {
    font-size: 1.2rem;
    margin: 0 0 10px;
}

.blog-key-takeaways ul {
    list-style: disc;
    margin-bottom: 0;
    margin-left: 20px;
}

.blog-key-takeaways li {
    margin-bottom: 6px;
    padding-left: 2px;
}

.blog-key-takeaways li:last-child {
    margin-bottom: 0;
}

.blog-post-cta {
    background: #f8fafc;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 24px;
    margin-top: 34px;
}

.blog-video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    margin: 30px 0 34px;
    background: #0f172a;
    box-shadow: 0 10px 24px rgba(37, 61, 93, 0.12);
}

.blog-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Service Detail Pages */
.service-detail-hero {
    background: linear-gradient(rgba(37, 61, 93, 0.88), rgba(37, 61, 93, 0.88)), var(--service-hero-image);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 92px 0;
}

.service-detail-hero h1 {
    color: var(--white);
    font-size: clamp(2.35rem, 5vw, 4.35rem);
    margin-bottom: 18px;
}

.service-detail-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
}

.drain-sewage-hero,
.faucet-repair-hero,
.pipe-repair-hero,
.sump-pump-hero,
.toilet-repair-hero,
.water-heater-hero,
.backflow-prevention-hero,
.appliance-installation-hero,
.bidet-installation-hero,
.emergency-plumbing-hero,
.location-plumber-hero,
.markham-plumber-hero {
    background: linear-gradient(rgba(18, 33, 55, 0.52), rgba(18, 33, 55, 0.52)), var(--service-hero-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 42%;
    padding: 40px 0;
    text-align: center;
}

.drain-sewage-hero h1,
.faucet-repair-hero h1,
.pipe-repair-hero h1,
.sump-pump-hero h1,
.toilet-repair-hero h1,
.water-heater-hero h1,
.backflow-prevention-hero h1,
.appliance-installation-hero h1,
.bidet-installation-hero h1,
.emergency-plumbing-hero h1,
.location-plumber-hero h1,
.markham-plumber-hero h1 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.9rem, 3.3vw, 2.85rem);
    line-height: 1.12;
    margin-bottom: 18px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.drain-sewage-hero .service-breadcrumbs,
.faucet-repair-hero .service-breadcrumbs,
.pipe-repair-hero .service-breadcrumbs,
.sump-pump-hero .service-breadcrumbs,
.toilet-repair-hero .service-breadcrumbs,
.water-heater-hero .service-breadcrumbs,
.backflow-prevention-hero .service-breadcrumbs,
.appliance-installation-hero .service-breadcrumbs,
.bidet-installation-hero .service-breadcrumbs,
.emergency-plumbing-hero .service-breadcrumbs,
.location-plumber-hero .service-breadcrumbs,
.markham-plumber-hero .service-breadcrumbs {
    justify-content: center;
}

.service-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.service-breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
}

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

.contact-page-hero {
    background-position: center 45%;
    padding: 24px 0;
}

.contact-page-hero h1 {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    margin-bottom: 8px;
}

.contact-page-hero .service-breadcrumbs {
    font-size: 0.85rem;
}

.contact-page-section {
    padding: 28px 0 56px;
    background: #f8fafc;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 16px;
    align-items: start;
}

.contact-page-copy,
.contact-page-form-card {
    background: var(--white);
    border: 1px solid #e6edf5;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(37, 61, 93, 0.08);
}

.contact-page-copy {
    padding: 24px;
}

.contact-page-copy h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin-bottom: 12px;
}

.contact-page-copy p {
    color: var(--text-main);
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.contact-page-phone {
    font-size: 1.2rem !important;
    font-weight: 800;
    color: var(--primary) !important;
}

.contact-page-phone a {
    color: var(--primary);
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.contact-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #eef6fc;
    color: var(--primary);
    font-weight: 700;
    border: 1px solid #dbe8f3;
}

.contact-social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.contact-page-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-page-details .btn {
    justify-content: center;
}

.contact-page-form-card {
    padding: 22px;
    position: sticky;
    top: 104px;
}

.contact-page-form-card h2 {
    margin-bottom: 14px;
}

.contact-page-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.contact-page-form input,
.contact-page-form textarea,
.contact-page-form .blog-file-upload,
.contact-page-form button {
    margin: 0;
}

.contact-page-form input,
.contact-page-form textarea {
    padding: 10px 12px;
}

.contact-page-form textarea,
.contact-page-form .blog-file-upload,
.contact-page-form button {
    grid-column: 1 / -1;
}

.contact-page-form textarea {
    min-height: 86px;
}

.contact-page-form .blog-file-upload {
    padding: 10px 12px;
}

.contact-page-form .blog-file-upload input {
    width: auto;
}

.contact-page-form button {
    padding: 12px 16px;
}

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

    .contact-page-form-card {
        position: static;
    }
}

@media (max-width: 520px) {
    .contact-page-hero {
        padding: 18px 0;
    }

    .contact-page-copy,
    .contact-page-form-card {
        padding: 22px;
    }

    .contact-page-details .btn,
    .contact-social-links a {
        width: 100%;
    }

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

@media (min-width: 769px) {
    .north-york-hero h1 {
        max-width: 980px;
        font-size: clamp(1.9rem, 3vw, 2.65rem);
        white-space: nowrap;
    }
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.85fr);
    gap: 34px;
    align-items: start;
    padding: 0 0 70px;
}

.service-detail-main {
    min-width: 0;
}

.service-detail-main p a,
.service-detail-main h5 a,
.service-detail-main li a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.service-detail-main p a:hover,
.service-detail-main h5 a:hover,
.service-detail-main li a:hover {
    color: var(--accent);
}

.service-detail-section {
    background: var(--white);
    border: 1px solid #e6edf5;
    border-radius: 10px;
    padding: 34px;
    box-shadow: 0 10px 24px rgba(37, 61, 93, 0.07);
    margin-bottom: 28px;
}

.service-detail-section h2 {
    font-size: 1.75rem;
    margin-bottom: 14px;
}

.service-detail-section h3 {
    font-size: 1.25rem;
    margin: 24px 0 10px;
}

.service-detail-section p,
.service-detail-section li {
    color: var(--text-muted);
}

.service-detail-section ul,
.service-detail-section ol {
    list-style: disc;
    margin: 0 0 0 22px;
    line-height: 1.8;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.service-detail-card {
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    padding: 20px;
}

.service-detail-card h3 {
    margin-top: 0;
}

.service-detail-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.service-detail-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.service-intro-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    gap: 24px;
    align-items: center;
}

.service-intro-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.service-intro-panel .service-highlight-list {
    grid-column: 1 / -1;
}

.service-lead {
    font-size: 1.08rem;
    color: var(--text-main) !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-split {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: center;
    margin-top: 18px;
}

.service-split-reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
}

.service-split img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.service-note-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 22px;
    margin-top: 24px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
}

.service-note-card i {
    color: var(--primary);
    font-size: 2rem;
    margin-top: 4px;
}

.service-note-card h3 {
    margin-top: 0;
}

.service-credential-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.service-credential-list div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 800;
}

.service-credential-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--accent);
    font-weight: 800;
}

.service-reviews-strip {
    background: #f8fafc;
}

.service-testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.service-testimonials figure {
    background: var(--white);
    border: 1px solid #e6edf5;
    border-radius: 8px;
    padding: 20px;
}

.service-testimonials blockquote {
    color: var(--text-main);
    line-height: 1.65;
    margin: 10px 0 16px;
}

.service-testimonials figcaption {
    color: var(--primary);
    font-weight: 800;
}

.service-faq-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.service-faq-list details {
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    padding: 16px 18px;
}

.service-faq-list summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.service-faq-list p {
    margin-top: 12px;
}

.service-custom-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #f0f4f8;
    border-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.service-custom-cta::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.service-custom-cta img {
    display: none;
}

.service-custom-cta h2,
.service-custom-cta h3 {
    color: var(--primary);
    font-size: clamp(1.56rem, 3vw, 2.1rem);
    margin-bottom: 4px;
}

.service-custom-cta p {
    color: var(--primary);
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

.service-custom-cta .btn-accent {
    font-size: 1rem;
    padding: 14px 30px;
    font-weight: 700;
    align-self: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.service-template-page {
    max-width: 1040px;
    margin: 0 auto;
}

.service-template-block {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(37, 61, 93, 0.08);
}

.service-template-intro {
    background: var(--white);
}

.service-intro-with-form {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 340px);
    gap: 32px;
    align-items: start;
}

.service-area-copy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

.service-area-copy-grid > div {
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 10px;
    padding: 24px;
}

@media (max-width: 860px) {
    .service-intro-with-form {
        grid-template-columns: 1fr;
    }

    .service-area-copy-grid {
        grid-template-columns: 1fr;
    }
}

.service-template-areas {
    background: #dff3ff;
}

.service-areas-intro {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 500;
}

.service-areas-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 0.9fr);
    gap: 28px;
    align-items: center;
}

.service-area-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-chip {
    display: inline-block;
    padding: 7px 16px;
    border: 1.5px solid var(--primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: white;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.area-chip:hover {
    background: var(--primary);
    color: white;
}

.service-areas-layout img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.service-area-mini-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid rgba(34, 61, 101, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.service-area-mini-cta strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.service-area-mini-cta > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.service-area-mini-cta .btn {
    padding: 10px 16px;
    font-size: 0.92rem;
}

@media (max-width: 680px) {
    .service-areas-layout {
        grid-template-columns: 1fr;
    }

    .service-area-mini-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .service-area-mini-cta > div {
        justify-content: stretch;
    }

    .service-area-mini-cta .btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

.services-provided-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.services-provided-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #e6edf5;
    background: #f8fafc;
    transition: background 0.18s, border-color 0.18s;
}

.services-provided-list li a::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
}

.services-provided-list li a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.services-provided-list li a:hover::before {
    color: var(--accent);
}

@media (max-width: 560px) {
    .services-provided-list {
        grid-template-columns: 1fr;
    }
}

.service-template-why {
    background: #e6e2ff;
}

.why-heading {
    margin-bottom: 22px;
    color: var(--primary);
}

.why-layout {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 28px;
    align-items: center;
}

.why-image {
    width: 100%;
    object-fit: contain;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(37, 61, 93, 0.1);
}

.why-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.why-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 10px;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 61, 93, 0.08);
}

.why-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .why-layout {
        grid-template-columns: 1fr;
    }

    .why-image {
        max-width: 160px;
        margin: 0 auto;
    }

    .why-cards {
        grid-template-columns: 1fr;
    }
}

.service-template-testimonials {
    background: #ffe4c8;
}

.service-template-testimonials .service-testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-template-stars {
    color: #f1c40f;
    letter-spacing: 2px;
    font-weight: 800;
}

.service-template-contact {
    box-shadow: 0 12px 28px rgba(37, 61, 93, 0.14);
}

.service-template-contact-panel {
    background: var(--primary) !important;
    text-align: center;
    padding: 48px 34px !important;
}

.service-template-contact-panel h3 {
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 6px;
}

.service-template-contact-panel h4 {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.service-template-contact-panel a,
.service-template-contact-panel p a {
    display: inline-block;
    color: var(--accent) !important;
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.service-template-accreditations {
    text-align: center;
}

.accreditation-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 22px;
}

.accreditation-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: 20px 24px;
    min-width: 120px;
    flex: 1 1 120px;
    max-width: 180px;
    transition: box-shadow 0.2s;
}

.accreditation-badge:hover {
    box-shadow: 0 6px 18px rgba(37,61,93,0.12);
}

.accreditation-badge img {
    max-height: 80px;
    max-width: 120px;
    object-fit: contain;
}

.accreditation-badge span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.google-stars-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.google-stars {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #f1c40f;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.google-stars span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.accreditation-badge-wide {
    display: block;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 4px;
    transition: box-shadow 0.2s;
}

.accreditation-badge-wide:hover {
    box-shadow: 0 6px 18px rgba(37,61,93,0.12);
}

.accreditation-badge-wide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-highlight-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.service-highlight-list li {
    list-style: none;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 700;
}

.service-area-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.service-area-pills a {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid #d8e0ea;
    border-radius: 999px;
    color: var(--primary);
    font-weight: 700;
    background: #f8fafc;
}

.service-area-pills a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.service-area-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-area-index-card {
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 8px;
    padding: 22px;
}

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

.service-area-index-card h3 a {
    color: var(--primary);
    text-decoration: none;
}

.service-area-index-card h3 a:hover {
    color: var(--accent);
}

.service-area-index-card p {
    font-size: 0.98rem;
    margin-bottom: 12px;
}

.service-area-index-card p:last-child {
    margin-bottom: 0;
}

.service-detail-sidebar {
    position: sticky;
    top: 104px;
}

.service-quote-card {
    border: 2px solid var(--primary);
}

.service-quote-card h2::after {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    background: var(--accent);
    border-radius: 999px;
    margin-top: 10px;
}

.service-related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-related-list a {
    color: var(--text-main);
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f7;
}

.service-related-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

@media (max-width: 992px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .service-detail-hero {
        padding: 70px 0;
    }

    .service-area-index-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-hero {
        padding: 20px 0;
    }

    .drain-sewage-hero,
    .faucet-repair-hero,
    .pipe-repair-hero,
    .sump-pump-hero,
    .toilet-repair-hero,
    .water-heater-hero,
    .backflow-prevention-hero,
    .appliance-installation-hero,
    .bidet-installation-hero,
    .emergency-plumbing-hero,
    .location-plumber-hero,
    .markham-plumber-hero {
        padding: 52px 0;
    }

    .drain-sewage-hero h1,
    .faucet-repair-hero h1,
    .pipe-repair-hero h1,
    .sump-pump-hero h1,
    .toilet-repair-hero h1,
    .water-heater-hero h1,
    .backflow-prevention-hero h1,
    .appliance-installation-hero h1,
    .bidet-installation-hero h1,
    .emergency-plumbing-hero h1,
    .location-plumber-hero h1,
    .markham-plumber-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }

    .service-detail-section {
        padding: 24px;
    }

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

    .service-detail-media,
    .service-highlight-list {
        grid-template-columns: 1fr;
    }

    .service-intro-panel,
    .service-split,
    .service-split-reverse,
    .service-testimonials,
    .service-template-areas-grid,
    .service-template-testimonials .service-testimonials,
    .service-custom-cta {
        grid-template-columns: 1fr;
    }

    .service-template-accreditation-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-template-accreditation-grid img {
        max-width: 220px;
        margin: 0 auto;
    }

    .service-custom-cta {
        text-align: center;
    }

    .service-custom-cta img {
        margin: 0 auto;
    }
}

.blog-author-box {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 22px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e6edf5;
    border-radius: 10px;
    padding: 24px;
    margin-top: 34px;
}

.blog-author-box img {
    width: 88px;
    height: 88px;
    object-fit: contain;
    background: var(--white);
    padding: 5px;
    border-radius: 50%;
    margin: 0;
    border: 3px solid var(--accent);
}

.blog-author-box h2 {
    font-size: 1.25rem;
    margin: 0 0 8px;
}

.blog-author-box p {
    margin: 0;
}

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

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .blog-author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .blog-author-box img {
        margin: 0 auto;
    }
}

/* Roadmap Section */
.roadmap-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(to bottom, #fff 50%, var(--primary) 50%);
}

.roadmap-header {
    text-align: center;
    margin-bottom: 80px;
}

.roadmap-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.roadmap-wrapper {
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.roadmap-steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

.roadmap-line {
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: var(--primary);
    z-index: 1;
}

.roadmap-step {
    flex: 1;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 30px;
    border: 8px solid #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.roadmap-step:hover .step-number {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

.roadmap-step h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.roadmap-step:hover h3 {
    color: var(--accent-secondary);
}

.roadmap-step p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .roadmap-section {
        background: #fff;
        padding: 60px 0;
    }
    .roadmap-line {
        display: none;
    }
    .roadmap-steps-container {
        flex-direction: column;
        gap: 40px;
    }
    .roadmap-wrapper {
        box-shadow: none;
        padding: 20px;
    }
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    .roadmap-header h2 {
        font-size: 2.5rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--primary);
    color: #fff;
}

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

.contact-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--accent);
}

.contact-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.method-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-details p {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 1;
}

.contact-form-wrapper {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

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

.contact-form label {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #e5ad06;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.2);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
}

/* Accreditation Section */
.accreditation-section {
    padding: 60px 0;
    background: #f8faff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.accreditation-section h2 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}

.accreditation-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.accreditation-item img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.accreditation-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .accreditation-grid {
        gap: 20px;
    }
    .accreditation-item img {
        height: 80px;
    }
}

/* Certifications Gallery */
.certifications-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.certifications-section h2 {
    color: var(--primary);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.cert-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #eee;
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cert-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fff;
    padding: 15px;
    display: block;
}

/* Simple Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: #fdfdfd;
    text-align: center;
}

.testimonials-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2.8rem;
}

.testimonials-section p.subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial-card {
    text-align: left;
    position: relative;
}

.testimonial-bubble {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    position: relative;
    border: 1px solid #f0f0f0;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 30px;
    height: 30px;
    background: white;
    transform: rotate(45deg);
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

.testimonial-stars {
    color: #f1c40f;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.google-g {
    width: 18px;
    height: 18px;
    margin-left: 5px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 10px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary);
}

.author-info span {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
}


/* Utility launch pages */
.utility-hero {
    background: linear-gradient(rgba(37, 61, 93, 0.88), rgba(37, 61, 93, 0.88)), url('assets/images/dima-plumbing-services.jpg');
    background-size: cover;
    background-position: center;
    padding: 90px 0 70px;
    color: var(--white);
}

.utility-hero span {
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 12px;
}

.utility-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.utility-page-section {
    padding: 70px 0;
    background: #f8fafc;
}

.utility-intro {
    max-width: 820px;
    margin-bottom: 34px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.utility-card,
.utility-content,
.utility-thank-you {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 14px 30px rgba(37, 61, 93, 0.08);
}

.utility-card h2,
.utility-content h2 {
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.utility-link-list {
    display: grid;
    gap: 10px;
}

.utility-link-list a {
    color: var(--primary);
    font-weight: 700;
}

.utility-link-list a:hover {
    color: var(--accent-hover);
}

.utility-content {
    max-width: 900px;
}

.utility-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.utility-thank-you {
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
}

.utility-thank-you > i {
    color: var(--accent);
    font-size: 3.5rem;
    margin-bottom: 18px;
}

.utility-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

@media (max-width: 980px) {
    .utility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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