/*
Theme Name: Astra VIMBreLab
Theme URI: https://vimbrelab.com
Description: Child theme premium para VIMBreLab basado en Astra.
Author: Sergio Cordovilla
Template: astra
Version: 1.0
Text Domain: astra-vimbrelab
*/

/* =========================
   VARIABLES GLOBALES
========================= */

:root {

  --black: #030504;
  --graphite: #080d0b;
  --surface: #101715;
  --surface-soft: rgba(255,255,255,0.025);

  --green: #007463;
  --green-bright: #00b99c;
  --orange: #E8A321;

  --text: #f4f1ea;
  --muted: #a9aaa5;

  --border-soft: #2a2f2c;

  --radius: 22px;

  --container: 1240px;

  --shadow-soft:
    0 10px 30px rgba(0,0,0,.25);

  --transition:
    all .35s ease;

}

/* =========================
   RESET BASE
========================= */

html {
  scroll-behavior: smooth;
}

body {

  background:
    var(--black);

  color:
    var(--text);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height:
    1.7;

  overflow-x:
    hidden;
}

/* =========================
   TIPOGRAFÍA
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {

  color:
    var(--text);

  font-weight:
    700;

  line-height:
    1.1;

  letter-spacing:
    -.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

p {
  color:
    var(--muted);
}

/* =========================
   LINKS
========================= */

a {

  color:
    var(--green-bright);

  text-decoration:
    none;

  transition:
    var(--transition);
}

a:hover {
  opacity: .8;
}

/* =========================
   BOTONES
========================= */

.button,
.wp-element-button {

  display:
    inline-flex;

  align-items:
    center;

  justify-content:
    center;

  padding:
    16px 28px;

  border-radius:
    var(--radius);

  background:
    var(--green);

  color:
    var(--text);

  font-weight:
    600;

  transition:
    var(--transition);

  border:
    1px solid transparent;
}

.button:hover,
.wp-element-button:hover {

  background:
    var(--green-bright);

  color:
    var(--black);

  transform:
    translateY(-2px);
}

/* =========================
   VIMBreLab Front Page
========================= */

.vimbrelab-site {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 116, 99, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(232, 163, 33, 0.13), transparent 32rem),
    linear-gradient(180deg, #010302 0%, var(--black) 48%, #050806 100%);
  color: var(--text);
  min-height: 100vh;
}

.vl-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 160px 40px 120px;
}

.vl-hero__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.vl-eyebrow {
  margin-bottom: 22px;
  color: var(--green-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vl-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(4rem, 10vw, 8.2rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.075em;
}

.vl-hero__subtitle {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(244, 241, 234, 0.94);
  font-size: clamp(1.35rem, 2.5vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.vl-hero__statement {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(244, 241, 234, 0.72);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}

.vl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: -0.02em;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.vl-btn:hover {
  transform: translateY(-2px);
}

.vl-btn--primary {
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.28), transparent 34%),
    linear-gradient(135deg, var(--green), #00a88d);
  color: white;
  box-shadow: 0 20px 52px rgba(0, 116, 99, 0.34);
}

.vl-btn--secondary {
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(
        180deg,
        rgba(255,255,255,.08),
        rgba(255,255,255,.03)
    );
  color: var(--text);
  backdrop-filter: blur(12px);
}

.vl-hero__visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.vl-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.42;
}

.vl-orb--green {
  width: 320px;
  height: 320px;
  left: 0;
  top: 60px;
  background: var(--green);
}

.vl-orb--orange {
  width: 300px;
  height: 300px;
  right: 8px;
  bottom: 40px;
  background: var(--orange);
  opacity: 0.24;
}

.vl-glass-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 460px);
  min-height: 420px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)),
    rgba(255,255,255,0.025);
  box-shadow:
    0 30px 100px rgba(0,0,0,0.54),
    0 0 70px rgba(0,116,99,0.12),
    inset 0 1px 0 rgba(255,255,255,0.14);
  backdrop-filter: blur(22px) saturate(145%);
  overflow: hidden;
  transform: rotate(-2deg);
}

.vl-glass-panel::before {

  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.12),
      transparent 45%
    );

  pointer-events: none;
}


.vl-glass-panel span {
  color: var(--green-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.vl-glass-panel strong {
  margin-top: 10px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.vl-glass-panel small {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .vl-hero {
    padding: 110px 18px 80px;
  }

  .vl-hero__inner {
    grid-template-columns: 1fr;
  }

  .vl-hero__visual {
    min-height: 380px;
  }

  .vl-glass-panel {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .vl-hero h1 {
    font-size: clamp(3.8rem, 20vw, 5.4rem);
  }

  .vl-hero__actions {
    display: grid;
  }

  .vl-btn {
    width: 100%;
  }
}


/* =========================
   HEADER
========================= */

.vl-header {

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 999;

  padding: 16px 28px;

  backdrop-filter:
    blur(18px);

  background:
    rgba(3,5,4,.55);

  border-bottom:
    1px solid rgba(255,255,255,.05);
}

.vl-header__inner {

  width:
    min(100%, var(--container));

  margin:
    0 auto;

  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;
}

.vl-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.vl-logo__img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
}




.vl-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);

  cursor: pointer;
  position: relative;
}

.vl-menu-toggle span {
  position: absolute;
  left: 50%;

  width: 18px;
  height: 2px;

  border-radius: 999px;
  background: var(--text);

  transform: translateX(-50%);
  transition: transform .22s ease, opacity .22s ease, top .22s ease;
}

.vl-menu-toggle span:nth-child(1) {
  top: 15px;
}

.vl-menu-toggle span:nth-child(2) {
  top: 21px;
}

.vl-menu-toggle span:nth-child(3) {
  top: 27px;
}

.vl-menu-toggle.is-open span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.vl-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.vl-menu-toggle.is-open span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 900px) {
  .vl-menu-toggle {
    display: block;
  }
}

.vl-mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .vl-header {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 0;
    border-radius: 999px;
  }

  .vl-header__inner {
    padding: 10px 12px 10px 18px;
  }

  .vl-logo__img {
    height: 54px;
    max-width: 190px;
  }

  .vl-nav {
    display: none;
  }

  .vl-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .vl-mobile-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    background: rgba(3,5,4,.96);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }

  .vl-mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .vl-mobile-menu__list {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .vl-mobile-menu__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    color: var(--muted);
    font-weight: 700;
  }

  .vl-mobile-menu__list a:hover {
    color: var(--text);
    background: rgba(255,255,255,.055);
  }
}