/* ================================
   OBstudios — style.css
   ================================ */

:root {
  --orange:      #E87913;
  --orange-dark: #C4620A;
  --black:       #1A1A1A;
  --white:       #FFFFFF;
  --cream:       #FDF0E0;
  --font:        'Inter', sans-serif;
  --radius:      12px;
  --transition:  0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.site-wrap {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

/* ================================
   SECTION THEMES
   ================================ */
.section--dark  { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--black); }
.section--orange { background: var(--orange); color: var(--white); }

/* Light section overrides */
.section--light .section-tag {
  color: var(--orange);
  background: rgba(232, 121, 19, 0.08);
  border-color: rgba(232, 121, 19, 0.2);
}
.section--light .section-title { color: var(--black); }
.section--light .gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(232, 121, 19, 0.35);
}
.btn--primary:hover { background: var(--orange-dark); box-shadow: 0 8px 32px rgba(232,121,19,0.5); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--dark {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.btn--dark:hover { background: #2a2a2a; }
.btn--nav { background: var(--orange); color: var(--white); padding: 10px 22px; font-size: 14px; }
.btn--lg { padding: 18px 48px; font-size: 17px; }
.btn--full { width: 100%; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232, 121, 19, 0.1);
  border: 1px solid rgba(232, 121, 19, 0.2);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── SCROLL PROGRESS BAR ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--orange), #ffb347);
  z-index: 200;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(232,121,19,0.6);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.75s var(--transition), transform 0.75s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal--left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal--left.visible { opacity: 1; transform: translateX(0); }

.reveal--right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal--right.visible { opacity: 1; transform: translateX(0); }

.reveal--scale {
  opacity: 0;
  transform: scale(0.92) translateY(24px);
  transition: opacity 0.75s var(--transition), transform 0.75s var(--transition);
}
.reveal--scale.visible { opacity: 1; transform: scale(1) translateY(0); }

/* statement animates in on its own */
.statement__text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--transition), transform 1s var(--transition);
}
.statement__text.visible { opacity: 1; transform: translateY(0); }

/* ================================
   NAV
   ================================ */
.nav {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 80px);
  max-width: 1160px;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  transition: background 0.3s ease, box-shadow 0.3s ease, top 0.3s ease, transform 0.4s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.nav--hidden {
  transform: translateX(-50%) translateY(-140%);
}
.nav.scrolled {
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  top: 14px;
}
.nav__inner {
  padding: 10px 24px 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo img { height: 64px; width: auto; object-fit: contain; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--orange); }

/* Hamburger (oculto en desktop) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.menu-open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   HERO
   ================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 64px 100px;
  background: var(--black);
}

/* dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* corner geometric shapes */
.hero::after {
  content: '';
  position: absolute;
  top: 120px; right: 64px;
  width: 180px; height: 180px;
  border: 1.5px solid rgba(232,121,19,0.2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: var(--orange);
  top: -250px; left: 50%;
  transform: translateX(-50%);
  animation: float 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 450px; height: 450px;
  background: var(--orange-dark);
  bottom: -120px; right: -120px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 300px; height: 300px;
  background: #ffb347;
  bottom: 80px; left: -80px;
  animation: float 12s ease-in-out infinite 2s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* orange accent block top-left */
.hero__accent {
  position: absolute;
  left: 0; top: 140px;
  width: 6px; height: 120px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  will-change: transform, opacity;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 32px;
}
.hero__badge .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232,121,19,0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(232,121,19,0.3); }
  50%      { box-shadow: 0 0 0 7px rgba(232,121,19,0.08); }
}
.hero__title {
  font-size: clamp(56px, 8.5vw, 104px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 44px;
}
.hero__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll-indicator span {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--orange));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ================================
   MARQUEE
   ================================ */
.marquee-wrap {
  overflow: hidden;
  padding: 20px 0;
  border-top: none;
  border-bottom: none;
}
.marquee-wrap--orange {
  background: var(--orange);
}
.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-wrap--orange .marquee span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0 28px;
}
.marquee-wrap--orange .marquee .sep {
  color: rgba(255,255,255,0.4);
  padding: 0;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================================
   VIDEO SCROLL
   ================================ */
.video-scroll {
  height: 130vh;
  position: relative;
}
.video-scroll__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.video-scroll__sticky video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-scroll__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.video-scroll__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.video-scroll__text.visible {
  opacity: 1;
  transform: translateY(0);
}
.video-scroll__line {
  display: block;
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
  line-height: 1.1;
  text-align: center;
}
.video-scroll__line:last-child { color: var(--orange); }

.video-scroll__progress-wrap {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.video-scroll__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.05s linear;
}

/* ================================
   TOOLS STRIP
   ================================ */
.tools-strip {
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 24px 64px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.tools-strip__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.tools-strip__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.tool-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  transition: opacity 0.25s;
  cursor: default;
}
.tool-logo:hover { opacity: 0.9; }
.tool-logo svg {
  width: 22px;
  height: 22px;
  color: var(--white);
  flex-shrink: 0;
}
.tool-logo span {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .tools-strip { padding: 20px 24px; gap: 24px; }
  .tools-strip__logos { gap: 24px; }
}

/* ================================
   STATEMENT
   ================================ */
.statement {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: 'OBstudios';
  position: absolute;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.statement__text {
  font-size: clamp(24px, 3.5vw, 46px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto;
  color: var(--white);
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--transition), transform 1s var(--transition);
}
.statement__text.visible { opacity: 1; transform: translateY(0); }
.statement__text em { font-style: normal; color: var(--orange); }

/* ================================
   STATS
   ================================ */
.stats {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats__bg-text {
  position: absolute;
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(26,26,26,0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid rgba(26,26,26,0.1);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  display: block;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--orange);
  margin-bottom: 12px;
}
.stat-item__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(26,26,26,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================================
   SERVICIOS (dark)
   ================================ */
.servicios {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.servicios::before {
  content: 'SERVICIOS';
  position: absolute;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.025);
  bottom: 40px;
  right: -20px;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.servicios__list {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* accordion items */
.servicio-item { border-bottom: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.servicio-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.servicio-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  cursor: pointer;
  gap: 20px;
}
.servicio-item__left { display: flex; align-items: center; gap: 20px; }
.servicio-item__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  opacity: 0.5;
  min-width: 28px;
  letter-spacing: 0.05em;
}
.servicio-item__icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.servicio-item:hover .servicio-item__icon,
.servicio-item.open .servicio-item__icon { background: rgba(232,121,19,0.18); }
.servicio-item__icon svg { width: 20px; height: 20px; color: var(--white); transition: color 0.3s; }
.servicio-item:hover .servicio-item__icon svg,
.servicio-item.open .servicio-item__icon svg { color: var(--orange); }
.servicio-item__header h3 {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.servicio-item__arrow {
  font-size: 22px;
  color: rgba(255,255,255,0.25);
  transition: transform 0.35s var(--transition), color 0.3s;
  flex-shrink: 0;
}
.servicio-item:hover .servicio-item__arrow { color: var(--orange); transform: rotate(45deg); }
.servicio-item.open .servicio-item__arrow { color: var(--orange); transform: rotate(45deg); }

.servicio-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition), opacity 0.4s ease;
  opacity: 0;
}
.servicio-item.open .servicio-item__body { max-height: 500px; opacity: 1; }

.servicio-item__desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.servicio-item__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  padding-bottom: 36px;
}
.servicio-item__benefits li {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5;
}
.servicio-item__benefits li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ================================
   HERO VISUAL (code window)
   ================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  text-align: left;
  gap: 40px;
}
.hero__content { max-width: 100%; }
.hero__ctas { justify-content: flex-start; }
.hero__badge { display: inline-flex; }

.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.hero__visual-window {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.hero__visual-bar {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.hero__visual-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.hero__visual-bar span:first-child { background: #ff5f57; }
.hero__visual-bar span:nth-child(2) { background: #ffbd2e; }
.hero__visual-bar span:nth-child(3) { background: #28ca41; }

.hero__visual-lines {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vl {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  animation: typein 0.4s ease both;
}
.vl:nth-child(1) { animation-delay: 0.3s; }
.vl:nth-child(2) { animation-delay: 0.7s; }
.vl:nth-child(3) { animation-delay: 1.1s; }
.vl:nth-child(4) { animation-delay: 1.5s; }
.vl:nth-child(5) { animation-delay: 1.9s; }
@keyframes typein {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.vl__num { color: rgba(255,255,255,0.2); min-width: 20px; font-size: 11px; }
.vl__code { color: rgba(255,255,255,0.7); }
.vl__code em { font-style: normal; color: var(--orange); }
.vl__str { color: #98d89e; }
.vl--cursor .vl__code::after {
  content: '|';
  color: var(--orange);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero__visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px;
  align-self: flex-start;
  animation: typein 0.4s ease 2.2s both;
}
.hero__visual-badge-dot {
  width: 7px; height: 7px;
  background: #28ca41;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(40,202,65,0.25);
  animation: pulse 2s ease-in-out infinite;
}
.hero__visual-orb {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.12;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__visual { display: none; }
  .hero__ctas { justify-content: center; }
  .hero__badge { align-self: center; }
}

/* ================================
   PARA QUIÉN (dark)
   ================================ */
.para-quien { padding: 80px 0 100px; overflow: hidden; }

.para-quien__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.pq-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.pq-card:hover {
  border-color: rgba(232,121,19,0.4);
  background: rgba(232,121,19,0.04);
  transform: translateY(-4px);
}
.pq-card__icon {
  width: 48px; height: 48px;
  background: rgba(232,121,19,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pq-card__icon svg { width: 22px; height: 22px; color: var(--orange); }
.pq-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pq-card p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.55); }

.pq-filosofia {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, rgba(232,121,19,0.08), rgba(232,121,19,0.03));
  border: 1px solid rgba(232,121,19,0.2);
  border-radius: 16px;
  padding: 32px 36px;
}
.pq-filosofia__icon {
  width: 44px; height: 44px;
  background: rgba(232,121,19,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pq-filosofia__icon svg { width: 20px; height: 20px; color: var(--orange); }
.pq-filosofia__text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.pq-filosofia__text p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.6); }

@media (max-width: 700px) {
  .para-quien__grid { grid-template-columns: 1fr; }
  .pq-filosofia { flex-direction: column; gap: 16px; }
}

/* ================================
   FAQ (dark)
   ================================ */
.faq { padding: 80px 0 100px; overflow: hidden; }

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  cursor: pointer;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s;
}
.faq-item__question:hover { color: var(--orange); }
.faq-item__arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.25);
  transition: transform 0.35s var(--transition), color 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-item__question { color: var(--orange); }
.faq-item.open .faq-item__arrow { transform: rotate(45deg); color: var(--orange); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--transition), opacity 0.35s ease;
}
.faq-item.open .faq-item__answer { max-height: 300px; opacity: 1; }
.faq-item__answer p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  padding-bottom: 28px;
}

/* ================================
   POR QUÉ IA (light)
   ================================ */
.porque-ia { padding: 80px 0 100px; overflow: hidden; }

.porque-ia__intro {
  max-width: 700px;
  margin: 0 auto 72px;
  text-align: center;
}
.porque-ia__intro p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.8;
  color: rgba(26,26,26,0.65);
}

.porque-ia__pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pilar {
  background: var(--white);
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  transition: transform 0.3s var(--transition), box-shadow 0.3s;
}
.pilar:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,26,26,0.1);
}
.pilar--center {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-12px);
}
.pilar--center:hover { transform: translateY(-18px); box-shadow: 0 24px 60px rgba(26,26,26,0.25); }

.pilar__icon {
  width: 48px; height: 48px;
  background: rgba(232,121,19,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.pilar--center .pilar__icon { background: rgba(232,121,19,0.2); }
.pilar__icon svg { width: 22px; height: 22px; color: var(--orange); }

.pilar__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
}
.pilar h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 14px;
}
.pilar--center h3 { color: var(--white); }
.pilar p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(26,26,26,0.6);
  margin-bottom: 20px;
}
.pilar--center p { color: rgba(255,255,255,0.6); }
.pilar ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pilar ul li {
  font-size: 13px;
  font-weight: 500;
  color: rgba(26,26,26,0.7);
  display: flex; align-items: flex-start; gap: 8px;
  line-height: 1.4;
}
.pilar--center ul li { color: rgba(255,255,255,0.7); }
.pilar ul li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

/* diferencia */
.porque-ia__diferencia {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 40px 48px;
}
.diferencia__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(26,26,26,0.4);
  text-align: center;
  margin-bottom: 32px;
}
.diferencia__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.diferencia__vs {
  font-size: 20px;
  font-weight: 900;
  color: rgba(26,26,26,0.15);
  letter-spacing: 0.05em;
}
.diferencia__col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.diferencia__col--other .diferencia__col-title { color: rgba(26,26,26,0.4); }
.diferencia__col--ob .diferencia__col-title { color: var(--orange); }
.diferencia__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.diferencia__col ul li {
  font-size: 14px;
  line-height: 1.4;
  display: flex; align-items: flex-start; gap: 8px;
}
.diferencia__col--other ul li { color: rgba(26,26,26,0.45); }
.diferencia__col--other ul li::before {
  content: '✕';
  font-size: 11px;
  color: rgba(26,26,26,0.25);
  flex-shrink: 0;
  margin-top: 1px;
}
.diferencia__col--ob ul li { color: rgba(26,26,26,0.75); font-weight: 500; }
.diferencia__col--ob ul li::before {
  content: '✓';
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .porque-ia__pilares { grid-template-columns: 1fr; }
  .pilar--center { transform: none; }
  .pilar--center:hover { transform: translateY(-6px); }
  .diferencia__grid { grid-template-columns: 1fr; gap: 16px; }
  .diferencia__vs { text-align: center; }
  .porque-ia__diferencia { padding: 32px 24px; }
}

/* ================================
   PROCESO (light)
   ================================ */
.proceso {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}
.proceso::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: 64px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232,121,19,0.15) 30%, rgba(232,121,19,0.15) 70%, transparent);
  pointer-events: none;
}
/* decorative orange square */
.proceso__deco {
  position: absolute;
  bottom: 80px; left: 64px;
  width: 80px; height: 80px;
  border: 3px solid var(--orange);
  opacity: 0.12;
  transform: rotate(20deg);
}

.proceso__steps {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.proceso__steps::before {
  content: '';
  position: absolute;
  left: 46px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--orange) 20%, var(--orange) 80%, transparent);
  opacity: 0.2;
}
.proceso__step {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.proceso__step:last-child { border-bottom: none; }

.step-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--orange);
  opacity: 0.25;
  min-width: 80px;
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  transition: opacity 0.3s;
}
.proceso__step:hover .step-number { opacity: 1; }
.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(26,26,26,0.6);
}

/* ================================
   CTA BAND (orange)
   ================================ */
.cta-band {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.cta-band__inner h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ================================
   CONTACTO (dark)
   ================================ */
.contacto { padding: 80px 0 120px; overflow: hidden; }
.contacto__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.contacto__desc {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}
.contacto__items { display: flex; flex-direction: column; gap: 16px; }
.contacto__item {
  display: flex; align-items: center; gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  font-weight: 500;
}
.contacto__item:hover { color: var(--orange); }
.contacto__item-icon {
  width: 42px; height: 42px;
  background: rgba(232,121,19,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.contacto__item:hover .contacto__item-icon { background: rgba(232,121,19,0.2); }
.contacto__item-icon svg { width: 18px; height: 18px; color: var(--orange); }

.contacto__form { display: flex; flex-direction: column; gap: 16px; }
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 15px 20px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(232,121,19,0.04);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-feedback { font-size: 14px; font-weight: 500; text-align: center; min-height: 20px; }
.form-feedback.success { color: #4ade80; }
.form-feedback.error   { color: #f87171; }

/* ================================
   FOOTER
   ================================ */
.footer {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__logo { height: 68px; width: auto; object-fit: contain; }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer__links { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; font-weight: 500; }
.footer__links a:hover { color: var(--orange); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .hero { padding: 140px 40px 100px; }
  .nav { width: calc(100% - 48px); }
}

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

  /* ORBES DEL HERO — reducir para que no desborden */
  .hero__orb--1 { width: 320px; height: 320px; top: -120px; }
  .hero__orb--2 { width: 200px; height: 200px; right: -60px; bottom: -60px; }
  .hero__orb--3 { width: 160px; height: 160px; left: -40px; }

  /* TEXTOS DECORATIVOS GIGANTES — ocultar en mobile */
  .stats__bg-text { display: none; }
  .servicios::before { display: none; }
  .statement::before { display: none; }

  /* NAV */
  .nav { width: calc(100% - 32px); top: 12px; }
  .nav__inner { flex-wrap: wrap; padding: 10px 16px; gap: 0; }
  .nav__logo { flex: 1; }
  .nav__logo img { height: 48px; }
  .btn--nav { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 10px;
  }
  .nav__links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links a { display: block; padding: 14px 4px; font-size: 16px; }
  .nav.menu-open { border-radius: 20px; }
  .nav.menu-open .nav__links { display: flex; }

  /* HERO */
  .hero { padding: 110px 20px 80px; }
  .hero::after { display: none; }

  /* SECTION PADDING */
  .section-header { margin-bottom: 40px; }
  .statement { padding: 72px 0; }
  .servicios { padding: 60px 0 80px; }
  .porque-ia { padding: 60px 0 80px; }
  .porque-ia__intro { margin: 0 auto 48px; }
  .para-quien { padding: 60px 0 80px; }
  .proceso { padding: 60px 0 80px; }
  .faq { padding: 60px 0 80px; }
  .cta-band { padding: 64px 0; }
  .contacto { padding: 60px 0 80px; }
  .footer { padding: 48px 0 28px; }

  /* STATS */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(26,26,26,0.1); }
  .stat-item:nth-child(2), .stat-item:nth-child(4) { border-right: none; }

  /* PROCESO */
  .proceso__steps::before { left: 28px; }
  .step-number { font-size: 28px; min-width: 56px; }
  .proceso__step { gap: 20px; }
  .proceso::after { display: none; }
  .proceso__deco { display: none; }

  /* CONTACTO + FOOTER */
  .contacto__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__links { gap: 20px; }
}

@media (max-width: 600px) {
  .servicio-item__benefits { grid-template-columns: 1fr; }
  .servicio-item__num { display: none; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
}
