/* ===== MRHD CONSTRUCTION GROUP LIMITED - Navy Blue, White & Red Accents ===== */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #2563eb;
    --secondary: #172554;
    --accent: #dc2626;
    --accent-dark: #b91c1c;
    --text-dark: #0f172a;
    --text-light: #475569;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-hero: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    font-size: 16px;
    letter-spacing: 0.01em;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 5rem 0; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.logo-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header.scrolled .logo-name { color: var(--primary); text-shadow: none; }

.logo-image {
    display: block;
    flex-shrink: 0;
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.3);
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.1);
}
.header.scrolled .logo-image { border-color: rgba(30, 64, 175, 0.5); }

.nav-list { display: flex; list-style: none; gap: 2rem; }
.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header.scrolled .nav-link { color: var(--text-dark); text-shadow: none; }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--accent); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}
.header.scrolled .nav-link.active::after { background: var(--accent); }

.mobile-menu-toggle, .mobile-menu-close {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header.scrolled .hamburger { background: var(--text-dark); box-shadow: none; }
.mobile-menu-close {
    font-size: 2rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.header.scrolled .mobile-menu-close { color: var(--text-dark); text-shadow: none; }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: var(--font-hero);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
    font-family: var(--font-hero);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-submit {
    background: var(--primary);
    color: var(--white);
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section headers */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}
.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 1rem;
}
.section-subtitle { font-size: 1.125rem; color: var(--text-light); }

/* About */
.about { background: var(--gray-50); }
.about-tagline {
    max-width: 720px;
    margin: 1rem auto 0;
    font-weight: 600;
    color: var(--primary);
}
.about-content { max-width: 1000px; margin: 0 auto; }
.about-intro p {
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}
.about-intro p:last-child { margin-bottom: 0; }
.about-block-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.about-block-title--center { text-align: center; margin-bottom: 1.5rem; }
.about-mv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.about-mv-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
}
.about-mv-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-light);
    margin: 0;
}
.about-values { margin-top: 2.75rem; }
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.about-value-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
}
.about-value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}
.about-value-card p {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
}
.about-apart {
    margin-top: 2.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    color: var(--white);
    text-align: center;
}
.about-apart .about-block-title { color: var(--white); margin-bottom: 1rem; }
.about-apart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.about-apart-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
}
.about-apart-list li:last-child { margin-bottom: 0; }
.about-apart-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: 700;
}
.about-apart strong { color: var(--white); }
.about-closing {
    margin-top: 2rem;
    text-align: center;
}
.about-closing p {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.about-closing p:last-child { margin-bottom: 0; }
.about-cta-line {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.25rem;
}

/* Services */
.services { background: var(--white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}
.services-intro {
    max-width: 46rem;
    margin: 0 auto;
    line-height: 1.75;
    font-size: 1.02rem;
}
.service-icon {
    margin-right: 0.35rem;
}
.service-tagline {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.65rem;
    font-size: 0.98rem;
}
.service-card {
    background: var(--gray-50);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}
.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.service-card p { color: var(--text-light); line-height: 1.6; }
.service-list {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}
.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.service-content .btn-get-quote {
    margin-top: 1.25rem;
    align-self: flex-start;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Portfolio */
.portfolio { background: var(--white); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}
.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.03); }

/* Featured Clients */
.featured-clients { background: var(--white); }
.marquee-controls { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn-marquee { padding: 0.5rem 1.25rem; font-size: 0.9rem; }
.marquee-wrapper { overflow: hidden; width: 100%; }
.marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}
.marquee-track.paused { animation-play-state: paused; }
.marquee-track.reverse { animation-direction: reverse; }
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Reviews carousel */
.reviews { background: var(--white); }
.reviews-carousel {
    max-width: 760px;
    margin: 0 auto;
}
.reviews-carousel-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}
.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.review-slide {
    flex: 0 0 100%;
    margin: 0;
    padding: 2.75rem 3.5rem 2.5rem;
    background: linear-gradient(165deg, var(--secondary) 0%, var(--gray-900) 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
}
.review-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    background: var(--primary);
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
    margin-bottom: 1rem;
}
.review-stars {
    color: #fbbf24;
    font-size: 1rem;
    letter-spacing: 0.12em;
    margin-bottom: 1.35rem;
}
.review-slide p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 560px;
    flex: 1;
}
.review-name {
    display: block;
    font-style: normal;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.35;
    margin-top: 1.75rem;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}
.review-meta {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.4rem;
}
.reviews-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: var(--transition);
}
.reviews-carousel-btn--prev { left: 0.65rem; padding-bottom: 0.15rem; }
.reviews-carousel-btn--next { right: 0.65rem; padding-bottom: 0.15rem; }
.reviews-carousel-btn:hover {
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
}
.reviews-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}
.reviews-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--gray-200, #cbd5e1);
    cursor: pointer;
    transition: var(--transition);
}
.reviews-carousel-dot.active {
    background: var(--primary);
    transform: scale(1.15);
}
.reviews-carousel-dot:hover {
    background: var(--primary-light);
}

/* Portfolio lightbox */
.portfolio-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.portfolio-lightbox.open {
    opacity: 1;
    visibility: visible;
}
.portfolio-lightbox-backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}
.portfolio-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
}
.portfolio-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.portfolio-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.portfolio-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Contact */
.contact { background: var(--gray-50); }
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-icon { color: var(--accent); flex-shrink: 0; }
.contact-icon svg { display: block; }
.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.contact-details p { color: var(--text-light); line-height: 1.8; }
.contact-details a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
.contact-details a:hover { color: var(--accent-dark); text-decoration: underline; }
.contact-form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.contact-cta { margin-top: 1.5rem; }
.contact-cta .btn { display: inline-block; }
.contact-form-wrap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent);
    font-family: var(--font-heading);
}
.footer-section h4 { font-size: 1rem; font-weight: 600; }
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}
.footer-section a:hover { color: var(--accent); }
.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Scroll reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.stagger-children .service-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.stagger-children.visible .service-card {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.stagger-children .service-card:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.stagger-children .service-card:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.stagger-children .service-card:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.stagger-children .service-card:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal.stagger-children .portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.stagger-children.visible .portfolio-item {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.stagger-children .portfolio-item:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(7) { transition-delay: 0.35s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(8) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.visible,
    .scroll-reveal.stagger-children .service-card,
    .scroll-reveal.stagger-children .portfolio-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reviews-carousel-track { transition: none; }
    .marquee-track { animation: none; }
}

@media (min-width: 769px) {
    .scroll-reveal { transform: translateY(20px); }
    .scroll-reveal.visible { transform: translateY(0); }
    .mobile-menu-toggle,
    .mobile-menu-close { display: none !important; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        padding: 5rem 2rem 2rem;
        z-index: 999;
    }
    .nav.active { right: 0; }
    .nav.active .nav-link { color: var(--text-dark); text-shadow: none; }
    .nav.active .nav-link:hover, .nav.active .nav-link.active { color: var(--accent); }
    .nav-list { flex-direction: column; gap: 1.5rem; }
    .mobile-menu-toggle, .mobile-menu-close { display: flex; }
    .mobile-menu-close {
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 1001;
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }
    .hero { background-attachment: scroll; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .contact-content { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .about-mv-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .review-slide {
        padding: 2rem 2.75rem 1.75rem;
        min-height: 340px;
    }
    .review-slide p { font-size: 0.925rem; line-height: 1.75; }
    .review-name { font-size: 1rem; margin-top: 1.25rem; }
    .review-avatar { width: 60px; height: 60px; font-size: 1.25rem; }
    .reviews-carousel-btn { font-size: 2.25rem; width: 36px; }
    .reviews-carousel-btn--prev { left: 0.25rem; }
    .reviews-carousel-btn--next { right: 0.25rem; }
    .logo-name { font-size: 0.95rem; }
    .logo-image { height: 88px; width: 88px; }
}
