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

:root {
  --bg: #08080c;
  --bg-2: #0e0e14;
  --bg-3: #16161f;
  --border: #1e1e2a;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --white: #eeeef0;
  --gray: #8b8b96;
  --gray-dark: #4a4a55;
  --green: #34d399;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--gray);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* === TYPO === */
.section-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

/* === BTN === */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--full { width: 100%; text-align: center; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(8, 8, 12, 0.9);
  backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
}

.nav__links { display: flex; align-items: center; list-style: none; gap: 28px; }
.nav__links a { font-size: 0.78rem; font-weight: 500; color: var(--gray); transition: color 0.2s; }
.nav__links a:hover { color: var(--white); }

.nav__cta {
  padding: 8px 18px !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  transition: all 0.2s;
}
.nav__cta:hover { background: var(--accent) !important; color: var(--white) !important; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 0.95rem;
  color: var(--gray);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero cards stack */
.hero__right {
  position: relative;
  height: 400px;
}

.hero__card {
  position: absolute;
  width: 320px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero__card--1 { top: 0; right: 0; transform: rotate(2deg); z-index: 3; }
.hero__card--2 { top: 50px; right: 70px; transform: rotate(-1.5deg); z-index: 2; }
.hero__card--3 { top: 100px; right: 140px; transform: rotate(3deg); z-index: 1; }

.hero__card:hover { transform: rotate(0deg) scale(1.05); z-index: 10; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }

.hero__card-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.hero__card-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.hero__card-label {
  font-size: 0.6rem;
  color: var(--gray-dark);
  font-family: 'Space Grotesk', sans-serif;
}

.hero__card-body {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.hero__card-body iframe {
  width: 1280px;
  height: 900px;
  border: none;
  transform: scale(0.25);
  transform-origin: top left;
  pointer-events: none;
}

/* === MARQUEE === */
.marquee {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}

.marquee__track {
  display: flex;
  gap: 20px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.marquee__track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === OFERTA === */
.oferta {
  padding: 48px 0;
  background: var(--bg);
}

.oferta__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 40px 48px;
  border: 1px solid var(--accent);
  background: rgba(99, 102, 241, 0.04);
  position: relative;
  overflow: hidden;
}

.oferta__box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}

.oferta__tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 4px 12px;
  margin-bottom: 12px;
}

.oferta__title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.oferta__title span {
  color: var(--green);
}

.oferta__left p {
  font-size: 0.88rem;
  color: var(--gray);
  max-width: 400px;
}

.oferta__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.oferta__precio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.oferta__antes {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--gray-dark);
  text-decoration: line-through;
}

.oferta__ahora {
  font-family: 'Instrument Serif', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}

@media (max-width: 768px) {
  .oferta__box { flex-direction: column; text-align: center; padding: 32px 24px; }
  .oferta__left p { max-width: 100%; }
}

/* === PLANES === */
.planes {
  padding: 100px 0 80px;
  background: var(--bg);
}

.planes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 48px 0 24px;
}

.plan {
  padding: 40px 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan--main { background: var(--bg-2); }

.plan__tag {
  position: absolute;
  top: 16px; right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
}

.plan__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.plan__price {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.plan__currency {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
  vertical-align: top;
  margin-right: 4px;
}

.plan__decimal {
  font-size: 1.8rem;
  color: var(--gray);
}

.plan__tagline {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.plan__divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.plan__features {
  list-style: none;
  flex: 1;
  margin-bottom: 28px;
}

.plan__features li {
  font-size: 0.82rem;
  color: var(--gray);
  padding: 5px 0 5px 16px;
  position: relative;
}

.plan__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 4px; height: 4px;
  background: var(--accent);
}

.planes__pie {
  font-size: 0.78rem;
  color: var(--gray-dark);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* === TRABAJOS === */
.trabajos {
  padding: 100px 0 80px;
  background: var(--bg-2);
}

.trabajos__list {
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

.trabajo {
  display: grid;
  grid-template-columns: 48px 1fr auto 32px;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.25s;
}

.trabajo:hover {
  padding-left: 12px;
  border-color: var(--accent);
}

.trabajo__index {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.trabajo__info h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
}

.trabajo__info p {
  font-size: 0.8rem;
  color: var(--gray);
}

.trabajo__tipo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 4px 12px;
  border: 1px solid var(--border);
}

.trabajo__arrow svg {
  width: 18px; height: 18px;
  stroke: var(--gray-dark);
  transition: stroke 0.2s, transform 0.2s;
}

.trabajo:hover .trabajo__arrow svg {
  stroke: var(--accent);
  transform: translate(2px, -2px);
}

/* === PROCESO === */
.proceso {
  padding: 100px 0 80px;
  background: var(--bg);
}

.proceso__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.proceso__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.proceso__step {
  display: flex;
  gap: 20px;
  align-items: start;
}

.proceso__num {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.proceso__step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.proceso__step p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* === FAQ === */
.faq {
  padding: 100px 0 80px;
  background: var(--bg-2);
}

.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.faq__list { border-top: 1px solid var(--border); }

.faq__item { border-bottom: 1px solid var(--border); }

.faq__question {
  width: 100%;
  padding: 20px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--accent); }

.faq__question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gray-dark);
  transition: transform 0.3s;
}

.faq__item.open .faq__question::after { transform: rotate(45deg); color: var(--accent); }

.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__answer p { padding-bottom: 20px; font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* === CONTACTO === */
.contacto {
  padding: 100px 0 80px;
  background: var(--bg);
}

.contacto__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contacto__text p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contacto__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #25d366;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.contacto__wa:hover { opacity: 0.85; }
.contacto__wa svg { width: 18px; height: 18px; }

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

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus { border-color: var(--accent); }

.form__group textarea { resize: vertical; }
.form__group select { cursor: pointer; }

/* === FOOTER === */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 32px;
}

.footer__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--white);
}

.footer__sub { font-size: 0.78rem; color: var(--gray-dark); margin-top: 4px; }

.footer__nav { display: flex; gap: 20px; }
.footer__nav a { font-size: 0.78rem; color: var(--gray-dark); transition: color 0.2s; }
.footer__nav a:hover { color: var(--white); }

.footer__copy { font-size: 0.7rem; color: var(--gray-dark); border-top: 1px solid var(--border); padding-top: 16px; }

/* === WA FLOAT === */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
  z-index: 999;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__right { display: none; }
  .planes__grid { grid-template-columns: 1fr; background: none; gap: 16px; }
  .plan { border: 1px solid var(--border); }
  .proceso__layout, .faq__layout, .contacto__layout { grid-template-columns: 1fr; gap: 40px; }
  .trabajo { grid-template-columns: 32px 1fr 32px; }
  .trabajo__tipo { display: none; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed; top: 0; right: -100%;
    width: 260px; height: 100vh;
    flex-direction: column; justify-content: center;
    background: var(--bg-2);
    padding: 40px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border);
  }
  .nav__links.open { right: 0; }
  .nav__burger { display: flex; z-index: 1001; }
  .nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav__burger.active span:nth-child(2) { opacity: 0; }
  .nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .footer__grid { flex-direction: column; gap: 16px; }
  .footer__nav { flex-wrap: wrap; }
}
