*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:root {
  --bg: #f5f4f0;
  --bg2: #eeede9;
  --surface: #ffffff;
  --surface2: #f9f8f5;
  --ink: #1a365c;
  --ink2: #1c2736;
  --ink3: #3d4a5c;
  --ember: #f07f1a;
  --ember2: #ff9a3c;
  --grove: #39a654;
  --stone: #8a8fa0;
  --rule: rgba(13, 17, 23, 0.08);
  --rule2: rgba(13, 17, 23, 0.12);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* subtle dot grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(13, 17, 23, 0.08) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 20px;
  }
}

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid var(--rule2);
  background: rgba(245, 244, 240, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-mark {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 4px 12px;
  border-radius: 3px;
  position: relative;
}

.nav-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

.nav-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ember);
}

.nav-cta {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--ink);
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--ember);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-inner {
    padding: 0 20px;
  }
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 110px 48px 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/fondo.png");
  background-position: right 80%;
  background-size: 90%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  filter: grayscale(100%);
  opacity: 0.3;
}

.hero-bg-num {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(30vw, 38vw, 40vw);
  color: rgba(13, 17, 23, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero-left {
  position: relative;
  z-index: 2;
  transition: padding 0.3s ease;
}

@media (max-width: 1360px) {
  .hero-left {
    padding-left: 80px;
  }
}

@media (max-width: 1150px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .hero-panel {
    width: 100%;
    margin-bottom: 0;
  }
}

@media (max-width: 900px) {
  .hero-left {
    padding-left: 0;
  }

  .hero {
    padding: 88px 20px 60px;
    justify-content: flex-start;
  }
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 32px;
}

.hero-overline::before,
.hero-overline::after {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--ember);
}

.hero-h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(5rem, 9vw, 11rem);
  line-height: 0.93;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 40px;
}

.hero-h1 span {
  color: var(--ember);
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink3);
  max-width: 520px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* .hero-desc.reveal.d2 {
        margin-top: 15px;
      }
      .hero-desc.reveal.d2 em{
        font-size: 20px;
        color: var(--ink);
      } */
.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-prime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-prime:hover {
  background: var(--ember);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(240, 127, 26, 0.25);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink3);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: 1.5px solid var(--rule2);
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-line:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Hero panel */
.hero-panel {
  background: var(--surface);
  border: 1px solid var(--rule2);
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 4px 32px rgba(13, 17, 23, 0.06);
  overflow: hidden;
}

.hero-panel video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  max-width: 100%;
  background: #000;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.panel-row:first-child {
  padding-top: 0;
}

.panel-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.panel-sub {
  font-size: 0.68rem;
  color: var(--stone);
  margin-top: 4px;
  opacity: 0.7;
}

.panel-val {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.6rem;
  color: var(--ink);
  line-height: 1;
}

.panel-val.em {
  color: var(--ember);
}

.panel-val.gr {
  color: var(--grove);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

/* Hero character image */
.hero-personaje {
  position: absolute;
  left: clamp(-80px, -5vw, -40px);
  bottom: 0;
  height: clamp(500px, 85vh, 700px);
  width: auto;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.92;
}

@media (max-width: 1600px) {
  .hero-personaje {
    height: clamp(400px, 80vh, 650px);
    left: clamp(-100px, -8vw, -50px);
  }
}

@media (max-width: 1200px) {
  .hero-personaje {
    display: none;
  }
}

.hero-scroll-hint i {
  animation: bounce 0.9s infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(5px);
  }
}

/* ── TICKER ── */
.ticker {
  background: var(--ink);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 56px;
  animation: ticker 24s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-track span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.ticker-track .sep {
  color: var(--ember);
  opacity: 1;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ── SECTION EYEBROW ── */
.section-eyebrow {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
  align-items: center;
}

.section-eyebrow-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 24px;
}

.section-eyebrow-text .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}

/* ── MVV ── */
.mvv-icon {
  font-size: 2rem;
  color: var(--ember);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.mvv-cell {
  transition: all 0.25s ease;
  border-top: 3px solid transparent;
}

.mvv-cell:hover {
  border-top-color: var(--ember);
}

.mvv-section {
  padding: 60px 120px;
  background: var(--bg);
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--rule2);
}

#pdd .mvv-grid {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .mvv-grid,
  #pdd .mvv-grid {
    grid-template-columns: 1fr;
  }
}

.mvv-cell {
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  transition: background 0.3s;
}

.mvv-cell:hover {
  background: var(--surface2);
}

.mvv-cell-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 6rem;
  color: rgba(13, 17, 23, 0.04);
  position: absolute;
  bottom: 16px;
  right: 24px;
  line-height: 1;
}

.mvv-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 20px;
}

.mvv-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1;
}

.personaje-sit-tablet {
  position: absolute;
  bottom: clamp(50%, 70%, 85%);
  right: clamp(-100px, -5vw, 10px);
  width: clamp(150px, 20vw, 220px);
  z-index: 10;
  pointer-events: none;
  opacity: 0.95;
}

.mvv-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink3);
  max-width: 420px;
}

.mvv-body ul {
  padding-left: 32px;
}

.mvv-body ul li {
  margin-bottom: 4px;
}

.mvv-big {
  grid-column: 1/-1;
  padding: 72px 48px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mvv-big-quote {
  font-family: "Barlow", sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
}

.mvv-big-video {
  font-family: "Barlow", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.9rem, 1vw, 2.4rem);
  line-height: 1.3;
  margin-top: 1rem;
}

.mvv-big-video strong {
  font-family: "Barlow", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(0.9rem, 1vw, 2.4rem);
  line-height: 1.3;
  color: var(--ember);
}

.mvv-big-quote strong {
  color: var(--ember);
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
}

.mvv-big-origin {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* ── MVV NORTE (dark variant) ── */
.mvv-nord-section {
  padding: 120px 0;
  background: var(--ink);
}

.mvv-nord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .mvv-nord-grid {
    grid-template-columns: 1fr;
  }
}

.mvv-nord-card {
  padding: 64px 52px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: background 0.3s;
}

.mvv-nord-card:last-child {
  border-right: none;
}

.mvv-nord-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.mvv-nord-card:hover::before {
  transform: scaleX(1);
}

.mvv-nord-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.mvv-nord-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  bottom: 12px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
}

.mvv-nord-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 20px;
}

.mvv-nord-icon {
  font-size: 2.2rem;
  color: var(--ember);
  margin-bottom: 24px;
  opacity: 0.85;
}

.mvv-nord-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1;
}

.mvv-nord-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.52);
  max-width: 420px;
}

.mvv-nord-quote {
  padding: 60px 52px;
  background: rgba(240, 127, 26, 0.07);
  border-top: 1px solid rgba(240, 127, 26, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.mvv-nord-quote-line {
  font-family: "Barlow", sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
}

.mvv-nord-quote-line strong {
  color: var(--ember);
  font-style: normal;
  font-weight: 700;
}

.mvv-nord-quote-source {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .mvv-nord-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 28px;
  }

  .mvv-nord-quote {
    padding: 48px 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── VALORES ── */
.valores-section {
  padding: 60px 120px;
  background: var(--bg2);
}

.valores-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.val-personaje {
  width: 220px;
  max-width: none;
  justify-self: center;
  align-self: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .valores-header {
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
  }
}

.valores-h2, .method-h2  {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1rem, 5vw, 7rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--ink);
}

.valores-h2 span {
  color: var(--ember);
}

.valores-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink3);
  font-weight: 300;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule2);
  border-left: 1px solid var(--rule2);
}

@media (max-width: 900px) {
  .valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
}

.val-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--rule2);
  border-bottom: 1px solid var(--rule2);
  background: var(--surface);
  transition: background 0.25s;
}

.val-cell:hover {
  background: var(--bg);
}

.val-cell:hover .val-icon-box {
  background: var(--ember);
  border-color: var(--ember);
}

.val-cell:hover .val-icon-box i {
  color: var(--surface);
}

.val-cell--decisions {
  position: relative;
  overflow: visible;
}


.val-icon-box {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--rule2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.25s;
}

.val-icon-box i {
  font-size: 0.95rem;
  color: var(--stone);
  transition: color 0.25s;
}

.val-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}

.val-text {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--ink3);
}

/* ── METODOLOGÍA ── */
.method-section {
  padding: 60px 120px;
  background: var(--bg);
}

.method-header {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  gap: 40px;
  align-items: center;
}

.method-personaje {
  width: 220px;
  max-width: none;
  justify-self: center;
  align-self: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.95;
}

.method-h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 7rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--ink);
}

.method-h2 em {
  color: var(--grove);
  font-style: normal;
}

.method-dialog {
  justify-self: end;
  position: relative;
  max-width: 520px;
  width: min(520px, 100%);
  background: var(--surface);
  border: 1px solid var(--rule2);
  border-radius: 0px 28px 28px 28px;
  padding: 24px 30px;
  box-shadow: 0 24px 50px rgba(13, 17, 23, 0.08);
  margin-top: 12px;
  z-index: 20;
}

.method-sub {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink3);
  font-weight: 300;
}

@media (max-width: 900px) {
  .method-dialog {
    justify-self: stretch;
    width: 100%;
  }

  .method-dialog::after {
    right: 28px;
  }
}

.steps-list {
  border: 1px solid var(--rule2);
}

.step-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: stretch;
  border-bottom: 1px solid var(--rule2);
  background: var(--surface);
  transition: background 0.25s;
}

.step-row:last-child {
  border-bottom: none;
}

.step-row:hover {
  background: var(--surface2);
}

.step-row:hover .step-number {
  color: var(--ember);
}

.step-row:hover .step-icon-col i {
  color: var(--grove);
}

.step-num-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule2);
  padding: 32px;
}

.step-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3.5rem;
  color: rgba(13, 17, 23, 0.08);
  line-height: 1;
  transition: color 0.25s;
}

.step-body {
  padding: 36px 40px;
}

.step-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}

.step-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--ink3);
}

.step-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 36px;
  border-left: 1px solid var(--rule2);
}

.step-icon-col i {
  font-size: 1.5rem;
  color: rgba(13, 17, 23, 0.1);
  transition: color 0.25s;
}

@media (max-width: 768px) {
  .step-row {
    grid-template-columns: 80px 1fr;
  }

  .step-icon-col {
    display: none;
  }
}

/* ── LEAD FORM ── */
.lead-section {
  background: var(--bg2);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--rule2);
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: 1fr;
  }
}

.lead-copy {
  padding: 80px 60px;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.lead-copy::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(240, 127, 26, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.lead-h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 4.5vw, 5.5rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  color: var(--surface);
  margin-bottom: 28px;
}

.lead-h2 span {
  color: var(--ember);
}

.lead-p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  max-width: 420px;
}

.lead-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 16px;
}

.perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grove);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(57, 166, 84, 0.15);
}

.perk span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.lead-form-wrap {
  padding: 80px 60px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 36px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-step {
  animation: fadeIn 0.3s ease;
}

.step-indicator {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ember);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fgroup {
  margin-bottom: 16px;
}

.fgroup label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.fgroup input,
.fgroup select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--rule2);
  border-radius: 3px;
  padding: 14px 18px;
  color: var(--ink);
  font-family: "Barlow", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  transition:
    border 0.2s,
    background 0.2s;
  appearance: none;
}

.fgroup input:focus,
.fgroup select:focus {
  outline: none;
  border-color: var(--ember);
  background: rgba(240, 127, 26, 0.03);
}

.fgroup input::placeholder {
  color: var(--stone);
}

.submit-btn {
  width: 100%;
  background: var(--ink);
  color: var(--surface);
  border: none;
  padding: 16px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Barlow", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.submit-btn:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(240, 127, 26, 0.25);
}

.form-legal {
  font-size: 0.63rem;
  color: var(--stone);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.04em;
}

.scheduler-modal {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 500;
}

.scheduler-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scheduler-dialog {
  width: min(100%, 520px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(13, 17, 23, 0.28);
  padding: 20px;
  position: relative;
}

.scheduler-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(13, 17, 23, 0.06);
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
}

.scheduler-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.1rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.scheduler-sub {
  font-size: 0.92rem;
  color: var(--ink3);
  margin-bottom: 22px;
  max-width: 360px;
}

.scheduler-summary {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: linear-gradient(135deg, #f6f8fb, #eef2f8);
  border: 1px solid rgba(26, 54, 92, 0.08);
  border-radius: 12px;
  margin-bottom: 14px;
}

.scheduler-summary i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(39, 133, 255, 0.12);
  color: #2f8ef8;
  flex-shrink: 0;
}

.scheduler-summary strong {
  display: block;
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.scheduler-summary span {
  display: block;
  font-size: 0.82rem;
  color: var(--stone);
}

.scheduler-field {
  position: relative;
  margin-bottom: 18px;
}

.scheduler-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink2);
  margin-bottom: 10px;
}

.scheduler-required {
  color: #db6a1a;
}

.datetime-trigger {
  width: 100%;
  border: 2px solid #d7e2f1;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.datetime-trigger.open,
.datetime-trigger:hover {
  border-color: #2f8ef8;
  box-shadow: 0 0 0 4px rgba(47, 142, 248, 0.12);
}

.datetime-trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.datetime-trigger-label {
  font-size: 1.05rem;
  color: #5f6f83;
}

.datetime-trigger-value {
  font-size: 0.82rem;
  color: var(--stone);
}

.datetime-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 142, 248, 0.12);
  color: #2f74d0;
  font-size: 0.83rem;
  font-weight: 600;
}

.scheduler-picker {
  position: relative;
  margin-top: 8px;
  width: 100%;
  background: #fff;
  border: 1px solid rgba(29, 40, 55, 0.1);
  border-radius: 16px;
  padding: 14px 14px 10px;
  display: none;
  z-index: 3;
}

.scheduler-picker.open {
  display: block;
}

.scheduler-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.scheduler-month {
  font-size: 1rem;
  color: #4a5568;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scheduler-nav {
  border: none;
  background: transparent;
  color: #4a5568;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.scheduler-nav:hover {
  background: rgba(47, 142, 248, 0.08);
  color: #2f8ef8;
}

.scheduler-weekdays,
.scheduler-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.scheduler-weekdays {
  margin-bottom: 8px;
}

.scheduler-weekdays span {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  padding: 8px 0;
}

.day-btn {
  height: 34px;
  width: 34px;
  margin: 1px auto;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: #3c4658;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.day-btn.available:hover {
  border-color: rgba(47, 142, 248, 0.5);
}

.day-btn.selected {
  border-color: rgba(73, 102, 153, 0.45);
  background: #fff;
}

.day-btn.muted,
.day-btn.disabled {
  color: #d2d7df;
  cursor: not-allowed;
}

.scheduler-time-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 14px 8px 6px;
  border-top: 1px solid rgba(29, 40, 55, 0.08);
}

.scheduler-time-select {
  border: none;
  background: rgba(245, 247, 250, 0.95);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 1.1rem;
  text-align: center;
  color: var(--ink2);
  appearance: none;
}

.scheduler-time-divider {
  font-size: 1.4rem;
  color: #6b7280;
  font-weight: 600;
}

.scheduler-timezone {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #315fd3;
  padding-top: 8px;
}

.scheduler-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.scheduler-secondary,
.scheduler-primary {
  flex: 1;
  border-radius: 14px;
  padding: 14px 16px;
  font-family: "Barlow", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.scheduler-secondary {
  border: 1px solid rgba(29, 40, 55, 0.12);
  background: #fff;
  color: var(--ink3);
}

.scheduler-primary {
  border: none;
  background: var(--ink);
  color: var(--surface);
}

.scheduler-primary:hover {
  background: var(--ember);
}

.scheduler-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--stone);
  text-align: center;
}

@media (max-width: 640px) {
  .scheduler-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .scheduler-dialog {
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 24px 18px 20px;
  }

  .scheduler-actions {
    flex-direction: column-reverse;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.f-brand-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  letter-spacing: 0.04em;
  color: var(--surface);
  line-height: 1;
  margin-bottom: 12px;
}

.f-brand-name span {
  color: var(--ember);
}

.f-brand-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.3);
  max-width: 260px;
}

.f-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.f-social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.f-social:hover {
  border-color: var(--ember);
  color: var(--ember);
}

.f-col-head {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.f-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.f-list li {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-list a {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.f-list a:hover {
  color: var(--ember);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--grove);
  color: var(--surface);
  padding: 14px 24px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 32px rgba(57, 166, 84, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- MEJORAS CALENDARIO MOBILE --- */
@media (max-width: 640px) {
  .scheduler-modal {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 0;
    height: 100vh;
    overflow-y: auto;
  }

  .scheduler-dialog {
    min-height: 97vh;
    max-height: 92vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .scheduler-picker {
    position: relative;
    top: 0;
    margin-top: 14px;
    max-height: none;
    overflow-y: visible;
  }

  .day-btn {
    height: 36px;
    width: 36px;
    font-size: 0.9rem;
  }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: 0.1s;
}

.reveal.d2 {
  transition-delay: 0.2s;
}

.reveal.d3 {
  transition-delay: 0.3s;
}

.reveal.d4 {
  transition-delay: 0.4s;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  background: rgba(245, 244, 240, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--rule2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.nav-mobile-menu.open {
  max-height: 400px;
}

.nav-mobile-menu a {
  display: block;
  padding: 15px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-mobile-menu a:hover {
  color: var(--ember);
  background: var(--bg2);
}

.nav-mobile-menu .nav-mobile-cta {
  margin: 12px 20px 16px;
  text-align: center;
  background: var(--ink);
  color: var(--surface) !important;
  border-radius: 3px;
  font-weight: 700;
  border-bottom: none;
}

.nav-mobile-menu .nav-mobile-cta:hover {
  background: var(--ember);
}

@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }
}

/* ── RESPONSIVE: tablets (≤768px) ── */
@media (max-width: 768px)  {
  .mvv-section,
  .mvv-nord-section,
  .valores-section,
  .method-section {
    padding: 72px 0;
  }

  .valores-header {
    margin-bottom: 48px;
  }

  .method-header {
    margin-bottom: 48px;
    
  }

  .mvv-cell {
    padding: 40px 24px;
  }

  .mvv-big {
    padding: 48px 24px;
    gap: 24px;
  }

  .val-cell {
    padding: 28px 20px;
  }

  .hero-panel {
    padding: 28px 24px;
  }

  .panel-val {
    font-size: 2.2rem;
  }
}

/* ── RESPONSIVE: small phones (≤480px) ── */
@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 88px 16px 56px;
  }

  .hero::before {
    opacity: 0.3;
  }

  .hero-h1 {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  .hero-overline {
    margin-bottom: 20px;
    font-size: 0.6rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    gap: 12px;
  }

  .btn-prime,
  .btn-line {
    padding: 13px 20px;
    font-size: 0.74rem;
  }

  .hero-panel {
    padding: 20px 16px;
  }

  .panel-val {
    font-size: 2rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  .mvv-section,
  .mvv-nord-section,
  .valores-section,
  .method-section {
    padding: 52px 0;
  }

  .mvv-cell {
    padding: 32px 16px;
  }

  .mvv-big {
    padding: 36px 16px;
  }

  .mvv-big-quote {
    font-size: clamp(1.1rem, 5vw, 1.7rem);
  }

  .mvv-title {
    font-size: 2.8rem;
  }

  .valores-h2, .method-h2 {
    font-size: clamp(2.3rem, 6vw, 7rem);
  }

  .step-row {
    grid-template-columns: 56px 1fr;
  }

  .step-num-col {
    padding: 20px 12px;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .step-body {
    padding: 24px 16px;
  }

  .step-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 0.82rem;
  }

  .lead-copy {
    padding: 48px 20px;
  }

  .lead-form-wrap {
    padding: 48px 20px;
  }

  .lead-h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  footer {
    padding: 44px 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .values-desc {
    font-size: 0.9rem;
  }
}

/* ── RESPONSIVE: lead section ≤900px ── */
@media (max-width: 900px) {
  .lead-copy {
    padding: 64px 40px;
  }

  .lead-form-wrap {
    padding: 64px 40px;
  }
  
}

/* ── RESPONSIVE: tiny screens (≤360px) ── */
@media (max-width: 360px) {
  .panel-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .panel-val {
    font-size: 1.8rem !important;
  }

  .hero-h1 {
    font-size: clamp(2.8rem, 14vw, 4.5rem);
  }

  .btn-prime,
  .btn-line {
    width: 100%;
    justify-content: center;
  }
}

/* ── OVERFLOW GUARD ── */
html {
  overflow-x: hidden;
}

/* Prevent grid children from blowing out their container */
.hero-inner > *,
.mvv-grid > *,
.mvv-nord-grid > *,
.valores-grid > *,
.step-body,
.footer-top > * {
  min-width: 0;
  overflow-wrap: break-word;
}

/* ── HERO: mid tablets (481–900px) ── */
@media (min-width: 481px) and (max-width: 900px) {
  .hero-h1 {
    font-size: clamp(3.5rem, 9vw, 6.5rem);
  }

}

/* ── LEAD FORM: tablet (≤768px) ── */
@media (max-width: 768px) {
  .lead-copy,
  .lead-form-wrap {
    padding: 52px 24px;
  }

  .footer-top {
    gap: 28px;
  }

}

/* ── MVV-NORD: small phones (≤480px) ── */
@media (max-width: 480px) {
  .mvv-nord-card {
    padding: 36px 16px;
  }

  .mvv-nord-title {
    font-size: 2.6rem;
  }

  .mvv-nord-quote {
    padding: 36px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .mvv-nord-quote-line {
    font-size: 1.2rem;
  }
}

/* ── STEP ROW: mid phones (≤600px) ── */
@media (max-width: 600px) {
  .step-row {
    grid-template-columns: 56px 1fr;
  }

  .step-num-col {
    padding: 20px 10px;
  }

  .step-number {
    font-size: 2.2rem;
  }

  .step-body {
    padding: 24px 14px;
  }
}

/*responsive personaje* y section*/
@media (max-width: 767px) {
  /* móvil */
  .method-personaje {
   width: clamp(145px, 95.04px, 220px)

  }

  .method-dialog {
    display: none;
  }

  .method-sub {
    font-size: 0.8rem;
    width: 9rem;
  }

  .personaje-sit-tablet {
    bottom: clamp(85%, 87%, 84%);
    right: clamp(-100px, 0vw, 10px);
    width: 150px;

  }

  .hero::before {
    background-position: right 100%;
    background-size: 120%;
  }

  .valores-header .val-personaje {
    width: clamp(145px, 22vw, 220px);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* tablet */
  .valores-header .val-personaje {
    width: 180px;
    right: clamp(-121px, -10vw, -47px);
  }

  .method-personaje {
    width: 190px;
    right: 365px;
    top: -82px;
  }


  .personaje-sit-tablet {
    bottom: clamp(50%, 90%, 78%);
    right: clamp(-100px, 0vw, 10px);
    width: 180px;
  }

  .mvv-section,
  .valores-section,
  .method-section {
    padding: 60px 0;
  }
}

@media (min-width: 1024px) {
  /* desktop */
  .method-personaje {
    width: 220px;
    right: 444px;
    top: 0px;
  }

  .method-dialog {
    max-width: 467px;
    margin-top: 120px;
  }

  .personaje-sit-tablet {
    bottom: clamp(50%, 80%, 71%);
    right: clamp(0px, 0vw, 10px);
  }

  .wrap {
    padding: 0px 0px;
  }
}
/*Desktop grande*/
@media (min-width: 1440px) {
  .method-personaje {
    top: 72px;
  }
    .personaje-sit-tablet {
    bottom: clamp(50%, 80%, 69%);
    right: clamp(0px, 0vw, 10px);
  }
}
