/* ============================================
   MUDARE ENGENHARIA — GLOBAL STYLES
   ============================================ */

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

:root {
    --bg: #F7F5F0;
    --bg-alt: #EFECE5;
    --dark: #1A1A1A;
    --text: #3A3A3A;
    --text-light: #6B6B6B;
    --accent: #EDA226;
    --accent-light: #F0B44A;
    --accent-dark: #C88A1E;
    --white: #FFFFFF;
    --border: #D4CFC5;
    --overlay: rgba(26, 26, 26, 0.65);
    --font-d: 'Cormorant Garamond', Georgia, serif;
    --font-b: 'Inter', -apple-system, sans-serif;
    --ease: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: var(--font-b);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* --- Skip Link (Accessibility + SEO) --- */
.skip-link {
    position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--white); padding: 0.8rem 1.5rem;
    font-size: 0.85rem; font-weight: 500; z-index: 10001;
    border-radius: 0 0 6px 6px; text-decoration: none;
    opacity: 0; pointer-events: none;
    transition: top 0.3s ease, opacity 0.3s ease;
}
.skip-link:focus {
    top: 0; opacity: 1; pointer-events: auto; outline: 2px solid var(--white);
}

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

/* --- Typography --- */
.heading-xl {
    font-family: var(--font-d);
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300; line-height: 1.1;
    letter-spacing: -0.02em;
}
.heading-lg {
    font-family: var(--font-d);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300; line-height: 1.15;
}
.heading-md {
    font-family: var(--font-d);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 400; line-height: 1.2;
}
.heading-sm {
    font-family: var(--font-d);
    font-size: 1.4rem; font-weight: 500; line-height: 1.3;
}
.label {
    font-family: var(--font-b);
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}
.body-text {
    font-size: 0.95rem; line-height: 1.8;
    color: var(--text-light); max-width: 560px;
}

/* --- Layout --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }
.section { padding: clamp(5rem, 10vw, 9rem) 0; }

/* --- Reveal Animations --- */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 0.8rem;
    font-family: var(--font-b); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 1rem 2.2rem; border: 1px solid var(--accent);
    background: transparent; color: var(--accent);
    cursor: pointer; transition: var(--ease);
}
.btn:hover { background: var(--accent); color: var(--white); }
.btn-light { border-color: rgba(255,255,255,0.8); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-filled { background: var(--accent); color: var(--white); }
.btn-filled:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn svg { width: 14px; height: 14px; transition: transform var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 1.5rem 0; transition: var(--ease);
}
.nav.scrolled {
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0; box-shadow: 0 1px 0 var(--border);
}
/* Variante para páginas internas (fundo claro desde o início) */
.nav.nav-dark {
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0; box-shadow: 0 1px 0 var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
    display: flex; align-items: center;
    transition: var(--ease);
}
.nav.scrolled .nav-logo,
.nav.nav-dark .nav-logo { color: var(--dark); }
.nav-logo-icon { height: 52px; width: auto; transition: var(--ease); }

.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
    font-size: 0.75rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.85); transition: var(--ease);
    position: relative;
}
.nav.scrolled .nav-links a,
.nav.nav-dark .nav-links a { color: var(--text); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--accent); transition: var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a.active::after { width: 100%; }

.nav-cta {
    font-size: 0.72rem !important; letter-spacing: 0.12em !important;
    padding: 0.65rem 1.6rem; border: 1px solid rgba(255,255,255,0.8);
    transition: var(--ease) !important;
}
.nav.scrolled .nav-cta,
.nav.nav-dark .nav-cta { border-color: var(--accent); color: var(--accent) !important; }
.nav-cta:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: var(--white) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; z-index: 1001; -webkit-tap-highlight-color: transparent; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: var(--ease); }
.nav.scrolled .nav-toggle span,
.nav.nav-dark .nav-toggle span { background: var(--dark); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

/* ============================================
   PAGE TITLE BAR (minimalista)
   ============================================ */
.page-title-bar {
    padding-top: 7rem; padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.page-title-inner {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
}
.breadcrumb-inline {
    font-size: 0.75rem; color: var(--text-light);
    order: 2;
}
.breadcrumb-inline a { color: var(--accent); transition: var(--ease); }
.breadcrumb-inline a:hover { color: var(--accent-dark); }
.breadcrumb-inline span { margin: 0 0.4rem; opacity: 0.4; }
.page-title-text {
    font-family: var(--font-d); font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400; color: var(--dark); line-height: 1.2;
    order: 1;
}

@media (max-width: 768px) {
    .page-title-inner { flex-direction: column; gap: 0.5rem; }
    .breadcrumb-inline { order: 1; }
    .page-title-text { order: 2; }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 1.2rem 0; border-bottom: 1px solid var(--border);
    font-size: 0.75rem; color: var(--text-light);
}
.breadcrumb a { color: var(--accent); transition: var(--ease); }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.4; }

/* ============================================
   HERO (Home)
   ============================================ */
.hero {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(26,26,26,0.35) 0%, rgba(26,26,26,0.45) 50%, rgba(26,26,26,0.6) 100%),
        url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?w=1920&q=80') center/cover no-repeat;
}
.hero-content {
    position: relative; z-index: 2; color: var(--white);
    text-align: center;
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 800px;
}
.hero-label { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.hero .heading-xl { color: var(--white); margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.75); max-width: 560px; line-height: 1.8; margin: 0 auto; }
.hero-divider {
    width: 60px; height: 1px; background: rgba(255,255,255,0.35);
    margin: 1.8rem auto;
}
.hero-scroll {
    position: absolute; bottom: 2.5rem; right: clamp(1.5rem, 4vw, 4rem);
    display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
    color: rgba(255,255,255,0.5); font-size: 0.65rem;
    letter-spacing: 0.2em; text-transform: uppercase; writing-mode: vertical-rl;
}
.hero-scroll::after {
    content: ''; width: 1px; height: 50px; background: rgba(255,255,255,0.3);
    animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   HOME — INTRO STRIP
   ============================================ */
.intro-strip { background: var(--white); padding: clamp(4rem, 6vw, 6rem) 0; }
.intro-strip-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 5vw, 5rem); align-items: center;
}
.intro-strip .heading-lg { color: var(--dark); margin-bottom: 1.2rem; }
.intro-strip .body-text { margin-bottom: 2rem; }

/* ============================================
   HOME — FEATURED PROJECTS
   ============================================ */
.featured { padding: clamp(5rem, 10vw, 8rem) 0; }
.featured-header {
    display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem;
}
.featured-header .label { margin-bottom: 0.8rem; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.featured-item {
    position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer;
}
.featured-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow);
}
.featured-item:hover img { transform: scale(1.05); }
.featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(26,26,26,0.8) 0%, transparent 50%);
    opacity: 0; transition: var(--ease);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: clamp(1.5rem, 2vw, 2rem);
}
.featured-item:hover .featured-overlay { opacity: 1; }
.featured-overlay .label { color: var(--accent-light); margin-bottom: 0.4rem; }
.featured-overlay h3 { font-family: var(--font-d); font-size: 1.4rem; font-weight: 400; color: var(--white); }
.featured-overlay p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; }

/* ============================================
   HOME — SERVICES PREVIEW
   ============================================ */
.services-preview { background: var(--dark); color: var(--white); padding: clamp(5rem, 10vw, 8rem) 0; }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); margin-top: 3rem; }
.sp-card { padding: clamp(2rem, 3vw, 3rem); background: var(--dark); transition: var(--ease); }
.sp-card:hover { background: rgba(255,255,255,0.03); }
.sp-card .heading-sm { color: var(--white); margin-bottom: 0.8rem; }
.sp-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
.sp-number { font-family: var(--font-d); font-size: 2rem; font-weight: 300; color: var(--accent-light); opacity: 0.5; margin-bottom: 1rem; }

/* ============================================
   HOME — CTA
   ============================================ */
.cta-banner { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.cta-banner-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.85), rgba(26,26,26,0.7)),
        url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?w=1920&q=80') center/cover no-repeat;
}
.cta-banner .container { position: relative; z-index: 2; text-align: center; }
.cta-banner .label { color: var(--accent-light); margin-bottom: 1.5rem; }
.cta-banner .heading-lg { color: var(--white); margin-bottom: 1rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 2.5rem; }

/* ============================================
   ABOUT — FULL
   ============================================ */
.about-full { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.about-image { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.about-image:hover img { transform: scale(1.03); }
.about-image::after {
    content: ''; position: absolute; bottom: -20px; right: -20px;
    width: 40%; height: 40%; border: 1px solid var(--accent); z-index: -1;
}
.about-content .label { margin-bottom: 1.5rem; }
.about-content .heading-lg { margin-bottom: 2rem; color: var(--dark); }
.about-content .body-text { margin-bottom: 1.5rem; }
.about-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 2rem; margin-top: 3rem; padding-top: 3rem;
    border-top: 1px solid var(--border);
}
.stat-number { font-family: var(--font-d); font-size: 2.8rem; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-light); text-transform: uppercase; }

/* About — Missão / Visão / Valores */
.mvv { background: var(--bg); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.mvv-card { padding: 2.5rem; background: var(--white); border: 1px solid var(--border); transition: var(--ease); }
.mvv-card:hover { border-color: var(--accent); }
.mvv-card .heading-sm { color: var(--dark); margin-bottom: 1rem; }
.mvv-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.mvv-icon { font-family: var(--font-d); font-size: 2.5rem; color: var(--accent); opacity: 0.4; margin-bottom: 1rem; }

/* About — Timeline */
.timeline { background: var(--white); }
.timeline-list { max-width: 700px; margin: 3rem auto 0; position: relative; padding-left: 3rem; }
.timeline-list::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 3rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -3rem; top: 0.4rem;
    width: 9px; height: 9px; background: var(--accent); border-radius: 50%;
    transform: translateX(-4px);
}
.timeline-year { font-family: var(--font-d); font-size: 1.2rem; color: var(--accent); margin-bottom: 0.3rem; }
.timeline-item h3 { font-family: var(--font-d); font-size: 1.3rem; color: var(--dark); margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.88rem; color: var(--text-light); }

/* ============================================
   PORTFOLIO — FULL
   ============================================ */
.portfolio-filters {
    display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.filter-btn {
    font-family: var(--font-b); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.6rem 1.4rem; border: 1px solid var(--border);
    background: transparent; color: var(--text-light);
    cursor: pointer; transition: var(--ease);
}
.filter-btn:hover,
.filter-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.portfolio-grid-full { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card { position: relative; overflow: hidden; cursor: pointer; }
.portfolio-card-img { aspect-ratio: 4/3; overflow: hidden; }
.portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.05); }
.portfolio-card-info { padding: 1.2rem 0; }
.portfolio-card-info .label { margin-bottom: 0.3rem; }
.portfolio-card-info h3 { font-family: var(--font-d); font-size: 1.3rem; color: var(--dark); margin-bottom: 0.2rem; }
.portfolio-card-info p { font-size: 0.82rem; color: var(--text-light); }

/* ============================================
   SERVICES — FULL
   ============================================ */
.services-full { background: var(--white); }
.services-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.service-card-full {
    padding: clamp(2rem, 3vw, 3rem); border: 1px solid var(--border);
    transition: var(--ease); position: relative; overflow: hidden;
}
.service-card-full:hover { border-color: var(--accent); }
.service-card-full::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 3px; height: 0; background: var(--accent);
    transition: height var(--ease);
}
.service-card-full:hover::before { height: 100%; }
.service-card-number {
    font-family: var(--font-d); font-size: 3rem; font-weight: 300;
    color: var(--accent); opacity: 0.25; line-height: 1; margin-bottom: 1rem;
}
.service-card-full .heading-md { color: var(--dark); margin-bottom: 1rem; }
.service-card-full p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.service-tag {
    font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.3rem 0.8rem; background: var(--bg); color: var(--text-light);
}

/* Services — Process */
.process { background: var(--dark); color: var(--white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.process-step { text-align: center; }
.process-num {
    font-family: var(--font-d); font-size: 3.5rem; font-weight: 300;
    color: var(--accent-light); opacity: 0.3; margin-bottom: 1rem;
}
.process-step h3 { font-family: var(--font-d); font-size: 1.2rem; color: var(--white); margin-bottom: 0.6rem; }
.process-step p { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.process-line {
    width: 40px; height: 1px; background: rgba(255,255,255,0.15);
    margin: 0 auto 1.5rem;
}

/* ============================================
   CONTACT — FULL
   ============================================ */
.contact-full { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
.contact-info .label { margin-bottom: 1.5rem; }
.contact-info .heading-lg { color: var(--dark); margin-bottom: 1.5rem; }
.contact-info .body-text { margin-bottom: 3rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; opacity: 0.5; }
.contact-detail-icon svg { width: 100%; height: 100%; stroke: var(--accent); stroke-width: 1.5; fill: none; }
.contact-detail-text { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.contact-detail-text strong {
    display: block; font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--dark); margin-bottom: 0.2rem;
}

.contact-form { padding: clamp(2rem, 3vw, 3rem); background: var(--bg); }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text); margin-bottom: 0.6rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.9rem 0;
    font-family: var(--font-b); font-size: 1rem; color: var(--dark);
    background: transparent; border: none; border-bottom: 1px solid var(--border);
    outline: none; transition: var(--ease); -webkit-appearance: none;
    border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; padding-right: 2rem; position: relative; }
.form-group select::after {
    content: '▼'; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%); pointer-events: none; color: var(--text-light);
    font-size: 0.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* Contact — Map */
.map-section { background: var(--bg); padding: 0; }
.map-section iframe { width: 100%; height: 450px; border: none; filter: grayscale(0.8) contrast(1.1); }

/* ============================================
   QUOTE
   ============================================ */
.quote-section { background: var(--bg-alt); text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; }
.quote-section blockquote {
    font-family: var(--font-d); font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300; font-style: italic; color: var(--dark);
    max-width: 800px; margin: 0 auto 2rem; line-height: 1.4;
}
.quote-section cite {
    font-family: var(--font-b); font-style: normal; font-size: 0.8rem;
    letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand .nav-logo { color: var(--white); display: inline-block; margin-bottom: 1.2rem; }
.footer-brand .nav-logo-icon { height: 48px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
    font-family: var(--font-b); font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.8); margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col a { font-size: 0.85rem; transition: var(--ease); }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.75rem;
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); transition: var(--ease);
}
.footer-social a:hover { border-color: var(--accent); background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); transition: var(--ease); }
.footer-social a:hover svg { fill: var(--white); }

/* ============================================
   INSTAGRAM FEED
   ============================================ */
.instagram-section { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--white); text-align: center; }
.instagram-header { margin-bottom: 2.5rem; }
.instagram-header .label { margin-bottom: 0.8rem; }
.instagram-header .heading-lg { color: var(--dark); margin-bottom: 1rem; }
.instagram-handle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-b); font-size: 0.88rem; font-weight: 500;
    color: var(--text-light); margin-bottom: 0.5rem;
}
.instagram-handle svg { width: 20px; height: 20px; fill: var(--accent); }
.instagram-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
    margin-bottom: 2.5rem; overflow: hidden;
}
.instagram-item {
    position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer;
}
.instagram-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--ease-slow), filter var(--ease);
}
.instagram-item::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(26,26,26,0.0); transition: var(--ease);
}
.instagram-item:hover::after { background: rgba(26,26,26,0.3); }
.instagram-item:hover img { transform: scale(1.08); }
.instagram-item .ig-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
    z-index: 2; opacity: 0; transition: var(--ease);
}
.instagram-item:hover .ig-icon { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.instagram-item .ig-icon svg { width: 28px; height: 28px; fill: white; }
.btn-instagram {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--font-b); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    padding: 1rem 2.2rem; border: 1px solid var(--accent);
    background: var(--accent); color: var(--white);
    cursor: pointer; transition: var(--ease);
}
.btn-instagram:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-instagram svg { width: 18px; height: 18px; fill: currentColor; }

/* Instagram CTA */
.instagram-cta { max-width: 700px; margin: 0 auto; }
.instagram-cta-inner {
    display: flex; align-items: center; gap: 1.5rem;
    padding: 1.5rem 2rem; border: 1px solid var(--border);
    transition: var(--ease); text-decoration: none;
}
.instagram-cta-inner:hover { border-color: var(--accent); background: rgba(237,162,38,0.03); }
.instagram-cta-icon { width: 40px; height: 40px; flex-shrink: 0; fill: var(--accent); }
.instagram-cta-text { flex: 1; text-align: left; }
.instagram-cta-handle {
    display: block; font-family: var(--font-b); font-size: 1rem;
    font-weight: 500; color: var(--dark); margin-bottom: 0.15rem;
}
.instagram-cta-label {
    display: block; font-size: 0.82rem; color: var(--text-light);
}
.instagram-cta-inner .btn-instagram {
    flex-shrink: 0; white-space: nowrap;
}

@media (max-width: 768px) {
    .instagram-cta-inner { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .instagram-cta-text { text-align: center; }
}

/* Founders / Partners */
.founders { background: var(--bg-alt); }
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: 3rem; }
.founder-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.founder-photo {
    width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
    margin-bottom: 1.5rem; border: 3px solid var(--accent); background: var(--bg);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-family: var(--font-d); font-size: 1.6rem; font-weight: 400; color: var(--dark); margin-bottom: 0.3rem; }
.founder-role { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1rem; }
.founder-bio { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; max-width: 400px; }

@media (max-width: 768px) {
    .founders-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 1024px) {
    .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 56px; height: 56px; background: #25D366; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); transition: var(--ease); cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed; inset: 0; background: var(--dark); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
    opacity: 0; animation: loaderFade 1.5s ease forwards;
}
.loader-text {
    font-family: var(--font-b); font-size: 1.2rem; font-weight: 700;
    color: var(--white); letter-spacing: 0.2em; text-transform: uppercase;
}
@keyframes loaderFade {
    0% { opacity: 0; transform: translateY(10px); }
    50% { opacity: 1; } 100% { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PROJECT MODAL
   ============================================ */
.project-modal {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 2rem;
}
.project-modal.active { opacity: 1; visibility: visible; }
.project-modal-inner {
    background: var(--white); max-width: 1000px; width: 100%;
    max-height: 90vh; overflow-y: auto; position: relative;
    animation: modalSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem; z-index: 10;
    width: 44px; height: 44px; border: none; background: var(--white);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1); transition: var(--ease);
}
.modal-close:hover { background: var(--dark); }
.modal-close svg { width: 20px; height: 20px; stroke: var(--dark); stroke-width: 2; transition: var(--ease); }
.modal-close:hover svg { stroke: var(--white); }

/* Modal Gallery */
.modal-gallery { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.modal-gallery img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.6s ease;
}
.modal-gallery img.gallery-active { opacity: 1; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: none; background: rgba(255,255,255,0.9);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: var(--ease); z-index: 5;
}
.gallery-nav:hover { background: var(--accent); }
.gallery-nav svg { width: 18px; height: 18px; stroke: var(--dark); stroke-width: 2; transition: var(--ease); }
.gallery-nav:hover svg { stroke: var(--white); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-counter {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    font-family: var(--font-b); font-size: 0.72rem; letter-spacing: 0.1em;
    color: var(--white); background: rgba(26,26,26,0.6); padding: 0.4rem 1rem;
    z-index: 5;
}

/* Modal Content */
.modal-content { padding: clamp(2rem, 4vw, 3rem); }
.modal-meta {
    display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem;
    padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.modal-meta-label {
    font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--accent);
}
.modal-meta-value { font-size: 0.9rem; color: var(--dark); font-weight: 400; }
.modal-title {
    font-family: var(--font-d); font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400; color: var(--dark); line-height: 1.2; margin-bottom: 1.2rem;
}
.modal-description { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
.modal-highlights { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.modal-highlight {
    font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 0.4rem 1rem; background: var(--bg); color: var(--text-light);
    border: 1px solid var(--border);
}
.modal-cta { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* Modal Thumbnails */
.gallery-thumbs {
    display: flex; gap: 4px; padding: 4px;
    background: var(--bg-alt); overflow-x: auto;
}
.gallery-thumb {
    width: 80px; height: 56px; flex-shrink: 0; cursor: pointer;
    opacity: 0.5; transition: opacity var(--ease); overflow: hidden; border: 2px solid transparent;
}
.gallery-thumb.thumb-active { opacity: 1; border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
    .project-modal { padding: 0; align-items: flex-end; }
    .project-modal-inner { max-height: 100vh; height: 100vh; border-radius: 0; }
    .modal-gallery { aspect-ratio: 4/3; }
    .modal-meta { gap: 1rem; }
    .modal-meta-item { min-width: calc(50% - 0.5rem); }
    .gallery-thumb { width: 60px; height: 42px; }
    .gallery-nav { width: 40px; height: 40px; }
    .gallery-prev { left: 0.5rem; }
    .gallery-next { right: 0.5rem; }
    .modal-close { top: 0.8rem; right: 0.8rem; width: 40px; height: 40px; }
    .modal-content { padding: 1.5rem; }
    .modal-cta .btn { width: 100%; justify-content: center; }
    .modal-highlights { gap: 0.4rem; }
    .modal-highlight { padding: 0.35rem 0.7rem; font-size: 0.62rem; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sp-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid-full { grid-template-columns: repeat(2, 1fr); }
    .services-grid-full { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mvv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: var(--dark); flex-direction: column; justify-content: center;
        gap: 2rem; transition: var(--ease);
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: rgba(255,255,255,0.85) !important; font-size: 1rem; padding: 0.6rem 1rem; display: block; }
    .nav-toggle { display: flex; }
    .nav-toggle.active span { background: var(--white) !important; }
    .about-grid, .contact-grid, .intro-strip-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image { aspect-ratio: 4/3; }
    .about-image::after { display: none; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .sp-grid, .featured-grid, .portfolio-grid-full { grid-template-columns: 1fr; }
    .featured-overlay { opacity: 1; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .featured-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .hero-scroll { display: none; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .portfolio-filters { justify-content: center; }

    /* Hero mobile adjustments */
    .hero { min-height: 100svh; min-height: -webkit-fill-available; padding: 0; }
    .hero .container.hero-content {
        max-width: 100%; padding: 0 1.5rem;
        text-align: center;
        display: flex; flex-direction: column; align-items: center;
    }
    .hero-label { text-align: center; }
    .hero .heading-xl { font-size: clamp(2.2rem, 8vw, 3.2rem); text-align: center; }
    .hero-subtitle { font-size: 0.9rem; max-width: 90%; text-align: center; }
    .hero .btn { padding: 0.9rem 1.8rem; font-size: 0.68rem; }

    /* Nav mobile tweaks */
    .nav { padding: 1rem 0; }
    .nav-logo-icon { height: 40px; }
    .nav.scrolled .nav-logo-icon,
    .nav.nav-dark .nav-logo-icon { height: 38px; }

    /* Page title bar */
    .page-title-bar { padding-top: 5.5rem; padding-bottom: 1.5rem; }

    /* Filter buttons — touch-friendly */
    .filter-btn { padding: 0.7rem 1.2rem; font-size: 0.7rem; min-height: 44px; }

    /* Services preview cards */
    .sp-grid { grid-template-columns: 1fr; }
    .sp-card { padding: 1.8rem; }

    /* Section padding reduction */
    .section { padding: clamp(3.5rem, 8vw, 7rem) 0; }

    /* About stats */
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.65rem; }

    /* Services full */
    .services-grid-full { grid-template-columns: 1fr; }
    .service-card-full { padding: 1.8rem; }

    /* Process steps mobile */
    .process-steps { gap: 1.5rem; }
    .process-num { font-size: 2.8rem; }

    /* Quote section */
    .quote-section blockquote { font-size: clamp(1.2rem, 4vw, 1.8rem); }

    /* Contact */
    .contact-form { padding: 1.5rem; }

    /* Map */
    .map-section iframe { height: 300px; }

    /* CTA banner */
    .cta-banner { padding: clamp(3.5rem, 8vw, 6rem) 0; }
    .cta-banner .heading-lg { font-size: clamp(1.6rem, 4vw, 2.5rem); }
    .cta-banner .btn { padding: 0.9rem 1.8rem; }

    /* WhatsApp float */
    .whatsapp-float { bottom: 1.2rem; right: 1.2rem; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 24px; height: 24px; }

    /* Footer mobile */
    .footer { padding: 3rem 0 1.5rem; }
    .footer-brand .nav-logo-icon { height: 38px; }
    .footer-brand p { font-size: 0.82rem; }

    /* Founders mobile */
    .founder-photo { width: 160px; height: 160px; }
    .founder-name { font-size: 1.4rem; }

    /* Loader mobile */
    .page-loader .loader-logo img { width: 90px !important; }

    /* Intro strip mobile */
    .intro-strip { padding: clamp(3rem, 5vw, 5rem) 0; }

    /* Buttons general — touch-friendly */
    .btn { min-height: 44px; padding: 0.9rem 1.8rem; }

    /* Instagram section mobile */
    .instagram-section { padding: clamp(3rem, 6vw, 5rem) 0; }

    /* Portfolio card touch feedback */
    .portfolio-card { -webkit-tap-highlight-color: transparent; }
    .portfolio-card:active .portfolio-card-img img { transform: scale(1.02); }

    /* Featured items — show overlay always on mobile (no hover) */
    .featured-item { -webkit-tap-highlight-color: transparent; }
}

@media (max-width: 480px) {
    .heading-xl { font-size: clamp(2rem, 8vw, 3rem); }
    .heading-lg { font-size: clamp(1.5rem, 5vw, 2rem); }
    .container { padding: 0 1.2rem; }
    .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.6rem; }
    .footer-grid { gap: 1.5rem; }
    .form-row { gap: 1rem; }
    .process-steps { grid-template-columns: 1fr; }
    .founder-photo { width: 130px; height: 130px; }
    .mvv-card { padding: 1.5rem; }
    .modal-content { padding: 1.2rem; }
    .modal-title { font-size: 1.4rem; }
    .modal-meta { gap: 0.8rem; }
    .gallery-thumb { width: 50px; height: 35px; }
}
