/* ============================================================
   BFL TECNOLOGÍA SRL — Implementación de Odoo
   Sistema visual: "Dossier ejecutivo"
   Papel hueso · tinta · rojo vino BFL · serif formal
   ============================================================ */

:root {
  /* Superficie — limpio tipo Odoo */
  --paper:    #FFFFFF;
  --paper-2:  #F5F6F8;   /* secciones suaves */
  --paper-3:  #ECEDF1;
  --surface:  #FFFFFF;
  --ink:      #14141A;   /* casi negro, frío */
  --ink-2:    #33333D;
  --ink-3:    #5C5C68;
  --taupe:    #8A8A96;   /* labels / muted */
  --line:     rgba(20,20,30,.10);
  --line-2:   rgba(20,20,30,.055);

  /* Acento BFL */
  --maroon:      #9E2420;
  --maroon-deep: #7C1A17;
  --maroon-soft: #FBEAE8;
  --maroon-ink:  #5A1411;

  /* Oscuro (secciones puntuales) */
  --dark:     #1A1822;
  --dark-2:   #232130;
  --dark-3:   #2E2C3C;

  /* Tipo */
  --serif: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;  /* display */
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Medidas */
  --maxw: 1280px;
  --gutter: clamp(22px, 5vw, 76px);
  --r: 12px;
  --r-lg: 20px;

  --ease: cubic-bezier(.4,0,.15,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --shadow: 0 1px 3px rgba(20,20,30,.06), 0 14px 36px -14px rgba(20,20,30,.16);
  --shadow-lg: 0 2px 8px rgba(20,20,30,.06), 0 44px 84px -30px rgba(20,20,30,.30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--maroon); color: #fff; }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }

/* Etiqueta de sección tipo informe: 01 / SERVICIO */
.kicker { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.kicker__n { font-family: var(--serif); font-style: normal; font-weight: 800; font-size: 13px; letter-spacing: 0; color: var(--maroon); }
.kicker::before { content: ""; align-self: center; width: 26px; height: 1px; background: var(--maroon); }

.eyebrow { display: inline-block; font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }

.display { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: .98; letter-spacing: -.025em; }
.h-1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); }
.h-2 { font-size: clamp(1.8rem, 3.6vw, 2.85rem); }
.h-3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.serif-italic { font-style: normal; font-weight: 700; color: var(--maroon); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.24rem); line-height: 1.62; color: var(--ink-3); max-width: 58ch; }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .kicker, .section-head .eyebrow { margin-bottom: 26px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-top: 24px; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 11px; font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: var(--r); position: relative; letter-spacing: .005em;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(158,36,32,.5); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ink:hover svg { transform: translateX(4px); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }
.btn--lg { padding: 17px 32px; font-size: 16px; }

.txt-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s, color .3s; }
.txt-link svg { width: 15px; height: 15px; color: var(--maroon); transition: transform .3s var(--ease); }
.txt-link:hover { gap: 13px; border-color: var(--maroon); }
.txt-link:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 22px; transition: padding .4s var(--ease), background .4s var(--ease), box-shadow .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-stuck { background: rgba(246,243,238,.86); backdrop-filter: saturate(180%) blur(18px); border-bottom-color: var(--line); padding-block: 13px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 44px; width: auto; aspect-ratio: 346 / 224; flex: 0 0 auto; display: block; transition: height .4s var(--ease); }
.is-stuck .logo__img { height: 38px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; font-weight: 500; font-size: 14.5px; color: var(--ink-2); padding: 9px 15px; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--maroon); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.header-phone svg { width: 16px; height: 16px; color: var(--maroon); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--r); flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--surface); }
.burger span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 99; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(23,23,26,.42); opacity: 0; transition: opacity .4s; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 380px); background: var(--paper); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .45s var(--ease-out); padding: 96px 32px 32px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a { font-family: var(--serif); font-size: 22px; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line-2); transition: color .2s, padding .2s; }
.drawer__panel a:hover { color: var(--maroon); padding-left: 8px; }
.drawer__panel .btn { margin-top: 24px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(128px, 17vh, 188px); padding-bottom: clamp(60px, 8vw, 104px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 11px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 30px; white-space: nowrap; box-shadow: var(--shadow); }
.hero__badge .od { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a96b9a, #714B67); flex-shrink: 0; }
.hero__badge b { color: var(--maroon); font-weight: 700; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.0; letter-spacing: -.028em; }
.hero h1 em { font-style: normal; color: var(--maroon); }
.hero__sub { margin-top: 28px; font-size: clamp(1.06rem, 1.45vw, 1.24rem); color: var(--ink-3); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__meta { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; gap: clamp(24px,4vw,52px); flex-wrap: wrap; }
.hero__stat .n { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.hero__stat .n .u { color: var(--maroon); }
.hero__stat .l { margin-top: 9px; font-size: 13px; color: var(--ink-3); max-width: 18ch; line-height: 1.4; }

/* Marco navegador */
.frame { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.frame__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.frame__dots { display: flex; gap: 7px; }
.frame__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.frame__dots i:nth-child(1) { background: #E0726A; }
.frame__url { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--taupe); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 500; }
.frame__url svg { width: 12px; height: 12px; color: #1fae6a; }
.frame__img { display: block; width: 100%; height: auto; }
.hero__frame { position: relative; }
.hero__frame::after { content: ""; position: absolute; inset: -40px -40px auto auto; width: 180px; height: 180px; background: radial-gradient(circle, rgba(158,36,32,.14), transparent 70%); z-index: -1; }
.hero__tag { position: absolute; left: -22px; bottom: 38px; background: var(--ink); color: var(--paper); padding: 14px 20px; border-radius: var(--r); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 13px; z-index: 3; max-width: 300px; }
.hero__tag svg { width: 22px; height: 22px; color: #6ad29a; flex-shrink: 0; }
.hero__tag .tx { display: flex; flex-direction: column; line-height: 1.3; }
.hero__tag b { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.hero__tag span { font-size: 12px; color: rgba(246,243,238,.62); }

/* ============================================================
   PARTNER STRIP / logos
   ============================================================ */
.strip { border-block: 1px solid var(--line); background: var(--paper-2); }
.strip__inner { display: flex; align-items: center; gap: clamp(20px,4vw,56px); padding-block: 26px; flex-wrap: wrap; justify-content: space-between; }
.strip__label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); max-width: 16ch; line-height: 1.4; }
.strip__items { display: flex; align-items: center; gap: clamp(20px,3.5vw,46px); flex-wrap: wrap; }
.strip__item { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 16px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.strip__item svg { width: 19px; height: 19px; color: var(--maroon); }

/* ============================================================
   POR QUÉ ODOO — texto editorial + lista
   ============================================================ */
.why { background: var(--paper); }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: start; }
.why__lead { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.34; letter-spacing: -.01em; color: var(--ink); }
.why__lead b { color: var(--maroon); font-weight: 700; font-style: normal; }
.why__body p { color: var(--ink-3); margin-bottom: 20px; }
.why__points { margin-top: 30px; display: grid; gap: 0; }
.why__point { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.why__point:last-child { border-bottom: 1px solid var(--line); }
.why__point .ic { width: 30px; height: 30px; color: var(--maroon); }
.why__point .ic svg { width: 26px; height: 26px; }
.why__point h4 { font-family: var(--sans); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 5px; }
.why__point p { font-size: 14.5px; color: var(--ink-3); }

/* ============================================================
   MÓDULOS — tabs verticales + screenshot
   ============================================================ */
.mod { background: var(--paper-2); }
.mod__layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px,4vw,60px); margin-top: 56px; align-items: start; }
.mod__list { display: flex; flex-direction: column; }
.mod__tab { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; text-align: left; padding: 20px 18px; border-top: 1px solid var(--line); transition: background .3s, padding .3s; position: relative; }
.mod__list .mod__tab:last-child { border-bottom: 1px solid var(--line); }
.mod__tab::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--maroon); transform: scaleY(0); transition: transform .35s var(--ease); }
.mod__tab .ic { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; flex-shrink: 0; }
.mod__tab .ic svg { width: 21px; height: 21px; }
.mod__tab .tx b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--ink); transition: color .3s; }
.mod__tab .tx span { font-size: 13px; color: var(--ink-3); }
.mod__tab .go { color: var(--line); transition: color .3s, transform .3s; }
.mod__tab .go svg { width: 18px; height: 18px; }
.mod__tab:hover { background: rgba(255,255,255,.5); }
.mod__tab.is-active { background: var(--surface); }
.mod__tab.is-active::before { transform: scaleY(1); }
.mod__tab.is-active .ic { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.mod__tab.is-active .tx b { color: var(--maroon); }
.mod__tab.is-active .go { color: var(--maroon); transform: translateX(3px); }

.mod__stage { position: sticky; top: 100px; }
.mod__panel { display: none; }
.mod__panel.is-active { display: block; animation: modFade .5s var(--ease); }
@keyframes modFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mod__cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 22px; }
.mod__cap h3 { font-size: 1.5rem; }
.mod__cap p { font-size: 14.5px; color: var(--ink-3); margin-top: 8px; max-width: 52ch; }
.mod__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mod__chips span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; background: var(--surface); }

/* ============================================================
   METODOLOGÍA — fases formales
   ============================================================ */
.method { background: var(--dark); color: var(--paper); position: relative; }
.method .kicker { color: rgba(246,243,238,.5); }
.method .kicker::before { background: var(--maroon); }
.method .kicker__n { color: #d98a85; }
.method .section-head h2 { color: var(--paper); }
.method .section-head p { color: rgba(246,243,238,.6); }
.method__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.phase { background: var(--dark); padding: 34px 30px 38px; position: relative; transition: background .4s var(--ease); }
.phase:hover { background: var(--dark-2); }
.phase__n { font-family: var(--serif); font-style: normal; font-size: 2.2rem; font-weight: 800; color: var(--maroon); line-height: 1; opacity: .9; }
.phase:hover .phase__n { color: #d98a85; }
.phase h3 { color: var(--paper); font-size: 1.4rem; margin: 18px 0 12px; }
.phase p { font-size: 14px; color: rgba(246,243,238,.62); line-height: 1.55; }
.phase__list { margin-top: 18px; display: grid; gap: 9px; }
.phase__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(246,243,238,.78); }
.phase__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--maroon); margin-top: 7px; flex-shrink: 0; }
.method__foot { margin-top: 46px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12); }
.method__foot p { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; font-style: normal; color: rgba(246,243,238,.82); max-width: 40ch; }

/* ============================================================
   DIFERENCIADORES
   ============================================================ */
.diff__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 58px; background: var(--line); border: 1px solid var(--line); }
.diff { background: var(--paper); padding: 38px 34px; transition: background .35s var(--ease); position: relative; }
.diff:hover { background: var(--surface); }
.diff__ic { width: 46px; height: 46px; color: var(--maroon); margin-bottom: 26px; }
.diff__ic svg { width: 40px; height: 40px; stroke-width: 1.4; }
.diff h3 { font-size: 1.35rem; margin-bottom: 12px; }
.diff p { font-size: 14.5px; color: var(--ink-3); line-height: 1.58; }

/* ============================================================
   PROCESO / ENTREGABLES (split)
   ============================================================ */
.deliver__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,6vw,84px); align-items: center; }
.deliver__list { display: grid; gap: 0; }
.deliver__item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; }
.deliver__item:last-child { border-bottom: 1px solid var(--line); }
.deliver__item .num { font-family: var(--serif); font-style: normal; font-weight: 800; font-size: 1.2rem; color: var(--maroon); line-height: 1.2; }
.deliver__item h4 { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-bottom: 5px; }
.deliver__item p { font-size: 14px; color: var(--ink-3); }
.deliver__visual .frame { transform: rotate(-1deg); }

/* ============================================================
   INDUSTRIAS
   ============================================================ */
.ind__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.ind { background: var(--paper); padding: 30px 26px 32px; transition: background .35s var(--ease), color .35s; min-height: 168px; display: flex; flex-direction: column; }
.ind:hover { background: var(--ink); }
.ind__ic { width: 34px; height: 34px; color: var(--maroon); margin-bottom: auto; }
.ind__ic svg { width: 30px; height: 30px; stroke-width: 1.4; }
.ind:hover .ind__ic { color: #d98a85; }
.ind h3 { font-size: 1.18rem; margin-top: 22px; transition: color .35s; }
.ind:hover h3 { color: var(--paper); }
.ind p { font-size: 13px; color: var(--ink-3); margin-top: 7px; transition: color .35s; }
.ind:hover p { color: rgba(246,243,238,.6); }

/* ============================================================
   CIFRAS / banda de resultados
   ============================================================ */
.metrics { background: var(--paper-2); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.metric { background: var(--paper-2); padding: 40px 30px; }
.metric .n { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem,4.4vw,3.6rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.metric .n .u { color: var(--maroon); }
.metric .l { margin-top: 14px; font-size: 14px; color: var(--ink-3); line-height: 1.45; }

/* ============================================================
   TESTIMONIO destacado
   ============================================================ */
.quote { background: var(--paper); }
.quote__box { max-width: 980px; margin-inline: auto; text-align: center; }
.quote__mark { font-family: var(--serif); font-size: 4rem; line-height: 0; color: var(--maroon); }
.quote__text { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.4; letter-spacing: -.01em; color: var(--ink); margin-top: 30px; }
.quote__who { margin-top: 34px; display: inline-flex; align-items: center; gap: 14px; }
.quote__who .av { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); display: grid; place-items: center; font-size: 16px; }
.quote__who b { font-size: 15px; font-weight: 700; }
.quote__who span { font-size: 13px; color: var(--ink-3); }
.quote__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px,5vw,72px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; text-align: left; font-family: var(--serif); font-size: clamp(1.05rem,1.6vw,1.28rem); font-weight: 600; color: var(--ink); transition: color .25s; }
.faq-q:hover { color: var(--maroon); }
.faq-q__ic { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q__ic::before, .faq-q__ic::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--maroon); transition: transform .35s var(--ease); }
.faq-q__ic::before { width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-q__ic::after { width: 1.5px; height: 14px; transform: translate(-50%,-50%); }
.faq-item.is-open .faq-q__ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a__in { padding: 0 4px 28px; color: var(--ink-3); font-size: 15.5px; line-height: 1.66; max-width: 64ch; }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--maroon); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 100% at 85% 0%, rgba(0,0,0,.28), transparent 65%); }
.cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.04; }
.cta h2 em { font-style: normal; color: #f3d3cf; }
.cta p { color: rgba(255,255,255,.82); margin-top: 20px; font-size: 1.12rem; max-width: 46ch; }
.cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.cta__actions .btn { justify-content: center; }
.cta__note { font-size: 13px; color: rgba(255,255,255,.7); text-align: center; margin-top: 4px; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,5vw,72px); align-items: start; }
.contact__aside h2 { font-size: clamp(1.8rem,3vw,2.5rem); }
.contact__aside p { color: var(--ink-3); margin-top: 18px; }
.contact__channels { margin-top: 36px; display: grid; gap: 0; }
.contact__ch { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); transition: padding .25s; }
.contact__ch:last-child { border-bottom: 1px solid var(--line); }
.contact__ch:hover { padding-left: 6px; }
.contact__ch .ic { width: 38px; height: 38px; border-radius: var(--r); border: 1px solid var(--line); display: grid; place-items: center; color: var(--maroon); }
.contact__ch .ic svg { width: 19px; height: 19px; }
.contact__ch small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.contact__ch b { font-size: 15.5px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px,3vw,40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field label .req { color: var(--maroon); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 14.5px; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); background: var(--surface); box-shadow: 0 0 0 3px rgba(158,36,32,.1); }
.field input::placeholder, .field textarea::placeholder { color: #a59c90; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d33; background: #fdf5f5; }
.field__err { font-size: 12px; color: #d33; font-weight: 600; display: none; }
.field.has-error .field__err { display: block; }
.field--check { flex-direction: row; align-items: flex-start; gap: 11px; }
.field--check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--maroon); flex-shrink: 0; }
.field--check label { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.field--check a { color: var(--maroon); font-weight: 700; }
.form__submit { width: 100%; justify-content: center; margin-top: 6px; }
.form__success { display: none; text-align: center; padding: 30px 20px; }
.form__success.is-on { display: block; animation: modFade .5s var(--ease); }
.form__success .ck { width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; }
.form__success .ck svg { width: 30px; height: 30px; }
.form__success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form__success p { color: var(--ink-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: rgba(246,243,238,.6); padding-top: 80px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 54px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { height: 52px; aspect-ratio: 346/224; width: auto; }
.footer__about { margin-top: 22px; font-size: 14px; line-height: 1.62; max-width: 32ch; }
.footer__social { display: flex; gap: 10px; margin-top: 24px; }
.footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); display: grid; place-items: center; color: rgba(246,243,238,.7); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.footer__social a:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { font-family: var(--sans); color: var(--paper); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.footer__col a, .footer__col li { display: block; font-size: 14px; padding: 6px 0; transition: color .2s, padding .2s; }
.footer__col a:hover { color: var(--paper); padding-left: 5px; }
.footer__news p { font-size: 14px; margin-bottom: 16px; }
.footer__news form { display: flex; gap: 8px; }
.footer__news input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 12px 14px; color: #fff; font-family: var(--sans); font-size: 13.5px; }
.footer__news input::placeholder { color: rgba(246,243,238,.4); }
.footer__news input:focus { outline: none; border-color: var(--maroon); }
.footer__news button { background: var(--maroon); color: #fff; border-radius: var(--r); width: 46px; display: grid; place-items: center; flex-shrink: 0; transition: background .2s; }
.footer__news button:hover { background: var(--maroon-deep); }
.footer__news button svg { width: 17px; height: 17px; }
.footer__contact { margin-top: 20px; display: grid; gap: 10px; }
.footer__contact a { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 0; }
.footer__contact svg { width: 15px; height: 15px; color: var(--maroon); flex-shrink: 0; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: 13px; flex-wrap: wrap; }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a:hover { color: var(--paper); }

/* ============================================================
   WhatsApp + progreso
   ============================================================ */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 90; }
.wa__btn { width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -6px rgba(37,211,102,.55); transition: transform .3s var(--ease); position: relative; }
.wa__btn:hover { transform: scale(1.07); }
.wa__btn svg { width: 29px; height: 29px; }
.wa__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.4s var(--ease) infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
.wa__label { position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(8px); background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: var(--r); white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.wa:hover .wa__label { opacity: 1; transform: translateY(-50%) translateX(0); }

.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--maroon); z-index: 110; width: 0; transition: width .1s linear; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__frame { max-width: 620px; }
  .why__grid, .mod__layout, .deliver__grid, .faq__grid, .cta__grid, .contact__grid { grid-template-columns: 1fr; }
  .mod__stage { position: static; }
  .method__grid { grid-template-columns: 1fr; }
  .diff__grid { grid-template-columns: 1fr 1fr; }
  .ind__grid { grid-template-columns: 1fr 1fr; }
  .metrics__grid { grid-template-columns: 1fr 1fr; }
  .deliver__visual { order: -1; }
}
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__news { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .diff__grid, .ind__grid, .metrics__grid, .form__row { grid-template-columns: 1fr; }
  .cta__actions { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__news { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__tag { left: 12px; }
  .mod__tab { grid-template-columns: auto 1fr; }
  .mod__tab .go { display: none; }
}


/* Mobile polish for Odoo landing inside Odoo website wrapper */
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.65rem); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: normal; }
  .hero__badge { white-space: normal; max-width: 100%; line-height: 1.35; }
  .hero__sub { font-size: 1.04rem; line-height: 1.58; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .header-actions .btn { padding-inline: 22px; }
}


/* Quote section polish: avoid badge overlap and separate testimonial identity */
.quote__box { padding-inline: clamp(8px, 2vw, 24px); }
.quote__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 26px;
  padding: 8px 18px;
  line-height: 1;
  color: var(--maroon);
  background: var(--surface);
  border-color: rgba(158,36,32,.22);
  box-shadow: 0 8px 24px rgba(20,20,30,.05);
}
.quote__tag svg, .quote__tag i { display: none !important; }
.quote__mark { display: block; margin-top: 6px; opacity: .16; }
.quote__text { margin-top: 12px; }
.quote__person { text-align: left; line-height: 1.25; }
.quote__who b, .quote__who span { display: block; }
.quote__who span { margin-top: 4px; }
@media (max-width: 600px) {
  .quote__text { font-size: clamp(1.35rem, 7vw, 1.85rem); }
  .quote__who { align-items: flex-start; }
}
