:root {
    --primary-red: #D32F2F;
    --primary-red-dark: #B71C1C;
    --primary-red-darker: #A50000;
    --dark-text: #212121;
    --white: #FFFFFF;
    --blue-grey: #607D8B;
    --blue-grey-light: #78909C;
    --blue-grey-dark: #455A64;
    --light-blue: #E0F2F7;
    --light-blue-darker: #B3E5FC;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --container-width: 1200px;
    --header-height: 80px;
    --header-height-tablet: 70px;
    --header-height-mobile: 64px;
    
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.section-headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
}

.btn-primary:active, .btn-primary:focus {
    background-color: var(--primary-red-darker);
    transform: scale(0.98);
}

.btn-secondary {
    background-color: var(--blue-grey);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--blue-grey-light);
}

.btn-secondary:active, .btn-secondary:focus {
    background-color: var(--blue-grey-dark);
    transform: scale(0.98);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-pulse {
        animation: none;
    }
}

.service-link {
    display: inline-block;
    color: var(--blue-grey);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: color var(--transition-base);
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--blue-grey);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.service-link:hover {
    color: var(--blue-grey-dark);
}

.service-link:hover::after {
    width: 100%;
}

.split-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .split-layout {
        flex-direction: row;
        align-items: center;
    }
    .split-layout.reverse .split-content:first-child {
        order: 2;
    }
    .split-layout .split-content {
        flex: 1;
    }
}

.split-content {
    width: 100%;
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-mobile);
    background-color: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.header.scrolled {
    height: 60px;
}

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

.logo {
    display: block;
}

.logo-img {
    height: 50px;
    width: auto;
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav {
    display: none;
}

.header-actions {
    display: none;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 999;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right var(--transition-slow);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--dark-text);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-blue);
}

.mobile-nav-link.active {
    color: var(--primary-red);
}

.mobile-call-btn, .mobile-quote-btn {
    margin-top: auto;
}

@media (min-width: 429px) {
    .header {
        height: var(--header-height-tablet);
    }
    .logo-img {
        height: 55px;
    }
}

@media (min-width: 768px) {
    .header {
        height: var(--header-height);
    }
    .logo-img {
        height: 60px;
    }
    
    .nav {
        display: block;
    }
    
    .nav-list {
        display: flex;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-family: var(--font-heading);
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--dark-text);
        position: relative;
        padding: 0.5rem 0;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--primary-red);
        transition: all var(--transition-base);
        transform: translateX(-50%);
    }
    
    .nav-link:hover::after, .nav-link.active::after {
        width: 100%;
    }
    
    .nav-link.active {
        color: var(--primary-red);
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .phone-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--primary-red);
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .phone-icon {
        width: 18px;
        height: 18px;
    }
    
    .phone-link:hover {
        text-decoration: underline;
    }
    
    .header-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .hamburger {
        display: none;
    }
}

/* ============ HERO SECTIONS ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height-mobile);
    overflow: hidden;
}

@media (min-width: 429px) {
    .hero {
        padding-top: var(--header-height-tablet);
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: var(--header-height);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33,33,33,0.7) 0%, rgba(33,33,33,0.4) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
}

.hero-cta-block {
    background-color: rgba(255,255,255,0.95);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.hero-cta-headline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.hero-cta-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.hero-quote-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-input {
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color var(--transition-base);
}

.hero-input:focus {
    outline: none;
    border-color: var(--blue-grey);
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-cta-block {
        flex: 1;
        max-width: 450px;
        padding: 2rem;
    }
    
    .hero-cta-headline {
        font-size: 1.5rem;
    }
    
    .hero-quote-form {
        flex-direction: row;
    }
    
    .hero-input {
        flex: 1;
    }
}

/* About Hero */
.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height-mobile);
}

@media (min-width: 429px) {
    .about-hero { padding-top: var(--header-height-tablet); }
}

@media (min-width: 768px) {
    .about-hero { padding-top: var(--header-height); }
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.about-hero-headline {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    max-width: 800px;
}

@media (min-width: 768px) {
    .about-hero-headline {
        font-size: 2.5rem;
    }
}

/* Services Hero */
.services-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height-mobile);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

@media (min-width: 429px) {
    .services-hero { padding-top: var(--header-height-tablet); }
}

@media (min-width: 768px) {
    .services-hero { padding-top: var(--header-height); }
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--blue-grey) 100%);
    opacity: 0.1;
}

.services-hero-headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-text);
}

@media (min-width: 768px) {
    .services-hero-headline {
        font-size: 2.25rem;
    }
}

/* Why Miller Hero */
.whymiller-hero {
    padding-top: calc(var(--header-height-mobile) + 4rem);
    padding-bottom: 4rem;
}

.whymiller-hero-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Contact Hero */
.contact-hero {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height-mobile);
    background: var(--light-blue);
}

@media (min-width: 429px) {
    .contact-hero { padding-top: var(--header-height-tablet); }
}

@media (min-width: 768px) {
    .contact-hero { padding-top: var(--header-height); }
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, var(--blue-grey) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--light-blue) 0%, transparent 40%);
    opacity: 0.3;
}

.contact-hero-headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--dark-text);
}

@media (min-width: 768px) {
    .contact-hero-headline {
        font-size: 2rem;
    }
}

/* ============ PROBLEM/SOLUTION ============ */
.problem-solution {
    padding: 4rem 0;
    background-color: var(--white);
}

.problem-content {
    padding: 2rem;
    background-color: var(--light-blue);
    border-radius: 12px;
}

.solution-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.solution-icon {
    width: 24px;
    height: 24px;
    color: var(--blue-grey);
    flex-shrink: 0;
}

/* ============ SERVICES SNAPSHOT ============ */
.services-snapshot {
    padding: 4rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--light-blue);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--blue-grey);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

@media (prefers-reduced-motion: reduce) {
    .service-card:hover {
        transform: none;
    }
}

/* ============ WHY MILLER ============ */
.why-miller {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.why-miller-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-miller-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.why-miller-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-miller-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
}

.why-miller-stat {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.why-miller-headline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.why-miller-text {
    font-size: 0.9rem;
    color: #666;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.testimonials-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    min-height: 200px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 1rem;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    text-align: center;
}

.testimonial-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
}

.testimonial-location {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--blue-grey);
}

.testimonial-arrow:hover {
    background-color: var(--blue-grey);
}

.testimonial-arrow:hover svg {
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--blue-grey);
    opacity: 0.5;
    cursor: pointer;
    transition: all var(--transition-base);
}

.testimonial-dot.active {
    opacity: 1;
    background-color: var(--primary-red);
}

/* ============ HOW WE WORK ============ */
.how-we-work {
    padding: 4rem 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.process-step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    border-radius: 50%;
}

.process-step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.process-step-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.process-step-headline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-step-text {
    font-size: 0.9rem;
    color: #666;
}

@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .process-step {
        flex: 1;
        max-width: 300px;
        position: relative;
    }
    
    .process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: var(--blue-grey);
        display: none;
    }
}

/* ============ SERVICE AREAS ============ */
.service-areas {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.service-areas-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #666;
}

.service-areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.area-tag {
    padding: 0.5rem 1rem;
    background-color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue-grey);
    box-shadow: var(--shadow-sm);
}

.service-areas-map {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ============ DETAILED SERVICES ============ */
.detailed-services {
    padding: 4rem 0;
    background-color: var(--white);
}

.detailed-services-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.service-category {
    margin-bottom: 1.5rem;
}

.service-category-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-list li {
    padding: 0.25rem 0.75rem;
    background-color: var(--light-blue);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* ============ ABOUT SNIPPET ============ */
.about-snippet {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.about-snippet-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* ============ FAQ ============ */
.faq {
    padding: 4rem 0;
    background-color: var(--white);
}

.faq-search {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.faq-search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color var(--transition-base);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--blue-grey);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--light-blue);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    text-align: left;
    cursor: pointer;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    color: var(--blue-grey);
    transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1rem;
    color: #666;
    line-height: 1.7;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

/* ============ FINAL CTA ============ */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    text-align: center;
}

.final-cta-headline {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.final-cta-text {
    color: #666;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .final-cta-buttons {
        flex-direction: row;
    }
}

/* ============ ABOUT PAGE ============ */
.our-story {
    padding: 4rem 0;
    background-color: var(--white);
}

.story-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: var(--light-blue);
    border-radius: 12px;
    text-align: center;
}

.story-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.story-years {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
}

.story-tagline {
    color: #666;
}

.our-values {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
}

.value-headline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.value-text {
    font-size: 0.9rem;
    color: #666;
}

.meet-the-team {
    padding: 4rem 0;
    background-color: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--light-blue);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--white);
}

.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--blue-grey) 100%);
}

.team-placeholder svg {
    width: 50px;
    height: 50px;
    color: var(--white);
    opacity: 0.7;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-title {
    display: block;
    font-size: 0.85rem;
    color: var(--blue-grey);
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.85rem;
    color: #666;
}

@media (prefers-reduced-motion: reduce) {
    .team-card:hover {
        transform: none;
    }
}

.our-guarantee {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    text-align: center;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 50%;
}

.guarantee-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
}

.our-guarantee .section-headline {
    color: var(--white);
}

.our-guarantee .section-text {
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
}

.cta-section {
    padding: 4rem 0;
    background-color: var(--light-blue);
    text-align: center;
}

.cta-headline {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.cta-text {
    color: #666;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
    }
}

/* ============ SERVICES PAGE ============ */
.services-overview {
    padding: 2rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-blue);
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.service-nav-link {
    padding: 0.75rem 1.5rem;
    background-color: var(--light-blue);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    transition: all var(--transition-base);
}

.service-nav-link:hover, .service-nav-link.active {
    background-color: var(--blue-grey);
    color: var(--white);
}

.service-detail {
    padding: 4rem 0;
    background-color: var(--white);
}

.service-detail-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.service-item {
    margin-bottom: 2rem;
}

.service-item-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-grey);
    margin-bottom: 0.5rem;
}

.service-item-text {
    color: #666;
    margin-bottom: 0.75rem;
}

.service-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-benefits li {
    padding: 0.25rem 0.75rem;
    background-color: var(--light-blue);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--dark-text);
}

/* ============ WHY MILLER PAGE ============ */
.usp-grid {
    padding: 4rem 0;
    background-color: var(--white);
}

.usp-grid-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.usp-card {
    padding: 2rem;
    background-color: var(--light-blue);
    border-radius: 12px;
    text-align: center;
}

.usp-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
}

.usp-headline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.usp-text {
    font-size: 0.9rem;
    color: #666;
}

.our-process {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.process-timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.process-timeline-marker {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
}

.process-timeline-headline {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.process-timeline-text {
    font-size: 0.9rem;
    color: #666;
}

@media (min-width: 768px) {
    .process-timeline {
        flex-direction: row;
    }
    
    .process-timeline-item {
        flex: 1;
    }
}

.certifications {
    padding: 4rem 0;
    background-color: var(--white);
}

.cert-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cert-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.cert-logo svg {
    width: 50px;
    height: 50px;
    color: var(--blue-grey);
}

.cert-logo span {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* ============ CONTACT PAGE ============ */
.contact-form-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-info-text {
    color: #666;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-base);
    background-color: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--blue-grey);
}

.form-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: all var(--transition-base);
    background-color: var(--white);
    padding: 0 0.25rem;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--blue-grey);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.contact-details {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-method {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    border-radius: 50%;
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue-grey);
}

.contact-method-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-method-link {
    color: var(--blue-grey);
    font-weight: 600;
}

.contact-method-text {
    color: #666;
    font-size: 0.9rem;
}

.contact-map {
    padding: 4rem 0;
    background-color: var(--white);
}

.contact-map-text {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.contact-social {
    padding: 4rem 0;
    background-color: var(--light-blue);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.social-link-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.social-link-large svg {
    width: 30px;
    height: 30px;
    color: var(--blue-grey);
}

.social-link-large span {
    font-weight: 600;
    color: var(--dark-text);
}

@media (prefers-reduced-motion: reduce) {
    .social-link-large:hover {
        transform: none;
    }
}

/* ============ FOOTER ============ */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all var(--transition-base);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.social-link:hover {
    background-color: var(--blue-grey);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-link-list li {
    margin-bottom: 0.5rem;
}

.footer-link-list a {
    color: #999;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

.footer-link-list a:hover {
    color: var(--white);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #999;
    font-size: 0.9rem;
}

.footer-contact-list svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: #999;
    transition: color var(--transition-base);
}

.footer-contact-list a:hover {
    color: var(--white);
}

.footer-hours-text {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 0.25rem;
}

.footer-service-area {
    font-size: 0.85rem;
    color: #999;
    margin: 0.75rem 0;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
}

.footer-badge {
    font-size: 0.85rem;
    color: var(--blue-grey);
}

.easter-egg-trigger {
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.3;
    transition: opacity var(--transition-base);
}

.easter-egg-trigger:hover, .easter-egg-trigger:focus {
    opacity: 1;
}

.easter-egg-icon {
    width: 20px;
    height: 20px;
    color: var(--white);
}

/* ============ EASTER EGG OVERLAY ============ */
.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.easter-egg-overlay.active {
    opacity: 1;
}

/* ============ FORM SUCCESS MODAL ============ */
.form-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.form-success-modal.active {
    opacity: 1;
    visibility: visible;
}

.form-success-content {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform var(--transition-base);
}

.form-success-modal.active .form-success-content {
    transform: scale(1);
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-blue);
    border-radius: 50%;
}

.form-success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
}

.form-success-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-success-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* ============ ANIMATIONS ============ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in, .slide-in-left, .slide-in-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--blue-grey);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-grey-dark);
}

/* ============ FOCUS STATES ============ */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--blue-grey);
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}