/* ═══════════════════════════════════════════════════════
   WARENEROX — Landing Page
   Light theme · Verde #5CBD22 · Moderno y profesional
   ═══════════════════════════════════════════════════════ */

:root {
    --wx-green:       #5CBD22;
    --wx-green-dark:  #3E8A16;
    --wx-green-light: #4AA81A;
    --wx-green-glow:  rgba(92, 189, 34, 0.20);
    --wx-green-dim:   rgba(92, 189, 34, 0.08);
    --wx-black:       #FAFBF8;
    --wx-dark:        #F2F4F0;
    --wx-card:        rgba(255, 255, 255, 0.92);
    --wx-border:      rgba(0, 0, 0, 0.08);
    --wx-text:        #3B4252;
    --wx-text-muted:  #7B8794;
    --wx-radius:      12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    background: var(--wx-black);
    color: #1A1F23;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--wx-green-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wx-green); }

img { max-width: 100%; height: auto; }

/* ── Utilidades ── */
.wx-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wx-section {
    padding: 6rem 0;
    position: relative;
}

/* ── Elementos de luz globales ── */

/* Línea luminosa entre secciones */
.wx-glow-divider {
    height: 1px;
    border: none;
    background: linear-gradient(90deg,
        transparent 5%,
        rgba(92,189,34,.25) 30%,
        rgba(0,0,0,.06) 50%,
        rgba(92,189,34,.25) 70%,
        transparent 95%);
    margin: 0;
}

/* Banda de luz sutil */
.wx-light-band {
    height: 120px;
    background: radial-gradient(ellipse 70% 100% at 50% 50%,
        rgba(92,189,34,.04) 0%,
        transparent 70%);
    pointer-events: none;
}

/* Glow detrás de section headers */
.wx-section-header {
    position: relative;
}

.wx-section-header::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(92,189,34,.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.wx-section-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--wx-green-dim);
    border: 1px solid rgba(92,189,34,.22);
    border-radius: 999px;
    padding: .3rem .85rem;
    font-size: .72rem;
    color: var(--wx-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}

.wx-section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: .75rem;
}

.wx-section-title span { color: var(--wx-green); }

.wx-section-subtitle {
    font-size: 1.05rem;
    color: var(--wx-text-muted);
    max-width: 600px;
}

.wx-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.wx-section-header .wx-section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════
   NAVBAR
   ═══════════════════════════════ */
.wx-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: .75rem 0;
    transition: background .3s, box-shadow .3s, padding .3s;
}

.wx-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    padding: .5rem 0;
}

.wx-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.wx-nav-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.wx-nav-brand img {
    height: 30px;
    width: auto;
}

.wx-nav-brand span {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1A1F23;
    letter-spacing: -.02em;
}

.wx-nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wx-nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}

.wx-nav-links a {
    padding: .45rem .85rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--wx-text-muted);
    border-radius: 8px;
    transition: color .2s, background .2s;
}

.wx-nav-links a:hover {
    color: var(--wx-green-dark);
    background: rgba(92,189,34,.06);
}

.wx-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.2rem;
    background: var(--wx-green);
    color: #fff !important;
    font-size: .82rem;
    font-weight: 700;
    border-radius: 8px;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(92,189,34,.25);
}

.wx-nav-cta:hover {
    background: var(--wx-green-dark);
    box-shadow: 0 4px 20px rgba(92,189,34,.4);
    color: #fff !important;
}

/* Hamburger */
.wx-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #1A1F23;
    font-size: 1.4rem;
    cursor: pointer;
    padding: .25rem;
}

/* ═══════════════════════════════
   HERO
   ═══════════════════════════════ */
.wx-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

/* Fondo animado (reutilizado del login) */
.wx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.wx-hero-bg .dots-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(92,189,34,.15) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-pan 50s linear infinite;
}

@keyframes grid-pan {
    0%   { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.wx-hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.wx-hero-bg .orb-1 {
    width: 700px; height: 700px;
    top: -200px; left: -150px;
    background: radial-gradient(circle, rgba(92,189,34,.18) 0%, transparent 65%);
    animation: orb-float 12s ease-in-out infinite;
}

.wx-hero-bg .orb-2 {
    width: 500px; height: 500px;
    bottom: -100px; right: -100px;
    background: radial-gradient(circle, rgba(92,189,34,.12) 0%, transparent 65%);
    animation: orb-float 16s ease-in-out infinite reverse;
}

.wx-hero-bg .orb-3 {
    width: 350px; height: 350px;
    top: 40%; left: 55%;
    background: radial-gradient(circle, rgba(92,189,34,.08) 0%, transparent 65%);
    animation: orb-float 20s ease-in-out infinite 3s;
}

@keyframes orb-float {
    0%, 100% { opacity: .5; transform: scale(1) translate(0, 0); }
    33%      { opacity: .8; transform: scale(1.1) translate(20px, -10px); }
    66%      { opacity: .6; transform: scale(0.95) translate(-15px, 15px); }
}

.wx-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.wx-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.wx-hero-text h1 .green { color: var(--wx-green); }

.wx-hero-text p {
    font-size: 1.1rem;
    color: var(--wx-text);
    max-width: 480px;
    margin-bottom: 2rem;
}

.wx-hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.wx-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    background: var(--wx-green);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(92,189,34,.3);
    transition: background .2s, box-shadow .2s, transform .1s;
}

.wx-btn-primary:hover {
    background: var(--wx-green-dark);
    box-shadow: 0 6px 32px rgba(92,189,34,.45);
    color: #fff;
}

.wx-btn-primary:active { transform: scale(.98); }

.wx-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    background: transparent;
    color: #1A1F23;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.15);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.wx-btn-outline:hover {
    border-color: var(--wx-green);
    background: var(--wx-green-dim);
    color: var(--wx-green-dark);
}

/* Hero visual — imagen + mockup superpuesto */
.wx-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.wx-hero-img-main {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--wx-border);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.wx-hero-img-main img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    filter: brightness(.9) saturate(.95);
    transition: filter .4s;
}

.wx-hero-img-main:hover img {
    filter: brightness(1) saturate(1);
}

.wx-hero-mockup {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 280px;
    border-radius: 14px;
    border: 1px solid rgba(92,189,34,.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 40px rgba(92,189,34,.06);
    z-index: 2;
}

.wx-mockup-bar {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .75rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--wx-border);
}

.wx-mockup-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.wx-mockup-dot.red    { background: #ff5f57; }
.wx-mockup-dot.yellow { background: #febc2e; }
.wx-mockup-dot.green  { background: #28c840; }

.wx-mockup-url {
    flex: 1;
    background: rgba(0,0,0,.04);
    border-radius: 4px;
    padding: .2rem .5rem;
    font-size: .58rem;
    color: var(--wx-text-muted);
    margin-left: .35rem;
}

.wx-mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.wx-mockup-stat {
    background: rgba(0,0,0,.03);
    border: 1px solid var(--wx-border);
    border-radius: 8px;
    padding: .5rem .4rem;
    text-align: center;
}

.wx-mockup-stat .val {
    font-size: .95rem;
    font-weight: 800;
    color: var(--wx-green);
    display: block;
}

.wx-mockup-stat .label {
    font-size: .55rem;
    color: var(--wx-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: .1rem;
}

.wx-mockup-chart {
    margin-top: .5rem;
    background: rgba(0,0,0,.025);
    border: 1px solid var(--wx-border);
    border-radius: 8px;
    padding: .6rem;
    height: 70px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.wx-chart-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--wx-green), rgba(92,189,34,.3));
    border-radius: 4px 4px 0 0;
    min-height: 8px;
    animation: bar-grow 1.5s ease-out forwards;
    transform-origin: bottom;
}

@keyframes bar-grow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

/* Stats del hero */
.wx-hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--wx-border);
}

.wx-hero-stat .number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--wx-green);
    line-height: 1;
}

.wx-hero-stat .desc {
    font-size: .78rem;
    color: var(--wx-text-muted);
    margin-top: .2rem;
}


/* ═══════════════════════════════
   PRODUCTOS
   ═══════════════════════════════ */
.wx-productos {
    background: var(--wx-dark);
    background-image:
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(92,189,34,.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(255,255,255,.025) 0%, transparent 70%);
}

.wx-product-card {
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    transition: border-color .3s;
}

.wx-product-card:hover {
    border-color: rgba(92,189,34,.25);
}

.wx-product-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: var(--wx-green-dim);
    border: 1px solid rgba(92,189,34,.2);
    border-radius: 8px;
    padding: .35rem .75rem;
    font-size: .72rem;
    font-weight: 700;
    color: var(--wx-green);
    margin-bottom: 1rem;
}

.wx-product-name {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -.03em;
    margin-bottom: .5rem;
}

.wx-product-name span { color: var(--wx-green); }

.wx-product-desc {
    font-size: .95rem;
    color: var(--wx-text);
    margin-bottom: 1.5rem;
}

.wx-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.wx-feature-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    color: var(--wx-text);
    padding: .4rem .6rem;
    border-radius: 8px;
    background: rgba(0,0,0,.025);
    border: 1px solid rgba(0,0,0,.04);
}

.wx-feature-item i {
    color: var(--wx-green);
    font-size: .85rem;
    flex-shrink: 0;
}

.wx-product-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wx-product-screenshot {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--wx-border);
    margin-bottom: .5rem;
}

.wx-product-screenshot img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    filter: brightness(.85) saturate(.9);
    transition: filter .4s;
}

.wx-product-screenshot:hover img {
    filter: brightness(.95) saturate(1);
}

.wx-module-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.wx-module-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(0,0,0,.03);
    border: 1px solid var(--wx-border);
    border-radius: 999px;
    padding: .3rem .65rem;
    font-size: .7rem;
    color: var(--wx-text-muted);
    transition: border-color .2s, color .2s;
}

.wx-module-pill:hover {
    border-color: rgba(92,189,34,.3);
    color: var(--wx-green);
}

.wx-module-pill i {
    font-size: .72rem;
    color: var(--wx-green);
}


/* ═══════════════════════════════
   SERVICIOS
   ═══════════════════════════════ */
/* Luz ambiental en secciones de fondo negro */
#servicios {
    background-image:
        radial-gradient(ellipse 50% 50% at 50% 0%, rgba(0,0,0,.025) 0%, transparent 60%);
}

#equipo {
    background-image:
        radial-gradient(ellipse 60% 50% at 50% 100%, rgba(92,189,34,.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(255,255,255,.025) 0%, transparent 60%);
}

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

.wx-service-card {
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}

.wx-service-card:hover {
    border-color: rgba(92,189,34,.3);
    transform: translateY(-4px);
}

.wx-service-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    filter: brightness(.82) saturate(.9);
    transition: filter .4s, transform .4s;
}

.wx-service-card:hover .wx-service-img {
    filter: brightness(.95) saturate(1);
    transform: scale(1.03);
}

.wx-service-img-wrap {
    overflow: hidden;
    position: relative;
}

.wx-service-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, rgba(242,244,240,.9));
    pointer-events: none;
}

.wx-service-body {
    padding: 1.5rem 2rem 2rem;
}

.wx-service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--wx-green-dim);
    border: 1px solid rgba(92,189,34,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--wx-green);
    margin-bottom: 1.25rem;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.wx-service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

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

.wx-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: 1rem;
}

.wx-service-tag {
    font-size: .68rem;
    font-weight: 600;
    color: var(--wx-green);
    background: var(--wx-green-dim);
    padding: .2rem .55rem;
    border-radius: 6px;
}


/* ═══════════════════════════════
   BANNER DE IMAGEN (separador)
   ═══════════════════════════════ */
.wx-img-banner {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.wx-img-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.45) saturate(.8);
}

.wx-img-banner::before,
.wx-img-banner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}

.wx-img-banner::before {
    top: 0;
    background: linear-gradient(var(--wx-black), transparent);
}

.wx-img-banner::after {
    bottom: 0;
    background: linear-gradient(transparent, var(--wx-dark));
}

.wx-img-banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.wx-img-banner-overlay blockquote {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    max-width: 700px;
    line-height: 1.4;
    color: rgba(0,0,0,.8);
}

.wx-img-banner-overlay blockquote span {
    color: var(--wx-green);
}

/* ═══════════════════════════════
   POR QUÉ WARENEROX
   ═══════════════════════════════ */
.wx-porquenosotros {
    background: var(--wx-dark);
    background-image:
        radial-gradient(ellipse 45% 55% at 15% 30%, rgba(92,189,34,.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 90% 70%, rgba(0,0,0,.025) 0%, transparent 70%);
}

.wx-why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.wx-why-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--wx-border);
}

.wx-why-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    filter: brightness(.88) saturate(.9);
    transition: filter .4s;
}

.wx-why-image:hover img {
    filter: brightness(1) saturate(1);
}

.wx-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.wx-why-item {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 16px;
    transition: border-color .3s;
}

.wx-why-item:hover { border-color: rgba(92,189,34,.25); }

.wx-why-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--wx-green);
    line-height: 1;
    margin-bottom: .5rem;
}

.wx-why-item h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: .35rem;
}

.wx-why-item p {
    font-size: .8rem;
    color: var(--wx-text-muted);
}


/* ═══════════════════════════════
   EQUIPO
   ═══════════════════════════════ */
.wx-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.wx-team-card {
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: border-color .3s;
}

.wx-team-card:hover { border-color: rgba(92,189,34,.25); }

.wx-team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--wx-green-dim);
    border: 3px solid rgba(92,189,34,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--wx-green);
    margin: 0 auto 1rem;
    overflow: hidden;
}

.wx-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wx-team-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.wx-team-role {
    font-size: .78rem;
    color: var(--wx-green);
    font-weight: 600;
    margin-bottom: .75rem;
}

.wx-team-card p {
    font-size: .82rem;
    color: var(--wx-text-muted);
}


/* ═══════════════════════════════
   CONTACTO
   ═══════════════════════════════ */
.wx-contacto {
    background: var(--wx-dark);
    background-image:
        radial-gradient(ellipse 55% 50% at 80% 25%, rgba(92,189,34,.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 75%, rgba(0,0,0,.02) 0%, transparent 70%);
}

.wx-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.wx-contact-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.wx-contact-info p {
    font-size: .95rem;
    color: var(--wx-text-muted);
    margin-bottom: 2rem;
}

.wx-contact-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--wx-border);
}

.wx-contact-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    filter: brightness(.85) saturate(.9);
}

.wx-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wx-contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wx-contact-method .icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--wx-green-dim);
    border: 1px solid rgba(92,189,34,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--wx-green);
    flex-shrink: 0;
}

.wx-contact-method .text-content span {
    display: block;
    font-size: .72rem;
    color: var(--wx-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}

.wx-contact-method .text-content strong {
    font-size: .92rem;
    color: #1A1F23;
    font-weight: 600;
}

/* Formulario de contacto */
.wx-contact-form {
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 16px;
    padding: 2rem;
}

.wx-contact-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.wx-form-group {
    margin-bottom: 1rem;
}

.wx-form-group label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: var(--wx-text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .4rem;
}

.wx-form-group input,
.wx-form-group textarea,
.wx-form-group select {
    width: 100%;
    background: rgba(0,0,0,.04);
    border: 1px solid var(--wx-border);
    border-radius: 10px;
    padding: .7rem .9rem;
    color: #1A1F23;
    font-size: .88rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.wx-form-group input:focus,
.wx-form-group textarea:focus,
.wx-form-group select:focus {
    border-color: var(--wx-green);
    box-shadow: 0 0 0 3px rgba(92,189,34,.15);
}

.wx-form-group input::placeholder,
.wx-form-group textarea::placeholder {
    color: rgba(0,0,0,.3);
}

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

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


/* ═══════════════════════════════
   MODAL AGENDAR
   ═══════════════════════════════ */
.wx-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.wx-modal-overlay.open {
    display: flex;
}

.wx-modal {
    background: var(--wx-dark);
    border: 1px solid var(--wx-border);
    border-radius: 18px;
    padding: 2rem;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 60px rgba(92,189,34,.06);
}

.wx-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,.05);
    border: 1px solid var(--wx-border);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wx-text-muted);
    cursor: pointer;
    font-size: .9rem;
    transition: border-color .2s, color .2s;
}

.wx-modal-close:hover {
    border-color: rgba(92,189,34,.3);
    color: var(--wx-green);
}

.wx-modal-header {
    margin-bottom: 1.5rem;
}

.wx-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.wx-footer {
    border-top: 1px solid var(--wx-border);
    padding: 3rem 0 2rem;
}

.wx-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.wx-footer-brand img {
    height: 28px;
    margin-bottom: .75rem;
}

.wx-footer-brand p {
    font-size: .82rem;
    color: var(--wx-text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.wx-footer-col h4 {
    font-size: .75rem;
    font-weight: 700;
    color: var(--wx-text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.wx-footer-col ul {
    list-style: none;
}

.wx-footer-col li { margin-bottom: .5rem; }

.wx-footer-col a {
    font-size: .85rem;
    color: var(--wx-text-muted);
    transition: color .2s;
}

.wx-footer-col a:hover { color: var(--wx-green); }

.wx-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--wx-border);
    font-size: .78rem;
    color: rgba(255,255,255,.2);
}

.wx-footer-social {
    display: flex;
    gap: .75rem;
}

.wx-footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(0,0,0,.03);
    border: 1px solid var(--wx-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wx-text-muted);
    font-size: .9rem;
    transition: border-color .2s, color .2s;
}

.wx-footer-social a:hover {
    border-color: rgba(92,189,34,.3);
    color: var(--wx-green);
}


/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 1024px) {
    .wx-hero-content { grid-template-columns: 1fr; gap: 3rem; }
    .wx-hero-visual { order: -1; }
    .wx-hero-img-main { max-width: 460px; margin: 0 auto; }
    .wx-hero-img-main img { height: 280px; }
    .wx-hero-mockup { right: 0; bottom: -20px; width: 240px; }
    .wx-product-card { grid-template-columns: 1fr; }
    .wx-services-grid { grid-template-columns: repeat(2, 1fr); }
    .wx-why-content { grid-template-columns: 1fr; }
    .wx-why-image { max-width: 500px; margin: 0 auto; }
    .wx-why-image img { height: 280px; }
    .wx-why-grid { grid-template-columns: repeat(2, 1fr); }
    .wx-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .wx-section { padding: 4rem 0; }
    .wx-container { padding: 0 1.25rem; }

    /* Nav mobile */
    .wx-nav-toggle { display: block; }
    .wx-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--wx-border);
        padding: 1rem;
        flex-direction: column;
    }
    .wx-nav-menu.open { display: flex; }
    .wx-nav-links { flex-direction: column; width: 100%; }
    .wx-nav-links a { padding: .65rem 1rem; width: 100%; }
    .wx-nav-cta { width: 100%; justify-content: center; margin-top: .5rem; }

    .wx-hero-section { min-height: auto; padding-top: 90px; padding-bottom: 3rem; }
    .wx-hero-img-main img { height: 220px; }
    .wx-hero-mockup { position: relative; bottom: -10px; right: auto; width: 100%; margin-top: -20px; }
    .wx-hero-btns { flex-direction: column; }
    .wx-hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .wx-mockup-grid { grid-template-columns: repeat(3, 1fr); }

    .wx-services-grid { grid-template-columns: 1fr; }
    .wx-why-grid { grid-template-columns: 1fr 1fr; }
    .wx-why-image img { height: 220px; }
    .wx-img-banner { height: 180px; }
    .wx-features-grid { grid-template-columns: 1fr; }
    .wx-contact-grid { grid-template-columns: 1fr; }
    .wx-form-row { grid-template-columns: 1fr; }
    .wx-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .wx-footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
}

@media (max-width: 480px) {
    .wx-why-grid { grid-template-columns: 1fr; }
    .wx-hero-stats { flex-direction: column; gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════
   BLOG GRID & CARDS
   ═══════════════════════════════════════════════════════ */

.wx-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.wx-blog-grid--sm {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.wx-blog-card {
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.wx-blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--wx-green);
    box-shadow: 0 8px 32px rgba(92, 189, 34, .12);
}

.wx-blog-card-img {
    height: 180px;
    overflow: hidden;
}

.wx-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.85);
    transition: transform .4s ease;
}

.wx-blog-card:hover .wx-blog-card-img img {
    transform: scale(1.05);
}

.wx-blog-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wx-blog-card-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .72rem;
    color: var(--wx-text-muted);
    margin-bottom: .5rem;
}

.wx-blog-featured {
    background: rgba(92, 189, 34, .15);
    color: var(--wx-green);
    padding: .15rem .5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.wx-blog-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: .5rem;
    color: #1A1F23;
}

.wx-blog-card-body p {
    font-size: .82rem;
    color: var(--wx-text-muted);
    line-height: 1.55;
    margin-bottom: .75rem;
    flex: 1;
}

.wx-blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: auto;
    padding-top: .5rem;
}

.wx-blog-card-tags span {
    font-size: .65rem;
    padding: .2rem .55rem;
    border-radius: 6px;
    background: rgba(92, 189, 34, .08);
    border: 1px solid rgba(92, 189, 34, .15);
    color: var(--wx-green-dark);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   NEWS LIST & CARDS
   ═══════════════════════════════════════════════════════ */

.wx-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.wx-news-list--sm {
    gap: 1rem;
    margin-top: 1.5rem;
}

.wx-news-card {
    display: flex;
    flex-direction: column;
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.wx-news-card:hover {
    border-color: var(--wx-green);
    box-shadow: 0 6px 24px rgba(92, 189, 34, .1);
    transform: translateY(-2px);
}

.wx-news-card-img {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.wx-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.wx-news-card:hover .wx-news-card-img img {
    transform: scale(1.05);
}

.wx-news-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .4rem;
}

.wx-news-card-body time {
    font-size: .72rem;
    color: var(--wx-green-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.wx-news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1F23;
    line-height: 1.4;
}

.wx-news-card-body p {
    font-size: .82rem;
    color: var(--wx-text-muted);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Homepage "Lo más reciente" grid ── */
.wx-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.wx-news-grid .wx-news-card {
    flex-direction: row;
    align-items: stretch;
}

.wx-news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 1.25rem .75rem;
    background: rgba(92, 189, 34, .07);
    border-right: 1px solid var(--wx-border);
    flex-shrink: 0;
}

.wx-news-date .day {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wx-green-dark);
    line-height: 1;
}

.wx-news-date .month {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--wx-text-muted);
    margin-top: .2rem;
}

.wx-news-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
    min-width: 0;
}

.wx-news-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1F23;
    line-height: 1.4;
    margin: 0;
}

.wx-news-body p {
    font-size: .82rem;
    color: var(--wx-text-muted);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   ARTICLE DETAIL
   ═══════════════════════════════════════════════════════ */

.wx-article-container {
    max-width: 820px;
    padding-bottom: 4rem;
}

.wx-breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    color: var(--wx-text-muted);
    margin-bottom: 1.5rem;
}

.wx-breadcrumb a {
    color: var(--wx-green);
    text-decoration: none;
}

.wx-breadcrumb a:hover { text-decoration: underline; }

.wx-article-hero {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    max-height: 400px;
}

.wx-article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.88);
}

.wx-article-header {
    margin-bottom: 2.5rem;
}

.wx-article-header h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: .75rem;
}

.wx-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: .8rem;
    color: var(--wx-text-muted);
    margin-bottom: .75rem;
}

.wx-article-meta span,
.wx-article-meta time {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.wx-article-meta i { color: var(--wx-green); }

.wx-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .5rem;
}

.wx-article-tags span {
    font-size: .7rem;
    padding: .2rem .6rem;
    border-radius: 6px;
    background: rgba(92, 189, 34, .12);
    color: var(--wx-green);
    font-weight: 600;
}

/* Article body typography — fondo blanco para lectura cómoda */
.wx-article-content {
    font-size: .95rem;
    line-height: 1.8;
    color: #1a1a1a;
    background: #fff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.wx-article-content h1,
.wx-article-content h2,
.wx-article-content h3 {
    color: #111;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.wx-article-content h2 { font-size: 1.4rem; }
.wx-article-content h3 { font-size: 1.15rem; }
.wx-article-content h4,
.wx-article-content h5 { color: #222; font-weight: 600; }

.wx-article-content p { margin-bottom: 1.2rem; }

.wx-article-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.wx-article-content a {
    color: #0d6efd;
    text-decoration: underline;
}

.wx-article-content blockquote {
    border-left: 3px solid var(--wx-green);
    padding: .75rem 1.25rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #444;
}

.wx-article-content code {
    background: #f1f3f5;
    padding: .15rem .45rem;
    border-radius: 4px;
    font-size: .85rem;
    color: #333;
}

.wx-article-content pre {
    background: #1e1e2e;
    color: #e0e0e0;
    padding: 1.25rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.wx-article-content ul,
.wx-article-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.wx-article-content li { margin-bottom: .4rem; color: #1a1a1a; }

/* Related section */
.wx-article-related {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--wx-border);
}

.wx-article-related h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════
   PAGINATION (dark theme)
   ═══════════════════════════════════════════════════════ */

.wx-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    margin-top: 3rem;
}

.wx-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 .75rem;
    border-radius: 10px;
    background: var(--wx-card);
    border: 1px solid var(--wx-border);
    color: var(--wx-text-muted);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.wx-page-btn:hover {
    border-color: var(--wx-green);
    color: var(--wx-green);
}

.wx-page-btn.active {
    background: var(--wx-green);
    border-color: var(--wx-green);
    color: #000;
}

.wx-page-btn.disabled {
    opacity: .4;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   EMPTY STATE (public pages)
   ═══════════════════════════════════════════════════════ */

.wx-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--wx-text-muted);
}

.wx-empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    opacity: .4;
}

.wx-empty-state p {
    font-size: .95rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE: Blog / News / Article
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .wx-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .wx-blog-grid--sm { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .wx-blog-grid,
    .wx-blog-grid--sm { grid-template-columns: 1fr; gap: 1.25rem; }

    .wx-news-card { flex-direction: column; }
    .wx-news-card-img { width: 100%; height: 160px; min-height: auto; }

    .wx-news-grid { grid-template-columns: 1fr; }
    .wx-news-grid .wx-news-card { flex-direction: row; }

    .wx-article-header h1 { font-size: 1.5rem; }
    .wx-article-content { font-size: .9rem; }
}

@media (max-width: 480px) {
    .wx-blog-card-img { height: 150px; }
    .wx-article-hero { max-height: 250px; }
    .wx-pagination { flex-wrap: wrap; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .wx-hero-bg .dots-grid,
    .wx-hero-bg .orb,
    .wx-chart-bar { animation: none; }
    .wx-chart-bar { transform: scaleY(1); }
    html { scroll-behavior: auto; }
}
