/* ============================================
   SCHOEN HEATING & AIR CONDITIONING
   Main Stylesheet
   
   Brand Colors:
   - Primary Dark: #1A202C
   - Accent Red: #DC2626
   - Accent Yellow: #FACC15
   - White: #FFFFFF
   
   Fonts:
   - Headings: Oswald
   - Body: Roboto
   ============================================ */

/* CSS Variables */
:root {
    --primary-dark: #1A202C;
    --accent-red: #DC2626;
    --accent-yellow: #FACC15;
    --white: #FFFFFF;
    --gray-100: #F7FAFC;
    --gray-200: #EDF2F7;
    --gray-300: #E2E8F0;
    --gray-400: #CBD5E0;
    --gray-500: #A0AEC0;
    --gray-600: #718096;
    --gray-700: #4A5568;
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-out;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul {
    list-style: none;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-dark);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background-color var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(26, 32, 44, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    max-width: 200px;
}

.logo-img {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white);
}

.nav-phone {
    display: none;
    color: var(--accent-yellow);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.nav-phone:hover {
    color: var(--white);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    position: relative;
    transition: background-color var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: transform var(--transition-normal);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.mobile-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-toggle.active .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/schoen_van_hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 32, 44, 0.85) 0%,
        rgba(26, 32, 44, 0.7) 50%,
        rgba(26, 32, 44, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
}

.hero-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-trust {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--gray-300);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-phone {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-phone a {
    color: var(--accent-yellow);
    font-weight: 600;
}

.hero-phone a:hover {
    color: var(--white);
}

/* ============================================
   PAGE HEADER (Services, Contact, Privacy)
   ============================================ */
.page-header {
    background-color: var(--primary-dark);
    padding: 8rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* ============================================
   PRIMARY CTA BUTTON
   ============================================ */
.primary-cta {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.primary-cta:hover {
    background-color: #B91C1C;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-cta {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.75rem 2rem;
    border: 2px solid var(--accent-red);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.secondary-cta:hover {
    background-color: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
    margin: 1rem auto 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
}

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

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent-yellow);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    margin: 1rem 0 0;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   TRUST SECTION (Why Choose Us)
   ============================================ */
.trust-section {
    padding: 5rem 0;
    background-color: var(--primary-dark);
    color: var(--white);
}

.trust-section .section-title {
    color: var(--white);
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.trust-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.trust-content p {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.trust-content .section-title {
    text-align: left;
}

.trust-content .section-title::after {
    margin: 1rem 0 0;
    background-color: var(--accent-yellow);
}

.trust-cta {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.trust-cta strong {
    color: var(--accent-yellow);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 20px;
    height: 2px;
    background-color: var(--accent-red);
    transform: translateY(-50%);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/testimonial_bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

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

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card cite {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
    font-style: normal;
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-5px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--shadow-xl);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.blog-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--primary-dark);
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    transition: all var(--transition-fast);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.footer-info p {
    color: var(--gray-400);
    margin-bottom: 0.5rem;
}

.footer-info a {
    color: var(--accent-yellow);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-300);
    font-size: 0.9rem;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-yellow);
    transition: width var(--transition-fast);
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ============================================
   SERVICES PAGE STYLES
   ============================================ */
.main-services {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-detail-card {
    background-color: var(--gray-100);
    padding: 2.5rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
}

.service-detail-icon {
    width: 56px;
    height: 56px;
    background-color: var(--accent-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-detail-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.service-detail-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.service-detail-card ul {
    margin-bottom: 1.5rem;
}

.service-detail-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.service-detail-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background-color: var(--accent-red);
    border-radius: 50%;
}

/* Services Why Section */
.services-why {
    padding: 5rem 0;
    background-color: var(--primary-dark);
}

.services-why .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.why-item h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--gray-600);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

.contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-dark);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent-yellow);
}

.contact-item h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--accent-red);
}

.contact-form-wrapper {
    background-color: var(--gray-100);
    padding: 2.5rem;
    border-radius: 8px;
}

/* Map Section */
.map-section {
    padding: 0 0 5rem;
}

.map-placeholder {
    background-color: var(--gray-200);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-placeholder p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ============================================
   PRIVACY PAGE STYLES
   ============================================ */
.privacy-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.privacy-last-updated {
    color: var(--gray-500);
    font-style: italic;
    margin-bottom: 2rem;
}

.privacy-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.privacy-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.privacy-content li {
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.privacy-content li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--accent-red);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.2s; }

.process-grid .process-step:nth-child(1) { transition-delay: 0s; }
.process-grid .process-step:nth-child(2) { transition-delay: 0.1s; }
.process-grid .process-step:nth-child(3) { transition-delay: 0.2s; }
.process-grid .process-step:nth-child(4) { transition-delay: 0.3s; }

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.2s; }

.blog-grid .blog-card:nth-child(1) { transition-delay: 0s; }
.blog-grid .blog-card:nth-child(2) { transition-delay: 0.1s; }
.blog-grid .blog-card:nth-child(3) { transition-delay: 0.2s; }

.services-detail-grid .service-detail-card:nth-child(1) { transition-delay: 0s; }
.services-detail-grid .service-detail-card:nth-child(2) { transition-delay: 0.1s; }
.services-detail-grid .service-detail-card:nth-child(3) { transition-delay: 0.2s; }
.services-detail-grid .service-detail-card:nth-child(4) { transition-delay: 0.3s; }

.why-grid .why-item:nth-child(1) { transition-delay: 0s; }
.why-grid .why-item:nth-child(2) { transition-delay: 0.1s; }
.why-grid .why-item:nth-child(3) { transition-delay: 0.2s; }
.why-grid .why-item:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid .service-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .about-container,
    .trust-container,
    .contact-page-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .trust-section {
        text-align: center;
    }
    
    .trust-content .section-title {
        text-align: center;
    }
    
    .trust-content .section-title::after {
        margin: 1rem auto 0;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step::after {
        display: none;
    }
    
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid .blog-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-phone {
        display: block;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-value {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .process-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid .service-card:last-child,
    .blog-grid .blog-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .about-image,
    .trust-image {
        order: -1;
    }
    
    .about-content .section-title,
    .trust-content .section-title {
        text-align: center;
    }
    
    .about-content .section-title::after,
    .trust-content .section-title::after {
        margin: 1rem auto 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .primary-cta {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .secondary-cta {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .service-card,
    .service-detail-card,
    .testimonial-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

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

:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-red);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}
