:root {
    /* Technical Grayscale Palette */
    --color-bg: #1a1a1a;
    --color-surface: #222222;
    --color-surface-soft: #282828;
    --color-surface-card: #333333;

    --color-text-main: #FFFFFF;
    --color-text-muted: #888888;
    --color-text-dim: #444444;

    --color-accent: #64ffda;
    /* Electric Cyan for small details/links */
    --color-accent-soft: rgba(100, 255, 218, 0.1);

    --font-main: 'Plus Jakarta Sans', sans-serif;

    --grid-gap: 30px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

a,
button,
input {
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

strong {
    color: white;
    font-weight: 700;
}

::selection {
    background-color: var(--color-accent);
    color: black;
}

/* Typography Helpers */
.bold {
    font-weight: 800;
}

.light {
    font-weight: 200;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Standard Section */
.section {
    padding: 120px 0;
    position: relative;
    background-color: var(--color-bg);
}

/* Light Contact Section */
#contacto.section {
    background-color: #f4f4f4;
    color: #1a1a1a;
    border-top: none;
}

#contacto .section-label {
    color: #888;
}

#contacto h2 {
    color: #1a1a1a;
}

#contacto p {
    color: #444;
}

#contacto .contact-form input,
#contacto .contact-form textarea {
    background: white;
    border: 1px solid #ddd;
    color: #1a1a1a;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

#contacto .contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contacto .contact-form input:focus,
#contacto .contact-form textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

#contacto .contact-form input:focus {
    border-color: #1a1a1a;
}

#contacto .contact-form label {
    display: none;
}

#contacto .btn-white {
    background-color: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

#contacto .btn-white:hover {
    background-color: transparent;
    color: #1a1a1a;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    z-index: 1100;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1050;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-list a {
        font-size: 1.2rem;
    }
}


.logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    color: white;
}

.logo span {
    font-weight: 200;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.nav-list a:hover {
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0.85)), url('../assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
}

.hero h1 {
    font-size: 10vw;
    /* Responsive huge text */
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
}

@media (min-width: 1400px) {
    .hero h1 {
        font-size: 140px;
    }
}

.hero h1 .light {
    display: block;
}

.hero p {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 60px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #222;
    border: 1px solid #222;
}

.service-card {
    background-color: var(--color-bg);
    padding: 60px 40px;
    transition: var(--transition);
}

.service-card:hover {
    background-color: var(--color-surface-card);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--color-text-muted);
}

.service-card h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9), transparent);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* About Section */
.about-split {
    display: flex;
    gap: 100px;
    align-items: center;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    filter: grayscale(100%);
    border: 1px solid #222;
}

.about-content {
    flex: 1;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 40px;
}

.about-content p {
    color: #ccc;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 30px;
}

.about-content strong {
    color: white;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 20px 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid white;
}

.btn-white {
    background-color: white;
    color: black;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}



/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-split,
    .contact-grid {
        flex-direction: column;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 20px 0;
    }

    /* Mobile menu simplified */
    .hero h1 {
        font-size: 15vw;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }
}

/* Floating WhatsApp (Premium Look) */
.whatsapp-fixed {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-fixed:hover {
    transform: scale(1.1) translateY(-5px);
}