/* ============================================================
   ORIGEN MODULAR — sistema visual
   ============================================================ */

:root {
  /* Paleta (extraída del logo) ------------------------------- */
  --ink:        oklch(0.22 0.04 265);   /* azul noche logo */
  --ink-2:      oklch(0.30 0.04 265);
  --ink-soft:   oklch(0.42 0.03 265);

  --gold:       oklch(0.76 0.10 82);    /* dorado mostaza logo */
  --gold-deep:  oklch(0.62 0.10 75);

  --bone:       oklch(0.97 0.008 85);   /* off-white cálido */
  --paper:      oklch(0.985 0.004 85);
  --stone:      oklch(0.88 0.006 80);
  --stone-2:    oklch(0.78 0.008 80);
  --char:       oklch(0.45 0.01 265);

  --wood:       oklch(0.50 0.07 50);    /* madera cálida */
  --wood-soft:  oklch(0.70 0.05 55);

  --line:       oklch(0.85 0.008 80 / 0.7);
  --line-dark:  oklch(0.30 0.02 265 / 0.15);

  /* Tipografía ---------------------------------------------- */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans:    "Manrope", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  /* Spacing scale ------------------------------------------- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* Reset ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bone);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }

/* Type system ------------------------------------------------ */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.6em;
  vertical-align: 0.15em;
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em {
  font-style: italic;
  color: var(--gold-deep);
}

h1.display { font-size: clamp(2.75rem, 6.5vw, 5.75rem); }
h2.display { font-size: clamp(2.25rem, 4.8vw, 4.25rem); }
h3.display { font-size: clamp(1.5rem, 2.4vw, 2.25rem); }

.lede {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.05em; }

/* Layout ----------------------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--wide { max-width: 1480px; }

section { padding-block: clamp(4.5rem, 9vw, 9rem); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule--dark { background: var(--line-dark); }

/* Buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { background: var(--gold-deep); color: var(--bone); }

.btn--ink {
  background: var(--ink);
  color: var(--bone);
}
.btn--ink:hover { background: var(--ink-2); }

.btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.85;
}
.btn--ghost:hover { opacity: 1; background: rgba(255,255,255,0.06); }

.btn .arrow {
  display: inline-block;
  width: 14px; height: 10px;
  position: relative;
  top: 1px;
}
.btn .arrow::before {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'><path d='M0 5 H12 M8 1 L12 5 L8 9' stroke='black' stroke-width='1.4' fill='none' stroke-linecap='square'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'><path d='M0 5 H12 M8 1 L12 5 L8 9' stroke='black' stroke-width='1.4' fill='none' stroke-linecap='square'/></svg>") no-repeat center / contain;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--bone);
  transition: background 0.35s ease, color 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  background: oklch(0.97 0.008 85 / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  height: 42px;
}
.nav__logo {
  height: 42px;
  width: auto;
  display: block;
  transition: opacity 0.35s ease;
}
.nav__logo--color {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.nav.is-scrolled .nav__logo--white { opacity: 0; }
.nav.is-scrolled .nav__logo--color { opacity: 1; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  font-size: 14px;
}
.nav__links a {
  position: relative;
  padding: 0.4em 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  display: flex; align-items: center; gap: 0.75rem;
}

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  display: block;
  width: 14px; height: 1px;
  background: currentColor;
  position: relative;
}
.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: currentColor;
}
.nav__burger span::before { top: -5px; }
.nav__burger span::after  { top: 5px; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta .btn { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--bone);
  z-index: 60;
  padding: 5rem var(--gutter) 2rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-family: var(--f-display);
  font-size: 2rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__close {
  position: absolute; top: 1.2rem; right: var(--gutter);
  font-size: 28px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--bone);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.hero__bg {
  position: absolute; inset: 0;
  background: oklch(0.18 0.04 265);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
}
.hero__bg::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      oklch(0.15 0.04 265 / 0.35) 0%,
      oklch(0.15 0.04 265 / 0.15) 35%,
      oklch(0.13 0.04 265 / 0.70) 78%,
      oklch(0.10 0.04 265 / 0.92) 100%);
  pointer-events: none;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  background: linear-gradient(90deg, oklch(0.12 0.04 265 / 0.45) 0%, transparent 45%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: end;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__meta {
  align-self: end;
  display: flex; flex-direction: column;
  gap: 1.5rem;
}
.hero__meta p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 36ch;
  margin: 0;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__topstrip {
  position: absolute;
  z-index: 4;
  top: 6rem; left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between;
  gap: 2rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}
.hero__topstrip > div {
  display: flex; align-items: center; gap: 0.5rem;
}

.hero__bottombar {
  position: absolute;
  z-index: 4;
  bottom: 0; left: 0; right: 0;
  border-top: 1px solid oklch(1 0 0 / 0.18);
  padding: 0 var(--gutter);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  background: oklch(0.1 0.03 265 / 0.5);
}
@media (max-width: 700px) {
  .hero__bottombar { display: none; }
  .hero__topstrip { display: none; }
}

/* ============================================================
   INTRO STATEMENT
   ============================================================ */
.intro {
  background: var(--bone);
}
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 800px) { .intro__grid { grid-template-columns: 1fr; } }
.intro__statement {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.intro__statement em {
  font-style: italic;
  color: var(--gold-deep);
}
.intro__small p { margin: 0 0 1rem 0; color: var(--ink-soft); }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars {
  background: var(--ink);
  color: var(--bone);
}
.pillars__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap;
}
.pillars__head h2 { max-width: 18ch; color: var(--bone); }
.pillars__head h2 em { color: var(--gold); font-style: italic; }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid oklch(1 0 0 / 0.15);
}
@media (max-width: 900px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pillars__grid { grid-template-columns: 1fr; } }

.pillar {
  padding: 2.25rem 1.75rem 2rem 0;
  border-right: 1px solid oklch(1 0 0 / 0.15);
  display: flex; flex-direction: column;
  gap: 1rem;
  min-height: 240px;
}
.pillar:last-child { border-right: 0; }
@media (max-width: 900px) {
  .pillar:nth-child(2n) { border-right: 0; }
  .pillar { border-bottom: 1px solid oklch(1 0 0 / 0.15); padding-right: 0; }
}
.pillar__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.pillar h3 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  margin: 0;
}
.pillar p {
  font-size: 14.5px;
  line-height: 1.6;
  color: oklch(0.85 0.01 85 / 0.85);
  margin: auto 0 0;
}

/* ============================================================
   PRODUCT — featured house
   ============================================================ */
.product {
  background: var(--paper);
}
.product__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
@media (max-width: 800px) { .product__head { grid-template-columns: 1fr; } }
.product__head h2 em { font-style: italic; color: var(--gold-deep); }

.product__stage {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) { .product__stage { grid-template-columns: 1fr; } }

.product__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--stone);
  overflow: hidden;
  border-radius: 2px;
}
.product__visual img { width: 100%; height: 100%; object-fit: cover; }
.product__visual .tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: oklch(0.15 0.03 265 / 0.78);
  color: var(--bone);
  padding: 0.5rem 0.8rem;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
}

.product__specs {
  display: flex; flex-direction: column;
  gap: 1.25rem;
}
.product__specs h3 {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.05;
}
.product__specs > p { color: var(--ink-soft); margin: 0; }
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}
.spec-list dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.spec-list dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1.15rem;
  color: var(--ink);
}

/* Model lineup */
.lineup {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
}
.lineup__row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.lineup__row:hover { background: oklch(0.94 0.01 80); }
.lineup__row--head {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 1rem 0;
}
.lineup__row--head:hover { background: transparent; }
.lineup__num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--gold-deep);
}
.lineup__name {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  line-height: 1.1;
}
.lineup__name small {
  display: block;
  font-family: var(--f-sans);
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0;
}
.lineup__cell {
  font-family: var(--f-sans);
  font-size: 14px;
}
.lineup__cell strong { display: block; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.lineup__cell span { color: var(--ink-soft); font-size: 12.5px; }
.lineup__cta a {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

@media (max-width: 900px) {
  .lineup__row { grid-template-columns: 50px 1fr; gap: 0.5rem 1.5rem; padding: 1.5rem 0; }
  .lineup__row--head { display: none; }
  .lineup__name { grid-column: 2; }
  .lineup__num { grid-row: 1 / span 4; align-self: start; }
  .lineup__cell, .lineup__cta { grid-column: 2; }
  .lineup__cell::before {
    content: attr(data-label);
    display: block;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 2px;
  }
}

/* ============================================================
   OFICINAS
   ============================================================ */
.office {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.office__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .office__grid { grid-template-columns: 1fr; } }

.office__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  background: linear-gradient(140deg, oklch(0.32 0.04 265), oklch(0.20 0.04 265));
  overflow: hidden;
  border-radius: 2px;
}
.office__visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 30px, oklch(1 0 0 / 0.04) 30px 31px);
}
.office__visual .label {
  position: absolute;
  bottom: 1.2rem; left: 1.2rem;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  padding: 0.5rem 0.7rem;
  border: 1px dashed currentColor;
  border-radius: 2px;
}
.office__visual .floating-spec {
  position: absolute;
  background: oklch(0.97 0.008 85 / 0.95);
  color: var(--ink);
  padding: 1.2rem 1.4rem;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 0.2rem;
  box-shadow: 0 30px 60px -20px oklch(0 0 0 / 0.5);
}
.office__visual .floating-spec:nth-child(2) { top: 12%; right: -2rem; }
.office__visual .floating-spec:nth-child(3) { bottom: 14%; left: -2rem; }
@media (max-width: 1100px) {
  .office__visual .floating-spec:nth-child(2),
  .office__visual .floating-spec:nth-child(3) { display: none; }
}
.office__visual .floating-spec b {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}
.office__visual .floating-spec span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.office__copy { padding: 0; }
.office__copy h2 em { font-style: italic; color: var(--gold); }
.office__copy .lede { color: oklch(0.88 0.01 85 / 0.85); }

.office__usecases {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  border-top: 1px solid oklch(1 0 0 / 0.15);
  padding-top: 1.5rem;
}
.office__usecases li {
  font-size: 14px;
  line-height: 1.5;
  color: oklch(0.88 0.01 85 / 0.9);
}
.office__usecases li b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--bone);
  margin-bottom: 0.2rem;
}

/* ============================================================
   PLANOS
   ============================================================ */
.plans { background: var(--bone); }
.plans__head { margin-bottom: 3rem; }
.plans__head h2 em { font-style: italic; color: var(--gold-deep); }
.plans__tabs {
  display: inline-flex;
  gap: 0;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: var(--paper);
}
.plans__tabs button {
  padding: 0.55rem 1.1rem;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all 0.2s;
}
.plans__tabs button.is-active {
  background: var(--ink);
  color: var(--bone);
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .plans__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .plans__grid { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.25rem;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.plan-card__diagram {
  aspect-ratio: 1 / 1;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.plan-card__diagram svg { width: 78%; height: 78%; }
.plan-card__diagram .corner {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.plan-card__diagram .corner.tl { top: 8px; left: 10px; }
.plan-card__diagram .corner.br { bottom: 8px; right: 10px; }

.plan-card__title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  line-height: 1.15;
}
.plan-card__meta {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
}
.plan-card__meta b { color: var(--ink); font-weight: 500; }

/* ============================================================
   ESPECIFICACIONES
   ============================================================ */
.specs {
  background: var(--paper);
}
.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 5rem);
}
@media (max-width: 800px) { .specs__grid { grid-template-columns: 1fr; } }

.specs__copy h2 em { font-style: italic; color: var(--gold-deep); }

.specs__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 2rem;
}
.specs__numbers div {
  background: var(--paper);
  padding: 1.4rem 1.2rem;
}
.specs__numbers b {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.specs__numbers span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.specs__table {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.specs__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 600px) { .specs__row { grid-template-columns: 1fr; gap: 0.3rem; } }
.specs__row dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.specs__row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.specs__row dd b { font-weight: 600; }
.specs__row dd span { color: var(--ink-soft); font-size: 13.5px; }

/* ============================================================
   APLICACIONES
   ============================================================ */
.apps {
  background: var(--bone);
}
.apps__head { margin-bottom: 3rem; max-width: 64ch; }
.apps__head h2 em { font-style: italic; color: var(--gold-deep); }

.apps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .apps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .apps__grid { grid-template-columns: 1fr; } }

.app-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  color: var(--bone);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: var(--ink);
  isolation: isolate;
}
.app-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, oklch(0.15 0.04 265 / 0.85), oklch(0.15 0.04 265 / 0.05) 60%);
  z-index: 1;
}
.app-card__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.85);
}
.app-card__bg.bg-1 { background: linear-gradient(160deg, var(--wood), oklch(0.35 0.05 50)); }
.app-card__bg.bg-2 { background: linear-gradient(160deg, oklch(0.50 0.08 145), oklch(0.30 0.06 200)); }
.app-card__bg.bg-3 { background: linear-gradient(160deg, oklch(0.45 0.05 250), oklch(0.25 0.04 265)); }
.app-card__bg.bg-4 { background: linear-gradient(160deg, oklch(0.45 0.06 30), oklch(0.30 0.05 30)); }
.app-card__bg.bg-5 { background: linear-gradient(160deg, oklch(0.55 0.06 85), oklch(0.35 0.05 65)); }
.app-card__bg.bg-6 { background: linear-gradient(160deg, oklch(0.40 0.04 200), oklch(0.25 0.04 220)); }
.app-card__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 22px, oklch(1 0 0 / 0.05) 22px 23px);
}
.app-card__bg .ph {
  position: absolute;
  bottom: 1rem; left: 1rem;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  padding: 0.3rem 0.5rem;
  border: 1px dashed currentColor;
  border-radius: 2px;
}

.app-card__copy { position: relative; z-index: 2; }
.app-card__copy .eyebrow { color: var(--gold); }
.app-card__copy .eyebrow .dot { background: currentColor; }
.app-card__copy h3 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.1;
  margin: 0.5rem 0 0.5rem;
}
.app-card__copy p { font-size: 14px; opacity: 0.85; margin: 0; }

/* ============================================================
   PROCESO
   ============================================================ */
.process {
  background: var(--ink);
  color: var(--bone);
}
.process__head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 2rem; margin-bottom: 4rem; flex-wrap: wrap;
}
.process__head h2 { color: var(--bone); max-width: 16ch; }
.process__head h2 em { color: var(--gold); font-style: italic; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 900px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process__steps { grid-template-columns: 1fr; } }
.step {
  padding: 1.5rem 0;
  border-top: 1px solid oklch(1 0 0 / 0.2);
  display: flex; flex-direction: column;
  gap: 0.8rem;
  min-height: 220px;
}
.step__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.step h3 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  line-height: 1.1;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: oklch(0.88 0.01 85 / 0.8);
  margin: 0;
}
.step__meta {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bone);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 800px) { .faq__grid { grid-template-columns: 1fr; } }
.faq h2 em { font-style: italic; color: var(--gold-deep); }
.faq__list { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.2;
  color: var(--ink);
}
.faq__q .plus {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
}
.faq__q .plus::before, .faq__q .plus::after {
  content: ""; position: absolute;
  background: var(--gold-deep);
  transition: transform 0.3s ease;
}
.faq__q .plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq__q .plus::after  { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq__item.is-open .faq__q .plus::after { transform: translateX(-50%) rotate(90deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__a > div { overflow: hidden; }
.faq__a p {
  margin: 0;
  padding: 0 0 1.6rem;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact h2 { color: var(--bone); }
.contact h2 em { font-style: italic; color: var(--gold); }
.contact .lede { color: oklch(0.88 0.01 85 / 0.85); margin-bottom: 2.5rem; }

.contact__channels {
  display: flex; flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.18);
  padding-top: 2rem;
}
.contact__channels a {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
  padding-bottom: 1.2rem;
}
.contact__channels small {
  display: block;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact__channels strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.4rem;
}
.contact__channels svg { width: 24px; height: 24px; opacity: 0.85; }

.form {
  background: oklch(0.18 0.03 265);
  border: 1px solid oklch(1 0 0 / 0.1);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column;
  gap: 1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.85 0.01 85 / 0.7);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.25);
  padding: 0.7rem 0;
  color: var(--bone);
  font: inherit;
  font-size: 15px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
}
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 14px) center, calc(100% - 8px) center; background-size: 6px 6px; background-repeat: no-repeat; }
.field option { background: var(--ink); color: var(--bone); }
.field textarea { resize: vertical; min-height: 90px; }

.form__submit {
  margin-top: 1rem;
  align-self: start;
}
.form__legal {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: oklch(0.85 0.01 85 / 0.5);
  line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: oklch(0.12 0.03 265);
  color: oklch(0.85 0.01 85 / 0.65);
  padding: 4rem 0 2rem;
  font-size: 13px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand {
  display: flex; align-items: center;
  margin-bottom: 1.5rem;
}
.footer__brand img { height: 56px; width: auto; }
.footer__about p { max-width: 38ch; margin: 0; line-height: 1.55; }
.footer h4 {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer ul a:hover { color: var(--bone); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.footer__bottom span { opacity: 0.6; }

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px -10px oklch(0 0 0 / 0.4);
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   Reveal animations (subtle)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
