/*
Theme Name: generatepress-child
Template: generatepress
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #071109;
  --bg-soft: #0c1710;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f7f3;
  --muted: #b7c2b8;
  --green: #7dff8b;
  --green-2: #36d865;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --radius-sm: 18px;
  --container: min(1240px, 92%);
  --font-body: "Manrope", sans-serif;
  --font-heading: "Space Grotesk", "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: #1c241d;
  background: #ffffff;
}

/* home background */
body.home,
body.home #page,
body.home .site,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.home .inside-article {
  background:
    radial-gradient(circle at top left, rgba(125, 255, 139, 0.08), transparent 25%),
    radial-gradient(circle at bottom right, rgba(54, 216, 101, 0.08), transparent 25%),
    linear-gradient(180deg, #061008 0%, #0a120d 100%);
}

/* remove default white boxes on home */
body.home .inside-article,
body.home .separate-containers .inside-article,
body.home .one-container .container,
body.home .content-area,
body.home .site-main,
body.home .widget {
  background: transparent !important;
  box-shadow: none !important;
}

/* typography */
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.page-header h1,
.main-title,
.widget-title,
.site-logo,
.site-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
  color: #101711;
  margin-bottom: 0.7em;
}

h1,
.entry-title,
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.05rem;
}

h6 {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

p,
li,
.entry-content p,
.entry-content li,
.widget p,
.widget li {
  font-size: 1.04rem;
  line-height: 1.8;
  letter-spacing: -0.01em;
  margin-bottom: 1.1em;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  opacity: 0.92;
}

/* home text */
body.home,
body.home h1,
body.home h2,
body.home h3,
body.home h4,
body.home h5,
body.home h6,
body.home .entry-title,
body.home .page-header h1,
body.home .main-title,
body.home .widget-title,
body.home .site-logo a,
body.home .site-branding a {
  color: var(--text) !important;
}

body.home p,
body.home li,
body.home span,
body.home label,
body.home small {
  color: var(--muted);
}

body.home a,
body.home .entry-content a,
body.home .widget a {
  color: var(--green);
}

body.home input,
body.home textarea,
body.home select {
  color: #1a1a1a;
  background: #ffffff;
}

/* layout */
.wb-home {
  width: var(--container);
  margin: 0 auto;
  padding: 1.2rem 0 4.5rem;
  color: var(--text);
}

/* badges */
.wb-pill,
.wb-eyebrow,
.wb-card-tag,
.wb-floating-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--green);
}

.wb-pill {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(125, 255, 139, 0.18);
  background: rgba(125, 255, 139, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

/* hero */
.wb-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: stretch;
  margin-bottom: 3rem;
}

.wb-hero__visual,
.wb-hero__content {
  grid-area: 1 / 1;
}

.wb-hero__visual {
  position: relative;
  min-height: 620px;
}

.wb-hero__image {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0d1510;
}

.wb-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.03);
}

.wb-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 8, 0.14) 0%, rgba(6, 16, 8, 0.38) 42%, rgba(6, 16, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(6, 16, 8, 0.55) 0%, rgba(6, 16, 8, 0.12) 55%, rgba(6, 16, 8, 0.18) 100%);
}

.wb-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.2rem, 2vw, 2rem);
}


.wb-hero__content-inner {
  width: min(680px, 100%);
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 24px;

  background: rgba(7, 17, 9, 0.18);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: none;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.wb-hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 0.7rem 0 0.9rem;
  max-width: 10ch;
  color: #ffffff;
  text-transform: none;
}

.wb-subtitle {
  color: rgba(243, 247, 243, 0.86);
  font-size: 1.02rem;
  max-width: 58ch;
  line-height: 1.72;
  margin: 0;
}

.wb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
}

.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.92rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.25s ease;
}

.wb-btn:hover {
  transform: translateY(-2px);
}

.wb-btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: #061008 !important;
  box-shadow: 0 10px 30px rgba(54, 216, 101, 0.28);
}

.wb-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

/* stats */
.wb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.wb-stat {
  padding: 1rem 1rem 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  transition: 0.25s ease;
}

.wb-stat strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
  color: var(--text);
  line-height: 1.3;
}

.wb-stat span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* cards and sections */
.wb-grid-intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.25rem;
  margin: 2.2rem 0 4.5rem;
}

.wb-panel,
.wb-card-stack,
.wb-showcase__left,
.wb-sidebar,
.wb-banner__content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.wb-panel,
.wb-card-stack,
.wb-showcase__left,
.wb-sidebar {
  padding: 1.8rem;
}

.wb-panel--accent {
  background:
    radial-gradient(circle at top left, rgba(125, 255, 139, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.05);
}

.wb-panel h2,
.wb-panel h3,
.wb-showcase h2,
.wb-banner h2,
.wb-card-stack h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text);
}

.wb-panel h2,
.wb-showcase h2,
.wb-banner h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0.8rem 0 0.9rem;
}

.wb-panel h3,
.wb-card-stack h3 {
  font-size: 1.3rem;
  margin: 0.75rem 0 0.65rem;
}

.wb-panel p,
.wb-showcase p,
.wb-banner p,
.wb-card-stack p,
.wb-sidebar p,
.wb-sidebar li {
  color: var(--muted);
  line-height: 1.75;
}

.wb-text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 800;
}

/* showcase */
.wb-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.wb-showcase__left,
.wb-showcase__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wb-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.wb-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  margin: 0;
}

.wb-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(125, 255, 139, 0.55);
}

.wb-card-stack--large {
  min-height: 220px;
}

.wb-card-stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* banner */
.wb-banner {
  margin-top: 2rem;
}

.wb-banner__content {
  padding: 3.2rem 1.6rem;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(125, 255, 139, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.wb-banner p {
  max-width: 760px;
  margin: 0.9rem auto 1.7rem;
}

/* sidebar */
.wb-sidebar {
  margin-top: 2.5rem;
}

.wb-sidebar .widget {
  margin-bottom: 1.7rem;
}

.wb-sidebar .widget:last-child {
  margin-bottom: 0;
}

.wb-sidebar h2,
.wb-sidebar h3,
.wb-sidebar .widget-title {
  color: var(--text) !important;
}

.wb-sidebar a {
  color: var(--green);
}

/* hover */
.wb-panel,
.wb-card-stack,
.wb-stat,
.wb-banner__content,
.wb-showcase__left {
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.wb-panel:hover,
.wb-card-stack:hover,
.wb-stat:hover,
.wb-showcase__left:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 255, 139, 0.22);
}

/* white pages */
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4,
body:not(.home) h5,
body:not(.home) h6,
body:not(.home) .entry-title,
body:not(.home) .page-header h1,
body:not(.home) .main-title,
body:not(.home) .widget-title {
  color: #111a12;
}

body:not(.home) p,
body:not(.home) li,
body:not(.home) span {
  color: #334136;
}

/* responsive */
@media (max-width: 1100px) {
  .wb-grid-intro,
  .wb-showcase {
    grid-template-columns: 1fr;
  }

  .wb-card-stack-grid,
  .wb-stats {
    grid-template-columns: 1fr 1fr;
  }

  .wb-hero {
    min-height: auto;
  }

  .wb-hero__visual {
    min-height: 560px;
  }

  .wb-hero__content h1 {
    max-width: 11ch;
  }
}

@media (max-width: 768px) {
  body,
  button,
  input,
  select,
  textarea {
    font-size: 15.5px;
  }

  p,
  li,
  .entry-content p,
  .entry-content li {
    font-size: 1rem;
    line-height: 1.75;
  }

  .wb-home {
    width: min(100%, 94%);
    padding-top: 0.8rem;
    padding-bottom: 3.5rem;
  }

  .wb-hero {
    margin-bottom: 2rem;
  }

  .wb-hero__visual {
    min-height: 460px;
  }

  .wb-hero__content {
    align-items: flex-end;
    padding: 0.95rem;
  }

  .wb-hero__content-inner {
    width: 100%;
    padding: 0.95rem;
    border-radius: 20px;
  }

  .wb-hero__content h1 {
    font-size: clamp(1.7rem, 8.8vw, 2.7rem);
    line-height: 0.98;
    margin: 0.55rem 0 0.75rem;
    max-width: 11ch;
  }

  .wb-subtitle {
    font-size: 0.96rem;
    line-height: 1.65;
    max-width: 100%;
  }

  .wb-hero__actions {
    gap: 0.7rem;
    margin-top: 1.1rem;
  }

  .wb-btn {
    width: 100%;
    min-height: 48px;
    padding: 0.9rem 1.1rem;
  }

  .wb-stats,
  .wb-card-stack-grid {
    grid-template-columns: 1fr;
  }

  .wb-panel,
  .wb-card-stack,
  .wb-showcase__left,
  .wb-sidebar {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .wb-banner__content {
    padding: 2.2rem 1.1rem;
    border-radius: 24px;
  }

  .wb-grid-intro {
    margin: 1.8rem 0 3.5rem;
    gap: 1rem;
  }

  .wb-showcase {
    gap: 1rem;
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 480px) {
  .wb-home {
    width: min(100%, 95%);
  }

  .wb-hero__visual {
    min-height: 400px;
  }

  .wb-hero__content {
    padding: 0.8rem;
  }

  .wb-hero__content-inner {
    padding: 0.85rem;
  }

  .wb-pill,
  .wb-eyebrow,
  .wb-card-tag,
  .wb-floating-label {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }

  .wb-hero__content h1 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .wb-subtitle {
    font-size: 0.93rem;
  }
}

/* botones con icono */
.wb-btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* iconos */
.wb-btn--icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* hover más moderno */
.wb-btn--icon:hover svg {
  transform: translateX(2px);
}

/* spacing dentro de panel */
.wb-panel .wb-btn {
  margin-top: 1.2rem;
}





/* ===== HEADER ===== */
.site-header {
  background: rgba(6, 16, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.main-navigation {
  background: transparent;
}

/* links menú */
.main-navigation a {
  color: #eaf3ea;
  font-weight: 600;
}

.main-navigation a:hover {
  color: var(--green);
}

/* logo */
.site-logo a,
.site-branding a {
  color: #ffffff !important;
}

/* ===== MENU COLOR FIX ===== */

/* links normales */
.main-navigation a,
.main-navigation .menu-item a {
  color: #ffffff !important;
}

/* hover */
.main-navigation a:hover,
.main-navigation .menu-item a:hover {
  color: var(--green) !important;
}

/* estado activo (página actual) */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--green) !important;
}

.custom-footer {
  background: #061008;
  color: #dce7dd;
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.08);


}

.custom-footer__top {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.custom-footer__col h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.custom-footer__col p,
.custom-footer__col li,
.custom-footer__col a {
  color: #b7c2b8;
}

.custom-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-footer__col li {
  margin-bottom: 0.65rem;
}

.custom-footer__col a {
  text-decoration: none;
}

.custom-footer__col a:hover {
  color: var(--green);
}

.custom-footer__bottom {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.custom-footer__bottom p {
  margin: 0;
  color: #97a598;
  font-size: 0.94rem;
}





@media (max-width: 768px) {
  /* quitar contenedor superior vacío */
  .site-header .inside-header,
  .site-branding,
  .site-logo,
  .site-branding-container,
  .header-widget {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
