/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0B5D6F;
    --primary-dark: #084550;
    --primary-light: #0E7A91;
    --accent: #D4963A;
    --accent-light: #E8B366;
    --bg: #FAFBFC;
    --bg-alt: #F0F4F7;
    --text: #2C3E50;
    --text-light: #64748B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== UTILITY ===== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 20px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    min-height: 44px;
    min-width: 44px;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 150, 58, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}
.nav.scrolled {
    box-shadow: var(--shadow-md);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    letter-spacing: 0.3px;
    padding: 10px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--primary); font-weight: 700; }
.nav-links a.active::after { width: 100%; }
.nav-email {
    font-size: 0.88rem;
    color: var(--accent) !important;
    font-weight: 500;
}
.nav-email i { margin-right: 6px; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

/* ===== HERO (index page) ===== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
    padding-top: 76px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(212,150,58,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
    background-size: 80px 140px;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.hero-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 24px;
    padding: 8px 20px;
    border: 1px solid rgba(212,150,58,0.3);
    border-radius: 50px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent-light);
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-visual {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    height: 520px;
    opacity: 0.1;
}
.hero-visual svg { width: 100%; height: 100%; }

/* ===== PAGE HERO (projects page) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(212,150,58,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.page-hero-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
        linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
    background-size: 80px 140px;
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.page-hero-content .section-label {
    color: var(--accent-light);
}
.page-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.page-hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== WHAT WE DO ===== */
.whatwedo { background: var(--white); }
.whatwedo-header { text-align: center; margin-bottom: 60px; }
.whatwedo-header .section-subtitle { margin: 0 auto; text-align: justify; }
.whatwedo-intro {
    text-align: justify;
    max-width: 720px;
    margin: 0 auto 56px;
    font-size: 1.08rem;
    color: var(--text-light);
    line-height: 1.8;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    padding: 36px 28px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.2rem;
}
.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: justify;
}

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); }
.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.about-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    z-index: -1;
}
.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.about-tag {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
}
.about-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 12px 24px;
    background: #0A66C2;
    color: var(--white);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition);
    min-height: 44px;
}
.about-linkedin:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10,102,194,0.3);
}

/* ===== PROJECTS GRID (index page) ===== */
.projects { background: var(--white); }
.projects-header { text-align: center; margin-bottom: 56px; }
.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.project-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.project-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
}
.project-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.project-logo img {
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
}
.project-card h4 {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 4px;
}
.project-card p {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-dark);
}

/* ===== PROJECT SECTIONS (projects page) ===== */
.project-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.project-section:nth-child(even) {
    background: var(--bg-alt);
}
.project-section:last-child {
    border-bottom: none;
}
.project-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.project-section:nth-child(even) .project-layout {
    direction: rtl;
}
.project-section:nth-child(even) .project-layout > * {
    direction: ltr;
}
.project-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}
.project-image-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-image-gradient img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.project-info .section-label {
    margin-bottom: 8px;
}
.project-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}
.project-info .project-description {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 24px;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.project-tag {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
}
.project-section:nth-child(even) .project-tag {
    background: var(--white);
}

/* ===== PARTNERS ===== */
.partners {
    background: var(--bg-alt);
    padding: 72px 0;
}
.partners-header { text-align: center; margin-bottom: 48px; }
.partners-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.partner-logo {
    height: 52px;
    opacity: 0.6;
    transition: opacity var(--transition);
    filter: grayscale(20%);
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===== CTA / WORK WITH US ===== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(212,150,58,0.08);
}
.cta-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}
.cta .section-label { color: var(--accent-light); }
.cta .section-title { color: var(--white); }
.cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    text-align: justify;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-card {
    padding: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}
.contact-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-light);
    font-size: 1.3rem;
}
.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.contact-card a {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.contact-card a:hover { color: var(--accent-light); }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-alt);
    padding: 40px 0;
    text-align: center;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo img { height: 32px; }
.footer-logo span {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* ===== ANIMATIONS (progressive enhancement) ===== */
/* Visible by default — JS adds .js class to enable animations */

/* --- Directional scroll reveals --- */
.fade-up,
.fade-left,
.fade-right,
.scale-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .fade-up {
    opacity: 0;
    transform: translateY(24px);
}
.js .fade-left {
    opacity: 0;
    transform: translateX(-40px);
}
.js .fade-right {
    opacity: 0;
    transform: translateX(40px);
}
.js .scale-in {
    opacity: 0;
    transform: scale(0.85);
}
.js .fade-up.visible,
.js .fade-left.visible,
.js .fade-right.visible,
.js .scale-in.visible {
    opacity: 1;
    transform: none;
}

/* --- Stagger children system --- */
.stagger-children {
    opacity: 1;
}
.js .stagger-children > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--stagger-index, 0) * 120ms);
}
.js .stagger-children.visible > * {
    opacity: 1;
    transform: none;
}

/* --- Partner scale-in stagger --- */
.scale-in-stagger {
    opacity: 1;
}
.js .scale-in-stagger .partner-logo {
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--stagger-index, 0) * 80ms);
}
.js .scale-in-stagger.visible .partner-logo {
    opacity: 0.6;
    transform: none;
}
.js .scale-in-stagger.visible .partner-logo:hover {
    opacity: 1;
}

/* --- Hero stagger entrance (JS-driven, not Intersection Observer) --- */
.js .hero-stagger {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .hero-stagger.hero-animate {
    opacity: 1;
    transform: none;
}

/* --- Typewriter cursor --- */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: var(--accent-light);
    margin-left: 4px;
    vertical-align: baseline;
    animation: blink 0.7s step-end infinite;
}
.typewriter-cursor.done {
    animation: blink 0.7s step-end 3;
    animation-fill-mode: forwards;
    opacity: 0;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
    .fade-up, .fade-left, .fade-right, .scale-in,
    .js .fade-up, .js .fade-left, .js .fade-right, .js .scale-in,
    .js .fade-up.visible, .js .fade-left.visible,
    .js .fade-right.visible, .js .scale-in.visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .js .stagger-children > *,
    .js .stagger-children.visible > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .js .scale-in-stagger .partner-logo,
    .js .scale-in-stagger.visible .partner-logo {
        opacity: 0.6 !important;
        transform: none !important;
        transition: none !important;
    }
    .js .hero-stagger,
    .js .hero-stagger.hero-animate {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .typewriter-cursor {
        display: none !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrapper { max-width: 360px; }
    .projects-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero-content h1 { font-size: 2.4rem; }
    .project-layout { gap: 40px; }
    .project-info h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .nav-toggle { display: flex; }
    .hero { min-height: 100dvh; padding: 120px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .section { padding: 72px 0; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid .project-card-link:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 16px; }
    .partners-track { gap: 32px; }
    .partner-logo { height: 40px; }
    .page-hero { padding: 130px 0 60px; }
    .page-hero-content h1 { font-size: 2rem; }
    .project-section { padding: 56px 0; }
    .project-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .project-section:nth-child(even) .project-layout {
        direction: ltr;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .projects-grid .project-card-link:last-child {
        max-width: 100%;
    }
    .hero-buttons { flex-direction: column; }
    .page-hero-content h1 { font-size: 1.7rem; }
}
