/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream-50:   #faf9f6;
    --cream-100:  #f5f0e8;
    --cream-200:  #ede6d8;
    --cream-300:  #e0d5c0;
    --amber-600:  #d97706;
    --amber-500:  #f59e0b;
    --amber-100:  #fef3c7;
    --stone-900:  #1c1917;
    --stone-700:  #44403c;
    --stone-600:  #57534e;
    --stone-500:  #78716c;
    --stone-400:  #a8a29e;
    --stone-300:  #d6d3d1;
    --stone-200:  #e7e5e4;
    --stone-100:  #f5f5f4;
    --white:      #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', system-ui, sans-serif;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:  0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
    --shadow-xl:  0 20px 48px rgba(0,0,0,.14), 0 8px 16px rgba(0,0,0,.08);
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--stone-900);
    background: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo--light .logo-name { color: var(--white); }
.logo--light .logo-sub { color: rgba(255,255,255,.7); }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--emerald-800);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--stone-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* NAV */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-list a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--stone-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.nav-list a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--emerald-800) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    margin-left: 8px;
    transition: background var(--transition) !important;
}

.nav-cta:hover {
    background: var(--emerald-700) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--stone-700);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover { background: var(--cream-200); }

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 0;
    background: var(--emerald-900);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(6,78,59,.92) 0%, rgba(4,120,87,.85) 50%, rgba(6,95,70,.9) 100%),
        url('https://images.pexels.com/photos/34006937/pexels-photo-34006937.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.3);
    color: var(--emerald-100);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 24px;
}

.hero-badge svg { opacity: .8; }

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.accent-text {
    color: var(--amber-500);
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.75);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--amber-600);
    color: var(--white);
    border-color: var(--amber-600);
}

.btn-primary:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217,119,6,.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.35);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.6);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.4);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero visual */
.hero-visual {
    position: relative;
    max-width: 520px;
    margin-left: auto;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
}

.hero-card-tag {
    display: inline-block;
    background: var(--amber-600);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Stat cards */
.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 2;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--emerald-800);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--stone-500);
}

.stat-card--1 {
    top: -20px;
    left: -30px;
}

.stat-card--2 {
    bottom: 60px;
    left: -40px;
}

.stat-card--3 {
    bottom: -20px;
    right: -20px;
}

/* Hero wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* ========== SECTION COMMON ========== */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc, .why-intro, .contact-intro {
    font-size: 1.05rem;
    color: var(--stone-600);
    line-height: 1.7;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .section-desc,
.section-header .section-label {
    margin-left: auto;
    margin-right: auto;
}

/* ========== SERVICES ========== */
.services {
    background: var(--cream-100);
    padding: 88px 0;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--stone-600);
    line-height: 1.65;
}

/* ========== WHY US ========== */
.why-us {
    background: var(--cream-50);
    padding: 88px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-content .section-title { margin-bottom: 20px; }
.why-intro { margin-bottom: 32px; }

.why-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: 50%;
    color: var(--emerald-800);
    margin-top: 2px;
}

.why-item-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 4px;
}

.why-item-desc {
    font-size: 0.9rem;
    color: var(--stone-600);
    line-height: 1.6;
}

.why-visual { position: relative; }

.why-image-stack {
    position: relative;
    height: 500px;
}

.why-img {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-img--1 {
    width: 260px;
    height: 340px;
    top: 0;
    left: 0;
    z-index: 1;
}

.why-img--2 {
    width: 280px;
    height: 200px;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 4px solid var(--cream-50);
}

/* ========== PROJECTS ========== */
.projects {
    background: var(--cream-100);
    padding: 88px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,.5));
    opacity: 0;
    transition: opacity var(--transition);
}

.project-card:hover::after { opacity: 1; }

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    z-index: 1;
    transform: translateY(8px);
    opacity: 0;
    transition: all var(--transition);
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

.project-tag {
    display: inline-block;
    background: var(--amber-600);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.project-card--large {
    grid-column: span 7;
    min-height: 320px;
}

.project-card:not(.project-card--large):not(.project-card--wide) {
    grid-column: span 5;
    min-height: 220px;
}

.project-card--wide {
    grid-column: span 12;
    min-height: 280px;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    background: var(--cream-50);
    padding: 88px 0;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    border: 1px solid var(--cream-200);
    position: relative;
    transition: all var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--emerald-100);
}

.testimonial-quote {
    position: absolute;
    top: 20px;
    right: 24px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--stone-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--emerald-800);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--stone-900);
}

.testimonial-location {
    font-size: 0.82rem;
    color: var(--stone-500);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: var(--emerald-900);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-content { max-width: 560px; }

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ========== CONTACT ========== */
.contact {
    background: var(--cream-100);
    padding: 88px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

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

.contact-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-400);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--stone-700);
    line-height: 1.6;
}

.contact-value a {
    color: var(--emerald-700);
    transition: color var(--transition);
}

.contact-value a:hover { color: var(--emerald-600); }

/* Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-200);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--stone-500);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--stone-900);
    background: var(--cream-50);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    font-size: 0.9rem;
    margin-top: 16px;
}

.form-success.show {
    display: flex;
}

.form-success strong { font-weight: 700; }

/* ========== FOOTER ========== */
.footer {
    background: var(--stone-900);
    color: rgba(255,255,255,.65);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.88rem;
    color: rgba(255,255,255,.6);
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--emerald-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,.35);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--emerald-800);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== MOBILE NAV ========== */
@media (max-width: 900px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
    }

    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        padding: 12px 14px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0 !important;
        justify-content: center;
        margin-top: 8px;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }

    .hero-visual {
        margin: 0 auto;
        max-width: 440px;
    }

    .stat-card--1 { left: 0; top: -16px; }
    .stat-card--2 { left: -16px; }
    .stat-card--3 { right: 0; }

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

    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-visual { order: -1; }
    .why-image-stack { height: 360px; }
    .why-img--1 { width: 200px; height: 260px; }
    .why-img--2 { width: 200px; height: 160px; }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    .project-card--large { grid-column: span 2; min-height: 240px; }
    .project-card:not(.project-card--large):not(.project-card--wide) { grid-column: span 1; min-height: 180px; }
    .project-card--wide { grid-column: span 2; min-height: 200px; }
    .project-info { opacity: 1; transform: translateY(0); }
    .project-card::after { opacity: 1; background: linear-gradient(transparent 30%, rgba(0,0,0,.6)); }

    .testimonials-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .container { padding: 0 18px; }

    .hero { padding: 88px 0 0; min-height: auto; padding-bottom: 60px; }
    .hero-headline { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .stat-card { padding: 12px 14px; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.7rem; }
    .stat-card--1 { left: 4px; }
    .stat-card--2 { left: 4px; bottom: 40px; }
    .stat-card--3 { right: 4px; }

    .services-grid { grid-template-columns: 1fr; }

    .projects-grid { grid-template-columns: 1fr; }
    .project-card--large,
    .project-card:not(.project-card--large):not(.project-card--wide),
    .project-card--wide { grid-column: span 1; min-height: 200px; }

    .cta-card { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
}

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