/* ================================
   VARIABLES
================================ */

:root {

    --background: #08080b;
    --background-light: #0e0e13;
    --card: #111117;

    --primary: #7c3aed;
    --primary-light: #a78bfa;

    --text: #f5f5f5;
    --text-secondary: #a1a1aa;

    --border: #27272f;

}


/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--background);

    color: var(--text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font-family: inherit;
}


/* ================================
   CONTAINER
================================ */

.container {

    width: min(1120px, 90%);

    margin: auto;

}


/* ================================
   NAVBAR
================================ */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 8, 11, 0.85);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.05);

}


.nav-container {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    font-size: 1.4rem;

    font-weight: 800;

    letter-spacing: 0.12em;

}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;

}


.nav-menu a {

    color: var(--text-secondary);

    font-size: 0.9rem;

    transition: 0.2s ease;

}


.nav-menu a:hover {

    color: white;

}


.nav-menu .nav-contact {

    padding: 9px 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: white;

}


.nav-menu .nav-contact:hover {

    background: var(--primary);

    border-color: var(--primary);

}


.menu-toggle {

    display: none;

    border: none;

    background: none;

    color: white;

    font-size: 1.6rem;

    cursor: pointer;

}


/* ================================
   HERO
================================ */

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding-top: 76px;

}


.hero-container {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: center;

}


.hero-label,
.section-label {

    color: var(--primary-light);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 0.16em;

}


.hero h1 {

    margin-top: 20px;

    max-width: 700px;

    font-size: clamp(3rem, 6vw, 5.8rem);

    line-height: 0.98;

    letter-spacing: -0.06em;

}


.hero h1 span,
.section-heading h2 span,
.about-content h2 span {

    color: var(--primary-light);

}


.hero-content > p {

    max-width: 570px;

    margin-top: 28px;

    color: var(--text-secondary);

    font-size: 1.05rem;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 34px;

}


.btn {

    padding: 13px 19px;

    border-radius: 8px;

    font-size: 0.85rem;

    font-weight: 600;

    transition: 0.2s ease;

}


.btn-primary {

    background: var(--primary);

    color: white;

}


.btn-primary:hover {

    transform: translateY(-2px);

    background: #6d28d9;

}


.btn-secondary {

    border: 1px solid var(--border);

    color: white;

}


.btn-secondary:hover {

    background: var(--card);

    transform: translateY(-2px);

}


/* ================================
   CODE CARD
================================ */

.hero-code {

    border: 1px solid var(--border);

    border-radius: 14px;

    overflow: hidden;

    background: #0c0c11;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);

}


.code-header {

    height: 42px;

    padding: 0 15px;

    display: flex;

    align-items: center;

    gap: 7px;

    border-bottom: 1px solid var(--border);

}


.code-header span {

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #3f3f46;

}


.code-content {

    padding: 30px;

    min-height: 260px;

    font-family: monospace;

    font-size: 0.85rem;

    line-height: 2;

}


.code-purple {
    color: #c084fc;
}


.code-green {
    color: #86efac;
}


.code-blue {
    color: #93c5fd;
}


.code-gray {
    color: #71717a;
}


.code-white {
    color: white;
}


.code-indent {
    padding-left: 25px;
}


/* ================================
   SECTIONS
================================ */

.section {

    padding: 120px 0;

}


.section-heading {

    max-width: 700px;

    margin-bottom: 55px;

}


.section-heading h2 {

    margin-top: 14px;

    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1;

    letter-spacing: -0.05em;

}


.section-heading p {

    margin-top: 20px;

    color: var(--text-secondary);

}


/* ================================
   SERVICES
================================ */

.services {

    background: var(--background-light);

}


.services-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

}


.service-card {

    position: relative;

    min-height: 280px;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 12px;

    transition: 0.25s ease;

}


.service-card:hover {

    transform: translateY(-5px);

    border-color: #3f3f4a;

}


.service-number {

    position: absolute;

    top: 25px;
    right: 25px;

    color: #52525b;

    font-size: 0.7rem;

}


.service-icon {

    margin-bottom: 50px;

    color: var(--primary-light);

    font-size: 1.8rem;

}


.service-card h3 {

    font-size: 1.15rem;

}


.service-card p {

    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 0.85rem;

}


/* ================================
   PROJECTS
================================ */

.projects-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

}


.projects-heading > p {

    max-width: 370px;

}


/* Contenedor de proyectos */

.projects-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}


/* Tarjeta */

.project-card {

    overflow: hidden;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 14px;

    transition: 0.25s ease;

}


.project-card:hover {

    transform: translateY(-5px);

    border-color: #3f3f4a;

}


/* Proyecto grande */

.project-large {

    grid-column: 1 / -1;

}


/* Imagen / mockup */

.project-image {

    min-height: 390px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px;

    background:
        radial-gradient(
            circle at center,
            #312e81 0%,
            #15151c 55%,
            #0b0b0f 100%
        );

}


.mockup-window {

    width: min(600px, 100%);

    overflow: hidden;

    border: 1px solid #33333d;

    border-radius: 10px;

    background: #f4f4f5;

    box-shadow:
        0 25px 60px rgba(0,0,0,0.45);

}


.mockup-top {

    height: 32px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 0 10px;

    background: #1b1b20;

}


.mockup-top span {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #52525b;

}


.mockup-body {

    min-height: 270px;

    padding: 40px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: flex-start;

    background:
        linear-gradient(
            135deg,
            #18120e,
            #3a2619
        );

}


.mockup-body small {

    color: #d4a373;

    font-size: 0.65rem;

    letter-spacing: 0.15em;

}


.mockup-body h3 {

    margin-top: 10px;

    color: white;

    font-family: Georgia, serif;

    font-size: 3rem;

    line-height: 0.9;

}


.mockup-button {

    display: inline-block;

    margin-top: 25px;

    padding: 10px 16px;

    background: #19130f;

    color: white;

    font-size: 0.65rem;

    letter-spacing: 0.05em;

}


/* InformaciÃ³n del proyecto */

.project-info {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 25px;

    padding: 25px 28px;

}


.project-category {

    display: block;

    margin-bottom: 8px;

    color: var(--primary-light);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.12em;

}


.project-info h3 {

    font-size: 1.3rem;

}


.project-info p {

    margin-top: 5px;

    color: var(--text-secondary);

    font-size: 0.85rem;

}


.project-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 10px 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: var(--text);

    font-size: 0.75rem;

    font-weight: 600;

    white-space: nowrap;

    transition: 0.2s ease;

}


.project-link:hover {

    background: var(--primary);

    border-color: var(--primary);

    transform: translateY(-2px);

}


.project-link span {

    font-size: 1rem;

}


/* ================================
   PROCESS
================================ */

.process {

    background: var(--background-light);

}


.process-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}


.process-item {

    padding-top: 20px;

    border-top: 1px solid var(--border);

}


.process-item > span {

    color: var(--primary-light);

    font-size: 0.7rem;

    font-weight: 700;

}


.process-item h3 {

    margin-top: 30px;

    font-size: 1.2rem;

}


.process-item p {

    margin-top: 8px;

    color: var(--text-secondary);

    font-size: 0.85rem;

}


/* ================================
   ABOUT
================================ */

.about-container {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

}


.about-content h2 {

    margin-top: 15px;

    font-size: clamp(2.3rem, 5vw, 4rem);

    line-height: 1;

    letter-spacing: -0.05em;

}


.about-content p {

    max-width: 550px;

    margin-top: 25px;

    color: var(--text-secondary);

}


.about-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}


.stat {

    padding: 30px 10px;

    text-align: center;

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}


.stat strong {

    display: block;

    font-size: 2.5rem;

}


.stat span {

    display: block;

    margin-top: 5px;

    color: var(--text-secondary);

    font-size: 0.6rem;

    letter-spacing: 0.1em;

}


/* ================================
   CONTACT
================================ */

.contact {

    padding: 80px 0;

    background: var(--primary);

}


.contact-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.contact .section-label {

    color: #ddd6fe;

}


.contact h2 {

    margin-top: 10px;

    font-size: clamp(2.3rem, 5vw, 4rem);

    line-height: 1;

}


.contact p {

    max-width: 500px;

    margin-top: 15px;

    color: #ddd6fe;

}


.contact-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 15px 22px;

    border-radius: 8px;

    background: white;

    color: #18181b;

    font-weight: 700;

    transition: 0.2s ease;

}


.contact-button:hover {

    transform: translateY(-3px);

}


/* ================================
   FOOTER
================================ */

.footer {

    padding: 50px 0 25px;

    background: #050507;

}


.footer-container {

    display: flex;

    justify-content: space-between;

    gap: 30px;

}


.footer p {

    margin-top: 10px;

    color: var(--text-secondary);

    font-size: 0.8rem;

}


.footer-right {

    display: flex;

    gap: 25px;

}


.footer-right a {

    color: var(--text-secondary);

    font-size: 0.8rem;

}


.footer-right a:hover {

    color: white;

}


.footer-bottom {

    margin-top: 45px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #52525b;

    font-size: 0.7rem;

}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 900px) {

    .hero-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .services-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .process-grid {

        grid-template-columns: repeat(2, 1fr);

    }


    .about-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}


@media (max-width: 650px) {

    .nav-menu {

        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        padding: 25px;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        background: #0b0b0f;

        border-bottom: 1px solid var(--border);

    }


    .nav-menu.active {

        display: flex;

    }


    .menu-toggle {

        display: block;

    }


    .hero {

        padding-top: 120px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .btn {

        text-align: center;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .projects-heading {

        display: block;

    }


    .projects-grid {

        grid-template-columns: 1fr;

    }


    .project-large {

        grid-column: auto;

    }


    .project-image {

        min-height: 300px;

        padding: 20px;

    }


    .mockup-body {

        min-height: 220px;

        padding: 25px;

    }


    .mockup-body h3 {

        font-size: 2.3rem;

    }


    .project-info {

        align-items: flex-start;

        gap: 20px;

        flex-direction: column;

    }


    .project-link {

        width: 100%;

    }


    .process-grid {

        grid-template-columns: 1fr;

    }


    .about-stats {

        grid-template-columns: 1fr;

    }


    .contact-container {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-container {

        flex-direction: column;

    }


    .footer-right {

        flex-wrap: wrap;

    }

}
/* ================================================
   GOLF PROJECT MOCKUP
================================================ */
.project-image.golf {
    background: radial-gradient(circle at center, #14532d 0%, #0b1f14 55%, #08080b 100%);
}
.golf .mockup-body {
    background: linear-gradient(135deg, #0b1f14, #153d2d);
}
.golf .mockup-body small {
    color: #4ade80;
}
.golf .mockup-body h3 {
    font-size: 2.2rem;
}

/* ================================================
   CONTACTO
================================================ */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
}
.contact-details {
    margin-top: 22px;
    line-height: 1.9;
}

/* ================================================
   BOTÓN FLOTANTE WHATSAPP
================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.08);
}
