/* ============================================================
   Design Tokens
   ============================================================ */
:root {
    /* Backgrounds */
    --bg-dark:             #0A0A0A;
    --bg-dark-2:           #141414;
    --bg-color:            #F5F4EF;
    --surface-primary:     #FFFFFF;
    --surface-secondary:   #F0EFE9;
    --surface-tertiary:    #E5E4DE;

    /* Text */
    --text-primary:        #0A0A0A;
    --text-secondary:      #4A4A4A;
    --text-muted:          #888888;
    --text-on-dark:        #FFFFFF;
    --text-on-dark-muted:  rgba(255, 255, 255, 0.5);

    /* Brand */
    --accent:              #F47A20;
    --accent-hover:        #D96810;
    --accent-secondary:    #0064A0;
    --accent-glow:         rgba(244, 122, 32, 0.18);

    /* Borders */
    --border-subtle:       rgba(0, 0, 0, 0.08);
    --border-light:        rgba(0, 0, 0, 0.12);
    --border-dark:         rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --container-width: 90%;
    --max-width:        1600px;
    --nav-height:       76px;

    /* Shadows */
    --shadow-sm:  0 2px 8px  rgba(0, 0, 0, 0.06);
    --shadow-md:  0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg:  0 20px 60px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast:   0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow:   0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection { background-color: var(--accent); color: #fff; }

a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
img  { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.04em;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity  0.85s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-delay="2"] { transition-delay: 0.22s; }
[data-reveal][data-delay="3"] { transition-delay: 0.34s; }
[data-reveal][data-delay="4"] { transition-delay: 0.46s; }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(44px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(-28px) scale(1.04); }
}
@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) scale(1); }
    50%       { transform: translateY(22px) scale(0.97); }
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}
@keyframes scrollBounce {
    0%, 100% { transform: scaleY(1); transform-origin: top; }
    50%       { transform: scaleY(0.4); transform-origin: top; }
}

/* ============================================================
   Typography Utilities
   ============================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 20px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.section-desc {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 400;
    max-width: 580px;
    line-height: 1.6;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 38px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 100px;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                background-color 0.35s ease,
                border-color 0.35s ease,
                color 0.35s ease;
}
.btn:hover { transform: translateY(-3px); }

/* Primary — for light bg */
.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}
.btn-primary:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #fff;
}

/* Secondary — for light bg */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
}
.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

/* Accent — for dark bg (orange) */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.btn-accent:hover {
    background: transparent;
    color: var(--accent);
}

/* Ghost — for dark bg (outline white) */
.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--max-width);
    width: var(--container-width);
    margin: 0 auto;
}

.nav-logo {
    height: 44px;
    object-fit: contain;
    transition: var(--transition-normal);
}
.nav-logo:hover { opacity: 0.75; }

.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-item {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: var(--transition-normal);
}
.nav-item:hover { color: #fff; }
.nav-item:hover::after { width: 100%; }

.nav-button {
    padding: 11px 28px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 100px;
    transition: var(--transition-normal);
}
.nav-button:hover {
    background: transparent;
    color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle span {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    border-right: 1px solid var(--border-dark);
    padding-top: var(--nav-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.active { transform: translateX(0); }

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}
.mobile-link:hover { color: var(--accent); }

.mobile-button {
    margin-top: 24px;
    font-size: 1rem;
    padding: 16px 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 2px solid var(--accent);
    transition: var(--transition-normal);
    font-family: var(--font-main);
    cursor: pointer;
}
.mobile-button:hover { background: transparent; color: var(--accent); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }

    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Hero — Dark, Editorial Left-Aligned
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 60px) 5% 120px;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

/* Gradient orbs */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.hero-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(244, 122, 32, 0.22) 0%, transparent 70%);
    top: -180px;
    right: -180px;
    animation: float 10s ease-in-out infinite;
}
.hero-orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 100, 160, 0.16) 0%, transparent 70%);
    bottom: 60px;
    left: 25%;
    animation: floatReverse 13s ease-in-out infinite;
}
.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 122, 32, 0.10) 0%, transparent 70%);
    bottom: -60px;
    right: 30%;
    animation: float 16s ease-in-out infinite 2s;
}

/* Subtle grain overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: var(--max-width);
    width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.15s both;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulseDot 2.5s ease-in-out infinite;
}

/* Hero Title */
.hero-title {
    font-size: clamp(4rem, 10vw, 9.5rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.92;
    color: #FFFFFF;
    margin-bottom: 36px;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.3s both;
}
.hero-title .highlight {
    background: linear-gradient(130deg, var(--accent) 0%, #FFB057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-long {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    color: rgba(255, 255, 255, 0.52);
    margin-bottom: 56px;
    max-width: 580px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.45s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.6s both;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 48px;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: heroFadeUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.9s both;
}
.hero-scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-hint span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Remove old hero-visuals */
.hero-visuals { display: none; }

/* ============================================================
   Marquee Strip
   ============================================================ */
.marquee-strip {
    background: var(--accent);
    padding: 18px 0;
    overflow: hidden;
    border: none;
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    white-space: nowrap;
}
.marquee-item {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
}
.marquee-sep {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.65rem;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ============================================================
   Services Section
   ============================================================ */
.services {
    padding: 100px 5%;
    background: var(--bg-dark);
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.service-number {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-on-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-desc {
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   Portfolio Section
   ============================================================ */
.portfolio {
    padding: 120px 5%;
    background: var(--surface-primary);
    border-top: none;
}

.section-header {
    margin-bottom: 60px;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Filter Pills */
.portfolio-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 64px;
    flex-wrap: wrap;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.filter-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border-light);
    padding: 9px 24px;
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
}
.filter-btn::after { display: none; }

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}
.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(244, 122, 32, 0.35);
}

/* Swiper Slider */
.portfolio-slider-container {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.portfolio-swiper { padding-bottom: 70px; overflow: hidden; }

.portfolio-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.portfolio-swiper .swiper-slide:not(.swiper-slide-active) {
    transform: scale(0.88);
    opacity: 0.45;
    filter: grayscale(20%);
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--surface-secondary);
    cursor: pointer;
    width: 100%;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.4s ease;
}
.project-card:hover { box-shadow: var(--shadow-lg); }

.project-card.single-large-card {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    background: var(--surface-secondary);
    cursor: grab;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}
.project-card.single-large-card:active { cursor: grabbing; }

@media (max-width: 768px) {
    .project-card.single-large-card { aspect-ratio: 4 / 5; max-height: 60vh; }
}

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

.main-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.project-img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #eee;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 44px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay { opacity: 1; }

/* Always show overlay text, reveal on hover */
.portfolio-swiper .swiper-slide-active .project-overlay { opacity: 1; }
.portfolio-swiper .swiper-slide-active .project-card .project-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0) 60%);
}

.project-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 700;
}

.project-title {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    background: #FFF;
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: flex-start;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, color 0.4s ease;
    pointer-events: none;
}
.project-card:hover .project-view-btn {
    background: var(--accent);
    color: #FFF;
    transform: translateY(-3px);
}

/* Hint text on hover */
.project-card::before {
    content: 'Clique para explorar';
    position: absolute;
    top: 20px;
    right: 20px;
    color: #FFF;
    background: rgba(0, 0, 0, 0.55);
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(6px);
    z-index: 10;
}
.project-card:hover::before { opacity: 1; }

@media (max-width: 992px) {
    .project-card::before { display: none; }
}

/* Custom Swiper Controls */
.portfolio-slider-container .swiper-button-next,
.portfolio-slider-container .swiper-button-prev {
    color: var(--text-primary) !important;
    background: var(--surface-primary);
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    border: 1px solid var(--border-subtle);
    margin-top: -30px;
    z-index: 10;
    transition: all 0.3s;
}
.portfolio-slider-container .swiper-button-next:hover,
.portfolio-slider-container .swiper-button-prev:hover { transform: scale(1.1); }
.portfolio-slider-container .swiper-button-next { right: 4%; }
.portfolio-slider-container .swiper-button-prev { left: 4%; }

.swiper-button-next::after,
.swiper-button-prev::after { font-size: 18px !important; font-weight: 800; }

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 0.35 !important;
}
.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    opacity: 1 !important;
}

/* ============================================================
   About Section
   ============================================================ */
.about {
    padding: 120px 5%;
    background: var(--bg-color);
    border-top: 1px solid var(--border-subtle);
    border-bottom: none;
    isolation: isolate;
    overflow: hidden;
}

.about-container {
    max-width: var(--max-width);
    width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-content .section-title { margin-bottom: 28px; }

.about-text {
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 56px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Stats — animated orange numbers */
.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid var(--border-light);
}

.stat {
    padding: 28px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.05em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix, .stat-prefix {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.04em;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* About image panel */
.about-image {
    background: var(--bg-dark);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 72px 60px;
    min-height: 480px;
    position: relative;
    overflow: hidden;
}
.about-image::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 122, 32, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.about-logo-img {
    max-width: 75%;
    position: relative;
    z-index: 1;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}
.about-image:hover .about-logo-img {
    transform: scale(1.06);
    opacity: 1;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-image { min-height: 320px; }
    .portfolio-slider-container { padding: 0; }
    .swiper-button-next, .swiper-button-prev { display: none !important; }
}

/* ============================================================
   Contact Section — Dark CTA
   ============================================================ */
.contact {
    padding: 160px 5%;
    text-align: center;
    background: var(--bg-dark);
    color: var(--text-on-dark);
    position: relative;
    overflow: hidden;
    border: none;
}

.contact::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 122, 32, 0.10) 0%, rgba(244, 122, 32, 0.02) 55%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 24px;
}
.contact-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.contact .section-title {
    color: var(--text-on-dark);
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    margin-bottom: 20px;
    line-height: 0.95;
}

.contact .section-desc {
    color: var(--text-on-dark-muted);
    margin: 0 auto;
    max-width: 520px;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
}

.contact-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 52px;
    flex-wrap: wrap;
}

.contact-btn {
    font-size: 1rem;
    padding: 20px 52px;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    padding: 48px 5%;
    background: #060606;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #fff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-icon {
    height: 36px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.footer-icon:hover { opacity: 1; }

.footer p {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.footer-location {
    opacity: 0.85;
}

/* ============================================================
   Project Detail Modal
   ============================================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s cubic-bezier(0.2, 0, 0, 1),
                opacity    0.4s cubic-bezier(0.2, 0, 0, 1);
}
.project-modal.active { visibility: visible; opacity: 1; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-content-wrapper {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.modal-instruction {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: -8px;
    margin-bottom: 20px;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
    line-height: 1;
}
.modal-close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.05) rotate(90deg);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.03em;
}

.modal-swiper {
    flex: 1;
    width: 100%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
}

.modal-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-bottom: 44px;
}

.modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    border-radius: 6px;
}

.modal-pagination { bottom: 0 !important; }

.modal-pagination .swiper-pagination-bullet {
    background: #fff !important;
    opacity: 0.25 !important;
}
.modal-pagination .swiper-pagination-bullet-active { opacity: 1 !important; }

.modal-next, .modal-prev {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.modal-next:hover, .modal-prev:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.08);
}
.modal-next::after, .modal-prev::after { font-size: 18px !important; font-weight: 800; }

@media (max-width: 768px) {
    .modal-content-wrapper { width: 100%; height: 100vh; padding: 0; }
    .modal-title { margin-top: 64px; font-size: 1.4rem; }
    .modal-close { top: 16px; right: 16px; }
    .modal-img { box-shadow: none; border-radius: 0; }
}
