/* ==========================================================================
   Josh Pirtle - Future History Design System
   A clean, modern, timeless aesthetic with subtle futuristic touches
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --color-navy: #0D1B2A;
    --color-navy-light: #1B263B;
    --color-navy-dark: #070F18;

    /* Accent Colors */
    --color-accent: #00D4FF;
    --color-accent-soft: #7DD3FC;
    --color-accent-glow: rgba(0, 212, 255, 0.15);

    /* Warm Accents */
    --color-gold: #F4A261;
    --color-coral: #E76F51;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-off-white: #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1E293B;
    --color-gray-900: #0F172A;

    /* Text Colors */
    --color-text: #1E293B;
    --color-text-light: #475569;
    --color-text-muted: #64748B;
    --color-text-inverse: #FFFFFF;

    /* Background Colors */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-bg-dark: #0D1B2A;

    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Font Sizes - Accessible, senior-friendly */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 1.875rem;
    --text-3xl: 2.25rem;
    --text-4xl: 3rem;
    --text-5xl: 3.75rem;
    --text-6xl: 4.5rem;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* Borders & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--color-navy);
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); letter-spacing: -0.01em; }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-4);
}

.text-lead {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--color-text-light);
}

.text-small {
    font-size: var(--text-sm);
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container--narrow {
    max-width: var(--container-narrow);
}

section {
    padding: var(--space-24) 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-white);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Future History Background Pattern
   -------------------------------------------------------------------------- */
.bg-grid {
    position: relative;
}

.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.bg-blueprint {
    position: relative;
    overflow: hidden;
}

.bg-blueprint::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 79px, rgba(0, 212, 255, 0.05) 79px, rgba(0, 212, 255, 0.05) 81px, transparent 81px),
        linear-gradient(transparent 79px, rgba(0, 212, 255, 0.05) 79px, rgba(0, 212, 255, 0.05) 81px, transparent 81px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

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

.nav__logo {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

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

.nav__logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-weight: 700;
    font-size: var(--text-lg);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: var(--space-2) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__link--active {
    color: var(--color-accent);
}

.nav__link--active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-8);
        gap: var(--space-4);
        border-bottom: 1px solid var(--color-gray-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav__menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: var(--text-lg);
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #00B4D8 100%);
    color: var(--color-navy);
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    color: var(--color-navy);
}

.btn--secondary {
    background: var(--color-white);
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn--secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

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

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-navy);
}

.btn--large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

.btn--small {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

.btn-group {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 50%, var(--color-navy) 100%);
    color: var(--color-white);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero__text {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--space-6);
}

.hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title {
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.hero__title span {
    color: var(--color-accent);
}

.hero__subtitle {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-300);
    margin-bottom: var(--space-8);
}

.hero__photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__photo-frame {
    position: relative;
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, var(--color-navy-light) 0%, var(--color-navy-dark) 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.hero__photo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-2xl);
    pointer-events: none;
}

.hero__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    text-align: center;
    padding: var(--space-8);
}

.hero__photo-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

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

.hero__accent {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-2xl);
    top: -20px;
    right: -20px;
}

@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__text {
        max-width: none;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__photo {
        order: -1;
    }

    .hero__photo-frame {
        width: 300px;
        height: 380px;
    }

    .btn-group {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero__title {
        font-size: var(--text-3xl);
    }

    .hero__subtitle {
        font-size: var(--text-lg);
    }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card--service {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card--service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-6);
    background: var(--color-accent-glow);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.card__text {
    color: var(--color-text-light);
    margin-bottom: var(--space-4);
}

/* Blog Card */
.card--blog {
    display: grid;
    gap: var(--space-4);
}

.card--blog .card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.card--blog .card__title {
    font-size: var(--text-2xl);
    margin-bottom: 0;
}

.card--blog .card__title a {
    color: var(--color-navy);
    text-decoration: none;
}

.card--blog .card__title a:hover {
    color: var(--color-accent);
}

.card--blog .card__excerpt {
    color: var(--color-text-light);
    line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-header__label {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}

.section-header__title {
    margin-bottom: var(--space-4);
}

.section-header__text {
    font-size: var(--text-lg);
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
}

/* --------------------------------------------------------------------------
   Stats/Trust Section
   -------------------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    padding: var(--space-16) 0;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat__label {
    font-size: var(--text-base);
    color: var(--color-gray-300);
}

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

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-6);
    left: var(--space-8);
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--color-accent);
    opacity: 0.15;
    line-height: 1;
}

.testimonial__text {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-text);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-gray-200);
}

.testimonial__name {
    font-weight: 600;
    color: var(--color-navy);
}

.testimonial__role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    text-align: center;
    padding: var(--space-24) 0;
    position: relative;
}

.cta__title {
    margin-bottom: var(--space-4);
}

.cta__text {
    font-size: var(--text-lg);
    color: var(--color-gray-300);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-navy-dark);
    color: var(--color-gray-300);
    padding: var(--space-20) 0 var(--space-8);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.footer__tagline {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-400);
}

.footer__heading {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-white);
    margin-bottom: var(--space-6);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer__link {
    color: var(--color-gray-400);
    font-size: var(--text-base);
    transition: color var(--transition-fast);
}

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

.footer__bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.footer__social {
    display: flex;
    gap: var(--space-4);
}

.footer__social a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

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

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer__bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    color: var(--color-white);
    padding: calc(80px + var(--space-20)) 0 var(--space-20);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.page-header__title {
    font-size: var(--text-5xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
    position: relative;
}

.page-header__text {
    font-size: var(--text-xl);
    color: var(--color-gray-300);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* --------------------------------------------------------------------------
   Blog Styles
   -------------------------------------------------------------------------- */
.blog-list {
    display: grid;
    gap: var(--space-8);
}

.blog-post {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.blog-post__header {
    margin-bottom: var(--space-12);
}

.blog-post__meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.blog-post__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

.blog-post__lead {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    color: var(--color-text-light);
}

.blog-post__content {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.blog-post__content h2 {
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
}

.blog-post__content h3 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.blog-post__content p {
    margin-bottom: var(--space-6);
}

.blog-post__content ul,
.blog-post__content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-8);
}

.blog-post__content li {
    margin-bottom: var(--space-2);
}

.blog-post__content blockquote,
.pull-quote {
    margin: var(--space-12) 0;
    padding: var(--space-8);
    background: var(--color-accent-glow);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--color-navy);
}

.blog-post__footer {
    margin-top: var(--space-16);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-200);
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info {
    display: grid;
    gap: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
}

.contact-item__value {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-navy);
}

.contact-item__value a {
    color: var(--color-navy);
}

.contact-item__value a:hover {
    color: var(--color-accent);
}

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

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form {
    display: grid;
    gap: var(--space-6);
}

.form__group {
    display: grid;
    gap: var(--space-2);
}

.form__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: var(--space-4);
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4/5;
    background: var(--color-gray-100);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
}

.about-photo__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    text-align: center;
    padding: var(--space-8);
}

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

    .about-photo {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   Services Page
   -------------------------------------------------------------------------- */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-12);
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail__icon {
    width: 80px;
    height: 80px;
    background: var(--color-accent-glow);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.service-detail__title {
    margin-bottom: var(--space-4);
}

.service-detail__text {
    color: var(--color-text-light);
    margin-bottom: var(--space-6);
}

.service-detail__features {
    list-style: none;
    display: grid;
    gap: var(--space-3);
}

.service-detail__features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.service-detail__features li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-detail__icon {
        margin: 0 auto;
    }

    .service-detail__features {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   Google Reviews Badge
   -------------------------------------------------------------------------- */
.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

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

.reviews-badge__stars {
    color: #FBBF24;
    font-size: var(--text-lg);
}

.reviews-badge__text {
    font-size: var(--text-sm);
    color: var(--color-text);
}

.reviews-badge__text strong {
    display: block;
    color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-12 { margin-bottom: var(--space-12); }

/* --------------------------------------------------------------------------
   Skip Link (Accessibility)
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-navy);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 9999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-4);
}

/* --------------------------------------------------------------------------
   Focus States (Accessibility)
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
    .nav,
    .footer,
    .btn,
    .cookie-banner {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }
}

/* --------------------------------------------------------------------------
   Cookie Consent Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-6) var(--space-8);
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.cookie-banner__text {
    flex: 1;
    min-width: 280px;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.cookie-banner__text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    color: var(--color-accent-soft);
}

.cookie-banner__actions {
    display: flex;
    gap: var(--space-4);
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.cookie-banner__btn--accept {
    background: var(--color-accent);
    color: var(--color-navy);
}

.cookie-banner__btn--accept:hover {
    background: var(--color-accent-soft);
}

.cookie-banner__btn--decline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-gray-500);
}

.cookie-banner__btn--decline:hover {
    border-color: var(--color-white);
}

@media (max-width: 600px) {
    .cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }
}
