/**
 * ============================================================
 *  SOLUCIONES GESTIÓN — Estilos Principales
 * ============================================================
 *  Tema:   Dark premium / Tech SaaS
 *  Fonts:  Sora (headings) + DM Sans (body) + JetBrains Mono (code)
 *  Paleta: Dark slate + cyan accent + gradients
 * ============================================================
 */

/* ═══════════════════════════════════════════════════
   VARIABLES
   ═══════════════════════════════════════════════════ */
:root {
    /* ─── Colores base ─── */
    --bg-dark:      #0b0f19;
    --bg-card:      #111827;
    --bg-card-alt:  #151c2c;
    --bg-surface:   #1a2236;
    --bg-input:     #0f1626;

    /* ─── Bordes ─── */
    --border:       rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    /* ─── Texto ─── */
    --text:         #e2e8f0;
    --text-muted:   #94a3b8;
    --text-dim:     #64748b;
    --white:        #ffffff;

    /* ─── Accent (cyan/sky) ─── */
    --accent:       #0ea5e9;
    --accent-hover: #38bdf8;
    --accent-glow:  rgba(14, 165, 233, 0.25);
    --accent-soft:  rgba(14, 165, 233, 0.08);
    --accent-mid:   rgba(14, 165, 233, 0.15);

    /* ─── Gradients ─── */
    --grad-accent:  linear-gradient(135deg, #0ea5e9, #6366f1);
    --grad-card:    linear-gradient(160deg, rgba(14,165,233,0.06), transparent 60%);
    --grad-hero:    linear-gradient(135deg, rgba(11,15,25,0.92), rgba(11,15,25,0.75));

    /* ─── Colores auxiliares ─── */
    --cyan:         #06b6d4;
    --purple:       #8b5cf6;
    --amber:        #f59e0b;
    --rose:         #f43f5e;
    --green:        #22c55e;

    /* ─── Tipografía ─── */
    --font-head:    'Sora', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-mono:    'JetBrains Mono', monospace;

    /* ─── Spacing ─── */
    --section-py:   7rem;
    --max-w:        1200px;

    /* ─── Bordes ─── */
    --r-sm:  8px;
    --r-md:  12px;
    --r-lg:  16px;
    --r-xl:  24px;

    /* ─── Sombras ─── */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.2);
    --shadow-md:  0 4px 24px rgba(0,0,0,0.3);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.35);
    --shadow-glow: 0 0 30px var(--accent-glow);

    /* ─── Transiciones ─── */
    --ease:    cubic-bezier(0.4, 0, 0.2, 1);
    --ease-b:  cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ═══════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-dark);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}


/* ═══════════════════════════════════════════════════
   UTILIDADES
   ═══════════════════════════════════════════════════ */
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    padding: 0.35rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}

.accent {
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.req { color: var(--rose); }


/* ═══════════════════════════════════════════════════
   BOTONES
   ═══════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    justify-content: center;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 6px 30px rgba(14,165,233,0.4);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-hover);
}
.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn--glow {
    background: var(--white);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 1rem 2.2rem;
    border-radius: var(--r-md);
}
.btn--glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255,255,255,0.15);
}

.btn--block { width: 100%; }

/* Loading state */
.btn__loading { display: none; }
.btn.is-loading .btn__label { display: none; }
.btn.is-loading .btn__loading { display: inline-flex; align-items: center; gap: 0.5rem; }


/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.navbar.scrolled {
    padding: 0.6rem 0;
    background: rgba(11, 15, 25, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.navbar__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 10;
}
.logo__icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: var(--grad-accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-glow);
}
.logo__text {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--white);
}
.logo__text strong { font-weight: 700; }

/* Nav links */
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: var(--r-sm);
    transition: all 0.3s var(--ease);
}
.nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.nav__cta {
    background: var(--accent);
    color: var(--white) !important;
    margin-left: 0.5rem;
    font-weight: 600;
}
.nav__cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}
.hamburger span {
    width: 24px; height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: all 0.3s var(--ease);
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--grad-hero);
}

/* Code particles */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent);
    opacity: 0.12;
    animation: float-particle 20s linear infinite;
}

.particle--1 { top: 15%; left: 8%;  animation-duration: 22s; font-size: 1.4rem; }
.particle--2 { top: 40%; right: 12%; animation-duration: 18s; animation-delay: -5s; }
.particle--3 { bottom: 25%; left: 15%; animation-duration: 25s; animation-delay: -8s; }
.particle--4 { top: 20%; right: 25%; animation-duration: 20s; animation-delay: -3s; font-size: 1.6rem; }
.particle--5 { bottom: 35%; right: 8%; animation-duration: 23s; animation-delay: -12s; }
.particle--6 { top: 60%; left: 25%; animation-duration: 19s; animation-delay: -7s; }

@keyframes float-particle {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.12; }
    90%  { opacity: 0.12; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text */
.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero__tag-dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
    50%      { opacity: 0.6; box-shadow: 0 0 0 6px transparent; }
}

.hero__title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.25rem;
    max-width: 540px;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Terminal */
.terminal {
    background: #0d1117;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(14,165,233,0.08);
    min-height: 280px;
}

.terminal__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0.85rem 1.2rem;
    background: #161b22;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal__dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.terminal__dot--r { background: #ff5f57; }
.terminal__dot--y { background: #febc2e; }
.terminal__dot--g { background: #28c840; }

.terminal__tab {
    margin-left: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    background: rgba(255,255,255,0.04);
    padding: 0.15rem 0.75rem;
    border-radius: 4px;
}

.terminal__body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    min-height: 200px;
}

.terminal__line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.t-prompt { color: var(--green); font-weight: 700; }
.t-cmd    { color: var(--white); }
.t-cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal__output {
    color: var(--text-dim);
    font-size: 0.8rem;
    line-height: 1.9;
}

.terminal__output .t-success { color: var(--green); }
.terminal__output .t-info    { color: var(--accent); }
.terminal__output .t-warn    { color: var(--amber); }
.terminal__output .t-line    { display: block; min-height: 1.5em; }

/* Hero scroll */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--text-dim);
    font-size: 1.2rem;
    animation: bounce-scroll 2.5s ease-in-out infinite;
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}


/* ═══════════════════════════════════════════════════
   ABOUT / NOSOTROS
   ═══════════════════════════════════════════════════ */
.about {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about__img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
}

.about__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
}

.about__badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.85rem 1.25rem;
    color: var(--white);
}

.about__badge i {
    font-size: 1.5rem;
    color: var(--accent);
}

.about__badge strong { display: block; font-size: 0.9rem; }
.about__badge span   { font-size: 0.78rem; color: var(--text-muted); }

.about__desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}
.about__desc strong { color: var(--text); }

.about__highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about__highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    transition: all 0.3s var(--ease);
}
.about__highlight:hover {
    border-color: var(--accent-mid);
    background: var(--bg-card-alt);
}

.about__highlight-icon {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.about__highlight strong {
    display: block;
    font-size: 0.88rem;
    color: var(--white);
    margin-bottom: 0.1rem;
}
.about__highlight span {
    font-size: 0.78rem;
    color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   FEATURES / VENTAJAS
   ═══════════════════════════════════════════════════ */
.features {
    padding: var(--section-py) 0;
    background: var(--bg-card);
    position: relative;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    padding: 2.25rem 1.75rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-card);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-mid);
    box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
}
.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
    position: relative;
    width: 56px; height: 56px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    transition: transform 0.3s var(--ease-b);
}
.feature-card:hover .feature-card__icon { transform: scale(1.1); }

.feature-card__icon--blue   { background: rgba(14,165,233,0.12); color: var(--accent); border: 1px solid rgba(14,165,233,0.2); }
.feature-card__icon--cyan   { background: rgba(6,182,212,0.12);  color: var(--cyan);   border: 1px solid rgba(6,182,212,0.2); }
.feature-card__icon--purple { background: rgba(139,92,246,0.12); color: var(--purple); border: 1px solid rgba(139,92,246,0.2); }
.feature-card__icon--amber  { background: rgba(245,158,11,0.12); color: var(--amber);  border: 1px solid rgba(245,158,11,0.2); }
.feature-card__icon--rose   { background: rgba(244,63,94,0.12);  color: var(--rose);   border: 1px solid rgba(244,63,94,0.2); }
.feature-card__icon--green  { background: rgba(34,197,94,0.12);  color: var(--green);  border: 1px solid rgba(34,197,94,0.2); }

.feature-card h3 {
    position: relative;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.feature-card p {
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════════
   SERVICES / SERVICIOS
   ═══════════════════════════════════════════════════ */
.services {
    padding: var(--section-py) 0;
    background: var(--bg-dark);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2.25rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent-mid);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card__number {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s var(--ease);
}
.service-card:hover .service-card__number { color: var(--accent-soft); }

.service-card__icon {
    width: 50px; height: 50px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s var(--ease);
}
.service-card:hover .service-card__icon {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════ */
.cta {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

.cta__bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,15,25,0.88), rgba(14,165,233,0.3));
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
}

.cta__title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta__desc {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}


/* ═══════════════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════════════ */
.contact {
    padding: var(--section-py) 0;
    background: var(--bg-card);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2.5rem;
    align-items: start;
}

/* Info card */
.contact__info-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact__info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-accent);
}

.contact__info-card h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.contact__info-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact__info-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact__info-item > i {
    width: 42px; height: 42px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-mid);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.contact__info-item strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.1rem;
}

.contact__info-item a,
.contact__info-item span {
    font-size: 0.92rem;
    color: var(--text);
}
.contact__info-item a:hover { color: var(--accent); }

.contact__social {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}
.contact__social > span {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    font-weight: 600;
    display: block;
    margin-bottom: 0.75rem;
}

.contact__social-links {
    display: flex;
    gap: 0.5rem;
}

.contact__social-links a {
    width: 42px; height: 42px;
    border-radius: var(--r-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}
.contact__social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Formulario */
.contact__form-wrap {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
}

.contact__form-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.contact__form-title i { color: var(--accent); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.35rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--white);
    background: var(--bg-input);
    transition: all 0.3s var(--ease);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input.has-error,
.form-group textarea.has-error {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    font-size: 0.76rem;
    color: var(--rose);
    margin-top: 0.3rem;
    min-height: 1rem;
}

.form-group + .btn { margin-top: 1rem; }

/* Mensajes resultado */
.form-msg {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--r-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 0.5rem;
}
.form-msg.is-success {
    display: flex;
    background: rgba(34,197,94,0.1);
    color: var(--green);
    border: 1px solid rgba(34,197,94,0.2);
}
.form-msg.is-error {
    display: flex;
    background: rgba(244,63,94,0.1);
    color: var(--rose);
    border: 1px solid rgba(244,63,94,0.2);
}


/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
    background: #070a12;
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
    color: var(--text-muted);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr auto;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.footer__brand p {
    font-size: 0.88rem;
    margin-top: 1rem;
    max-width: 320px;
    line-height: 1.7;
    color: var(--text-dim);
}

.logo--footer .logo__icon { width: 36px; height: 36px; font-size: 1rem; }
.logo--footer .logo__text { font-size: 1.05rem; }

.footer__col h4 {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-dim);
    padding: 0.3rem 0;
    transition: all 0.3s var(--ease);
}
.footer__col a:hover {
    color: var(--accent);
    transform: translateX(4px);
}
.footer__col a i {
    font-size: 0.8rem;
    width: 18px;
    text-align: center;
}

.footer__social {
    display: flex;
    gap: 0.5rem;
}
.footer__social a {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    padding: 0;
}
.footer__social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: var(--text-dim);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero__subtitle  { margin: 0 auto 2rem; }
    .hero__buttons   { justify-content: center; }
    .hero__terminal  { max-width: 520px; margin: 0 auto; }

    .about__grid     { grid-template-columns: 1fr; gap: 2.5rem; }
    .about__img      { height: 320px; }

    .features__grid,
    .services__grid  { grid-template-columns: repeat(2, 1fr); }

    .contact__grid   { grid-template-columns: 1fr; }

    .footer__grid    { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    :root { --section-py: 4.5rem; }

    /* Mobile Nav */
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--bg-dark);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        transition: right 0.4s var(--ease);
        z-index: 5;
    }
    .nav.open { right: 0; }
    .nav__link { font-size: 1.05rem; padding: 0.75rem 1.5rem; }
    .nav__cta  { margin: 0.5rem 0 0; }
    .hamburger { display: flex; }

    .hero { min-height: auto; padding: 7rem 0 3rem; }

    .features__grid,
    .services__grid { grid-template-columns: 1fr; }

    .about__highlights { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .cta { padding: 5rem 0; }

    .footer__grid    { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom  { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
    .hero__title   { font-size: 1.75rem; }
    .terminal      { min-height: 220px; }
    .terminal__body { padding: 1rem; font-size: 0.75rem; }
    .contact__form-wrap,
    .contact__info-card { padding: 1.5rem; }
}
