/* ==========================================================================
   RANK & RENT — Modular Design System
   A component library for 800+ unique local service websites.
   ========================================================================== */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
    --primary: #0B5ED7;
    --primary-rgb: 11, 94, 215;
    --primary-dark: #0a4db3;
    --primary-light: #e8f1fc;
    --secondary: #1F2937;
    --secondary-rgb: 31, 41, 55;
    --accent: #ef4444;
    --accent-light: #fef2f2;

    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --container: 1200px;
    --container-wide: 1400px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

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

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

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    line-height: 1.15;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    letter-spacing: -0.01em;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}

.btn-pill {
    border-radius: var(--radius-full);
}

.btn-rounded {
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(11, 94, 215, 0.35);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 94, 215, 0.4);
}

.btn-white {
    background: white;
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-emergency {
    background: var(--accent);
    color: white !important;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: pulse-emergency 2s ease-in-out infinite;
}

@keyframes pulse-emergency {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    }
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---------- HEADER V1: PREMIUM STICKY ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

/* Top bar */
.header-top {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    padding: 0.4rem 0;
}

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

.header-top a {
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.header-top a:hover {
    opacity: 0.8;
}

.header-top-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.header-top-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Main nav */
.header-main {
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--secondary);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    position: relative;
    padding: 0.25rem 0;
    transition: var(--transition);
}

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

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

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
}

@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: white;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .main-nav a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
    }

    .main-nav a::after {
        display: none;
    }

    .mobile-overlay.open {
        display: block;
    }

    .header-cta .header-phone {
        display: none;
    }

    .header-top {
        display: none;
    }
}

/* ---------- HERO V1: CINEMATIC OVERLAY ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.85) 0%,
            rgba(15, 23, 42, 0.6) 40%,
            rgba(15, 23, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 6rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: white;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

.hero h1 {
    color: white;
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero feature stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
}

.hero-stat span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }

    .hero-content {
        padding: 4rem 0;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
    background: var(--primary);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.trust-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ---------- SECTION LAYOUT ---------- */
.section {
    padding: 5rem 0;
}

.section-alt {
    padding: 5rem 0;
    background: var(--bg-alt);
}

.section-dark {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
    line-height: 1.7;
}

/* ---------- SERVICES GRID V1: ICON CARDS ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    transition: var(--transition);
}

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

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card-link:hover {
    gap: 0.75rem;
}

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

/* ---------- CONTENT SECTIONS ---------- */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-row.reverse {
    direction: rtl;
}

.content-row.reverse>* {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: 1.25rem;
}

.content-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.content-img:hover img {
    transform: scale(1.03);
}

.feature-list {
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-weight: 500;
    color: var(--text);
}

.feature-list li svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

@media (max-width: 768px) {

    .content-row,
    .content-row.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }
}

/* ---------- HIGHLIGHT SECTION ---------- */
.highlight-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.highlight-section h2 {
    color: white;
}

.highlight-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-weight: 500;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .highlight-section {
        padding: 2.5rem 1.5rem;
    }
}

/* ---------- FAQ ACCORDION ---------- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: white;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-size: 0.98rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-item[open] summary {
    background: var(--primary-light);
    color: var(--primary);
}

.faq-answer {
    padding: 1.25rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
    color: white;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.08;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.25rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.cta-phone a {
    color: white;
}

.cta-phone a:hover {
    color: var(--primary-light);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-heading {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

/* ---------- STATS BAR ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-card strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

/* ---------- SERVICE CONTENT PAGE ---------- */
.service-content {
    max-width: 800px;
}

.service-content h1 {
    margin-bottom: 1.5rem;
}

.service-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.service-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.service-content li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.service-content strong {
    color: var(--text);
}

/* Use on colored-background components so children inherit white instead of --text-muted */
.service-content.service-content--inv p,
.service-content.service-content--inv li,
.service-content.service-content--inv strong,
.service-content.service-content--inv h2,
.service-content.service-content--inv h3 {
    color: inherit !important;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

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

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

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* ---------- HERO V2: SPLIT ---------- */
.hero--split {
    min-height: auto;
    background: var(--bg);
    color: var(--text);
    padding: 5rem 0;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-split-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.hero-split-image .hero-placeholder {
    aspect-ratio: 4/3;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 0.3;
}

.hero-trust-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.trust-pill {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero-split-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ---------- HERO V3: CENTERED GRADIENT ---------- */
.hero--centered-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 80vh;
}

.hero-floating-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.floating-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    max-width: 280px;
    text-align: left;
}

.floating-card strong {
    display: block;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.floating-card span {
    font-size: 0.85rem;
    opacity: 0.85;
    font-style: italic;
}

/* ---------- HERO V4: EMERGENCY ---------- */
.hero--emergency .hero-mega-phone {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.hero--emergency .hero-mega-phone:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

/* ---------- HERO V5: COMPACT + SEARCH ---------- */
.hero--compact {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    background: white;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
}

.search-bar .btn {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    white-space: nowrap;
}

.hero-features {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.hero-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.hero-feature-item strong {
    font-size: 0.95rem;
}

.hero-feature-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* ---------- UTILITY ---------- */
.text-center {
    text-align: center;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* ── FIX: Re-enable list styles inside content sections ── */
/* NOTE: .service-content uses custom blue ::before dots, so don't add list-style there */
.content ul,
.content ol,
.intro-content ul,
.intro-content ol {
    list-style: revert;
    padding-left: 1.5em;
    margin: 1rem 0;
}

.service-content ul,
.service-content ol {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.content li,
.intro-content li {
    margin-bottom: 0.4em;
    line-height: 1.7;
}

/* ── Service card hovers ── */
.service-card:hover,
.service-archive-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-archive-card:hover span:last-child span {
    transform: translateX(4px);
}

/* ── Blog archive card hovers ── */
.blog-archive-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

.blog-archive-card:hover a span {
    transform: translateX(4px);
}

.blog-archive-card h3 a:hover {
    color: var(--primary) !important;
}

/* ── Contact card hovers ── */
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ── Blog article hover ── */
.blog-grid article:hover {
    box-shadow: var(--shadow-lg);
}

/* ── Form focus states ── */
form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ── CTA box button hover ── */
.cta-box .btn:hover {
    transform: translateY(-2px);
}

/* ── Submit button hover ── */
form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 94, 215, 0.4);
}

/* ── Page layout responsive ── */
@media (max-width: 968px) {
    .page-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .page-sidebar {
        position: static !important;
        order: -1;
    }

    .page-hero {
        padding: 2.5rem 0 2rem !important;
    }
}

/* ── Service content prose styling ── */
.service-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.service-content p {
    margin-bottom: 1.25rem;
}

.service-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}

/* ── Sidebar phone CTA hover ── */
.page-sidebar a[href^="tel:"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 94, 215, 0.4);
}

/* ── Header main layout fix ── */
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-main {
    padding: 0.75rem 0;
    background: white;
}

/* --- THEME 1 (Default: Classic Blue) --- */
body.t-v1 {
    /* No changes */
}

/* --- THEME 2 (Dark Mode) --- */
body.t-v2 {
    background: #111;
    color: #eee;
    --primary: #fab005;
}

body.t-v2 .service-card,
body.t-v2 .header-main,
body.t-v2 .site-footer {
    background: #222;
    border-color: #333;
    color: #eee;
}

body.t-v2 h1,
body.t-v2 h2,
body.t-v2 h3 {
    color: #fff;
}

body.t-v2 .nav-link {
    color: #eee;
}

/* --- THEME 3 (Glassmorphism) --- */
body.t-v3 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    min-height: 100vh;
}

body.t-v3 .service-card,
body.t-v3 header,
body.t-v3 footer,
body.t-v3 .hero-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    color: white;
    margin: 1rem;
}

body.t-v3 h1,
body.t-v3 h2,
body.t-v3 p,
body.t-v3 a {
    color: white !important;
}

/* --- THEME 4 (Brutalist) --- */
body.t-v4 {
    font-family: 'Courier New', monospace;
    background: #fff;
    border: 4px solid black;
    margin: 10px;
    min-height: 98vh;
}

body.t-v4 * {
    border-radius: 0 !important;
    box-shadow: 4px 4px 0 black !important;
    border: 2px solid black !important;
}

body.t-v4 .hero-section {
    background: #ffcc00;
    color: black;
}

body.t-v4 .btn-primary {
    background: black;
    color: white;
    text-transform: uppercase;
    font-weight: 900;
}

body.t-v4 .service-card {
    background: white;
    margin-bottom: 2rem;
}

/* --- THEME 5 (Minimalist) --- */
body.t-v5 {
    font-family: 'Helvetica Neue', sans-serif;
    background: #fdfdfd;
    color: #555;
}

body.t-v5 .hero-section {
    background: white;
    text-align: center;
    padding: 8rem 0;
    border-bottom: 1px solid #eee;
}

body.t-v5 .service-card {
    border: none;
    box-shadow: none;
    border-bottom: 1px solid #eee;
    text-align: left;
    padding-left: 0;
    margin-bottom: 2rem;
}

body.t-v5 h1 {
    font-weight: 300;
    letter-spacing: -2px;
    color: #000;
}

body.t-v5 .btn {
    border-radius: 99px;
    padding: 1rem 3rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- THEME 6 (Corporate Trust) --- */
body.t-v6 {
    font-family: 'Georgia', serif;
    background: #f4f4f9;
    color: #2c3e50;
}

body.t-v6 .header-main {
    background: #003366;
    color: white;
}

body.t-v6 .site-logo {
    color: white;
}

body.t-v6 .nav-link {
    color: white !important;
}

body.t-v6 .service-card {
    background: white;
    border-top: 4px solid #003366;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.t-v6 h1,
body.t-v6 h2 {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #003366;
}

/* --- THEME 7 (Vibrant / Pop) --- */
body.t-v7 {
    background: #fff0f5;
}

body.t-v7 .hero-section {
    background: linear-gradient(to right, #ff00cc, #333399);
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding-bottom: 6rem;
}

body.t-v7 .service-card {
    border-radius: 20px;
    background: white;
    transform: rotate(-1deg);
    transition: transform 0.3s;
    box-shadow: 5px 5px 15px rgba(255, 0, 204, 0.2);
}

body.t-v7 .service-card:hover {
    transform: rotate(1deg) scale(1.05);
}

body.t-v7 h1 {
    text-shadow: 2px 2px 0 #ff00cc;
    color: white;
}

body.t-v7 .btn-primary {
    background: #ff00cc;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 204, 0.4);
}

/* --- THEME 8 (Split Layout Desktop) --- */
@media (min-width: 900px) {
    body.t-v8 .hero-section {
        position: fixed;
        left: 0;
        top: 0;
        width: 40%;
        height: 100vh;
        padding-top: 30vh;
        background: #2c3e50;
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    body.t-v8 .content,
    body.t-v8 .services-section,
    body.t-v8 .footer,
    body.t-v8 .trust-strip {
        margin-left: 40%;
        width: 60%;
        padding: 4rem;
    }

    body.t-v8 header {
        position: fixed;
        left: 0;
        top: 0;
        width: 40%;
        z-index: 10;
        background: transparent;
    }

    body.t-v8 .hero-section h1 {
        font-size: 3rem;
    }
}

/* --- THEME 9 (Neumorphism / Card UI) --- */
body.t-v9 {
    background: #e0e5ec;
}

body.t-v9 .container {
    max-width: 1400px;
}

body.t-v9 .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

body.t-v9 .service-card,
body.t-v9 .btn {
    background: #e0e5ec;
    box-shadow: 9px 9px 16px rgb(163, 177, 198, 0.6), -9px -9px 16px rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: none;
    transition: box-shadow 0.2s;
}

body.t-v9 .btn:active {
    box-shadow: inset 5px 5px 10px #b8b9be, inset -5px -5px 10px #ffffff;
}

body.t-v9 .hero-section {
    border-radius: 0 0 50px 50px;
    margin-bottom: 3rem;
    background: #e0e5ec;
    box-shadow: inset 5px 5px 10px #b8b9be, inset -5px -5px 10px #ffffff;
    color: #333;
    padding: 4rem;
}

body.t-v9 h1 {
    color: #333;
}

/* --- THEME 10 (High Impact Typography) --- */
body.t-v10 {
    font-family: 'Impact', sans-serif;
    text-transform: uppercase;
    background: #fff;
    color: #000;
}

body.t-v10 h1 {
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: #000;
    border-bottom: 10px solid black;
    display: inline-block;
}

body.t-v10 p {
    font-family: 'Arial', sans-serif;
    text-transform: none;
    max-width: 600px;
    font-size: 1.2rem;
    line-height: 1.6;
}

body.t-v10 .service-card {
    border: 5px solid black;
    background: transparent;
    box-shadow: 10px 10px 0 black;
    transition: transform 0.2s;
}

body.t-v10 .service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 black;
}

body.t-v10 .btn {
    background: black;
    color: white;
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    border-radius: 0;
    font-family: 'Impact';
    letter-spacing: 2px;
}

/* ---------- CONTENT GRID RESPONSIVE ---------- */
@media (max-width: 768px) {
    .content-grid-responsive {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ---------- SERVICE CONTENT RICH TEXT ---------- */
.service-content ul,
.service-content ol {
    list-style: none; /* Changed from disc to none to prevent double bullets */
    padding-left: 0;  /* Reset padding as li has its own padding for custom bullet */
    margin: 1rem 0;
}

.service-content ol {
    list-style: decimal;
}

.service-content li {
    padding: 0.4rem 0;
    line-height: 1.7;
    color: var(--text-muted);
}

.service-content li strong {
    color: var(--text);
}

.service-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}