/*
Theme Name: Divisek Systems
Description: Tema hijo de GeneratePress para la arquitectura híbrida WordPress + HTML/CSS de Divisek Systems.
Author: Divisek Systems
Template: generatepress
Version: 1.4.0
Text Domain: divisek-systems
*/

:root {
  --dv-bg: #06111f;
  --dv-bg-soft: #0a192b;
  --dv-panel: rgba(13, 31, 52, 0.72);
  --dv-line: rgba(145, 205, 255, 0.18);
  --dv-text: #f5f8fc;
  --dv-muted: #a8b7c9;
  --dv-cyan: #5de4ff;
  --dv-blue: #3d7cff;
  --dv-white: #ffffff;
  --dv-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  --dv-radius: 28px;
  --dv-container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.divisek-site {
  margin: 0;
  background: var(--dv-bg);
  color: var(--dv-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body.divisek-site.admin-bar .dv-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.dv-container { width: var(--dv-container); margin-inline: auto; }
.dv-site-main { overflow: hidden; }
.dv-section { position: relative; padding: 112px 0; }
.dv-section--tight { padding: 76px 0; }
.dv-section--light {
  background: #edf4fb;
  color: #071321;
}
.dv-section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(93,228,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,228,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.dv-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 14, 26, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.dv-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.dv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .14em;
  font-size: .92rem;
}
.dv-brand__mark {
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid rgba(93,228,255,.7);
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 24px rgba(93,228,255,.12), 0 0 30px rgba(61,124,255,.12);
}
.dv-brand__mark::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid var(--dv-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(93,228,255,.12);
}
.dv-nav { display: flex; align-items: center; gap: 28px; }
.dv-nav a {
  text-decoration: none;
  color: #d9e4ef;
  font-size: .92rem;
  font-weight: 650;
  transition: color .2s ease;
}
.dv-nav a:hover { color: var(--dv-cyan); }
.dv-nav .dv-nav__cta {
  border: 1px solid rgba(93,228,255,.45);
  border-radius: 999px;
  padding: 10px 17px;
  background: rgba(93,228,255,.07);
}
.dv-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  padding: 10px;
  cursor: pointer;
}
.dv-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.dv-hero {
  min-height: 900px;
  padding: 176px 0 96px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 76% 38%, rgba(44, 122, 255, .22), transparent 30%),
    radial-gradient(circle at 15% 22%, rgba(93, 228, 255, .12), transparent 26%),
    linear-gradient(145deg, #06111f 0%, #071727 53%, #04101e 100%);
}
.dv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .34;
  background-image:
    linear-gradient(rgba(93,228,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,228,255,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 55% 45%, black, transparent 78%);
}
.dv-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  align-items: center;
  gap: 76px;
}
.dv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--dv-cyan);
  font-size: .77rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dv-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}
.dv-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.3rem, 6.2vw, 6.8rem);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 760;
}
.dv-gradient-text {
  background: linear-gradient(95deg, #ffffff 0%, #8ceaff 45%, #5d8fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dv-hero__lead {
  max-width: 670px;
  margin: 30px 0 0;
  color: var(--dv-muted);
  font-size: clamp(1.06rem, 1.5vw, 1.28rem);
}
.dv-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.dv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dv-button:hover { transform: translateY(-2px); }
.dv-button--primary {
  background: linear-gradient(120deg, var(--dv-cyan), #74a2ff);
  color: #04101e;
  box-shadow: 0 14px 40px rgba(61,124,255,.25);
}
.dv-button--ghost {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.035);
  color: white;
}
.dv-button--ghost:hover { border-color: rgba(93,228,255,.6); }
.dv-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.dv-proof__item strong { display: block; font-size: 1.14rem; color: white; }
.dv-proof__item span { display: block; color: #8092a7; font-size: .82rem; }

.dv-hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.dv-orbit {
  position: absolute;
  border: 1px solid rgba(93,228,255,.18);
  border-radius: 50%;
  animation: dv-spin 22s linear infinite;
}
.dv-orbit--one { width: 560px; height: 560px; }
.dv-orbit--two { width: 420px; height: 420px; animation-direction: reverse; animation-duration: 17s; }
.dv-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  top: 50%;
  left: -5px;
  background: var(--dv-cyan);
  box-shadow: 0 0 20px var(--dv-cyan);
}
@keyframes dv-spin { to { transform: rotate(360deg); } }
.dv-hero-card {
  width: min(440px, 86%);
  padding: 34px;
  position: relative;
  border: 1px solid rgba(159,211,255,.2);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(23,49,78,.78), rgba(7,21,39,.72));
  box-shadow: var(--dv-shadow), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}
.dv-hero-card::before {
  content: "CHARGING";
  position: absolute;
  top: 20px;
  right: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--dv-cyan);
  background: rgba(93,228,255,.08);
  border: 1px solid rgba(93,228,255,.18);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .14em;
}
.dv-hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(0,0,0,.36));
  mix-blend-mode: screen;
}
.dv-energy-ring {
  position: absolute;
  left: 50%;
  bottom: 77px;
  width: 220px;
  height: 70px;
  transform: translateX(-50%);
  border: 2px solid rgba(93,228,255,.65);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(93,228,255,.7), inset 0 0 28px rgba(93,228,255,.35);
  opacity: .72;
}
.dv-float-label {
  position: absolute;
  min-width: 150px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(6,17,31,.82);
  box-shadow: 0 16px 36px rgba(0,0,0,.24);
  font-size: .75rem;
  color: #8da0b4;
}
.dv-float-label strong { display: block; color: white; font-size: .92rem; }
.dv-float-label--power { left: -12px; top: 130px; }
.dv-float-label--system { right: -12px; bottom: 118px; }

.dv-section-heading { max-width: 780px; margin-bottom: 54px; }
.dv-section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.dv-section-heading p { margin: 22px 0 0; color: var(--dv-muted); font-size: 1.12rem; }
.dv-section--light .dv-section-heading p { color: #53677b; }

.dv-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dv-capability {
  min-height: 330px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border-radius: var(--dv-radius);
  border: 1px solid var(--dv-line);
  background: linear-gradient(150deg, rgba(17,41,67,.88), rgba(7,21,38,.74));
}
.dv-capability::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -86px;
  bottom: -92px;
  border: 1px solid rgba(93,228,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(93,228,255,.035), 0 0 0 58px rgba(93,228,255,.02);
}
.dv-capability__number { color: var(--dv-cyan); font-size: .75rem; font-weight: 850; letter-spacing: .12em; }
.dv-capability h3 { margin: 74px 0 16px; font-size: 1.45rem; line-height: 1.15; }
.dv-capability p { margin: 0; color: var(--dv-muted); }

.dv-product-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 78px;
  align-items: center;
}
.dv-product-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(61,124,255,.22), transparent 42%),
    linear-gradient(145deg, #102842, #071522);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--dv-shadow);
}
.dv-product-visual::before,
.dv-product-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(93,228,255,.18);
  border-radius: 50%;
}
.dv-product-visual::before { width: 410px; height: 410px; }
.dv-product-visual::after { width: 300px; height: 300px; }
.dv-product-visual img {
  width: min(430px, 78%);
  position: relative;
  z-index: 1;
  border-radius: 24px;
  filter: drop-shadow(0 35px 50px rgba(0,0,0,.42));
}
.dv-feature-list { display: grid; gap: 18px; margin-top: 36px; }
.dv-feature {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.dv-feature__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(93,228,255,.08);
  border: 1px solid rgba(93,228,255,.18);
  color: var(--dv-cyan);
  font-weight: 850;
}
.dv-feature h3 { margin: 0 0 5px; font-size: 1.08rem; }
.dv-feature p { margin: 0; color: var(--dv-muted); }

.dv-system {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dv-system-card {
  min-height: 520px;
  padding: 38px;
  border-radius: 34px;
  background: white;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(3,19,35,.08);
}
.dv-system-card--image { padding: 0; background: #dce8f2; }
.dv-system-card--image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.dv-system-card__tag {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #0b5d70;
  background: #dff9ff;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.dv-system-card h3 { margin: 32px 0 18px; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.02; letter-spacing: -.04em; }
.dv-system-card p { color: #526578; font-size: 1.05rem; }
.dv-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.dv-spec {
  padding: 18px;
  border-radius: 18px;
  background: #f3f7fb;
  border: 1px solid #e0e8f0;
}
.dv-spec strong { display: block; font-size: 1.45rem; color: #071321; }
.dv-spec span { font-size: .78rem; color: #627487; }

.dv-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: process;
}
.dv-process__step {
  counter-increment: process;
  padding: 28px 24px;
  border-left: 1px solid rgba(255,255,255,.15);
}
.dv-process__step::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 44px;
  color: var(--dv-cyan);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
}
.dv-process__step h3 { margin: 0 0 12px; font-size: 1.15rem; }
.dv-process__step p { margin: 0; color: var(--dv-muted); font-size: .94rem; }

.dv-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.dv-partner {
  padding: 14px 21px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.11);
  color: #c8d5e1;
  background: rgba(255,255,255,.025);
  font-size: .84rem;
  font-weight: 750;
}

.dv-cta {
  padding: 58px;
  border-radius: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #113c67 0%, #0a2440 50%, #112e51 100%);
  border: 1px solid rgba(93,228,255,.18);
  box-shadow: var(--dv-shadow);
}
.dv-cta::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -190px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(93,228,255,.2);
  box-shadow: 0 0 0 50px rgba(93,228,255,.035), 0 0 0 100px rgba(93,228,255,.02);
}
.dv-cta > * { position: relative; z-index: 1; }
.dv-cta h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.04em; }
.dv-cta p { margin: 18px 0 0; max-width: 680px; color: #b4c5d5; }

.dv-footer {
  padding: 52px 0 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: #040c16;
}
.dv-footer__top { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.dv-footer__contact { color: #b2c0cf; text-decoration: none; }
.dv-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #708295;
  font-size: .78rem;
}

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  body.divisek-site.admin-bar .dv-header { top: 46px; }
  .dv-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 24px 20px 28px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(5,14,26,.97);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .dv-nav.is-open { display: flex; }
  .dv-menu-toggle { display: block; }
  .dv-hero { min-height: auto; padding-top: 145px; }
  .dv-hero__inner { grid-template-columns: 1fr; gap: 42px; }
  .dv-hero-visual { min-height: 540px; }
  .dv-float-label--power { left: 2%; }
  .dv-float-label--system { right: 2%; }
  .dv-capabilities { grid-template-columns: 1fr; }
  .dv-capability { min-height: 240px; }
  .dv-capability h3 { margin-top: 45px; }
  .dv-product-grid { grid-template-columns: 1fr; gap: 48px; }
  .dv-system { grid-template-columns: 1fr; }
  .dv-process { grid-template-columns: repeat(2, 1fr); }
  .dv-cta { grid-template-columns: 1fr; padding: 44px; }
}

@media (max-width: 640px) {
  :root { --dv-container: min(100% - 26px, 1180px); --dv-radius: 22px; }
  .dv-header__inner { min-height: 68px; }
  .dv-brand { font-size: .78rem; }
  .dv-brand__mark { width: 34px; border-radius: 10px; }
  .dv-section { padding: 78px 0; }
  .dv-hero { padding: 128px 0 70px; }
  .dv-hero h1 { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  .dv-hero__lead { font-size: 1rem; }
  .dv-actions { flex-direction: column; }
  .dv-button { width: 100%; }
  .dv-hero__proof { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .dv-hero-visual { min-height: 430px; }
  .dv-orbit--one { width: 390px; height: 390px; }
  .dv-orbit--two { width: 300px; height: 300px; }
  .dv-hero-card { width: 85%; padding: 22px; border-radius: 25px; }
  .dv-energy-ring { width: 150px; height: 50px; bottom: 61px; }
  .dv-float-label { display: none; }
  .dv-product-visual { min-height: 400px; }
  .dv-system-card { min-height: 430px; padding: 28px; }
  .dv-system-card--image { padding: 0; }
  .dv-specs { grid-template-columns: 1fr; }
  .dv-process { grid-template-columns: 1fr; }
  .dv-process__step { border-left: 0; border-top: 1px solid rgba(255,255,255,.13); }
  .dv-process__step::before { margin-bottom: 20px; }
  .dv-cta { padding: 34px 24px; border-radius: 26px; }
  .dv-footer__top, .dv-footer__bottom { flex-direction: column; align-items: flex-start; }
}
