/* -------------------------------------------------------------
   WORKDRILL STYLE SYSTEM
   Branding: Matte Black, Forest Green, Neon Tech Green, White
------------------------------------------------------------- */

/* DESIGN SYSTEM TOKENS */
:root {
    --bg-primary: #121815;
    --bg-secondary: #1a221f;
    --bg-tertiary: #232e29;
    --bg-glass: rgba(26, 34, 31, 0.75);
    --border-glass: rgba(0, 230, 118, 0.12);
    --border-glass-hover: rgba(0, 255, 127, 0.35);
    
    --color-primary: #00e676; /* Tech Emerald */
    --color-primary-hover: #00ff7f; /* Neon Tech Green */
    --color-primary-rgb: 0, 230, 118;
    --color-accent: #00f0ff; /* Tech Cyan */
    
    --color-text-main: #f8fafc; /* Slate 50 */
    --color-text-muted: #94a3b8; /* Slate 400 */
    --color-text-dark: #475569; /* Slate 600 */
    
    --font-headers: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(0, 230, 118, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* LAYOUT CONTAINER */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* REUSABLE CLASSES */
.section-padding {
    padding: 8rem 0;
}
.section-padding-sm {
    padding: 5rem 0;
}
.section-padding-top {
    padding-top: 5rem;
}
.bg-secondary {
    background-color: var(--bg-secondary);
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.align-center {
    align-items: center;
}

.grid {
    display: grid;
    gap: 2.5rem;
}
.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 0.25rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    max-width: 800px;
}
.text-center .section-title {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.25);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 127, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.25);
}

.btn-lg {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-link {
    background: none;
    border: none;
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
}
.btn-link i {
    transition: transform 0.3s ease;
}
.btn-link:hover i {
    transform: translateX(5px);
}

/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: 120px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.gear-rotate {
    transform-origin: 50px 50px;
    animation: spin 8s linear infinite;
}

.tools-draw path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawPath 3s ease-out forwards infinite alternate;
}

.loader-brand {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #ffffff;
    margin-bottom: 1rem;
    text-indent: 0.3em;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background-color: var(--color-primary);
    animation: fillBar 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ANIMATIONS */
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}
@keyframes fillBar {
    to { width: 100%; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 230, 118, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 230, 118, 0.5); }
}
@keyframes kenburns {
    0% { transform: scale(1.0) translate(0, 0); }
    50% { transform: scale(1.1) translate(-1%, -1%); }
    100% { transform: scale(1.0) translate(0, 0); }
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* HEADER styling */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.main-header.scrolled {
    height: 75px;
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.header-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-headers);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #ffffff;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-family: var(--font-headers);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
    color: #ffffff;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-mobile-only {
    display: none;
}

/* MOBILE TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-fast);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
    opacity: 0.65;
    animation: kenburns 20s linear infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18,24,21,0.5) 0%, rgba(18,24,21,0.8) 85%, var(--bg-primary) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    text-align: left;
    margin-bottom: 80px; /* space for stats banner */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-family: var(--font-headers);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 720px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

/* HERO STATS */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(13,18,15,0.9) 0%, rgba(7,9,8,0.95) 100%);
    border-top: 1px solid var(--border-glass);
    z-index: 4;
    padding: 2rem 0;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-headers);
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-headers);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* REVEAL ANIMATIONS */
.reveal-fade, .reveal-fade-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up {
    transform: translateY(40px);
}
.reveal-left {
    transform: translateX(-40px);
}
.reveal-right {
    transform: translateX(40px);
}

.reveal-active {
    opacity: 1 !important;
    transform: none !important;
}

/* QUEM SOMOS SECTION */
.about-section {
    position: relative;
}

.about-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.feature-item-inline {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition-fast);
}
.feature-item-inline:hover .feature-icon {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.feature-item-inline h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.feature-item-inline p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.about-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.img-frame {
    position: relative;
    width: 90%;
    max-width: 500px;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
    padding: 1rem;
    background-color: var(--bg-secondary);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    filter: brightness(0.85) contrast(1.05);
}

.visual-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(13, 18, 15, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-primary);
    padding: 1.25rem 2rem;
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulseGlow 4s infinite;
}

.badge-num {
    font-family: var(--font-headers);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.badge-txt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
    margin-top: 0.25rem;
}

/* TIMELINE */
.timeline-container {
    border-top: 1px solid var(--border-glass);
}
.timeline-header-title {
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0,230,118,0.1) 0%, rgba(0,230,118,0.8) 50%, rgba(0,230,118,0.1) 100%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 3px solid var(--color-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}
.timeline-item:hover .timeline-dot {
    background-color: var(--color-primary-hover);
    transform: scale(1.3);
    box-shadow: var(--shadow-glow);
}

.timeline-date {
    font-family: var(--font-headers);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.timeline-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    max-width: 250px;
}

/* SERVICES SECTION */
.services-grid {
    gap: 2rem;
}

.service-card {
    position: relative;
    height: 350px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    cursor: pointer;
    background-color: var(--bg-tertiary);
    transition: var(--transition-smooth);
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.2) contrast(1.1) grayscale(0.5);
    transition: var(--transition-smooth);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 3rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card .btn-link {
    opacity: 0.6;
    transform: translateY(5px);
    transition: var(--transition-smooth);
}

/* SERVICE CARD HOVERS */
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}
.service-card:hover .card-bg {
    transform: scale(1.08);
    filter: brightness(0.3) contrast(1.1) grayscale(0);
}
.service-card:hover .card-icon {
    color: var(--color-primary-hover);
    transform: scale(1.1) translateY(-5px);
}
.service-card:hover h3 {
    color: var(--color-primary);
}
.service-card:hover .btn-link {
    opacity: 1;
    transform: translateY(0);
}

/* STRUCTURE & MACHINERY */
.filter-controls {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-headers);
    font-weight: 600;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    color: var(--color-text-muted);
    padding: 0.6rem 1.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7,9,8,0) 40%, rgba(7,9,8,0.9) 100%);
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-info span {
    font-family: var(--font-headers);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.25rem;
}
.gallery-info h4 {
    font-size: 1.15rem;
}

.gallery-zoom {
    font-size: 1.4rem;
    color: #ffffff;
}

/* GALLERY HOVER */
.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* OPERATIONS SECTION */
.op-slider-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--border-glass);
    background-color: var(--bg-tertiary);
}

.op-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    filter: brightness(0.8);
}
.op-slide.active {
    opacity: 1;
}

.op-slider-nav {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    display: flex;
    gap: 0.75rem;
}

.op-nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(13, 18, 15, 0.9);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
}
.op-nav-btn:hover {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    border-color: var(--color-primary);
}

.op-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(7,9,8,0) 0%, rgba(7,9,8,0.9) 100%);
    padding: 3rem 2rem 2rem 2rem;
    font-size: 0.95rem;
    color: #ffffff;
    z-index: 5;
    font-weight: 500;
}

.locations-tag-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.location-tag {
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-main);
}
.location-tag i {
    color: var(--color-primary);
}

.operations-milestones {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.op-milestone {
    display: flex;
    gap: 1.5rem;
}

.op-num {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    opacity: 0.4;
}

.op-milestone h4 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.op-milestone p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* DIFFERENTIALS SECTION */
.differentials-grid {
    gap: 2rem;
}

.diff-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    padding: 3rem 2.2rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}
.diff-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-premium);
}

.diff-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.diff-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.diff-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* CLIENTS CAROUSEL */
.clients-title {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-family: var(--font-headers);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3.5rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}
.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-secondary) 0%, rgba(13,18,15,0) 100%);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-secondary) 0%, rgba(13,18,15,0) 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: marquee 30s linear infinite;
}

.client-logo {
    font-family: var(--font-headers);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    opacity: 0.25;
    white-space: nowrap;
    transition: var(--transition-fast);
    cursor: default;
}
.client-logo:hover {
    opacity: 0.95;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

/* CONTACT & BUDGET */
.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 4px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}
.contact-item:hover {
    border-color: var(--border-glass-hover);
    transform: translateX(5px);
    box-shadow: var(--shadow-premium);
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    background-color: var(--bg-tertiary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item .whatsapp-color {
    color: #25d366;
}

.contact-item span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}
.contact-item strong {
    font-size: 1.15rem;
    color: #ffffff;
    font-family: var(--font-headers);
}

/* LEAFLET MAP */
.map-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    height: 300px;
    box-shadow: var(--shadow-premium);
}

.map-overlay-title {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(7, 9, 8, 0.9);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-headers);
    font-weight: 600;
    color: var(--color-primary);
    z-index: 1000;
}

#map {
    width: 100%;
    height: 100%;
    background-color: #111;
}

/* CUSTOM DARK MAP STYLING */
.leaflet-container {
    background: #0f1110 !important;
}
.leaflet-tile-container img {
    filter: invert(100%) hue-rotate(180deg) brightness(85%) contrast(110%) saturate(60%) !important;
}
.leaflet-bar a {
    background-color: rgba(13,18,15,0.95) !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--border-glass) !important;
}
.leaflet-bar a:hover {
    background-color: var(--color-primary) !important;
    color: var(--bg-primary) !important;
}
.leaflet-popup-content-wrapper {
    background-color: rgba(13,18,15,0.95) !important;
    color: #ffffff !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: 4px !important;
    font-family: var(--font-body);
}
.leaflet-popup-tip {
    background-color: rgba(13,18,15,0.95) !important;
    border-left: 1px solid var(--border-glass) !important;
    border-bottom: 1px solid var(--border-glass) !important;
}

/* CONTACT FORM */
.glass-form-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    padding: 3.5rem 3rem;
    border-radius: 4px;
    box-shadow: var(--shadow-premium);
}
.glass-form-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: none;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
    font-size: 0.95rem;
}

/* Select Label behavior override */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25em;
    padding-right: 2.5rem;
}
.form-group select:focus + .select-label,
.form-group select:valid + .select-label,
.form-group select:not([value=""]) + .select-label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    background-color: var(--bg-secondary);
    padding: 0 0.4rem;
}

/* Floating Label Animation */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--color-primary);
    background-color: var(--bg-secondary);
    padding: 0 0.4rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
    background-color: rgba(0, 0, 0, 0.4);
}

/* Submit Loading State */
.btn-submit {
    gap: 0.75rem;
}
.btn-submit.loading {
    background-color: var(--color-text-dark);
    cursor: not-allowed;
    box-shadow: none;
}

.form-feedback {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: var(--transition-fast);
}
.form-feedback.success {
    opacity: 1;
    color: var(--color-primary);
}
.form-feedback.error {
    opacity: 1;
    color: #ff3d00;
}

/* FOOTER */
.main-footer {
    background-color: #040605;
    border-top: 1px solid var(--border-glass);
    padding-top: 5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand .brand-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.footer-top h4 {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-top ul {
    list-style: none;
}
.footer-top ul li {
    margin-bottom: 1rem;
}
.footer-top ul li a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.footer-top ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-contact p i {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 2rem 0;
}
.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-dark);
}

/* FLOATING WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background-color: rgba(7,9,8,0.95);
    border: 1px solid var(--border-glass);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-headers);
    color: #ffffff;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    font-weight: 600;
}
.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* DYNAMIC SERVICE MODAL */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 9, 8, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    width: 100%;
    max-width: 900px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-smooth);
}
.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}
.modal-close:hover {
    color: #ffffff;
}

.modal-body-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr;
    min-height: 480px;
}

.modal-image {
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
}

.modal-info {
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-tag {
    font-family: var(--font-headers);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.modal-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

#modalDescription {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

/* LIGHTBOX MODAL */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 6, 5, 0.95);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    object-fit: contain;
    box-shadow: var(--shadow-premium);
}

.lightbox-caption {
    font-family: var(--font-headers);
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 1.5rem;
    text-align: center;
    background-color: rgba(7, 9, 8, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}
.lightbox-close:hover {
    color: #ffffff;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 18, 15, 0.8);
    border: 1px solid var(--border-glass);
    color: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
}
.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--color-primary);
    color: var(--bg-primary);
    border-color: var(--color-primary);
}
.lightbox-prev { left: 3rem; }
.lightbox-next { right: 3rem; }

/* RESPONSIVE DESIGN - MEDIA QUERIES */

/* Notebook scale down */
@media (max-width: 1200px) {
    .section-title { font-size: 2.6rem; }
    .hero-title { font-size: 3.2rem; }
}

/* Tablet Layout */
@media (max-width: 992px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content {
        margin-bottom: 0;
        width: 100%;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 5rem;
        width: 100%;
    }
    
    .stats-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 2rem;
    }
    
    .about-visual {
        justify-content: center;
        margin-top: 3rem;
    }
    
    .img-frame {
        width: 100%;
        max-width: 450px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    /* MOBILE NAVIGATION */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background-color: rgba(7, 9, 8, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    .header-btn {
        display: none;
    }
    
    .btn-mobile-only {
        display: flex;
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .modal-body-layout {
        grid-template-columns: 1fr;
    }
    .modal-image {
        display: none;
    }
    .modal-info {
        padding: 3rem 2rem;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-3-col, .grid-2-col, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 2rem;
        padding: 0 1.5rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .stats-container::-webkit-scrollbar {
        display: none;
    }
    .stat-item {
        flex: 0 0 180px;
        scroll-snap-align: start;
    }
    
    .timeline::before {
        display: none;
    }
    .timeline {
        flex-direction: column;
        gap: 3rem;
    }
    .timeline-item {
        text-align: left;
        align-items: flex-start;
    }
    .timeline-dot {
        margin-bottom: 1rem;
    }
    .timeline-content p {
        max-width: 100%;
    }
    
    .glass-form-card {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
    }
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }

    .op-slider-caption {
        padding-right: 7.5rem;
        font-size: 0.85rem;
    }
    
    .contact-item strong {
        font-size: 0.95rem;
        word-break: break-all;
    }
}
