:root {
    /* Fairy Tale Child Care - Magical Palette */
    --p: #FFD93D;
    /* Primary Yellow */
    --p-pink: #FF6B6B;
    --p-blue: #2E91D3;
    --p-orange: #FF9F43;
    --d: #00457C;
    /* Dark Blue from logo */
    --t: #2D3436;
    --l: #FFFDF7;
    --w: #ffffff;
    --s: 'Quicksand', sans-serif;
    --f-h: 'Bubblegum Sans', cursive;

    /* Functional Mappings */
    --primary-brand: var(--p);
    --primary-accent: var(--p-pink);
    --blue-dark: #CC9B00;
    /* Dark Yellow for hover */
    --blue-light: #FFF9E6;
    /* Light Yellow/Cream */
    --white: var(--w);
    --text-dark: var(--t);
    --text-light: #f5f5f5;
    --bg-light: var(--l);
    --footer-dark: #353b48;

    --primary-blue: var(--p-blue);
    --primary-pink: var(--p-pink);
    --primary-yellow: var(--p);
    --primary-orange: var(--p-orange);
    --primary-green: #8BC34A;
    --primary-dark: var(--d);

    /* Fonts */
    --font-heading: var(--f-h);
    --font-body: var(--s);

    /* Spacing & Layout */
    --container-width: 1200px;
    --border-radius: 15px;
    /* Rounder for childcare */
    --border-radius-pill: 50px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    cursor: none;
    /* Hide default cursor */
}

.custom-cursor {
    width: 60px;
    height: 60px;
    background-image: url('/images/fairy-cursor.webp');
    background-size: contain;
    background-repeat: no-repeat;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.pixie-dust {
    position: fixed;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #fff700 0%, #ffcc00 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
    animation: fadeOut 0.8s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    100% {
        opacity: 0;
        transform: scale(0.2) translateY(20px);
    }
}

/* Ensure links and buttons show a pointer or custom state if desired */
a,
button,
.btn {
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Extra Bold per reference */
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container,
.c {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn,
.b {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius-pill);
    font-weight: 700;
    text-align: center;
    cursor: none;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary,
.b-p {
    background: var(--p);
    color: var(--primary-dark) !important;
    /* Yellow background, dark blue text */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover,
.b-p:hover {
    background: var(--p-orange);
    transform: translateY(-2px);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 190, 0.5);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--primary-yellow);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container,
header .c {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* Needed for absolute positioning of mobile menu */
}

.logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-dark);
    z-index: 1001;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 900;
}

.logo .l-1 {
    color: #2E91D3;
}

.logo .l-2 {
    color: #FF9F43;
}

.logo .l-3 {
    color: #8BC34A;
}

.logo .l-4 {
    color: #FFD93D;
}

.logo .l-5 {
    color: #FF6B6B;
}

.logo .l-space {
    margin-right: 5px;
}

.logo .l-6 {
    color: #FF9F43;
}

.logo .l-7 {
    color: #2E91D3;
}

.logo .l-8 {
    color: #FF6B6B;
}

.logo .l-9 {
    color: #FFD93D;
}

.logo span.cc {
    color: var(--p-pink);
    margin-left: 8px;
    font-weight: 700;
    font-family: var(--s);
    font-size: 0.9em;
}

/* Service Page Layouts */
.service-content h2 {
    font-family: var(--f-h);
    color: var(--d);
    margin: 40px 0 20px;
    font-size: 2.2rem;
}

.service-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.15rem;
}

.service-content ul {
    margin-bottom: 35px;
    padding-left: 0;
    list-style: none;
}

.service-content li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding-left: 35px;
    position: relative;
}

.service-content li::before {
    content: '🎠';
    position: absolute;
    left: 0;
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.phone-link {
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-link:hover {
    color: var(--primary-dark);
}

.logo {
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-size: 24px;
    /* Fixed sized for stability */
    font-weight: 900;
    color: var(--primary-dark);
    z-index: 1001;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.menu-t,
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
}

/* Header Action (Phone Button) */
.header-actions .b-p {
    padding: 8px 18px;
    font-size: 0.9rem;
    background: var(--p);
    color: var(--d) !important;
    box-shadow: 0 4px 10px rgba(255, 217, 61, 0.2);
}

.header-actions .b-p:hover {
    background: var(--p-orange);
    transform: translateY(-1px);
}

/* Responsive Mobile Header - Break at 1024px for tablets */
@media (max-width: 1024px) {
    header {
        padding: 10px 0;
    }

    .m-hide,
    .header-actions {
        display: none !important;
    }

    .menu-t,
    .mobile-menu-btn {
        display: block !important;
    }

    /* Mobile Navigation Menu */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
        display: none;
        /* Default hidden */
    }

    nav.active {
        display: block !important;
        transform: translateY(0);
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 0;
    }

    nav a {
        display: block;
        font-size: 1.1rem;
        padding: 10px;
    }
}

/* Homepage Hero: Magical Edition */
.hero {
    padding: 160px 0 120px;
    background: linear-gradient(rgba(255, 253, 231, 0.92), rgba(255, 249, 196, 0.85)), url('/images/palmdale-residential-daycare-hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: var(--d);
    position: relative;
    z-index: 10;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 550px;
}

.hero h1 {
    font-family: var(--f-h);
    font-size: clamp(3.2rem, 9vw, 5rem) !important;
    color: var(--d) !important;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 2px 2px 0 rgba(255, 255, 255, 0.9);
}

.hero p {
    font-size: 1.4rem;
    max-width: 900px;
    margin: 0 auto 45px;
    color: var(--d) !important;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Homepage Hero Buttons */
.hero .b-p {
    background: #FFD93D;
    color: var(--d);
    border: none;
    box-shadow: 0 10px 25px rgba(255, 217, 61, 0.4);
}

.hero .b-outline {
    border: 2px solid var(--d);
    color: var(--d);
    background: transparent;
}

.hero .b-p:hover {
    background: #FFC107;
    transform: translateY(-3px);
}

.hero .b-outline:hover {
    background: var(--d);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Magic Grid (m-grid) for Homepage Content --- */
.m-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.m-grid img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.m-grid:hover img {
    transform: scale(1.02);
}

@media (max-width: 968px) {
    .m-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .m-grid img {
        transform: rotate(0) !important;
    }
}

/* --- Sticky Video Styles REMOVED --- */



/* --- Features Section (feats) --- */
.feats {
    padding: 100px 0;
}

.st {
    text-align: center;
    margin-bottom: 60px;
}

.st h2 {
    font-size: 3.2rem;
    margin-bottom: 15px;
}

.g4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: #fff;
    padding: 45px 35px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.card .icon {
    width: 65px;
    height: 65px;
    margin-bottom: 25px;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--d);
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* --- Programs Grid (s-grid) --- */
.s-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.s-card {
    background: #fff;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.s-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.12);
}

.s-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.s-info {
    padding: 40px;
}

.s-info h3 {
    font-size: 2.1rem;
    margin-bottom: 20px;
    color: var(--d);
}

.s-info ul {
    list-style: none;
    margin-bottom: 30px;
}

.s-info li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: #555;
}

.s-info li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--p-orange);
}

.s-link {
    font-weight: 700;
    color: var(--d);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 1.1rem;
}

.s-link:hover {
    color: var(--p-pink);
    transform: translateX(8px);
}

@media (max-width: 480px) {

    .s-grid,
    .g4 {
        grid-template-columns: 1fr;
    }
}

/* Global Subpage Hero */
.page-hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #FFFDE7 0%, #FFF9C4 50%, #FFEB3B 100%);
    text-align: center;
    color: var(--d);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.page-hero h1 {
    font-family: var(--f-h);
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    margin-bottom: 20px;
    color: var(--d) !important;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--d) !important;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.4;
}

/* Modern Content Cards for Subpages */
.sub-content {
    padding: 100px 0;
    background-color: var(--l);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.modern-card {
    background: var(--w);
    padding: 40px;
    border-radius: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.01);
    height: 100%;
    text-align: left;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.modern-card h2,
.modern-card h3 {
    font-family: var(--f-h);
    font-size: 2rem;
    color: var(--d);
    margin-bottom: 20px;
}

.modern-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

/* New Footer Styles */
.aw-footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
    font-size: 0.95rem;
    position: relative;
    border-top: 4px solid transparent;
    background-image:
        linear-gradient(var(--primary-dark), var(--primary-dark)),
        linear-gradient(90deg,
            #4A6FA5 0%,
            #1E3A5F 25%,
            #4A6FA5 50%,
            #1E3A5F 75%,
            #4A6FA5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: ledGlow 3s linear infinite;
}

@keyframes ledGlow {
    0% {
        filter: brightness(1) drop-shadow(0 -2px 8px rgba(30, 58, 95, 0.6));
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 -4px 16px rgba(30, 58, 95, 0.9));
    }

    100% {
        filter: brightness(1) drop-shadow(0 -2px 8px rgba(30, 58, 95, 0.6));
    }
}

.aw-footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .aw-footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .aw-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .aw-footer-brand img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

.aw-footer-brand {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.aw-footer-brand h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 15px;
}

.aw-footer-brand h3 span {
    color: var(--accent-gold);
}

.aw-footer-contact {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.aw-footer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.aw-footer-phone a {
    color: var(--accent-gold);
}

.aw-footer-services {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.aw-footer-services h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.aw-footer-services ul {
    list-style: none;
    padding: 0;
}

.aw-footer-services li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.aw-footer-services a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aw-footer-services a:hover {
    color: var(--accent-gold);
}

.aw-footer-links {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.aw-footer-links h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.aw-footer-links ul {
    list-style: none;
    padding: 0;
}

.aw-footer-links li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.aw-footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aw-footer-links a:hover {
    color: var(--accent-gold);
}

.aw-footer-locations {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.aw-footer-locations h4 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.aw-footer-locations ul {
    list-style: none;
    padding: 0;
}

.aw-footer-locations li {
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.aw-footer-locations a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aw-footer-locations a:hover {
    color: var(--accent-gold);
}

.aw-footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .aw-footer-inner {
        flex-direction: column;
        gap: 30px;
    }
}

.stat-label {
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 600;
}

/* New Section: Team / Founder */
.team-section {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.team-content h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.team-role {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.team-image-wrapper {
    position: relative;
    padding: 20px;
}

.team-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background-color: var(--bg-light);
    z-index: 0;
    border-radius: 0 20px 0 0;
}

.team-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 60%;
    background-color: var(--accent-gold);
    z-index: 0;
    opacity: 0.2;
    border-radius: 0 0 0 20px;
}

.team-img {
    width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    /* Placeholder fallback styling */
    background-color: #ccc;
    min-height: 400px;
    object-fit: cover;
}

/* Luxury Testimonials */
.luxury-testimonials {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.testimonial-grid-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-luxury-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.testimonial-luxury-card:hover {
    transform: translateY(-5px);
}

.t-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.t-avatar {
    width: 50px;
    height: 50px;
    background-color: #eee;
    border-radius: 50%;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.t-info strong {
    display: block;
    color: var(--primary-dark);
}

.t-info span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Responsive Overrides for new sections */
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .team-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .process-steps::before {
        display: none;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .stats-grid {
        gap: 40px;
    }
}

/* ===================================== */
/* PALMDALE CUSTOMER FEEDBACK — LUXURY     */
/* ===================================== */

.av-palmdale-testimonials {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 80px 20px 90px;
    background: #ffffff;
    font-family: var(--font-heading);
    overflow: hidden;
}

.av-palmdale-testimonials h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.av-palmdale-testimonials p.av-palmdale-intro {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* VIEWPORT */
.av-palmdale-review-viewport {
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
}

/* TRACK */
.av-palmdale-review-track {
    display: flex;
    gap: 26px;
    width: max-content;
    animation: avPalmdaleScroll 45s linear infinite;
}

.av-palmdale-review-viewport:hover .av-palmdale-review-track {
    animation-play-state: paused;
}

/* CARD */
.av-palmdale-review-card {
    width: 340px;
    background: var(--bg-cream-tint);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    border-top: 5px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.av-palmdale-review-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 12px;
}

.av-palmdale-review-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.av-palmdale-review-card strong {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.av-palmdale-review-card small {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

/* TEXT */
.av-palmdale-review-card p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.65;
    margin-top: 8px;
    font-style: italic;
}

/* CTA */
.av-palmdale-review-cta {
    text-align: center;
    margin-top: 50px;
}

.av-palmdale-review-cta a {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
    color: #fff;
    padding: 16px 42px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: .25s ease;
    border: 2px solid var(--primary-gold);
}

.av-palmdale-review-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
}

/* SCROLL */
@keyframes avPalmdaleScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* MOBILE */
@media (max-width:900px) {
    .av-palmdale-review-card {
        width: 300px;
    }

    .av-palmdale-testimonials h2 {
        font-size: 30px;
    }
}

/* ===================================== */
/* PALMDALE TECHNICIAN — LUXURY EDITION  */
/* ===================================== */

.av-palmdale-tech {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 110px 20px;
    background: linear-gradient(to bottom, #ffffff, var(--bg-cream-tint));
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
}

/* subtle brand glow */
.av-palmdale-tech::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(26, 26, 26, 0.08), transparent 45%);
    pointer-events: none;
}

/* headings */
.av-palmdale-tech h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.av-palmdale-tech .av-palmdale-tech-intro {
    max-width: 820px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--primary-dark);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* layout */
.av-palmdale-tech-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* image card */
.av-palmdale-tech-photo {
    background: var(--white);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.av-palmdale-tech-photo img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

/* text */
.av-palmdale-tech-quote {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 22px;
    line-height: 1.3;
}

.av-palmdale-tech-copy {
    font-size: 1.05rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 28px;
}

/* bullets */
.av-palmdale-tech-points {
    margin-bottom: 36px;
}

.av-palmdale-tech-point {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--primary-dark);
}

.av-palmdale-tech-point span {
    color: var(--primary-gold);
    font-size: 18px;
    line-height: 1;
}

/* CTA */
.av-palmdale-tech-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
    color: #fff;
    padding: 16px 44px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    transition: transform .25s ease, box-shadow .25s ease;
    border: 2px solid var(--primary-gold);
}

.av-palmdale-tech-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* ===================================== */
/* MOBILE                                */
/* ===================================== */
@media (max-width: 900px) {
    .av-palmdale-tech {
        padding: 80px 16px;
    }

    .av-palmdale-tech h2 {
        font-size: 32px;
    }

    .av-palmdale-tech .av-palmdale-tech-intro {
        font-size: 16px;
        margin-bottom: 50px;
    }

    .av-palmdale-tech-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .av-palmdale-tech-quote {
        font-size: 22px;
        text-align: center;
    }

    .av-palmdale-tech-copy {
        text-align: center;
    }

    .av-palmdale-tech-points {
        max-width: 420px;
        margin: 0 auto 30px;
    }

    .av-palmdale-tech-cta {
        display: block;
        margin: 0 auto;
        text-align: center;
        max-width: 340px;
    }
}

/* ===================================== */
/* YARD SERVICE PRICING — LUXURY         */
/* ===================================== */

.av-pricing-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 100px 20px;
    background: linear-gradient(to bottom, #ffffff, var(--bg-cream-tint));
    font-family: var(--font-heading);
}

.av-pricing-inner {
    max-width: var(--container-width);
    margin: auto;
}

.av-pricing-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.av-pricing-section .av-pricing-intro {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
}

.av-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.av-pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.av-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.av-pricing-card.featured {
    box-shadow: 0 22px 50px rgba(26, 26, 26, 0.15);
    border: 3px solid var(--accent-gold);
    position: relative;
}

.av-pricing-badge {
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: .1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: inline-block;
}

.av-pricing-card h3 {
    font-size: 24px;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 10px;
}

.av-pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 15px 0;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.av-pricing-price span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-light);
}

.av-pricing-desc {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.av-pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    flex-grow: 1;
}

.av-pricing-features li {
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.av-pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: 900;
}

.av-pricing-cta {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 16px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(26, 26, 26, 0.2);
}

.av-pricing-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(26, 26, 26, 0.3);
}

.av-pricing-card.featured .av-pricing-cta {
    background: var(--primary-dark);
    border: 2px solid var(--accent-gold);
}

@media (max-width: 768px) {
    .av-pricing-section h2 {
        font-size: 32px;
    }

    .av-pricing-section {
        padding: 70px 20px;
    }
}

/* ===================================== */
/* EXPLORE MORE SERVICES — LUXURY GRID   */
/* ===================================== */

.av-explore-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 100px 20px;
    background: #ffffff;
    font-family: var(--font-heading);
}

.av-explore-inner {
    max-width: var(--container-width);
    margin: auto;
}

.av-explore-section h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 50px;
}

.av-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

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

@media (max-width: 640px) {
    .av-explore-grid {
        grid-template-columns: 1fr;
    }
}

.av-explore-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.4, 1), box-shadow 0.4s ease;
    text-decoration: none;
    display: block;
    border: 3px solid transparent;
    background-image:
        linear-gradient(#1A1A1A, #1A1A1A),
        linear-gradient(135deg,
            #4A6FA5 0%,
            #1E3A5F 50%,
            #4A6FA5 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: cardLedGlow 2s ease-in-out infinite;
}

@keyframes cardLedGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 8px rgba(30, 58, 95, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 16px rgba(30, 58, 95, 0.7));
    }
}

.av-explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(26, 26, 26, 0.2);
    animation: cardLedGlowHover 1.5s ease-in-out infinite;
}

@keyframes cardLedGlowHover {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(30, 58, 95, 0.6));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(30, 58, 95, 0.9));
    }
}

.av-explore-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.av-explore-card:hover img {
    transform: scale(1.1);
}

.av-explore-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(26, 26, 26, 0.6) 50%, transparent 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: var(--white);
}

.av-explore-overlay h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.av-explore-card:hover .av-explore-overlay h3 {
    color: var(--accent-gold);
}

.av-explore-overlay p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 15px;
}

.av-explore-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, #4A6FA5 0%, #1E3A5F 50%, #4A6FA5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.av-explore-link::after {
    content: "→";
    transition: transform 0.3s ease;
    -webkit-text-fill-color: #F5E6D3;
}

.av-explore-card:hover .av-explore-link::after {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .av-explore-section h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .av-explore-section {
        padding: 70px 20px;
    }

    .av-explore-card {
        height: 280px;
    }
}

/* ====================================== */
/* PAINT BRUSH STROKE DECORATIONS        */
/* ====================================== */

/* Paint Drip Effect for Cards */
.paint-drip {
    position: relative;
}

.paint-drip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary-terracotta) 0%, transparent 100%);
    border-radius: 0 0 50% 50%;
    opacity: 0.6;
}

/* Brush Texture Background */
.brush-texture-bg {
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(212, 112, 75, 0.03) 49%, rgba(212, 112, 75, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(44, 95, 141, 0.03) 49%, rgba(44, 95, 141, 0.03) 51%, transparent 52%);
    background-size: 20px 20px;
}

/* Before & After Comparison Slider */
.before-after-slider-section {
    padding: 100px 0;
    background-color: #fff;
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 50px auto 0;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(27, 77, 46, 0.15);
    border: 8px solid white;
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-before {
    width: 50%;
    border-right: 3px solid white;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.ba-slider {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    outline: none;
    margin: 0;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.ba-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 60px;
    background: white;
    cursor: ew-resize;
    border-radius: 50%;
    border: 5px solid #85BB65;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ba-slider::-moz-range-thumb {
    width: 60px;
    height: 60px;
    background: white;
    cursor: ew-resize;
    border-radius: 50%;
    border: 5px solid #85BB65;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ba-label {
    position: absolute;
    bottom: 30px;
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    font-size: 0.9rem;
    pointer-events: none;
    backdrop-filter: blur(5px);
}

.ba-label-before {
    left: 30px;
}

.ba-label-after {
    right: 30px;
}

@media (max-width: 768px) {
    .ba-slider-container {
        height: 400px;
    }

    .ba-slider::-webkit-slider-thumb {
        width: 45px;
        height: 45px;
    }

    .ba-slider::-moz-range-thumb {
        width: 45px;
        height: 45px;
    }
}

/* ====================================== */
/* GLOBAL FOOTER STYLES                  */
/* ====================================== */

.footer {
    background: linear-gradient(180deg, var(--d) 0%, #002b4d 100%);
    color: var(--w);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #2E91D3, #FF9F43, #8BC34A, #FFD93D, #FF6B6B);
}

.footer h3,
.footer h4 {
    font-family: var(--f-h);
    color: var(--p);
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer h4 {
    font-size: 1.5rem;
    color: #fff;
}

.f-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.f-link-hover {
    transition: 0.3s;
    opacity: 0.9;
}

.f-link-hover:hover {
    color: var(--p) !important;
    transform: translateX(5px);
    opacity: 1 !important;
}

.f-bot {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
    text-align: center;
}

.aw-footer-neighborhoods {
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====================================== */
/* SERVICE PAGE ENHANCEMENTS            */
/* ====================================== */

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    display: block;
}

.service-content hgroup,
.service-content h2 {
    font-family: var(--f-h);
    color: var(--d);
    margin: 40px 0 20px;
    font-size: 2.5rem;
}

/* iPad / Tablet Refinements (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .f-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .f-grid div:last-child {
        grid-column: span 2;
        text-align: center;
    }

    .f-grid div:last-child a {
        justify-content: center;
    }
}

/* Footer Mobile Refinements */
@media (max-width: 768px) {

    footer,
    .footer,
    .aw-footer {
        text-align: center !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .f-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .footer-content,
    .footer-grid,
    .aw-footer-inner,
    .footer .c {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .aw-footer-brand,
    .footer-section,
    .footer-col,
    .footer div {
        text-align: center !important;
        width: 100% !important;
    }

    .footer p,
    .footer a,
    .aw-footer a {
        display: block !important;
        margin: 5px auto !important;
        max-width: 400px;
        /* Ensure paragraph doesn't stretch too wide but stays centered */
    }

    /* Centering the Follow Us / Facebook section */
    .fb-cta,
    .fb-cta-btn,
    .footer div:last-child a {
        display: inline-flex !important;
        margin: 15px auto !important;
        justify-content: center !important;
        align-items: center !important;
        float: none !important;
        width: fit-content !important;
    }

    .contact-item {
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-img {
        max-height: 350px;
        border-radius: 20px;
    }
}