/* ============================================================
   RESET Y BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --gold-light: #e8c84a;
    --gold-dark: #b8962e;
    --dark: #0a0908;
    --dark-card: #151210;
    --dark-border: #2a2620;
    --text-light: #f0ece4;
    --text-muted: #b5ada0;
    --text-dim: #7a7265;
    --shadow-gold: 0 15px 40px -10px rgba(212, 175, 55, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ============================================================
   SCROLLBAR PERSONALIZADA PREMIUM
   ============================================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

/* ============================================================
   BOTONES PREMIUM
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-gold), 0 0 40px rgba(212, 175, 55, 0.15);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--gold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ============================================================
   HEADER PREMIUM
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.4s ease;
}

.header.scrolled {
    padding: 0.7rem 5%;
    background: rgba(10, 9, 8, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(212, 175, 55, 0.25);
}

.logo {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
}

.logo::after {
    content: '™';
    font-size: 0.5rem;
    color: var(--text-dim);
    position: absolute;
    top: -5px;
    right: -18px;
}

.logo i {
    font-size: 1.4rem;
    animation: pulse-gold 3s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.8rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .btn-primary {
    padding: 0.5rem 1.8rem;
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO - CON FONDO DE CONSTRUCCIÓN PREMIUM
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(1.2) contrast(1.05);
    z-index: 0;
    animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 9, 8, 0.2) 0%, rgba(10, 9, 8, 0.8) 100%),
        radial-gradient(ellipse at center, rgba(10, 9, 8, 0.1) 0%, rgba(10, 9, 8, 0.6) 100%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0);
    }
    20% {
        opacity: 0.6;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) translateX(50px) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.4rem 1.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(10px);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    }
}

.hero h1 {
    font-size: clamp(2.8rem, 10vw, 5.8rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #f0ece4 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: text-shimmer 4s ease-in-out infinite;
}

@keyframes text-shimmer {
    0%,
    100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto 2.8rem;
    letter-spacing: 0.3px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats .stat {
    text-align: center;
    position: relative;
}

.hero-stats .stat::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
}

.hero-stats .stat:last-child::after {
    display: none;
}

.hero-stats .stat .number {
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    display: block;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.hero-stats .stat .label {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
}

/* ============================================================
   SECCIÓN SERVICIOS PREMIUM
   ============================================================ */
.services {
    padding: 7rem 0;
    background: var(--dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.3rem 1.5rem;
    border-radius: 50px;
    position: relative;
}

.section-header .tag::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: border-shimmer 3s ease-in-out infinite;
}

@keyframes border-shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.2;
}

.section-title .gold {
    color: var(--gold);
}

.section-subtitle {
    color: var(--text-dim);
    font-weight: 300;
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-card);
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    border: 1px solid var(--dark-border);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.03), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) rotateX(3deg);
    border-color: var(--gold);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card .icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 16px;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .icon-wrap {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1) rotate(-5deg) translateZ(20px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--gold);
}

.service-card .service-description {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.service-card .service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-card .service-features li {
    color: var(--text-dim);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.service-card .service-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.6rem;
    top: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-features li::before {
    transform: rotate(90deg);
}

.service-card .service-benefit {
    display: inline-block;
    color: var(--gold);
    font-weight: 500;
    font-size: 0.85rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.service-card:hover .service-benefit {
    color: var(--gold-light);
}

.service-card .service-benefit i {
    margin-right: 0.5rem;
}

/* ============================================================
   PROYECTOS
   ============================================================ */
.projects {
    padding: 7rem 0;
    background: var(--dark-card);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: var(--dark);
    border: 1px solid var(--dark-border);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 4/3;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: scale(1.02) rotateY(2deg);
    border-color: var(--gold);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.05);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 9, 8, 0.85) 0%, rgba(10, 9, 8, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: background 0.5s ease;
}

.project-card:hover .overlay {
    background: linear-gradient(0deg, rgba(10, 9, 8, 0.92) 0%, rgba(10, 9, 8, 0.2) 100%);
}

.project-card .tag {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.project-card .overlay h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.project-card .overlay p {
    color: var(--text-dim);
    font-weight: 300;
    font-size: 0.9rem;
}

.project-card .overlay .project-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.project-card .overlay .project-meta i {
    color: var(--gold);
    margin-right: 0.3rem;
}

/* ============================================================
   PROCESO
   ============================================================ */
.process {
    padding: 7rem 0;
    background: var(--dark);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(212, 175, 55, 0.1));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.process-step .step-number .inner-dot {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    animation: spin-dot 10s linear infinite;
}

@keyframes spin-dot {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.process-step:hover .step-number {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.2);
}

.process-step h4 {
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.process-step p {
    color: var(--text-dim);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

/* ============================================================
   OPINIONES
   ============================================================ */
.testimonials {
    padding: 7rem 0;
    background: var(--dark-card);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--dark);
    border-radius: 20px;
    padding: 2.2rem;
    border: 1px solid var(--dark-border);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
}

.testimonial-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.03);
}

.testimonial-card .stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    color: var(--text-muted);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
}

.testimonial-card blockquote::before {
    content: '"';
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -5px;
    left: -8px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.testimonial-card .author .name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1rem;
}

.testimonial-card .author .role {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ============================================================
   ZONAS MADRID
   ============================================================ */
.zones {
    padding: 4.5rem 0;
    background: var(--dark);
    text-align: center;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}

.zones h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.zones .zone-sub {
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 1.8rem;
}

.zone-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    max-width: 800px;
    margin: 0 auto;
}

.zone-tags span {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 0.4rem 1.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.zone-tags span:hover {
    border-color: var(--gold);
    color: var(--text-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.05);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
    padding: 7rem 0;
    background: var(--dark-card);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0.8rem;
}

.contact-info>p {
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-info .detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.contact-info .detail:hover {
    transform: translateX(5px);
}

.contact-info .detail i {
    width: 44px;
    height: 44px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    border: 1px solid var(--dark-border);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info .detail:hover i {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: scale(1.05);
}

.contact-info .detail strong {
    display: block;
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-info .detail span {
    font-size: 0.9rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-family: inherit;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.06), 0 0 20px rgba(212, 175, 55, 0.03);
    transform: scale(1.01);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form select option {
    background: var(--dark);
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: #070606;
    padding: 3rem 5%;
    border-top: 1px solid var(--dark-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer .logo {
    font-size: 1rem;
}

.footer .social {
    display: flex;
    gap: 1.5rem;
}

.footer .social a {
    color: var(--text-dim);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dark-border);
}

.footer .social a:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.05);
}

.footer .copy {
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 300;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-steps::before {
        display: none;
    }

    .hero-stats .stat::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 1px solid var(--dark-border);
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .hero-stats .stat .number {
        font-size: 1.8rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .project-card {
        aspect-ratio: 4/3;
    }
}
/* ============================================================
   FIX PARA QUE GSAP FUNCIONE SIEMPRE AL RECARGAR
   ============================================================ */
.service-card,
.process-step,
.testimonial-card,
.contact-wrapper,
.zone-tags span,
.project-card {
    opacity: 0;
}

/* Los proyectos se generan con JS, pero los ocultamos hasta que GSAP los muestre */
#projectsGrid .project-card {
    opacity: 0;
}

/* Hero stats también los ocultamos (solo los números) */
.hero-stats .stat .number {
    opacity: 0;
}

/* El hero no lo ocultamos porque ya tiene su propia animación */
/* Contadores - empiezan ocultos hasta que se animan */
.hero-stats .stat .number {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Cuando la animación los haga visibles */
.hero-stats .stat .number.visible {
    opacity: 1;
}