:root {
    --primary: #0F4C81; /* Deep Professional Blue */
    --primary-light: #2A6FA8;
    --primary-dark: #072B4F;
    --secondary: #FF8C00; /* Energetic Orange / Amber */
    --secondary-light: #FFA333;
    --accent: #00B4D8; /* Spray Foam Cyan */
    --text-main: #1F2937;
    --text-light: #4B5563;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Base Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
    color: white;
}

.btn-glow {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(255, 140, 0, 0.2); }
    to { box-shadow: 0 0 20px rgba(255, 140, 0, 0.6); }
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.top-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar a {
    color: white;
}

.top-bar .contact-info span {
    margin-right: 1.5rem;
}

.top-bar i {
    color: var(--secondary);
    margin-right: 0.3rem;
}

.badge {
    background: var(--secondary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.02);
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav .nav-links > li > a {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav .nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.main-nav .nav-links > li > a:hover::after {
    width: 100%;
}

.main-nav .nav-links > li > a:hover {
    color: var(--primary);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 0.5rem 0;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-main);
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Page Hero */
.page-hero {
    background: url('/images/About-Spraytight-Inc-Sprayfoam-Insulation-Contractor.jpg') center/cover no-repeat;
    position: relative;
    padding: 6rem 1rem;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 43, 79, 0.9), rgba(15, 76, 129, 0.7));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.page-hero h1 {
    color: white;
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0;
}

/* Page Content Formatting */
.content-wrapper {
    min-height: 50vh;
}

.page-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.page-content h1, 
.page-content h2, 
.page-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.page-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    list-style-type: none;
}

.page-content ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

.page-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: -1.8rem;
    top: 2px;
}

.page-content img {
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

/* Animations */
.animate-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Footer */
.main-footer {
    background: var(--primary-dark);
    color: white;
    position: relative;
    padding-top: 6rem;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.footer-wave .shape-fill {
    fill: var(--bg-light);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.brand-col .footer-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
}

.brand-desc {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.tax-credit-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.tax-credit-box h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tax-credit-box p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.tax-credit-box ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}

.tax-credit-box ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.tax-credit-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
}

.links-col ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.links-col a {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

.links-col a i {
    color: var(--accent);
    margin-right: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.links-col a:hover {
    color: white;
}

.links-col a:hover i {
    transform: translateX(5px);
}

.contact-col .contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .text {
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.contact-item a {
    color: white;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-item .highlight {
    color: var(--secondary);
    font-weight: 700;
}

.footer-bottom {
    background: #041B34;
    padding: 1.5rem 1rem;
}

.footer-bottom-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.legal-links a {
    color: rgba(255,255,255,0.6);
}

.legal-links a:hover {
    color: white;
}

.legal-links .sep {
    margin: 0 0.5rem;
    opacity: 0.5;
}

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

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .main-nav .nav-links > li {
        width: 100%;
    }
    
    .main-nav .nav-links > li > a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-light);
        display: none;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-cta {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Component library — used by page/blog content and templates
   ========================================================================== */

/* Blog listing */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.blog-card { background: var(--bg-white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-date { font-size: .85rem; color: var(--text-light); }
.blog-card-body h2 { font-size: 1.2rem; }
.blog-card-body h2 a { color: var(--primary-dark); }
.blog-card-body h2 a:hover { color: var(--secondary); }
.blog-card-body p { font-size: .95rem; color: var(--text-light); flex: 1; }
.read-more { font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }

/* Blog post */
.blog-post-meta { display: flex; gap: 20px; color: var(--text-light); font-size: .9rem; margin-bottom: 24px; border-bottom: 1px solid #e5e7eb; padding-bottom: 14px; }
.blog-post-cta { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: 14px; padding: 36px; text-align: center; margin: 44px 0 20px; }
.blog-post-cta h3 { color: #fff; margin-bottom: 8px; }
.blog-post-cta p { margin-bottom: 18px; }
.blog-post-cta .btn-secondary { background: rgba(255,255,255,.15); color: #fff; }
.back-to-blog { margin-top: 10px; }

/* Social links */
.social-links { display: flex; gap: 12px; margin: 18px 0; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.social-links a:hover { background: var(--secondary); transform: translateY(-3px); }

/* Footer badges */
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 30px; padding: 5px 14px; font-size: .8rem; }
.badge-pill i { color: var(--secondary-light); margin-right: 5px; }

/* Sticky mobile CTA bar */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
    .mobile-cta-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; box-shadow: 0 -4px 12px rgba(0,0,0,.15); }
    .mobile-cta-bar a { flex: 1; text-align: center; padding: 14px 10px; font-family: 'Outfit', sans-serif; font-weight: 700; text-transform: uppercase; font-size: .9rem; }
    .mobile-cta-call { background: var(--secondary); color: #fff; }
    .mobile-cta-quote { background: var(--primary-dark); color: #fff; }
    .mobile-cta-bar a:hover { color: #fff; }
    body { padding-bottom: 52px; }
}

/* Hero subtitle */
.hero-sub { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-top: 10px; }

/* Content sections */
.section-intro { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.lead { font-size: 1.2rem; color: var(--text-light); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; margin: 36px 0; }
.feature-card { background: var(--bg-white); border-radius: 14px; padding: 30px; box-shadow: var(--shadow-md); transition: transform .3s ease; border-top: 4px solid var(--secondary); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 14px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: .95rem; color: var(--text-light); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin: 44px 0; }
.two-col img { box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.check-list li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--secondary); position: absolute; left: 0; }

.cta-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: 14px; padding: 44px; text-align: center; margin: 50px 0; }
.cta-banner h2, .cta-banner h3 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.85); max-width: 640px; margin: 12px auto 22px; }

.img-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 30px 0; }
.img-gallery img { width: 100%; height: 220px; object-fit: cover; box-shadow: var(--shadow-md); transition: transform .3s ease; }
.img-gallery img:hover { transform: scale(1.03); }

/* FAQ accordion (native details/summary) */
.faq-item { background: var(--bg-white); border-radius: 12px; box-shadow: var(--shadow-sm); margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--primary-dark); list-style: none; position: relative; padding-right: 50px; }
.faq-item summary::after { content: "\2b"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--secondary); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 24px 20px; color: var(--text-light); }

/* Forms */
.contact-form { background: var(--bg-white); border-radius: 14px; box-shadow: var(--shadow-md); padding: 36px; max-width: 720px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-family: inherit; font-size: 1rem; background: var(--bg-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Responsive embeds (maps, video) */
.embed-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-md); margin: 30px 0; }
.embed-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Location grid */
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 30px 0; }
.location-card { background: var(--bg-white); border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--accent); }
.location-card:hover { box-shadow: var(--shadow-hover); }
.location-card a { font-weight: 700; color: var(--primary-dark); }
.location-card .zip { color: var(--text-light); font-size: .85rem; display: block; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; background: var(--primary-dark); border-radius: 14px; padding: 40px; margin: 44px 0; text-align: center; }
.stat-item .stat-num { font-family: 'Outfit', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--secondary-light); display: block; }
.stat-item .stat-label { color: rgba(255,255,255,.85); font-size: .95rem; }

/* Review cards */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 30px 0; }
.review-card { background: var(--bg-white); border-radius: 14px; padding: 28px; box-shadow: var(--shadow-md); }
.review-stars { color: #FFB800; margin-bottom: 10px; }
.review-card .reviewer { font-weight: 700; color: var(--primary-dark); margin-top: 12px; display: block; }

/* Tables */
.page-content table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--bg-white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.page-content th { background: var(--primary); color: #fff; text-align: left; padding: 13px 16px; font-family: 'Outfit', sans-serif; }
.page-content td { padding: 12px 16px; border-bottom: 1px solid #e5e7eb; }

/* Homepage hero */
.home-hero { position: relative; min-height: 560px; display: flex; align-items: center; border-radius: 0 0 24px 24px; overflow: hidden; background: linear-gradient(rgba(7,43,79,.78), rgba(7,43,79,.62)), url('/images/left-hero.jpg') center/cover no-repeat; margin: -40px -20px 50px; padding: 80px 20px; }
.home-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; color: #fff; }
.home-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.home-hero .hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); margin-bottom: 28px; }
.home-hero .hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero-trust span i { color: var(--secondary-light); margin-right: 6px; }
.home-hero .review-stars { font-size: 1rem; }

/* Client logo strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; margin: 30px 0; }
.logo-strip img { height: 60px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .3s ease; background: #fff; padding: 6px 12px; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* Section spacing helper */
.home-section { margin: 60px 0; }
.home-section > h2 { text-align: center; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--text-light); max-width: 640px; margin: 0 auto 34px; }

.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 0.7rem 1.8rem; border-radius: 50px; font-family: 'Outfit', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; display: inline-block; margin-top: 10px; }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* Mobile dropdown open state (tap-toggled by footer JS) */
@media (max-width: 992px) {
    .dropdown.open .dropdown-menu { display: block; }
}

/* Base secondary button (works on dark banners) + cta-banner variant */
.btn-secondary { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-secondary:hover { background: rgba(255,255,255,.28); color: #fff; transform: translateY(-2px); }
.page-content > .btn-secondary, p .btn-secondary { background: var(--primary); color: #fff; border: none; }
.cta-banner .btn-secondary { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.cta-banner .btn-secondary:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Wider, more dynamic layout */
.page-content { max-width: 1320px; }
.home .page-content, .page-content.full-bleed { max-width: none; border-radius: 0; box-shadow: none; background: transparent; padding: 0 clamp(16px, 4vw, 56px); }

/* Per-page hero banner images */
.page-hero { position: relative; background-size: cover; background-position: center; }
.page-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(7,43,79,.72), rgba(7,43,79,.62)); }

/* Lightbox (gallery image popup) */
.cybr-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(4,15,28,.92); display: flex; align-items: center; justify-content: center; padding: 4vh 4vw; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.cybr-lightbox.open { opacity: 1; pointer-events: auto; }
.cybr-lightbox img { max-width: 100%; max-height: 88vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.6); user-select: none; -webkit-user-drag: none; }
.cybr-lightbox .lb-close { position: absolute; top: 18px; right: 24px; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.cybr-lightbox .lb-close:hover { background: var(--secondary); }
.cybr-lightbox .lb-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .9rem; max-width: 80vw; text-align: center; }
.img-gallery img, .lightboxable { cursor: zoom-in; }

/* Video embed grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; margin: 34px 0; }
.video-grid .embed-responsive { margin: 0; }

/* Fancy 404 */
.notfound-hero { min-height: 62vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(7,43,79,.88), rgba(7,43,79,.8)), url('/images/left-hero.jpg') center/cover no-repeat; border-radius: 0 0 24px 24px; margin: -40px 0 40px; border-radius: 24px; padding: 70px 24px; text-align: center; }
.notfound-inner { max-width: 720px; color: #fff; }
.notfound-code { font-family: 'Outfit', sans-serif; font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--secondary-light); display: block; line-height: 1; margin-bottom: 10px; }
.notfound-code i { font-size: .75em; color: #fff; margin: 0 8px; transform: rotate(20deg); display: inline-block; }
.notfound-hero h1 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.4rem); margin-bottom: 14px; }
.notfound-hero p { color: rgba(255,255,255,.85); margin-bottom: 24px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.notfound-links a { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 30px; padding: 9px 18px; font-size: .9rem; }
.notfound-links a:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.notfound-hero .hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Full-bleed homepage adjustments */
.page-content.full-bleed .home-hero { margin: -40px calc(-1 * clamp(16px, 4vw, 56px)) 50px; border-radius: 0; }
.home-hero .offer-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--secondary); color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; padding: 8px 22px; border-radius: 30px; margin-bottom: 22px; font-size: 1rem; letter-spacing: .5px; text-transform: uppercase; }

/* Image service cards */
.img-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin: 36px 0; }
.img-card { position: relative; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 320px; display: flex; align-items: flex-end; transition: transform .3s ease; }
.img-card:hover { transform: translateY(-6px); }
.img-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.img-card .img-card-body { position: relative; width: 100%; padding: 26px; background: linear-gradient(transparent, rgba(7,43,79,.94) 55%); color: #fff; }
.img-card .img-card-body h3 { color: #fff; margin-bottom: 6px; font-size: 1.35rem; }
.img-card .img-card-body p { color: rgba(255,255,255,.85); font-size: .95rem; margin-bottom: 12px; }
.img-card .img-card-body .card-link { color: var(--secondary-light); font-weight: 700; text-transform: uppercase; font-size: .85rem; letter-spacing: .5px; }
.img-card.tall { min-height: 420px; }

/* Media mention band */
.media-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; margin: 36px 0; }
