/* ============================================
   McDuffie Mobile Notary — Sleek Professional Dark
   Typography: Manrope
   Palette: Near-black #111827, Navy #1e293b, Teal #0ea5e9
   ============================================ */

:root {
    --bg-deep: #0a0f1a;
    --bg-primary: #111827;
    --bg-secondary: #1e293b;
    --bg-card: #1a2332;
    --bg-card-hover: #1f2b3d;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --accent-glow: rgba(14, 165, 233, 0.15);
    --accent-glow-strong: rgba(14, 165, 233, 0.3);
    --border: rgba(148, 163, 184, 0.08);
    --border-accent: rgba(14, 165, 233, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Manrope', sans-serif;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
    overflow-x: hidden;
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-deep);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; color: var(--text-primary); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title { margin-bottom: 48px; }
.text-accent { color: var(--accent-light); }

/* Star ratings */
.star {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star-sm {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--accent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover {
    background: var(--accent-light);
    color: #fff;
    box-shadow: 0 6px 24px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
}
.btn-secondary:hover {
    background: var(--accent-glow);
    color: var(--accent-light);
    border-color: var(--accent);
}
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-pulse { animation: pulse 2.5s infinite; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3); }
    50% { box-shadow: 0 4px 32px rgba(14, 165, 233, 0.5); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}
.header-brand:hover { color: var(--text-primary); }
.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border-radius: 10px;
}
.brand-text { font-weight: 700; font-size: 1rem; }
.brand-accent { color: var(--accent-light); }

.header-nav {
    display: flex;
    gap: 28px;
}
.header-nav a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.header-nav a:hover { color: var(--accent-light); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition);
}
.header-cta:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.hero-mesh-1 {
    width: 600px; height: 600px;
    top: -150px; right: -100px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
}
.hero-mesh-2 {
    width: 500px; height: 500px;
    bottom: -100px; left: -100px;
    background: radial-gradient(circle, rgba(30, 41, 59, 0.6) 0%, transparent 70%);
}
.hero-mesh-3 {
    width: 300px; height: 300px;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
}
.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeDown 0.6s ease-out;
}
.badge-stars { display: flex; gap: 3px; }
.badge-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.badge-text strong { color: var(--text-primary); }

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
}
.title-line {
    display: block;
}
.title-line-1 { animation: fadeUp 0.6s ease-out 0.1s both; }
.title-line-2 { animation: fadeUp 0.6s ease-out 0.25s both; }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeUp 0.6s ease-out 0.35s both;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeUp 0.6s ease-out 0.45s both;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease-out 0.55s both;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   URGENCY
   ============================================ */
.urgency {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}
.urgency::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.urgency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.urgency-text h2 { margin-bottom: 20px; }
.urgency-text p { color: var(--text-secondary); margin-bottom: 16px; }
.urgency-text .btn { margin-top: 12px; }

.urgency-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
}
.stat-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}
.stat-card-wide { grid-column: 1 / -1; }
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}
.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
}
.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--bg-deep);
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--accent-light);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
   FEATURED REVIEW
   ============================================ */
.featured-review {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}
.featured-review::before,
.featured-review::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.featured-review::before { top: 0; }
.featured-review::after { bottom: 0; }

.featured-quote-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}
.quote-mark {
    font-size: 5rem;
    line-height: 1;
    color: var(--accent);
    font-family: Georgia, serif;
    opacity: 0.4;
    margin-bottom: -20px;
}
.featured-quote-block blockquote {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-primary);
    font-weight: 400;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 28px;
}
.quote-author { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.author-stars { display: flex; gap: 3px; margin-bottom: 4px; }
.quote-author strong { font-size: 1rem; }
.author-source { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
    padding: 100px 0;
    background: var(--bg-primary);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}
.review-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}
.review-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-light);
    flex-shrink: 0;
}
.review-author strong { font-size: 0.9rem; display: block; }
.review-author span { font-size: 0.75rem; color: var(--text-muted); }
.reviews-cta { text-align: center; }

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--bg-deep);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 1/1;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--bg-primary);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content h2 { margin-bottom: 20px; }
.about-content > p { color: var(--text-secondary); margin-bottom: 32px; }

.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature {
    display: flex;
    gap: 14px;
}
.feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    color: var(--accent-light);
}
.feature strong { font-size: 0.95rem; display: block; margin-bottom: 2px; }
.feature p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.5; margin: 0; }

.about-image {
    position: relative;
}
.about-image img {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
    display: block;
}
.badge-stars-sm { display: flex; gap: 2px; justify-content: center; margin: 6px 0; }
.badge-sub { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================
   SERVICE AREAS
   ============================================ */
.areas {
    padding: 80px 0;
    background: var(--bg-deep);
    text-align: center;
}
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.area-tag {
    padding: 10px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.area-tag:hover {
    border-color: var(--border-accent);
    color: var(--accent-light);
    background: var(--accent-glow);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
}
.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; }

.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
a.contact-item:hover { color: var(--accent-light); }

.contact-cta-box {
    display: flex;
    justify-content: center;
}
.cta-box-inner {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
}
.cta-icon {
    color: var(--accent);
    margin-bottom: 20px;
}
.cta-box-inner h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.cta-box-inner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 48px 0 32px;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}
.footer-inner { text-align: center; }
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-info { margin-bottom: 24px; }
.footer-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}
.footer-info a { color: var(--accent-light); }
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
    transition: all var(--transition);
    animation: pulse 2.5s infinite;
}
.floating-cta:hover {
    background: var(--accent-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
}
.floating-cta.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ============================================
   SCROLLBAR (desktop)
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .urgency-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .header-nav { display: none; }
    .hero { min-height: auto; padding: 120px 20px 60px; }
    .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .hero-trust { flex-direction: column; gap: 10px; }
    .services-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-item { aspect-ratio: 1/1; }
    .urgency, .services, .reviews, .gallery, .about, .contact {
        padding: 60px 0;
    }
    .about-badge { right: 10px; bottom: -15px; padding: 12px 16px; }
    .badge-number { font-size: 1.5rem; }
    .floating-cta span { display: none; }
    .floating-cta { padding: 16px; border-radius: 50%; }
    .cta-box-inner { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .stat-number { font-size: 2.2rem; }
    .stat-suffix { font-size: 1.5rem; }
    .urgency-stats { gap: 10px; }
    .gallery-grid { gap: 8px; }
    .area-tag { padding: 8px 16px; font-size: 0.8rem; }
}
