/*
Theme Name: Cromatico Noir - Prepagos Colombia
Theme URI: https://prepagoscolombia.com
Author: jaguardluz
Author URI: https://prepagoscolombia.com
Description: Custom WordPress theme built with a luxury Cromatico Noir aesthetic, EB Garamond serif typography, sharp 0px corners, and dynamic color logic for VIP and Verified profiles.
Version: 1.0.0
Text Domain: prepagos-theme
*/

/* --- Design System Tokens --- */
:root {
    --void: #070707;
    --surface: #121413;
    --surface-low: #1a1c1b;
    --surface-container: #1e201f;
    --surface-high: #282a29;
    --surface-highest: #333534;
    --on-surface: #e2e2e1;
    --on-surface-variant: #c4c7c7;
    --outline: #222222;
    --outline-variant: #444748;
    --primary: #c9c6c5;
    --vip-gold: #C9943A;
    --crimson: #CC0019;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
}

/* --- Global Base Styles --- */
body {
    background-color: var(--void);
    color: var(--on-surface);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Layout & Spacing Rules --- */
.container-noir {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--margin-mobile, 24px);
    padding-right: var(--margin-mobile, 24px);
}

@media (min-width: 768px) {
    .container-noir {
        padding-left: var(--margin-desktop, 80px);
        padding-right: var(--margin-desktop, 80px);
    }
}

/* --- Typography System --- */
h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    color: #efefed;
}

.text-display-lg {
    font-size: 72px;
    line-height: 80px;
    letter-spacing: -0.02em;
}

.text-display-sm {
    font-size: 48px;
    line-height: 56px;
    letter-spacing: -0.01em;
}

.text-headline-lg {
    font-size: 32px;
    line-height: 40px;
}

.text-title-md {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.text-label-caps {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
}

.text-body-lg {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 28px;
}

.text-body-sm {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 22px;
}

/* --- Shape Language & Elements --- */
.sharp, .sharp * {
    border-radius: 0px !important;
}

/* Custom interactive inputs styling */
input:focus, textarea:focus, select:focus {
    border-color: var(--vip-gold) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Accordion active states animation */
.accordion-content {
    transition: max-height 0.3s ease-out;
}

/* --- Custom Card Variants --- */
.card-modelo-base {
    background-color: var(--surface-low);
    border: 1px solid var(--outline);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0px;
}

.card-modelo-base:hover {
    transform: translateY(-4px);
}

/* Style A: Editorial Classic */
.card-style-a {
    background-color: var(--surface-low);
    border: 1px solid var(--outline-variant);
}

/* Style B: High-Contrast Noir */
.card-style-b {
    background-color: var(--void);
    border: none;
    border-top: 1px solid var(--outline-variant);
}

/* Style C: Golden Glow (ELITE VIP) */
.card-style-c {
    background-color: var(--void);
    border: 1px solid rgba(201, 148, 58, 0.3);
    box-shadow: inset 0 0 40px rgba(201, 148, 58, 0.15), 0 0 20px rgba(201, 148, 58, 0.05);
}
.card-style-c .model-name {
    color: var(--vip-gold);
}

/* Style D: Action Layout */
.card-style-d {
    background-color: var(--surface-container);
    border: 1px solid var(--outline);
}

/* --- Color Borders for Color-Coded Categories --- */
.border-category-vip {
    border-top: 4px solid var(--vip-gold) !important;
}

.border-category-verified {
    border-top: 4px solid var(--crimson) !important;
}

.border-category-standard {
    border-top: 4px solid var(--outline-variant) !important;
}

/* --- Micro-animations --- */
.animate-whatsapp-pulse {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
