/*
Theme Name: Genloany Rifas Enterprise Elementor
Theme URI: https://genloany.example/
Author: Genloany Digital
Author URI: https://genloany.example/
Description: Tema profesional Enterprise para rifas, optimizado para Elementor y WooCommerce. Inicio editable, footer con widgets, responsive y preparado para Theme Builder.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: genloany-rifas-enterprise
Tags: elementor, woocommerce, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template
*/

:root{
  --gre-bg:#031426;
  --gre-bg-2:#061d36;
  --gre-card:#0a213d;
  --gre-gold:#f2b84b;
  --gre-gold-2:#ffd77a;
  --gre-text:#f7f8fb;
  --gre-muted:#aab6c8;
  --gre-border:rgba(242,184,75,.28);
  --gre-radius:18px;
  --gre-container:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(180deg,var(--gre-bg),#04182c 45%,#031426);color:var(--gre-text);line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.gre-container{width:min(calc(100% - 40px),var(--gre-container));margin-inline:auto}
.gre-site-header{position:sticky;top:0;z-index:999;background:rgba(3,20,38,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.gre-header-inner{min-height:82px;display:flex;align-items:center;gap:28px}
.gre-brand{display:flex;align-items:center;gap:12px;min-width:220px}
.gre-brand img{max-height:60px;width:auto}
.gre-site-title{font-weight:900;letter-spacing:.04em}.gre-site-title span{display:block;color:var(--gre-gold);font-size:.72em;letter-spacing:.15em}
.gre-primary-nav{margin-left:auto}
.gre-primary-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;align-items:center}
.gre-primary-nav a{font-weight:700;font-size:14px}.gre-primary-nav a:hover{color:var(--gre-gold)}
.gre-menu-toggle{display:none;margin-left:auto;border:1px solid var(--gre-border);background:transparent;color:#fff;border-radius:10px;padding:10px 12px}
.gre-hero{padding:64px 0 54px;position:relative;overflow:hidden}
.gre-hero:before{content:"";position:absolute;inset:auto -10% 10% 45%;height:420px;background:radial-gradient(circle,rgba(242,184,75,.16),transparent 60%);pointer-events:none}
.gre-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center}
.gre-eyebrow{display:inline-flex;border:1px solid var(--gre-border);border-radius:999px;padding:7px 13px;color:var(--gre-gold);font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.gre-hero h1{font-size:clamp(42px,6vw,72px);line-height:1.02;margin:18px 0}.gre-hero h1 em{font-style:normal;color:var(--gre-gold)}
.gre-hero p{font-size:18px;color:var(--gre-muted);max-width:650px}
.gre-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}.gre-btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:10px;font-weight:900;border:1px solid var(--gre-border)}
.gre-btn-primary{background:linear-gradient(180deg,var(--gre-gold-2),var(--gre-gold));color:#071426;box-shadow:0 8px 30px rgba(242,184,75,.18)}
.gre-btn-secondary{background:#0a213d}
.gre-hero-card{background:linear-gradient(145deg,#0d2a4d,#07192e);border:1px solid var(--gre-border);border-radius:24px;padding:18px;box-shadow:0 25px 70px rgba(0,0,0,.25)}
.gre-hero-card img{border-radius:16px;display:block}
.gre-strip{border:1px solid var(--gre-border);border-radius:16px;background:rgba(8,34,62,.72);display:grid;grid-template-columns:repeat(5,1fr);margin:12px 0 56px}
.gre-strip div{padding:18px;text-align:center;border-right:1px solid rgba(255,255,255,.08)}.gre-strip div:last-child{border-right:0}.gre-strip strong{display:block;color:var(--gre-gold);font-size:16px}.gre-strip span{font-size:12px;color:var(--gre-muted)}
.gre-section{padding:56px 0}.gre-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.gre-section-title h2{margin:0;font-size:32px}.gre-section-title h2:after{content:"";display:inline-block;width:64px;height:2px;background:var(--gre-gold);margin-left:14px;vertical-align:middle}
.gre-rifa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.gre-rifa-card{border:1px solid var(--gre-border);border-radius:16px;background:linear-gradient(180deg,#0c2747,#071b32);overflow:hidden;padding:14px}.gre-rifa-card img{aspect-ratio:4/3;object-fit:cover;border-radius:12px}.gre-rifa-card h3{font-size:18px;margin:13px 0 6px}.gre-price{display:flex;justify-content:space-between;color:var(--gre-muted);font-size:14px}.gre-price strong{color:#fff}.gre-progress{height:7px;background:#061526;border-radius:999px;overflow:hidden;margin:14px 0 8px}.gre-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--gre-gold),var(--gre-gold-2))}.gre-card-button{display:block;text-align:center;margin-top:14px;background:linear-gradient(180deg,var(--gre-gold-2),var(--gre-gold));color:#071426;font-weight:900;padding:11px;border-radius:9px}
.gre-features{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.gre-feature{padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(8,34,62,.62)}.gre-feature strong{display:block;color:var(--gre-gold);margin-bottom:5px}.gre-feature p{margin:0;color:var(--gre-muted);font-size:14px}
.gre-elementor-note{padding:18px 0;color:var(--gre-muted);text-align:center;font-size:14px}
.site-main{min-height:55vh}.gre-content{padding:56px 0}.gre-content article{background:rgba(8,34,62,.45);border-radius:16px;padding:28px}
.gre-footer{margin-top:60px;border-top:1px solid rgba(255,255,255,.08);background:#02101f;padding:54px 0 20px}.gre-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px}.gre-footer .widget-title,.gre-footer h2,.gre-footer h3{font-size:16px;margin-top:0;color:#fff}.gre-footer ul{list-style:none;padding:0;margin:0}.gre-footer li{margin:8px 0;color:var(--gre-muted)}.gre-footer p{color:var(--gre-muted)}.gre-footer a:hover{color:var(--gre-gold)}.gre-footer-bottom{margin-top:34px;padding-top:18px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:18px;color:var(--gre-muted);font-size:13px}
.woocommerce .button,.woocommerce button.button,.woocommerce input.button{background:var(--gre-gold)!important;color:#071426!important;border-radius:8px!important}
@media(max-width:980px){.gre-primary-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#031426;padding:18px 20px;border-top:1px solid rgba(255,255,255,.08)}.gre-primary-nav.is-open{display:block}.gre-primary-nav ul{flex-direction:column;align-items:flex-start}.gre-menu-toggle{display:block}.gre-hero-grid{grid-template-columns:1fr}.gre-rifa-grid{grid-template-columns:repeat(2,1fr)}.gre-features{grid-template-columns:repeat(2,1fr)}.gre-strip{grid-template-columns:repeat(2,1fr)}.gre-footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.gre-container{width:min(calc(100% - 28px),var(--gre-container))}.gre-rifa-grid,.gre-features,.gre-footer-grid,.gre-strip{grid-template-columns:1fr}.gre-strip div{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.gre-hero{padding-top:38px}.gre-footer-bottom{flex-direction:column}}
