/*
Theme Name: Universo Drone App
Author: Universo Drone
Description: Tema ligero para la plataforma de gestión de Universo Drone.
Version: 0.2.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: uas-control-theme
*/

:root {
  --ink: #122333;
  --muted: #607184;
  --brand: #0b6b62;
  --brand-dark: #0c3842;
  --lime: #d7f46a;
  --paper: #f5f8f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
body:not(.home) .site-header { position: relative; background: #0c2432; }
.site-header__inner, .landing-section, .site-footer__inner { width: min(1160px, calc(100% - 40px)); margin: auto; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 82px; color: #fff; }
.site-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 18px; font-weight: 850; }
.site-logo span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--brand-dark); background: var(--lime); }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 13px; font-weight: 700; }
.site-nav .nav-cta { padding: 11px 16px; border-radius: 9px; color: var(--brand-dark); background: var(--lime); }
.hero { min-height: 760px; padding: 155px 0 95px; color: #fff; background: radial-gradient(circle at 80% 10%, rgba(215,244,106,.16), transparent 28%), linear-gradient(145deg, #0b2d3a, #09675f); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; width: min(1160px, calc(100% - 40px)); margin: auto; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 620px; margin: 0; font-size: clamp(43px, 6vw, 72px); line-height: .99; letter-spacing: -.055em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero p { max-width: 570px; margin: 25px 0 30px; color: rgba(255,255,255,.73); font-size: 17px; line-height: 1.7; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 49px; padding: 0 21px; border-radius: 10px; color: var(--brand-dark); background: var(--lime); text-decoration: none; font-size: 13px; font-weight: 850; box-shadow: 0 12px 25px rgba(0,0,0,.12); }
.button--ghost { margin-left: 9px; color: #fff; background: rgba(255,255,255,.1); box-shadow: none; }
.mockup { padding: 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 25px; background: rgba(255,255,255,.08); box-shadow: 0 40px 90px rgba(0,0,0,.28); transform: rotate(2deg); }
.mockup__window { min-height: 410px; padding: 18px; border-radius: 17px; background: #f7f9fb; color: var(--ink); }
.mockup__top { display: flex; justify-content: space-between; margin-bottom: 25px; }
.mockup__top strong { font-size: 13px; }
.mockup__top span { width: 26px; height: 26px; border-radius: 8px; background: #dce8e7; }
.mockup__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mockup__stats div, .mockup__chart { padding: 14px; border-radius: 12px; background: #fff; box-shadow: 0 8px 20px rgba(30,50,70,.06); }
.mockup__stats b { display: block; color: var(--brand); font-size: 23px; }
.mockup__stats small { color: var(--muted); font-size: 8px; }
.mockup__chart { display: flex; align-items: flex-end; gap: 10px; height: 230px; margin-top: 12px; }
.mockup__chart i { flex: 1; border-radius: 7px 7px 2px 2px; background: #dceae8; }
.mockup__chart i:nth-child(2n) { background: var(--brand); }
.landing-section { padding: 95px 0; }
.landing-heading { max-width: 670px; margin: 0 auto 50px; text-align: center; }
.landing-heading h2 { margin: 0 0 15px; font-size: clamp(32px,4vw,48px); letter-spacing: -.04em; }
.landing-heading p { color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature { padding: 30px; border: 1px solid #e2e9ec; border-radius: 18px; background: #fff; }
.feature span { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 22px; border-radius: 13px; color: var(--brand); background: #e6f2f1; font-size: 20px; }
.feature h3 { margin: 0 0 9px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.pro-band { width: min(1160px, calc(100% - 40px)); margin: 0 auto 95px; padding: 65px; border-radius: 26px; color: #fff; background: linear-gradient(135deg, #0b2d3a, #087069); text-align: center; }
.pro-band h2 { max-width: 730px; margin: 0 auto 17px; font-size: clamp(30px,4vw,49px); letter-spacing: -.04em; }
.pro-band p { max-width: 650px; margin: 0 auto 26px; color: rgba(255,255,255,.72); line-height: 1.7; }
.site-footer { padding: 35px 0; color: #9cafbb; background: #0c2432; }
.site-footer__inner { display: flex; justify-content: space-between; font-size: 12px; }
.page-default { width: min(900px, calc(100% - 40px)); min-height: 70vh; margin: auto; padding: 130px 0 80px; }
.page-template-page-portal .site-header, .page-template-page-portal .site-footer { display: none; }
.page-template-page-portal .page-default { width: 100%; margin: 0; padding: 0; }

@media (max-width: 800px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .mockup { transform: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .pro-band { padding: 45px 24px; }
}
