/*
Theme Name: Aresport Premium
Theme URI: https://aresport.net
Author: Aresport (in-house)
Author URI: https://aresport.net
Description: Tema premium corporativo para Aresport Minerals S.A.C. (ES/EN/中文) con soporte para contenido editable desde el admin vía plugin Aresport Core.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aresport
*/

:root{
  --aresport-white:#ffffff;
  --aresport-ink:#0b0f1a;
  --aresport-night:#020617;
  --aresport-deep:#0f1e4f;
  --aresport-gold:#c7a84a;
  --aresport-gray:#a0a4ac;
  --aresport-border: rgba(160,164,172,.25);
  --aresport-shadow: 0 20px 60px rgba(2,6,23,.18);
  --aresport-radius: 18px;
  --aresport-max: 1180px;
  --aresport-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--aresport-font);
  color:var(--aresport-ink);
  background:var(--aresport-white);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.container{max-width:var(--aresport-max); margin:0 auto; padding:0 22px}
.section{padding:78px 0}
.section.dark{background:linear-gradient(120deg, var(--aresport-night), #061033 55%, #020617)}
.section.soft{background:#f7f8fb}
.kicker{letter-spacing:.22em; text-transform:uppercase; font-size:12px; color:var(--aresport-gold); font-weight:700}
.h1{font-size:46px; line-height:1.12; margin:14px 0 12px}
.h2{font-size:30px; line-height:1.22; margin:12px 0}
.p{max-width:70ch; color:rgba(11,15,26,.78); margin:0}
.dark .p{color:rgba(255,255,255,.78)}
.dark .h1,.dark .h2{color:#fff}

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--aresport-border);
  background:#fff;
  color:var(--aresport-ink);
  box-shadow:0 10px 30px rgba(2,6,23,.08);
  font-weight:700;
}
.btn.primary{
  background:var(--aresport-gold);
  border-color:rgba(199,168,74,.55);
  color:#0b0f1a;
}
.btn.ghost{
  background:transparent;
  border-color:rgba(255,255,255,.24);
  color:#fff;
  box-shadow:none;
}
.btn.small{padding:9px 14px; font-size:14px}

.card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--aresport-radius);
  padding:26px;
  box-shadow:0 20px 60px rgba(2,6,23,.22);
}
.card.light{
  background:#fff;
  border:1px solid var(--aresport-border);
  box-shadow:0 16px 46px rgba(2,6,23,.10);
}
.grid{
  display:grid;
  gap:18px;
}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width: 980px){
  .h1{font-size:38px}
  .grid.cols-2,.grid.cols-3{grid-template-columns:1fr}
  .section{padding:62px 0}
}

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(160,164,172,.18);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width:220px;
}
.brand .title{
  font-weight:900; letter-spacing:.08em; text-transform:uppercase; font-size:12px;
  color:rgba(11,15,26,.72);
}
.brand .sub{font-size:12px; color:rgba(11,15,26,.55)}
.nav{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav a{
  padding:8px 10px;
  border-radius:10px;
  color:rgba(11,15,26,.78);
  font-weight:700;
  font-size:14px;
}
.nav a:hover{background:rgba(199,168,74,.14); color:rgba(11,15,26,.92)}

.lang{
  display:flex; align-items:center; gap:8px;
  border:1px solid rgba(160,164,172,.24);
  border-radius:999px;
  padding:6px 10px;
  background:#fff;
}
.lang a{
  font-weight:800; font-size:13px;
  padding:6px 10px;
  border-radius:999px;
}
.lang a.active{background:rgba(2,6,23,.08)}
.lang a:hover{background:rgba(2,6,23,.06)}

.hero{
  padding:76px 0 54px;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(15,30,79,.12), transparent 60%),
    radial-gradient(900px 420px at 80% 10%, rgba(199,168,74,.14), transparent 60%),
    linear-gradient(#fff, #fff);
}
.hero-inner{
  display:grid;
  grid-template-columns:1.35fr .9fr;
  gap:22px;
  align-items:stretch;
}
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr}
}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 24px}
.badge{
  border:1px solid rgba(2,6,23,.14);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  color:rgba(11,15,26,.80);
  font-size:13px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:22px}

.ficha .row{
  display:flex; justify-content:space-between; gap:14px;
  padding:10px 0;
  border-bottom:1px dashed rgba(160,164,172,.28);
}
.ficha .row:last-child{border-bottom:none}
.ficha .k{color:rgba(255,255,255,.72)}
.ficha .v{color:#fff; font-weight:900}

.dark .card.light{background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.18)}
.dark .card.light .muted{color:rgba(255,255,255,.72)}
.muted{color:rgba(11,15,26,.66)}
.small{font-size:13px}

.site-footer{
  padding:36px 0;
  background:linear-gradient(120deg, var(--aresport-night), #061033 55%, #020617);
  color:rgba(255,255,255,.78);
}
.site-footer a{color:var(--aresport-gold)}
.footer-grid{display:grid; grid-template-columns:1.3fr 1fr; gap:18px; align-items:start}
@media (max-width:980px){.footer-grid{grid-template-columns:1fr}}
.footer-legal{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; font-size:13px}


/* --- Header fixes (v1.0.1) --- */
.custom-logo-link img,
.custom-logo{max-height:48px !important; width:auto !important; height:auto !important; display:block}
.site-header .custom-logo-link{display:flex; align-items:center}
.nav ul{list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav li{margin:0; padding:0}
.nav li a{display:inline-block}
@media (max-width:980px){
  .custom-logo-link img,.custom-logo{max-height:42px !important}
}
/* ------------------------------ */


/* --- Premium header/nav refresh (v1.0.2) --- */
.site-header{background:#fff; border-bottom:1px solid rgba(2,6,23,.08)}
.header-inner{display:flex; align-items:center; gap:18px; padding:16px 0; flex-wrap:wrap}
.brand{display:flex; align-items:center; gap:12px; min-width:260px}
.brand .site-title{font-size:14px; letter-spacing:.12em; text-transform:uppercase; font-weight:900; color:#0b1220; margin:0}
.brand .site-tagline{font-size:12px; color:rgba(2,6,23,.65); margin-top:4px; line-height:1.2}
.brand .brand-text{display:flex; flex-direction:column}
.custom-logo-link img,.custom-logo{max-height:44px !important}

.nav{margin-left:auto; display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.nav ul{gap:6px}
.nav a{
  font-weight:800;
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(2,6,23,.78);
  padding:10px 12px;
  border-radius:999px;
  transition:all .18s ease;
}
.nav a:hover{background:rgba(199,168,74,.14); color:#0b1220}
.nav .current-menu-item > a,
.nav .current_page_item > a{background:rgba(2,6,23,.06); color:#0b1220}
.lang{margin-left:6px}
.lang a{font-weight:900; letter-spacing:.06em}
.lang a:hover{background:rgba(199,168,74,.18)}
.lang a.active{background:rgba(199,168,74,.22)}

@media (max-width:980px){
  .header-inner{padding:14px 0}
  .brand{min-width:auto}
  .nav{width:100%; justify-content:flex-start}
}
/* ------------------------------------------- */
