/*
Theme Name: DWS Core Engine v1.0
Theme URI: https://dws-core.engine/
Author: Leidy Jaimes
Description: Ecosistema digital nativo de alto rendimiento con estética editorial de lujo. Prohibido el uso de plugins.
Version: 1.0
Text Domain: dws-core
Developed by Leidy Jaimes
*/

:root {
    --primary: #000000;
    --accent: #ff0000;
    --text: #1a1a1a;
    --bg: #ffffff;
    --bg-alt: #f8f8f8;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.2;
    overflow-x: hidden;
}

.dws-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Grillas Editoriales */
.dws-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.dws-card {
    grid-column: span 4;
    position: relative;
    background: var(--bg-alt);
    height: 500px;
    overflow: hidden;
}

.dws-card.featured {
    grid-column: span 8;
}

/* Tipografía de Alto Impacto */
h1, h2, h3 {
    font-weight: 900;
    letter-spacing: -2px;
}

.section-title {
    font-size: 3rem;
    border-left: 10px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 40px;
}

/* Contenedor Video */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

#wa-trigger { display: none; } /* Carga diferida controlada por JS */

/* ================================================
   DWS DARK MODE ENGINE - CLASE CONTROLADA
   SOLO se activa mediante body.dws-dark-mode
   El sitio es CLARO por defecto en todos los sistemas.
   ================================================ */
body.dws-dark-mode {
    --primary: #ffffff;
    --text:    #e0e0e0;
    --bg:      #0a0a0a;
    --bg-alt:  #111111;
    background-color: #0a0a0a;
    color: #e0e0e0;
}