/* ============================================================
   Daniel García | Desarrollo Web Profesional
   style.css — Todos los estilos del sitio
   ============================================================
   Tabla de contenido:
   1.  Variables CSS (Design Tokens)
   2.  Reset & Base
   3.  Cursor personalizado
   4.  Scrollbar & Barra de progreso
   5.  Fondos decorativos (ruido + grilla)
   6.  Utilidades globales
   7.  Navegación
   8.  Menú móvil
   9.  Sección Hero
   10. Tipografía de secciones
   11. Cards genéricas
   12. Sección Problema
   13. Sección Solución
   14. Sección Beneficios & Servicios
   15. Sección Portafolio
   16. Sección Proceso
   17. Sección Testimonios
   18. CTA Final
   19. Sección Contacto & Formulario
   20. Footer
   21. Animaciones de scroll
   22. Responsive (breakpoints)
   ============================================================ */


/* ── 1. VARIABLES CSS ── */
:root {
    --bg: #07080d;
    --surface: #0e1018;
    --surface2: #161820;
    --border: rgba(255, 255, 255, 0.07);
    --accent: #39ff14;
    --accent-dim: rgba(57, 255, 20, 0.12);
    --accent-glow: rgba(57, 255, 20, 0.4);
    --text: #f0f0f0;
    --muted: rgba(240, 240, 240, 0.55);
    --muted2: rgba(240, 240, 240, 0.3);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --radius-sm: 2px;
    --radius-md: 4px;
    --transition: 0.3s ease;
}


/* ── 2. RESET & BASE ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}


/* ── 3. CURSOR PERSONALIZADO ── */
#cursor {
    position: fixed;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    box-shadow: 0 0 18px var(--accent-glow), 0 0 40px var(--accent-glow);
}

#cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease;
    opacity: 0.6;
}

/* Estado hover sobre elementos interactivos */
#cursor.hovered {
    width: 8px;
    height: 8px;
}

#cursor-ring.hovered {
    width: 50px;
    height: 50px;
}


/* ── 4. SCROLLBAR & BARRA DE PROGRESO ── */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

#progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    z-index: 999;
    transition: width 0.1s linear;
}


/* ── 5. FONDOS DECORATIVOS ── */
/* Textura de ruido */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
}

/* Grilla sutil */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(57, 255, 20, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 255, 20, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}


/* ── 6. UTILIDADES GLOBALES ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 7rem 0;
}

.accent {
    color: var(--accent);
}

.tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

/* Botón principal (relleno verde) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow), 0 0 60px var(--accent-glow);
    transform: translateY(-2px);
}

/* Botón fantasma (borde) */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 1rem 2.2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}


/* ── 7. NAVEGACIÓN ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    background: rgba(7, 8, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

/* Logo imagen nav */
.nav-logo-img {
    height: 42px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: filter 0.3s ease, transform 0.2s ease;
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 16px var(--accent-glow)) drop-shadow(0 0 32px var(--accent-glow));
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.nav-cta:hover {
    box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    cursor: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}


/* ── 8. MENÚ MÓVIL ── */
.nav-mobile-panel {
    display: none;
    position: fixed;
    inset: 0;
    top: 65px;
    background: rgba(7, 8, 13, 0.97);
    backdrop-filter: blur(20px);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-mobile-panel.open {
    display: flex;
}

.nav-mobile-panel a {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-mobile-panel a:hover {
    color: var(--accent);
}


/* ── 9. SECCIÓN HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-bg-circle.c1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.07) 0%, transparent 70%);
}

.hero-bg-circle.c2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

h1.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.95;
    letter-spacing: 0.01em;
    color: var(--text);
    margin-bottom: 2rem;
}

h1.hero-title .outline {
    -webkit-text-stroke: 2px var(--accent);
    color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--muted);
    max-width: 580px;
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 0.02em;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.3rem;
}


/* ── 10. TIPOGRAFÍA DE SECCIONES ── */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 550px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-sub {
    margin: 0.75rem auto 0;
}


/* ── 11. CARDS GENÉRICAS ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

/* Barra de acento lateral al hover */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    border-color: rgba(57, 255, 20, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(57, 255, 20, 0.06);
}

.card-icon {
    width: 54px;
    height: 54px;
    background: var(--accent-dim);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background var(--transition);
}

.card:hover .card-icon {
    background: rgba(57, 255, 20, 0.2);
}

.card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--accent);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.7rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
}


/* ── 12. SECCIÓN PROBLEMA ── */
#problema .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5px;
}

/* Cards sin bordes redondeados para efecto de mosaico */
#problema .grid .card {
    border-radius: 0;
    border: none;
    border-bottom: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
}

.problem-num {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(57, 255, 20, 0.12);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.card:hover .problem-num {
    color: rgba(57, 255, 20, 0.3);
}


/* ── 13. SECCIÓN SOLUCIÓN ── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.solution-visual {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 3rem;
    overflow: hidden;
}

/* Círculo decorativo de fondo */
.solution-visual::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.profile-circle {
    width: 90px;
    height: 90px;
    background: var(--accent-dim);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.profile-circle svg {
    width: 42px;
    height: 42px;
    stroke: var(--accent);
}

.solution-visual h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.solution-visual .role {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.solution-visual p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Mini estadísticas dentro de la tarjeta de perfil */
.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mini-stat {
    background: var(--surface2);
    padding: 1.2rem 1rem;
    text-align: center;
}

.mini-stat .n {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    line-height: 1;
}

.mini-stat .l {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.3rem;
}

/* Lista de checkmarks */
.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.5;
}

.checklist li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}


/* ── 14. SECCIÓN BENEFICIOS & SERVICIOS ── */
.benefits-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}


/* ── 15. SECCIÓN PORTAFOLIO ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
    filter: grayscale(60%);
}

.portfolio-item:hover img {
    transform: scale(1.07);
    filter: grayscale(0%) brightness(0.6);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(7, 8, 13, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--text);
}

.portfolio-overlay p {
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

/* Esquina decorativa */
.portfolio-item .corner {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .corner {
    opacity: 1;
}


/* ── 16. SECCIÓN PROCESO ── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
    list-style: none;
}

/* Línea conectora entre pasos */
.process-steps::before {
    content: '';
    position: absolute;
    top: 2.2rem;
    left: 15%;
    right: 15%;
    height: 1px;
    background: var(--border);
}

.process-step {
    padding: 0 2rem;
    text-align: center;
}

.step-circle {
    width: 4.5rem;
    height: 4.5rem;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--bg);
    position: relative;
    z-index: 1;
}

.step-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.7rem;
}

.process-step p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
}


/* ── 17. SECCIÓN TESTIMONIOS ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(57, 255, 20, 0.25);
    transform: translateY(-4px);
}

.stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    stroke: none;
}

.testimonial-card blockquote {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-dim);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--accent-dim);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.author-biz {
    font-size: 0.78rem;
    color: var(--muted);
}


/* ── 18. CTA FINAL ── */
.cta-block {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-block h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
}

.cta-block p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ── 19. SECCIÓN CONTACTO & FORMULARIO ── */
#contacto .split {
    align-items: start;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1.2rem 1.5rem;
    transition: border-color var(--transition);
}

.contact-item:hover {
    border-color: rgba(57, 255, 20, 0.3);
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--accent-dim);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Formulario */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.form-card .form-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.form-card .form-header p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Botón de envío */
.btn-submit {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    border: none;
    padding: 1.1rem;
    border-radius: var(--radius-sm);
    cursor: none;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-submit:hover::before {
    transform: translateX(100%);
}

.btn-submit:hover {
    box-shadow: 0 0 25px var(--accent-glow);
    transform: translateY(-1px);
}

/* Estado "enviado" */
.btn-submit.sent {
    background: rgba(57, 255, 20, 0.2);
    color: var(--accent);
    box-shadow: none;
    transform: none;
}


/* ── 20. FOOTER ── */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.footer-logo span {
    color: var(--accent);
}

/* Logo imagen footer */
.footer-logo-img {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-glow));
    margin-bottom: 0.25rem;
}

footer p {
    font-size: 0.8rem;
    color: var(--muted);
}

footer .copyright {
    color: var(--muted2);
}

a.copyright {
    font-size: 0.8rem;
    color: var(--muted2);
    text-decoration: none;
    transition: color .2s ease;
    display: block;
}

a.copyright:hover {
    color: var(--accent);
}


/* ── 21. ANIMACIONES DE SCROLL ──
   Progressive enhancement: el contenido es visible por defecto.
   Cuando JS carga, añade la clase .js-ready al <html> y activa
   las animaciones de entrada. Si JS falla, todo sigue visible.
── */

/* Estado por defecto: siempre visible */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
}

/* JS disponible: ocultar para animar */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-ready .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-ready .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Cuando el observer dispara .visible */
.js-ready .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.js-ready .reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.js-ready .reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}


/* ── MODALES PORTAFOLIO ── */
.pf-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(7, 8, 13, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow-y: auto;
    padding: 2rem 1rem;
}

.pf-modal.open {
    display: block;
}

.pf-modal-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    animation: modal-in .35s ease;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pf-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1rem;
    cursor: none;
    z-index: 201;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, color .2s;
}

.pf-close:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pf-label {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pf-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: .3rem .8rem;
    border-radius: 2px;
}

.pf-label p {
    font-size: .85rem;
    color: var(--muted);
}

.pf-footer-note {
    text-align: center;
    font-size: .75rem;
    color: var(--muted2);
    margin-top: 1.2rem;
    letter-spacing: .05em;
}

/* ── BROWSER MOCKUP ── */
.browser-mock {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.browser-bar {
    background: #1e1f26;
    padding: .6rem 1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: .4rem;
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) {
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #febc2e;
}

.browser-dots span:nth-child(3) {
    background: #28c840;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-size: .72rem;
    color: var(--muted2);
    background: var(--surface2);
    border-radius: 3px;
    padding: .25rem .75rem;
    letter-spacing: .04em;
}

.browser-content {
    background: #f8f8f8;
    overflow: hidden;
}

.browser-content.bc-dark {
    background: #111118;
}

/* ── MOCKUP COMPONENTS ── */
.mk-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6rem 1.2rem;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.mk-nav-dark {
    background: rgba(10, 10, 18, .95);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.mk-logo {
    font-weight: 800;
    font-size: .85rem;
}

.mk-blue {
    color: #2563eb;
}

.mk-gold {
    color: #d4a017;
}

.mk-green {
    color: #16a34a;
}

.mk-nav-links {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.mk-pill {
    font-size: .65rem;
    font-weight: 500;
    color: #555;
    padding: .2rem .55rem;
    border-radius: 3px;
    background: transparent;
}

.mk-pill-dark {
    color: rgba(255, 255, 255, .6);
}

.mk-cta-blue {
    background: #2563eb;
    color: #fff !important;
    border-radius: 3px;
}

.mk-cta-gold {
    background: #d4a017;
    color: #fff !important;
    border-radius: 3px;
}

.mk-cta-green {
    background: #16a34a;
    color: #fff !important;
    border-radius: 3px;
}

/* Hero */
.mk-hero {
    display: flex;
    align-items: center;
    padding: 1.8rem 1.2rem;
    gap: 1.2rem;
    min-height: 160px;
}

.mk-hero-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.mk-hero-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.mk-hero-dark {
    background: #111118;
    position: relative;
    overflow: hidden;
    min-height: 180px;
}

.mk-hero-text {
    flex: 1;
}

.mk-eyebrow {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.mk-blue-text {
    color: #2563eb;
}

.mk-gold-text {
    color: #d4a017;
}

.mk-green-text {
    color: #16a34a;
}

.mk-h1 {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #111;
    margin-bottom: .5rem;
}

.mk-h1-light {
    color: #f0f0f0;
}

.mk-sub {
    font-size: .68rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: .75rem;
    max-width: 280px;
}

.mk-sub-light {
    color: rgba(255, 255, 255, .6);
}

.mk-btns {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.mk-btn {
    font-size: .62rem;
    font-weight: 700;
    padding: .35rem .75rem;
    border-radius: 3px;
    cursor: default;
    white-space: nowrap;
}

.mk-btn-blue {
    background: #2563eb;
    color: #fff;
}

.mk-btn-out-blue {
    border: 1px solid #2563eb;
    color: #2563eb;
}

.mk-btn-gold {
    background: #d4a017;
    color: #fff;
}

.mk-btn-out-gold {
    border: 1px solid #d4a017;
    color: #d4a017;
}

.mk-btn-green {
    background: #16a34a;
    color: #fff;
}

.mk-btn-out-green {
    border: 1px solid #16a34a;
    color: #16a34a;
}

.mk-hero-img {
    width: 130px;
    height: 110px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-hero-img-blue {
    background: #dbeafe;
}

.mk-placeholder-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
}

.mk-placeholder-img svg {
    width: 48px;
    height: 48px;
}

.mk-placeholder-img span {
    font-size: .55rem;
    color: rgba(37, 99, 235, .5);
}

.mk-hero-dark-content {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.2rem;
}

.mk-hero-img-food {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    overflow: hidden;
}

.mk-hero-img-food::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(90deg, #111118, transparent);
    z-index: 1;
}

/* Trust badges */
.mk-trust-badges {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.mk-badge {
    background: rgba(22, 163, 74, .15);
    border: 1px solid rgba(22, 163, 74, .3);
    color: #16a34a;
    font-size: .6rem;
    font-weight: 700;
    padding: .3rem .6rem;
    border-radius: 3px;
}

/* Stats strip */
.mk-stats {
    display: flex;
    justify-content: space-around;
    padding: .8rem 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.mk-stats-blue {
    background: #2563eb;
}

.mk-stat-item {
    text-align: center;
}

.mk-stat-item strong {
    display: block;
    font-size: .85rem;
    color: #fff;
    font-weight: 800;
}

.mk-stat-item span {
    font-size: .55rem;
    color: rgba(255, 255, 255, .7);
}

/* Sections */
.mk-section {
    padding: 1.2rem 1.2rem;
    background: #f8f8f8;
}

.mk-section-dark {
    background: #16161e;
}

.mk-section-gray {
    background: #f1f5f9;
}

.mk-section-title {
    font-size: .95rem;
    font-weight: 800;
    color: #111;
    margin-bottom: .9rem;
    text-align: center;
}

.mk-light {
    color: #f0f0f0 !important;
}

/* Grid layouts */
.mk-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}

.mk-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
}

/* Service cards */
.mk-service-card {
    background: #fff;
    border-radius: 5px;
    padding: .8rem;
    border: 1px solid #e5e7eb;
}

.mk-card-blue {
    border-top: 2px solid #2563eb;
}

.mk-card-green {
    border-top: 2px solid #16a34a;
}

.mk-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    margin-bottom: .4rem;
}

.mk-icon-blue {
    background: #dbeafe;
}

.mk-icon-green {
    background: #dcfce7;
}

.mk-card-title {
    font-size: .7rem;
    font-weight: 700;
    color: #111;
    margin-bottom: .25rem;
}

.mk-card-desc {
    font-size: .6rem;
    color: #666;
    line-height: 1.4;
}

/* Menu cards */
.mk-menu-card {
    background: #1a1a24;
    border-radius: 5px;
    padding: .8rem;
    border: 1px solid rgba(255, 255, 255, .08);
    position: relative;
}

.mk-menu-featured {
    border: 1px solid rgba(212, 160, 23, .4);
}

.mk-featured-badge {
    position: absolute;
    top: -.5rem;
    left: .6rem;
    background: #d4a017;
    color: #fff;
    font-size: .5rem;
    font-weight: 700;
    padding: .15rem .4rem;
    border-radius: 2px;
}

.mk-menu-img {
    font-size: 1.4rem;
    margin-bottom: .35rem;
}

.mk-desc-dark {
    color: rgba(255, 255, 255, .45) !important;
}

.mk-price {
    font-size: .75rem;
    font-weight: 800;
    margin-top: .35rem;
}

/* Form row */
.mk-form-row {
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: .6rem;
}

.mk-input-dark {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 3px;
    padding: .35rem .6rem;
    font-size: .62rem;
    color: rgba(255, 255, 255, .4);
    flex: 1;
    min-width: 70px;
}

/* Testimonials */
.mk-testimonial {
    background: #fff;
    border-radius: 5px;
    padding: .8rem;
    border: 1px solid #e5e7eb;
}

.mk-stars {
    color: #f59e0b;
    font-size: .75rem;
    margin-bottom: .3rem;
}

.mk-quote {
    font-size: .62rem;
    color: #444;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: .4rem;
}

.mk-author {
    font-size: .58rem;
    color: #888;
    font-weight: 600;
}

/* CTA strip */
.mk-cta {
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
}

.mk-cta-blue {
    background: #1e3a8a;
}

.mk-cta-dark {
    background: #0d0d14;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.mk-cta-green {
    background: #14532d;
}

.mk-cta-text {
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
}


/* ── 22. RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {

    .benefits-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        gap: 2rem;
    }

    .process-steps::before {
        display: none;
    }
}

/* Móvil */
@media (max-width: 768px) {

    /* Layout */
    .split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .section {
        padding: 3.5rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Hero */
    .hero {
        padding-top: 110px;
    }

    h1.hero-title {
        font-size: 2.6rem;
        line-height: 1;
    }

    .hero-sub {
        font-size: .9rem;
        margin-bottom: 2rem;
    }

    .hero-eyebrow {
        font-size: .65rem;
        margin-bottom: 1rem;
    }

    .hero-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: .68rem;
    }

    .hero-actions {
        gap: .75rem;
    }

    /* Botones */
    .btn-primary,
    .btn-ghost {
        font-size: .75rem;
        padding: .8rem 1.5rem;
    }

    /* Section headers */
    .section-title {
        font-size: 2rem;
    }

    .section-sub {
        font-size: .85rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .tag {
        font-size: .62rem;
        margin-bottom: 1rem;
    }

    /* Cards */
    .card {
        padding: 1.75rem;
    }

    .card h3 {
        font-size: 1.15rem;
    }

    .card p {
        font-size: .82rem;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    /* Problema */
    #problema .grid {
        grid-template-columns: 1fr 1fr;
    }

    .problem-num {
        font-size: 2.8rem;
    }

    /* Solución */
    .solution-visual {
        padding: 1.75rem;
    }

    .solution-visual h3 {
        font-size: 1.4rem;
    }

    .solution-visual p {
        font-size: .82rem;
    }

    .mini-stat .n {
        font-size: 1.4rem;
    }

    .mini-stat .l {
        font-size: .62rem;
    }

    .checklist li {
        font-size: .85rem;
    }

    /* Grids */
    .benefits-grid,
    .services-grid,
    .testimonials-grid,
    .portfolio-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Proceso */
    .process-step {
        padding: 0 .5rem;
    }

    .process-step h3 {
        font-size: 1.05rem;
    }

    .process-step p {
        font-size: .8rem;
    }

    .step-circle {
        width: 3.5rem;
        height: 3.5rem;
    }

    .step-num {
        font-size: 1.4rem;
    }

    /* Testimonios */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card blockquote {
        font-size: .82rem;
    }

    .author-name {
        font-size: .82rem;
    }

    .author-biz {
        font-size: .7rem;
    }

    /* CTA */
    .cta-block {
        padding: 2.5rem 1.25rem;
    }

    .cta-block h2 {
        font-size: 2rem;
    }

    .cta-block p {
        font-size: .88rem;
    }

    /* Contacto */
    #contacto .split {
        gap: 2rem;
    }

    .contact-value {
        font-size: .85rem;
    }

    .contact-label {
        font-size: .68rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .form-card .form-header h3 {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: .68rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: .85rem;
        padding: .75rem .85rem;
    }

    /* Footer */
    .nav-logo-img {
        height: 34px;
    }

    .footer-logo-img {
        height: 44px;
    }

    footer p {
        font-size: .72rem;
    }

    /* Nav móvil */
    .nav-mobile-panel a {
        font-size: 1.8rem;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Hero más compacto */
    h1.hero-title {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: .82rem;
        padding-left: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    /* Problema una columna */
    #problema .grid {
        grid-template-columns: 1fr;
    }

    /* Secciones */
    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-sub {
        font-size: .8rem;
    }

    /* Cards más compactas */
    .card {
        padding: 1.25rem;
    }

    .card h3 {
        font-size: 1rem;
    }

    .card p {
        font-size: .78rem;
    }

    /* CTA */
    .cta-block h2 {
        font-size: 1.7rem;
    }

    .cta-block p {
        font-size: .82rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-ghost {
        justify-content: center;
        text-align: center;
    }

    /* Formulario */
    .form-group input,
    .form-group textarea {
        font-size: .82rem;
    }
}