/* =========================================================
   NEXORA DIGITAL
   Archivo: css/style.css
   Dirección visual:
   Sobria · Estratégica · Profesional · Premium
   ========================================================= */


/* =========================================================
   01. TIPOGRAFÍA
   ========================================================= */



/* =========================================================
   02. VARIABLES
   ========================================================= */

:root {
    /* Colores NEXORA */
    --color-black: #080B0B;
    --color-black-deep: #050707;
    --color-black-soft: #0D1010;
    --color-charcoal: #1F1F1F;

    --color-surface: #101313;
    --color-surface-light: #151818;
    --color-surface-elevated: #181B1B;

    --color-gold: #D4AF37;
    --color-gold-light: #E0BF4B;

    --color-white: #F7F7F5;
    --color-gray: #A6A6A6;

    /* Transparencias */
    --white-72: rgba(247, 247, 245, 0.72);
    --white-58: rgba(247, 247, 245, 0.58);
    --white-10: rgba(247, 247, 245, 0.10);
    --white-06: rgba(247, 247, 245, 0.06);

    --gold-soft: rgba(212, 175, 55, 0.07);
    --gold-medium: rgba(212, 175, 55, 0.14);

    /* Bordes */
    --border-dark: rgba(247, 247, 245, 0.08);
    --border-medium: rgba(247, 247, 245, 0.12);
    --border-gold: rgba(212, 175, 55, 0.38);

    /* Tipografía */
    --font-primary: "Manrope", "Segoe UI", Arial, sans-serif;

    /* Layout */
    --container-width: 1180px;
    --header-height: 86px;
    --section-space: clamp(100px, 10vw, 138px);

    /* Transiciones */
    --transition-fast: 0.25s ease;
    --transition-normal: 0.42s ease;

    /* Sombras */
    --shadow-card:
        0 20px 55px rgba(0, 0, 0, 0.18);

    --shadow-hover:
        0 30px 80px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   03. RESET GENERAL
   ========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 80% 9%,
            rgba(212, 175, 55, 0.035),
            transparent 30%
        ),
        var(--color-black);

    color: var(--color-white);

    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: none;
}

ul,
ol {
    list-style: none;
}

::selection {
    background: var(--color-gold);
    color: var(--color-black);
}


/* =========================================================
   04. ESTRUCTURA GLOBAL
   ========================================================= */

.container {
    width: min(100% - 48px, var(--container-width));
    margin-inline: auto;
}

section {
    position: relative;
    padding: var(--section-space) 0;
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.section-description {
    max-width: 720px;

    margin-top: -34px;
    margin-bottom: 62px;

    color: rgba(166, 166, 166, 0.82);

    font-size: 1.02rem;
    line-height: 1.85;
}


/* =========================================================
   PROYECTO 04 — PRÓXIMAMENTE
========================================================= */

.project-coming {
    background:
        linear-gradient(
            145deg,
            rgba(212, 175, 55, 0.025),
            transparent 45%
        ),
        var(--color-surface);
}


/* La imagen ocupa exactamente la misma zona
   que las demás tarjetas */

.project-coming .project-image img {
    object-fit: cover;
    object-position: center;
}


/* Pequeña diferenciación visual */

.project-coming .project-meta span:last-child {
    color: var(--color-gold);
}




/* =========================================================
   05. TIPOGRAFÍA GENERAL
   ========================================================= */

h1,
h2,
h3 {
    color: var(--color-white);

    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.035em;

    text-wrap: balance;
}

h1 {
    font-size: clamp(3.25rem, 6.5vw, 6.1rem);
}

h2 {
    font-size: clamp(2.35rem, 4.7vw, 4.25rem);
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--color-gray);
    text-wrap: pretty;
}

strong {
    color: var(--color-white);
    font-weight: 600;
}

h1 span,
h2 span {
    color: var(--color-gold);
}


/* =========================================================
   06. ETIQUETAS
   ========================================================= */

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 28px;

    color: var(--color-gold);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;

    text-transform: uppercase;
}

.section-label::before,
.eyebrow::before {
    content: "";

    display: block;

    width: 34px;
    height: 1px;

    background: var(--color-gold);
}


/* =========================================================
   07. BOTONES
   ========================================================= */

.btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 28px;

    border: 1px solid transparent;

    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.025em;

    cursor: pointer;

    transition:
        background-color var(--transition-fast),
        color var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-black);

    border-color: var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-light);

    transform: translateY(-2px);

    box-shadow:
        0 14px 38px rgba(212, 175, 55, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);

    border-color: var(--border-medium);
}

.btn-secondary:hover {
    color: var(--color-gold);

    border-color: var(--color-gold);

    transform: translateY(-2px);
}

.btn-whatsapp {
    background: rgba(212, 175, 55, 0.04);
    color: var(--color-gold);

    border-color: rgba(212, 175, 55, 0.50);
}

.btn-whatsapp:hover {
    background: var(--color-gold);
    color: var(--color-black);

    border-color: var(--color-gold);

    transform: translateY(-2px);
}


/* =========================================================
   08. HEADER
   ========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8, 11, 11, 0.66);

    border-bottom: 1px solid rgba(247, 247, 245, 0.045);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.header.header-scrolled {
    background: rgba(8, 11, 11, 0.95);

    border-bottom-color: rgba(247, 247, 245, 0.085);

    box-shadow:
        0 14px 45px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   09. NAVBAR
   ========================================================= */

.navbar {
    position: relative;

    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 34px;
}

.logo {
    position: relative;

    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    z-index: 5;
}

.logo img {
    display: block;

    width: auto;
    max-width: 268px;
    max-height: 68px;

    object-fit: contain;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.logo:hover img {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav {
    display: flex;
    align-items: center;

    gap: 26px;
}

.nav > a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 10px 0;

    color: rgba(247, 247, 245, 0.68);

    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.035em;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.nav > a:not(.nav-cta)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 3px;

    width: 0;
    height: 1px;

    background: var(--color-gold);

    transition: width 0.3s ease;
}

.nav > a:not(.nav-cta):hover,
.nav > a.active:not(.nav-cta) {
    color: var(--color-white);
}

.nav > a:not(.nav-cta):hover::after,
.nav > a.active:not(.nav-cta)::after {
    width: 100%;
}

.nav > .nav-cta {
    min-height: 42px;

    padding: 0 18px;

    color: var(--color-gold);

    border: 1px solid rgba(212, 175, 55, 0.48);

    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.05em;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.nav > .nav-cta:hover,
.nav > .nav-cta.active {
    color: var(--color-black);

    background: var(--color-gold);

    border-color: var(--color-gold);

    transform: translateY(-1px);
}


/* =========================================================
   10. BOTÓN MÓVIL
   ========================================================= */

.menu-toggle {
    display: none;

    position: relative;

    width: 44px;
    height: 44px;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0;

    background: transparent;

    border: 1px solid rgba(247, 247, 245, 0.10);

    cursor: pointer;

    z-index: 10;
}

.menu-toggle span {
    display: block;

    width: 18px;
    height: 1px;

    background: var(--color-white);

    transform-origin: center;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* =========================================================
   11. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    padding-top:
        calc(var(--header-height) + clamp(66px, 8vh, 100px));

    padding-bottom:
        clamp(76px, 9vh, 112px);

    background:
    linear-gradient(
        90deg,
        rgba(8, 11, 11, 0.97) 0%,
        rgba(8, 11, 11, 0.90) 38%,
        rgba(8, 11, 11, 0.68) 67%,
        rgba(8, 11, 11, 0.42) 100%
    ),
    image-set(
        url("../img/hero/portada-nexora.webp") type("image/webp"),
        url("../img/hero/portada-nexora.jpg") type("image/jpeg")
    );

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(8, 11, 11, 0.08) 0%,
            transparent 48%,
            rgba(8, 11, 11, 0.58) 100%
        );

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    top: var(--header-height);
    right: 8%;

    width: 1px;
    height: 68%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(212, 175, 55, 0.15),
            transparent
        );

    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 930px;
}

.hero-content h1 {
    max-width: 900px;

    margin-bottom: 30px;
}

.hero-content h1 span {
    display: block;
}

.hero-description {
    max-width: 680px;

    margin-bottom: 40px;

    color: rgba(247, 247, 245, 0.69);

    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.82;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   12. PROBLEMA / PROPÓSITO
   ========================================================= */

.presence {
    position: relative;

    padding-top: 138px;
    padding-bottom: 116px;

    background:
        linear-gradient(
            180deg,
            #0D1010 0%,
            #0A0D0D 100%
        );

    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);

    overflow: hidden;
}

.presence::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(247, 247, 245, 0.04),
            transparent
        );

    pointer-events: none;
}

.presence-layout {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(420px, 1.05fr);

    gap: clamp(70px, 9vw, 130px);

    align-items: start;
}

.presence-content {
    position: sticky;

    top: 145px;
}

.presence-content h2 {
    max-width: 680px;

    margin-bottom: 34px;
}

.presence-content h2 span {
    display: block;
}

.presence-description {
    max-width: 600px;

    margin-bottom: 18px;

    color: rgba(166, 166, 166, 0.82);

    font-size: 1rem;
    line-height: 1.85;
}

.presence-path {
    position: relative;

    display: flex;
    flex-direction: column;
}

.presence-path-line {
    position: absolute;

    top: 11px;
    bottom: 11px;
    left: 19px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            var(--color-gold),
            rgba(212, 175, 55, 0.16)
        );
}

.presence-step {
    position: relative;

    display: grid;
    grid-template-columns: 40px 1fr;

    gap: 28px;

    padding-bottom: 58px;
}

.presence-step:last-child {
    padding-bottom: 0;
}

.presence-number {
    position: relative;
    z-index: 2;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0C0F0F;

    border: 1px solid rgba(212, 175, 55, 0.42);

    color: var(--color-gold);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.presence-step-label {
    margin-bottom: 10px;

    color: var(--color-gold);

    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.presence-step h3 {
    margin-bottom: 13px;

    font-size: 1.35rem;
}

.presence-step > div > p:last-child {
    max-width: 440px;

    color: rgba(166, 166, 166, 0.72);

    font-size: 0.91rem;
    line-height: 1.75;
}

.presence-statement {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 24px;

    margin-top: 105px;
    padding-top: 34px;

    border-top: 1px solid var(--border-dark);
}

.presence-statement-line {
    width: 48px;
    height: 1px;

    flex-shrink: 0;

    background: var(--color-gold);
}

.presence-statement p {
    color: rgba(247, 247, 245, 0.58);

    font-size: clamp(1rem, 1.5vw, 1.18rem);
    letter-spacing: -0.015em;
}


/* =========================================================
   13. SOLUCIONES
   ========================================================= */

.services {
    background: var(--color-black);

    overflow: hidden;
}

.services > .container > h2 {
    max-width: 840px;

    margin-bottom: 64px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.solution-card {
    position: relative;

    min-height: 640px;

    display: flex;
    flex-direction: column;

    padding: 38px 34px;

    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.008)
        );

    border: 1px solid var(--border-dark);

    overflow: hidden;

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        background-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.solution-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 1px;

    background: var(--color-gold);

    transition: width var(--transition-normal);
}

.solution-card:hover {
    transform: translateY(-7px);

    border-color: var(--border-gold);

    background:
        linear-gradient(
            155deg,
            rgba(212, 175, 55, 0.045),
            rgba(255, 255, 255, 0.01)
        );

    box-shadow: var(--shadow-hover);
}

.solution-card:hover::before {
    width: 100%;
}

.service-number {
    display: block;

    margin-bottom: 28px;

    color: var(--color-gold);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-type {
    margin-bottom: 12px;

    color: rgba(212, 175, 55, 0.82);

    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.solution-card h3 {
    margin-bottom: 18px;

    font-size: clamp(1.45rem, 2.1vw, 1.8rem);
    line-height: 1.2;
}

.service-intro {
    margin-bottom: 18px;

    color: var(--color-white);

    font-size: 1rem;
    font-weight: 500;
    line-height: 1.65;
}

.solution-card > p:not(.service-type):not(.service-intro) {
    margin-bottom: 28px;

    color: rgba(166, 166, 166, 0.80);

    font-size: 0.91rem;
    line-height: 1.78;
}

.service-features {
    display: flex;
    flex-direction: column;

    gap: 10px;

    margin-bottom: 34px;
    padding-top: 24px;

    border-top: 1px solid var(--border-dark);
}

.service-features li {
    position: relative;

    padding-left: 20px;

    color: rgba(247, 247, 245, 0.67);

    font-size: 0.82rem;
    line-height: 1.6;
}

.service-features li::before {
    content: "";

    position: absolute;

    top: 0.72em;
    left: 0;

    width: 7px;
    height: 1px;

    background: var(--color-gold);
}

.service-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: auto;
    padding-bottom: 6px;

    color: var(--color-white);

    border-bottom: 1px solid var(--border-medium);

    font-size: 0.81rem;
    font-weight: 600;

    transition:
        color var(--transition-fast),
        gap var(--transition-fast),
        border-color var(--transition-fast);
}

.service-link span {
    color: var(--color-gold);
}

.service-link:hover {
    gap: 17px;

    color: var(--color-gold);

    border-color: var(--color-gold);
}


/* =========================================================
   14. ENFOQUE NEXORA
   ========================================================= */

.approach {
    position: relative;

    background:
        linear-gradient(
            180deg,
            var(--color-black-soft),
            #0A0D0D
        );

    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);

    overflow: hidden;
}

.approach::after {
    content: "N";

    position: absolute;

    top: 50%;
    right: -3%;

    transform: translateY(-50%);

    color: rgba(247, 247, 245, 0.014);

    font-size: clamp(19rem, 35vw, 38rem);
    font-weight: 700;
    line-height: 0.75;

    pointer-events: none;
    user-select: none;
}

.approach .container {
    position: relative;
    z-index: 2;
}

.approach h2 {
    max-width: 760px;

    margin-bottom: 64px;
}

.approach .section-description {
    margin-top: -34px;
    margin-bottom: 62px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border-medium);
    border-left: 1px solid var(--border-dark);
}

.approach-card {
    min-height: 245px;

    padding: 32px;

    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);

    background: rgba(255, 255, 255, 0.008);

    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal);
}

.approach-card:hover {
    background: rgba(212, 175, 55, 0.022);

    border-color: rgba(212, 175, 55, 0.20);
}

.approach-card > span {
    display: block;

    margin-bottom: 44px;

    color: var(--color-gold);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.approach-card h3 {
    margin-bottom: 14px;

    font-size: 1.2rem;
}

.approach-card p {
    max-width: 300px;

    color: rgba(166, 166, 166, 0.76);

    font-size: 0.9rem;
    line-height: 1.75;
}


/* =========================================================
   15. PROCESO
   ========================================================= */

.process {
    background: var(--color-black);
}

.process h2 {
    max-width: 920px;

    margin-bottom: 70px;
}

.process-grid-six {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid var(--border-medium);
    border-left: 1px solid var(--border-dark);
}

.process-grid-six > div {
    position: relative;

    min-height: 275px;

    padding: 32px;

    border-right: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);

    transition:
        background-color var(--transition-normal),
        border-color var(--transition-normal);
}

.process-grid-six > div:hover {
    background: rgba(212, 175, 55, 0.018);

    border-color: rgba(212, 175, 55, 0.18);
}

.process-grid-six > div > span {
    display: block;

    margin-bottom: 50px;

    color: var(--color-gold);

    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.10em;
}

.process-grid-six h3 {
    margin-bottom: 14px;

    font-size: 1.16rem;
}

.process-grid-six p {
    max-width: 290px;

    color: rgba(166, 166, 166, 0.75);

    font-size: 0.9rem;
    line-height: 1.75;
}


/* =========================================================
   16. PROYECTOS
   ========================================================= */

.projects {
    background: var(--color-black-soft);

    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
}

.projects h2 {
    max-width: 850px;

    margin-bottom: 64px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
}

.project-card {
    position: relative;

    min-height: 520px;

    background: var(--color-surface);

    border: 1px solid var(--border-dark);

    overflow: hidden;

    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-5px);

    border-color: var(--border-gold);

    box-shadow: var(--shadow-hover);
}

.project-featured {
    display: flex;
    flex-direction: column;
}

.project-image {
    position: relative;
    width: 100%;
    height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    box-sizing: border-box;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);

    overflow: hidden;
}

.project-image::before {
    content: "";

    position: absolute;

    top: 18px;
    right: 18px;

    width: 34px;
    height: 34px;

    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-right: 1px solid rgba(212, 175, 55, 0.25);
}

.project-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    margin: 0;

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}

.project-image picture {
    display: block;

    width: 100%;
    height: 100%;
}

.project-card:hover .project-image img {
    transform: translateY(-4px);

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.42);
}

.project-info {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 34px;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 32px;

    color: var(--color-gray);

    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.project-meta span:first-child {
    color: var(--color-gold);
}

.project-info h3 {
    margin-bottom: 16px;

    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.project-info p {
    max-width: 620px;

    margin-bottom: 32px;

    font-size: 0.94rem;
    line-height: 1.8;
}

.project-link {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: auto;
    padding-bottom: 6px;

    color: var(--color-white);

    border-bottom: 1px solid var(--border-medium);

    font-size: 0.82rem;
    font-weight: 600;

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        gap var(--transition-fast);
}

.project-link span {
    color: var(--color-gold);
}

.project-link:hover {
    gap: 17px;

    color: var(--color-gold);

    border-color: var(--color-gold);
}


/* =========================================================
   17. SOBRE NEXORA
   ========================================================= */

.about {
    position: relative;

    background:
        linear-gradient(
            145deg,
            #1F1F1F,
            #181A1A
        );

    overflow: hidden;
}

.about::after {
    content: "N";

    position: absolute;

    top: 50%;
    right: 4%;

    transform: translateY(-50%);

    color: rgba(247, 247, 245, 0.018);

    font-size: clamp(16rem, 30vw, 32rem);
    font-weight: 700;
    line-height: 0.8;

    pointer-events: none;
    user-select: none;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about h2 {
    max-width: 900px;

    margin-bottom: 38px;
}

.about-highlight {
    max-width: 820px;

    margin-bottom: 34px;

    color: var(--color-white);

    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.025em;
}

.about-highlight::before {
    content: "";

    display: block;

    width: 46px;
    height: 1px;

    margin-bottom: 24px;

    background: var(--color-gold);
}

.about p:not(.section-label):not(.about-highlight) {
    max-width: 720px;

    margin-bottom: 18px;

    color: rgba(166, 166, 166, 0.80);

    font-size: 1.02rem;
    line-height: 1.85;
}


/* =========================================================
   18. COTIZACIÓN
   ========================================================= */

.contact {
    position: relative;

    padding: 140px 0;

    background:
        radial-gradient(
            circle at 82% 22%,
            rgba(212, 175, 55, 0.055),
            transparent 28%
        ),
        var(--color-black);

    border-top: 1px solid var(--border-dark);

    overflow: hidden;
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.78fr)
        minmax(420px, 1.22fr);

    gap: clamp(60px, 8vw, 110px);

    align-items: start;
}

.contact-intro {
    position: sticky;

    top: calc(var(--header-height) + 44px);
}

.contact-intro h2 {
    max-width: 650px;

    margin-bottom: 28px;
}

.contact-intro h2 span {
    display: block;
}

.contact-intro > p:not(.section-label) {
    max-width: 560px;

    margin-bottom: 18px;

    color: rgba(166, 166, 166, 0.80);

    font-size: 1rem;
    line-height: 1.85;
}


/* =========================================================
   19. FORMULARIO BASE
   ========================================================= */

.quote-form {
    position: relative;

    padding: clamp(28px, 4vw, 42px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.024),
            rgba(255, 255, 255, 0.008)
        );

    border: 1px solid var(--border-medium);

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.22);
}

.quote-form::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 72px;
    height: 1px;

    background: var(--color-gold);
}

.quote-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px 20px;
}

.form-field {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label,
.form-field legend {
    color: rgba(247, 247, 245, 0.82);

    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.055em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    border: 1px solid rgba(247, 247, 245, 0.11);
    border-radius: 0;

    background: rgba(5, 7, 7, 0.58);

    color: var(--color-white);

    outline: none;

    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.form-field input,
.form-field select {
    min-height: 54px;

    padding: 0 16px;
}

.form-field textarea {
    min-height: 145px;

    padding: 16px;

    resize: vertical;

    line-height: 1.65;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(166, 166, 166, 0.48);
}

.form-field select {
    color-scheme: dark;

    cursor: pointer;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: rgba(247, 247, 245, 0.20);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(212, 175, 55, 0.72);

    background: rgba(5, 7, 7, 0.78);

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.07);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: rgba(212, 175, 55, 0.90);
}

.send-method {
    padding: 0;
    border: 0;
}

.send-method-options {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 4px;
}

.send-method-option {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    min-height: 46px;
    padding: 0 16px;

    border: 1px solid var(--border-medium);

    background: rgba(255, 255, 255, 0.015);

    cursor: pointer;

    transition:
        border-color var(--transition-fast),
        background-color var(--transition-fast);
}

.send-method-option:hover {
    border-color: var(--border-gold);

    background: var(--gold-soft);
}

.send-method-option input {
    width: 14px;
    min-height: auto;
    height: 14px;
    padding: 0;

    accent-color: var(--color-gold);
}

.send-method-option span {
    color: rgba(247, 247, 245, 0.78);

    font-size: 0.78rem;
    font-weight: 500;
}

.quote-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    margin-top: 30px;
    padding-top: 26px;

    border-top: 1px solid var(--border-dark);
}

.quote-form-note {
    max-width: 420px;

    margin: 0;

    color: rgba(166, 166, 166, 0.58);

    font-size: 0.72rem;
    line-height: 1.65;
}

.quote-form-footer .btn {
    flex-shrink: 0;
}

.form-status {
    min-height: 1.5em;

    margin-top: 16px;
    margin-bottom: 0;

    color: var(--color-gold);

    font-size: 0.78rem;
    line-height: 1.5;
}


/* =========================================================
   20. CTA FINAL
   ========================================================= */

.final-cta {
    position: relative;

    padding: clamp(110px, 12vw, 165px) 0;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.045),
            transparent 36%
        ),
        #0B0E0E;

    border-top: 1px solid var(--border-dark);

    overflow: hidden;
}

.final-cta::before {
    content: "";

    position: absolute;

    top: 0;
    right: 10%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(212, 175, 55, 0.16),
            transparent
        );
}

.final-cta-content {
    position: relative;
    z-index: 2;

    max-width: var(--container-width);
}

.final-cta h2 {
    max-width: 940px;

    margin-bottom: 30px;
}

.final-cta h2 span {
    display: block;
}

.final-cta p:not(.section-label) {
    max-width: 650px;

    margin-bottom: 38px;

    color: rgba(166, 166, 166, 0.78);

    font-size: 1.02rem;
    line-height: 1.85;
}


/* =========================================================
   21. FOOTER
   ========================================================= */

.footer {
    padding: 42px 0;

    background: var(--color-black-deep);

    border-top: 1px solid var(--border-dark);
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer p {
    color: rgba(166, 166, 166, 0.58);

    font-size: 0.77rem;
}

.footer a {
    color: rgba(247, 247, 245, 0.68);

    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--color-gold);
}


/* =========================================================
   22. DETALLES ARQUITECTÓNICOS
   ========================================================= */

.services::before,
.process::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 0;

    transform: translateX(-50%);

    width: min(100% - 48px, var(--container-width));
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(247, 247, 245, 0.06),
            transparent
        );
}


/* =========================================================
   23. ESTADOS DE ENFOQUE
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}


/* =========================================================
   24. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background: #2B2E2E;

    border: 3px solid var(--color-black);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}


/* =========================================================
   25. ANIMACIONES
   ========================================================= */

@keyframes nexoraFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .eyebrow {
    animation: nexoraFadeUp 0.7s ease both;
}

.hero h1 {
    animation: nexoraFadeUp 0.8s 0.08s ease both;
}

.hero-description {
    animation: nexoraFadeUp 0.8s 0.16s ease both;
}

.hero-buttons {
    animation: nexoraFadeUp 0.8s 0.24s ease both;
}


/* =========================================================
   26. ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   27. ESTADO DE REDIMENSIONADO
   ========================================================= */

body.is-resizing *,
body.is-resizing *::before,
body.is-resizing *::after {
    transition: none !important;
}

.project-concept-label {
    margin-bottom: 16px;

    color: rgba(247, 247, 245, 0.58);

    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.5;

    letter-spacing: 0.015em;
}
