﻿:root {
    --bg: #0b1220;
    --surface: #0f1b33;
    --card: #0f1a2b;
    --border: rgba(255,255,255,.10);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --accent: #3b82f6; /* blue */
    --accent2: #22c55e; /* green */
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    --radius: 14px;
    --max: 1200px;
    --gap: 18px;
    --font: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    background: radial-gradient(1200px 600px at 20% 0%, #152a52 0%, var(--bg) 55%) fixed;
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip-link:focus {
        left: 16px;
        top: 16px;
        width: auto;
        height: auto;
        padding: 10px 12px;
        background: #fff;
        color: #000;
        border-radius: 10px;
        z-index: 9999;
    }

.site {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header / Brand */
.site-header {
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    color: #081225;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.brand-name {
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 20px;
    line-height: 1.15;
}

.brand-tagline {
    margin-top: 2px;
    font-size: 13px;
    color: var(--muted);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cta-phone {
    text-align: right;
}

.cta-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.cta-number {
    font-weight: 800;
    letter-spacing: .3px;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent2), #4ade80);
    color: #07150d;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,.2);
}

    .cta-button:hover {
        filter: brightness(1.03);
    }

/* Top nav under header */
.top-nav {
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 10px 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-link {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

    .nav-link:hover {
        color: var(--text);
        background: rgba(255,255,255,.05);
        border-color: rgba(255,255,255,.08);
    }

    .nav-link.is-active {
        color: var(--text);
        background: rgba(59,130,246,.18);
        border-color: rgba(59,130,246,.40);
    }

/* Framed content layout */
.frame {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 16px 26px;
    width: 100%;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--gap);
    flex: 1;
}

/* Social rail */
.social-rail {
    position: relative;
}

.rail-card {
    position: sticky;
    top: 64px; /* below sticky nav */
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
}

.rail-title {
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: .2px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    color: var(--muted);
    border: 1px solid transparent;
}

    .social-link:hover {
        color: var(--text);
        background: rgba(255,255,255,.05);
        border-color: rgba(255,255,255,.08);
    }

.icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(59,130,246,.18);
    border: 1px solid rgba(59,130,246,.35);
    font-weight: 900;
}

.rail-divider {
    height: 1px;
    background: var(--border);
    margin: 12px 0;
}

.rail-mini-title {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.rail-mini-text {
    margin-top: 6px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
}

/* Main content */
.content {
    min-width: 0;
}

.content-card {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

    .content-card h1 {
        margin: 0 0 8px;
        font-size: 30px;
        letter-spacing: .2px;
    }

    .content-card p {
        margin: 0 0 14px;
        color: var(--muted);
        line-height: 1.6;
    }

.content-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 800;
    background: rgba(59,130,246,.20);
    border: 1px solid rgba(59,130,246,.40);
}

    .button:hover {
        filter: brightness(1.04);
    }

.button-ghost {
    background: transparent;
    border-color: rgba(255,255,255,.16);
    color: var(--text);
}

/* Tiles */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
    margin-top: var(--gap);
}

.tile {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

    .tile h2 {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .tile p {
        margin: 0;
        color: var(--muted);
        line-height: 1.55;
    }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,.15);
}

.footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 12px;
}

    .footer-links a:hover {
        color: var(--text);
    }

/* Responsive adjustments */
@media (max-width: 920px) {
    .frame {
        grid-template-columns: 1fr;
    }

    .rail-card {
        position: relative;
        top: auto;
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .header-cta {
        justify-content: space-between;
    }

    .cta-phone {
        text-align: left;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }
}

/* Social page specific styles */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    margin-top: var(--gap);
}

.social-platform-card {
    text-align: center;
}

.social-platform-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.social-platform-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.social-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 32px;
}

.facebook-icon {
    background: linear-gradient(135deg, #1877f2, #4267B2);
    color: white;
}

.nextdoor-icon {
    background: linear-gradient(135deg, #00b246, #8ec922);
    color: white;
}

/* Benefits list styling */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}

.benefits-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.6;
    color: var(--muted);
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-weight: 900;
    font-size: 20px;
}

.benefits-list li strong {
    color: var(--text);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Loading performance - removed opacity trick; browser handles lazy loading natively */
img[loading="lazy"] {
    opacity: 1;
}

/* Product list styling */
.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.product-list li:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(59,130,246,.3);
    transform: translateY(-2px);
}

.product-link {
    display: block;
    color: var(--text);
    font-size: 18px;
    line-height: 1.6;
}

.product-link strong {
    color: var(--accent);
    font-size: 20px;
}

.product-list li:hover .product-link strong {
    color: var(--accent2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .social-rail,
    .top-nav,
    .site-footer,
    .cta-button {
        display: none;
    }

    .frame {
        grid-template-columns: 1fr;
    }
}
