/* Public landing ONLY. The admin uses assets/admin.css (self-sufficient). */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Neue Montreal";
  src: url("fonts/NeueMontreal-Regular.woff2") format("woff2"),
       url("fonts/NeueMontreal-Regular.otf") format("opentype");
  font-weight: 100 550;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Neue Montreal";
  src: url("fonts/NeueMontreal-Bold.woff2") format("woff2"),
       url("fonts/NeueMontreal-Bold.otf") format("opentype");
  font-weight: 551 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens / base ---------- */
:root {
  --orange: #f26522;
  --ink: #231f20;
  --ink-soft: #3b3533;
  --beige: #f6f3ee;
  --hairline: #d9d3cb;
  --greige: #bfb8b0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Neue Montreal", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--orange); color: #fff; }
img { display: block; }
[hidden] { display: none !important; }
section, footer { scroll-margin-top: 76px; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow--light { color: rgba(255, 255, 255, .85); }
.eyebrow--muted { color: rgba(255, 255, 255, .7); }
.eyebrow--bare::before { content: none; }

@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: 76px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(20,17,16,.72), rgba(20,17,16,.38) 60%, rgba(20,17,16,0));
  text-shadow: 0 1px 8px rgba(20,17,16,.45);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: currentColor;
  text-decoration: none;
}
.brand svg { width: 39px; height: 39px; display: block; }
.brand-name { font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; }
.brand-name sup { font-size: .55em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav-link {
  color: inherit;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  opacity: .9;
}
.nav-link:hover { opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .7em 1.25em;
  font-size: .92rem;
  font-weight: 600;
  border-radius: 3px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 30px -14px rgba(150,60,10,.8);
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: #fff; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  animation: heroZoom 18s cubic-bezier(.22,.61,.36,1) forwards;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,17,16,.45) 0%, rgba(20,17,16,0) 18%, rgba(20,17,16,0) 30%, rgba(20,17,16,.55) 66%, rgba(20,17,16,.9) 100%),
    linear-gradient(90deg, rgba(20,17,16,.55) 0%, rgba(20,17,16,.1) 46%, rgba(20,17,16,0) 66%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 94px;
  padding-bottom: clamp(34px, 5vw, 72px);
}
.hero h1 {
  margin: .28em 0 0;
  font-size: clamp(2.4rem, 5.75vw, 5.95rem);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.hero-sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}
.hero-banners {
  margin-top: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-banner { min-width: 160px; flex: 1; padding: 18px 24px 2px 0; }
.hero-banner + .hero-banner {
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.hero-banner .num {
  display: block;
  margin-bottom: 7px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--orange);
}
.hero-banner b {
  display: block;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-banner .desc { font-size: .92rem; color: rgba(255,255,255,.7); }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 130px) 0; }
.section--beige { background: var(--beige); }
.section--dark { background: var(--ink); color: #fff; }
.section--orange { background: var(--orange); }

.section-h2 {
  margin: .35em 0 0;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
}

.prose p {
  margin: 0;
  max-width: 52ch;
  font-size: 1.06rem;
  line-height: 1.66;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 1.1em; }
.prose .lead {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Cómo funciona */
.como-funciona { margin-top: clamp(60px, 8vw, 110px); }
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 22px;
  align-items: baseline;
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
}
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step .num { min-width: 44px; font-size: 1.05rem; font-weight: 700; color: var(--orange); }
.step b { font-weight: 700; letter-spacing: -0.02em; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Catálogo ---------- */
.catalog-head {
  margin-bottom: clamp(44px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.catalog-head h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--orange);
}
.catalog-head p { margin: 0; max-width: 40ch; font-size: 1.05rem; color: var(--ink-soft); }

.cat-tabs { display: none; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6em 1.1em;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 100px;
  border: none;
  transition: background .25s, color .25s, box-shadow .25s;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.4px var(--hairline);
}
.cat-tab.is-active { background: var(--orange); color: #fff; box-shadow: none; }

.cat-article {
  border-top: 1px solid var(--hairline);
  padding: clamp(34px, 4vw, 56px) 0 clamp(44px, 5vw, 70px);
}
.cat-article:last-child { padding-bottom: clamp(10px, 2vw, 20px); }
.cat-article .grid-2col { grid-template-columns: 1fr 1.55fr; gap: clamp(26px, 4vw, 64px); }
.cat-info { position: sticky; top: 96px; }
.cat-info h3 {
  margin: .25em 0 .4em;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.cat-info p { margin: 0; max-width: 38ch; font-size: 1.04rem; line-height: 1.6; color: var(--ink-soft); }

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #ece8e2;
}
.carousel img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  touch-action: pan-y;
  display: none;
}
.carousel img.is-active { display: block; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(20,17,16,.55);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .3s;
}
.carousel-btn:hover { background: var(--orange); }
.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }
.carousel-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all .35s cubic-bezier(.22,.61,.36,1);
  background: rgba(255,255,255,.65);
}
.carousel-dots button.is-active { width: 22px; background: var(--orange); }
.carousel-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  border-radius: 100px;
  background: rgba(20,17,16,.6);
  padding: .3em .6em;
  font-size: .72rem;
  letter-spacing: .04em;
  color: #fff;
  backdrop-filter: blur(4px);
}

/* ---------- Ventaja ---------- */
.ventaja-grid { grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.ventaja-grid h2 { margin: .4em 0; }
.ventaja-grid .prose p { color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.62; max-width: 48ch; }
.ventaja-figure { margin: 0; position: relative; overflow: hidden; border-radius: 3px; }
.ventaja-figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.ventaja-figure:hover img { transform: scale(1.04); }
.ventaja-figure figcaption {
  position: absolute;
  left: 12px;
  bottom: 11px;
  border-radius: 100px;
  background: rgba(20,17,16,.6);
  padding: .3em .6em;
  font-size: .72rem;
  letter-spacing: .04em;
  color: #fff;
  backdrop-filter: blur(4px);
}

/* ---------- Razones ---------- */
.razones h2 {
  margin: .35em 0 clamp(38px, 5vw, 60px);
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.razones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.razon-card { background: #fff; border-radius: 3px; padding: 26px 26px 22px; }
.razon-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.razon-card p { margin: 0; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Contacto (simple form on orange until the configurator lands) ---------- */
.contact-head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.contact-head h2 {
  margin: .3em 0 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}
.contact-form { max-width: 640px; margin: 0 auto; color: #fff; }
.contact-form fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.contact-form fieldset:disabled { opacity: .6; }
.contact-form label {
  display: block;
  margin: 18px 0 6px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.75);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: .7em 2px;
  font: inherit;
  font-size: 1.05rem;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1.4px solid rgba(255,255,255,.5);
  border-radius: 0;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}
.contact-form ::placeholder { color: rgba(255,255,255,.55); }
.contact-form textarea { min-height: 76px; resize: vertical; }

/* Wizard (multistep) */
.wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.wizard-count, .wizard-title {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.wizard-count { color: rgba(255,255,255,.7); }
.wizard-title { color: #fff; }
.wizard-progress {
  height: 2px;
  background: rgba(255,255,255,.3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 34px;
}
.wizard-progress > div {
  height: 100%;
  background: #fff;
  transition: width .4s cubic-bezier(.22,.61,.36,1);
}
.wizard-step { display: none; }
.wizard-step.is-active { display: block; }
.wizard-q {
  margin: 0 0 20px;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.wizard-q--mt { margin: 28px 0 8px; }
.chip-label {
  display: block;
  margin: 24px 0 10px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.75);
}
.wizard-q + .chip-label { margin-top: 0; }
.opt-note {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255,255,255,.55);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: .65em 1.15em;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 100px;
  border: none;
  transition: box-shadow .25s, background .25s, color .25s;
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.4);
}
.chip.is-active { background: #fff; color: var(--orange); box-shadow: none; }
.contact-form label.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  cursor: pointer;
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.privacy-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: #fff;
  cursor: pointer;
}
.privacy-link { color: #fff; text-decoration: underline; }
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 1em 1.6em;
  font: inherit;
  font-size: .94rem;
  font-weight: 600;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  border: none;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
  cursor: pointer;
  transition: box-shadow .25s;
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.contact-form .input-invalid { border-bottom: 3px solid #fff; }
.contact-form .field-error {
  display: block;
  margin-top: 8px;
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
}
.contact-form .banner {
  margin: 0 0 16px;
  padding: .6em .9em;
  border-radius: 3px;
  background: #fff;
  color: #c2410c;
  font-size: .9rem;
  font-weight: 700;
}
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: .66em;
  margin-top: 26px;
  padding: 1em 1.9em;
  font: inherit;
  font-size: .94rem;
  font-weight: 700;
  border-radius: 100px;
  border: none;
  background: #fff;
  color: var(--orange);
  cursor: pointer;
  box-shadow: 0 12px 30px -14px rgba(120,45,5,.55);
  transition: opacity .25s;
}
.contact-form button[type="submit"]:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}
.contact-form button[type="submit"].is-loading { opacity: .85; pointer-events: none; }
.contact-form button[type="submit"].is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(242,101,34,.25);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.form-success {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 10px;
  text-align: center;
  color: #fff;
}
.form-success .check {
  margin: 0 auto 18px;
  display: flex;
  height: 54px;
  width: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  font-size: 1.5rem;
}
.form-success h4 { margin: 0 0 8px; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.form-success p { margin: 28px 0 0; color: rgba(255,255,255,.85); }
.form-success .btn-ghost { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--greige);
  color: #fff;
  padding: clamp(70px, 9vw, 120px) 0 40px;
}
.footer .mark { width: 64px; height: 64px; display: block; }
.footer-lema {
  margin: clamp(40px, 6vw, 80px) 0 0;
  max-width: 16ch;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
}
.footer-cols {
  margin-top: clamp(50px, 7vw, 90px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  border-top: 1px solid rgba(255,255,255,.4);
  padding-top: 28px;
}
.footer-col { min-width: 200px; flex: 1; }
.footer-col .label {
  display: block;
  margin-bottom: 6px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(35,31,32,.6);
}
.footer-col a, .footer-col .value {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-legal {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .4);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}
.footer-legal a {
  font-size: .82rem;
  color: rgba(35, 31, 32, .6);
  text-decoration: none;
}
.footer-legal a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(120px, 14vw, 180px); }
.legal-container { max-width: 860px; }
.legal-h1 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 550;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.legal-content { margin-top: clamp(36px, 5vw, 60px); }
.legal-content h2 {
  margin: 2.4em 0 .7em;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal-content p { margin: 0 0 1em; color: var(--ink-soft); }
.legal-content ul { margin: 0 0 1em; padding-left: 22px; color: var(--ink-soft); }
.legal-content li { margin-bottom: .4em; }
.legal-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--orange); }
.legal-table {
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: .92rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--hairline);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}
.legal-table th {
  background: var(--beige);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ---------- Mobile ---------- */
@media (max-width: 680px) {
  .nav-link { display: none; }
  .hero-banners { display: none; }
  .hero-sub { margin-top: 18px; }
  .grid-2col, .cat-article .grid-2col { grid-template-columns: 1fr; }
  .cat-tabs { display: flex; }
  .cat-article.cat-inactive { display: none; }
  .cat-article { border-top: none; padding-top: 10px; }
  .razones-grid { grid-template-columns: 1fr 1fr; }
}
