:root {
    --verde-profundo: #002E1C;
    --verde-medio: #1D4233;
    --dorado: #B2945E;
    --dorado-brillante: #D4AF37;
    --negro-fondo: #0A0A0A;
    --negro-secundario: #111111;
    --gris-texto: #D9D9D9;
    --gris-suave: #A0A0A0;
    --blanco: #FFFFFF;
    --borde: rgba(178, 148, 94, 0.18);
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    --radius: 18px;
    --transition: 0.35s ease;
    --max-width: 1200px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--negro-fondo);
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

/* Fondo blueprint */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--verde-medio) 1px, transparent 1px),
        linear-gradient(90deg, var(--verde-medio) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.05;
    z-index: -1;
}

/* Utilidades */
img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(90%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2,
.section-heading,
h1, h2, h3, h4,
.footer-logo {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--dorado);
}

.section-kicker {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dorado);
    margin-bottom: 12px;
}

.section-heading {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.2;
}

.section-text {
    color: var(--gris-texto);
    margin-bottom: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--borde);
    z-index: 1000;
}

.header-container {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-box {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 150px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: var(--blanco);
    transition: var(--transition);
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--dorado);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--dorado);
}

.nav a:hover::after {
    width: 100%;
}

/* Menú móvil */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--borde);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--blanco);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80&w=2070');
    background-size: cover;
    background-position: center;
    padding-top: 110px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(178, 148, 94, 0.08), transparent 55%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    margin-bottom: 22px;
    line-height: 1.12;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--gris-texto);
    max-width: 760px;
    margin: 0 auto 36px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* Botones */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 32px;
    border-radius: 999px;
    border: 1px solid var(--dorado);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--dorado);
    color: var(--negro-fondo);
}

.btn-primary:hover {
    background: var(--dorado-brillante);
    box-shadow: 0 0 22px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--dorado);
}

.btn-secondary:hover {
    background: rgba(178, 148, 94, 0.08);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Servicios */
.services {
    background: linear-gradient(180deg, transparent, rgba(29, 66, 51, 0.08));
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(29, 66, 51, 0.12);
    border: 1px solid rgba(178, 148, 94, 0.12);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    min-height: 240px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--dorado);
    background: rgba(29, 66, 51, 0.22);
}

.service-card.highlight {
    border-color: var(--dorado);
    background: rgba(29, 66, 51, 0.32);
}

.service-card h3 {
    color: var(--dorado);
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.service-card p {
    color: var(--gris-texto);
    font-size: 0.95rem;
}

/* Proceso */
.process {
    background: var(--negro-secundario);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-item {
    border-top: 2px solid var(--dorado);
    padding: 26px 22px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 16px 16px;
}

.process-item span {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--dorado);
    font-weight: 700;
    letter-spacing: 2px;
}

.process-item h3 {
    margin-bottom: 10px;
    color: var(--blanco);
}

.process-item p {
    color: var(--gris-texto);
    font-size: 0.94rem;
}

/* Portafolio */
.portfolio {
    background: #050505;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.portfolio-item {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(178, 148, 94, 0.12);
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.62;
    transition: transform 0.55s ease, opacity 0.55s ease;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0.1));
}

.portfolio-item:hover img {
    transform: scale(1.08);
    opacity: 0.84;
}

.portfolio-info {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
}

.portfolio-tag {
    color: var(--dorado);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.portfolio-info h4 {
    font-size: 1.18rem;
}

/* Contacto */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(0, 46, 28, 0.96), rgba(13, 26, 20, 0.96));
    border-top: 4px solid var(--dorado);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--dorado);
    letter-spacing: 0.5px;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(178, 148, 94, 0.28);
    background: rgba(0, 0, 0, 0.25);
    color: var(--blanco);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: #c9c9c9;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--dorado);
    box-shadow: 0 0 0 3px rgba(178, 148, 94, 0.12);
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float img {
    width: 34px;
    height: 34px;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* Footer */
.footer {
    background: var(--verde-profundo);
    border-top: 1px solid var(--dorado);
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    color: var(--dorado);
    margin-bottom: 14px;
}

.footer-content p {
    color: var(--gris-texto);
    margin-bottom: 10px;
}

.footer-location {
    color: var(--dorado) !important;
}

.footer small {
    color: rgba(255,255,255,0.58);
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-services,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        min-height: 84px;
    }

    .logo-img {
        height: 60px;
    }

    .menu-toggle {
        display: block;
        z-index: 1100;
    }

    .nav {
        position: absolute;
        top: 100%;
        right: 5%;
        width: 240px;
        background: rgba(10, 10, 10, 0.96);
        border: 1px solid var(--borde);
        border-radius: 16px;
        padding: 18px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        box-shadow: var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section {
        padding: 90px 0;
    }

    .grid-services,
    .process-grid,
    .portfolio-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 28px 20px;
    }

    .portfolio-item {
        min-height: 300px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }

    .cta-group {
        width: 100%;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .section-title {
        margin-bottom: 40px;
    }
    .portfolio-cta {
    text-align: center;
    margin-top: 40px;
    }
}