/* ============================================================
   Absentix — Marketing site styles
   Layered on top of tokens.css.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Density tweak ---------- */
:root {
  --density-pad: 1;          /* multiplier for section padding */
  --density-size: 1;         /* multiplier for type scale */
}
html[data-density="compact"] {
  --density-pad: 0.78;
  --density-size: 0.92;
}

/* ---------- Container & section ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}
.section {
  padding: calc(var(--sp-11) * var(--density-pad)) 0;
}
.section--sm {
  padding: calc(var(--sp-10) * var(--density-pad)) 0;
}
.section--alt { background: var(--bg-subtle); }
.section--dark {
  background: var(--neutral-900);
  color: var(--neutral-100);
}
.section--dark .eyebrow { color: var(--brand-teal-300); }
.section--dark .h1, .section--dark .h2, .section--dark .h3, .section--dark .h4 { color: #fff; }
.section--dark .lead, .section--dark p { color: var(--neutral-300); }

/* ---------- Type helpers ---------- */
.h-display { font-size: calc(var(--size-6xl) * var(--density-size)); }
.h1 { font-size: calc(var(--size-5xl) * var(--density-size)); }
.h2 { font-size: calc(var(--size-4xl) * var(--density-size)); }
.h3 { font-size: calc(var(--size-3xl) * var(--density-size)); }
.h4 { font-size: calc(var(--size-2xl) * var(--density-size)); }
.lead { font-size: calc(var(--size-lg) * var(--density-size)); max-width: 60ch; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.fg-1 { color: var(--fg-1); }
.fg-2 { color: var(--fg-2); }
.fg-3 { color: var(--fg-3); }
.brand-teal { color: var(--brand-teal-700); }
.brand-blue { color: var(--brand-blue); }
.eyebrow { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--w-semibold);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-teal); color: #fff; }
.btn-primary:hover { background: var(--brand-teal-600); color: #fff; }
.btn-primary:active { background: var(--brand-teal-700); }
.btn-secondary {
  background: var(--bg-surface);
  color: var(--fg-1);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--bg-subtle); color: var(--fg-1); }
.btn-ghost { background: transparent; color: var(--brand-teal-700); }
.btn-ghost:hover { background: var(--brand-teal-50); color: var(--brand-teal-700); }
.btn-on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn-link {
  background: transparent;
  color: var(--brand-blue);
  padding: 0;
  height: auto;
  border: none;
}
.btn-link:hover { color: var(--brand-blue-700); text-decoration: underline; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }

.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-7);
}
.card--flush { padding: 0; overflow: hidden; }
.card--ghost {
  background: transparent;
  box-shadow: none;
  border-color: var(--border);
}
.card--hover {
  transition: transform var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard);
}
.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-teal-200);
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: var(--w-semibold);
  background: var(--brand-teal-50);
  color: var(--brand-teal-700);
  border: 1px solid var(--brand-teal-100);
}
.pill--blue {
  background: var(--brand-blue-50);
  color: var(--brand-blue-700);
  border-color: var(--brand-blue-100);
}
.pill--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-teal-300);
  border-color: rgba(255, 255, 255, 0.14);
}
.pill .pill-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  height: 88px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex: 1;
  margin-left: var(--sp-6);
}
.nav__link {
  color: var(--fg-2);
  font-weight: var(--w-medium);
  font-size: 17px;
  padding: 8px 2px;
  position: relative;
  text-decoration: none;
}
.nav__link:hover { color: var(--fg-1); text-decoration: none; }
.nav__link.is-active { color: var(--brand-teal-700); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand-teal);
  border-radius: 2px;
}
.nav__cta { margin-left: auto; }
.nav__burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 1120px) {
  .nav__links {
    position: absolute;
    inset: 88px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-surface);
    margin: 0;
    padding: var(--sp-5) var(--sp-6) var(--sp-6);
    gap: var(--sp-3);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__cta { display: none; }
  .nav.is-open .nav__cta { display: inline-flex; margin-left: 0; margin-top: var(--sp-3); }
  .nav__burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--sp-11) * var(--density-pad)) 0 calc(var(--sp-10) * var(--density-pad));
  overflow: hidden;
}
.hero--gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 500px at 0% 0%, rgba(27, 184, 155, 0.05), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-10);
  align-items: center;
  position: relative;
}
.hero__copy { max-width: 620px; }
.hero__copy .eyebrow { margin-bottom: var(--sp-4); }
.hero__copy h1 { margin: 0 0 var(--sp-5); }
.hero__copy .lead { margin: 0 0 var(--sp-7); }
.hero__ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--brand-teal-100);
  box-shadow: var(--shadow-md);
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-teal-100);
  mix-blend-mode: multiply;
  opacity: 0.18;
}
/* Brand portrait: no duotone overlay, neutral backdrop */
.hero__photo--brand { background: var(--neutral-50); }
.hero__photo--brand::after { display: none; }
.hero__photo--brand img { object-position: center top; }

/* Floating chips on hero media */
.hero__chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}
.hero__chip .chip-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-teal-50);
  color: var(--brand-teal-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero__chip .chip-icon--blue { background: var(--brand-blue-50); color: var(--brand-blue); }
.hero__chip .chip-num {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 24px;
  color: var(--fg-1);
  line-height: 1;
}
.hero__chip .chip-label {
  font-size: 13px;
  color: var(--fg-3);
  margin-top: 2px;
}

.hero__chip--tl { top: 20px; left: -32px; }
.hero__chip--tr { top: 20px; right: -32px; }
.hero__chip--br { bottom: 28px; right: -32px; }
.hero__chip--ml { top: 50%; left: -60px; transform: translateY(-50%); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero__chip--tl, .hero__chip--br, .hero__chip--ml, .hero__chip--tr { left: 12px; right: auto; }
  .hero__chip--tr { right: 12px; left: auto; }
  .hero__chip--br { bottom: 16px; right: 12px; left: auto; }
}

/* Bracket motif corner ornaments */
.bracket-motif {
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: 0;
}
.bracket-motif::before,
.bracket-motif::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 8px solid var(--brand-blue-100);
  border-radius: 50%;
}
.bracket-motif::before {
  top: -110px; left: -110px;
  border-right-color: transparent;
  border-bottom-color: transparent;
}
.bracket-motif::after {
  bottom: -110px; right: -110px;
  border-left-color: transparent;
  border-top-color: transparent;
}

/* ---------- Section header (eyebrow + title + lead) ---------- */
.s-head { margin-bottom: var(--sp-9); max-width: 820px; }
.s-head .eyebrow { margin-bottom: var(--sp-3); }
.s-head h2 { margin: 0 0 var(--sp-4); }
.s-head .lead { margin: 0; }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.stat {
  text-align: left;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: calc(var(--size-5xl) * var(--density-size));
  line-height: 1;
  color: var(--brand-teal-700);
  letter-spacing: -0.03em;
  display: block;
}
.stat__num--blue { color: var(--brand-blue); }
.stat__label {
  margin-top: var(--sp-3);
  font-size: 15px;
  color: var(--fg-2);
  max-width: 30ch;
}
.stats--dark .stat__num { color: var(--brand-teal-300); }
.stats--dark .stat__label { color: var(--neutral-300); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  gap: var(--sp-6);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.feature__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-teal-50);
  color: var(--brand-teal-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2);
}
.feature__icon--blue {
  background: var(--brand-blue-50);
  color: var(--brand-blue);
}
.feature h3, .feature h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: var(--w-semibold);
  line-height: 1.2;
  color: var(--fg-1);
  margin: 0;
}
.feature p {
  margin: 0;
  color: var(--fg-2);
  line-height: var(--lh-normal);
}

/* ---------- Process steps (numbered) ---------- */
.steps {
  display: grid;
  gap: var(--sp-5);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-6);
  align-items: start;
  padding: var(--sp-7);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 56px;
  line-height: 1;
  color: var(--brand-teal-200);
  letter-spacing: -0.03em;
}
.step__body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 var(--sp-2);
  color: var(--fg-1);
  font-weight: var(--w-semibold);
}
.step__body p { margin: 0 0 var(--sp-2); color: var(--fg-2); }
.step__result {
  margin-top: var(--sp-3);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--brand-teal-50);
  border-left: 3px solid var(--brand-teal);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--brand-teal-700);
}
.step__result b { color: var(--brand-teal-700); font-weight: var(--w-semibold); }

/* ---------- Footer ---------- */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: var(--sp-11) 0 var(--sp-7);
  margin-top: var(--sp-10);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-8);
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  margin: 0 0 var(--sp-4);
  font-weight: var(--w-semibold);
}
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--neutral-300); font-size: 15px; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer__brand img { height: 34px; filter: brightness(0) invert(1); margin-bottom: var(--sp-4); }
.footer__bottom {
  margin-top: var(--sp-9);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: 14px;
  color: var(--neutral-400);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- CTA banner ---------- */
.ctabanner {
  background: var(--brand-teal);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--sp-9) var(--sp-9);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-7);
  position: relative;
  overflow: hidden;
}
.ctabanner::before, .ctabanner::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border: 14px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.ctabanner::before {
  top: -150px; left: -150px;
  border-right-color: transparent;
  border-bottom-color: transparent;
}
.ctabanner::after {
  bottom: -150px; right: -150px;
  border-left-color: transparent;
  border-top-color: transparent;
}
.ctabanner h2, .ctabanner .h2 {
  color: #fff;
  margin: 0 0 var(--sp-3);
  font-size: calc(var(--size-3xl) * var(--density-size));
  position: relative;
}
.ctabanner p { color: rgba(255, 255, 255, 0.92); margin: 0; max-width: 520px; position: relative; }
.ctabanner__actions { display: flex; gap: var(--sp-3); position: relative; }
.ctabanner .btn-secondary {
  background: #fff;
  color: var(--brand-teal-700);
  border-color: #fff;
}
.ctabanner .btn-secondary:hover { background: var(--brand-teal-50); }
@media (max-width: 800px) {
  .ctabanner { grid-template-columns: minmax(0, 1fr); padding: var(--sp-7); }
  .ctabanner__actions { flex-direction: column; align-items: flex-start; }
  .impact-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Tabbed list ---------- */
.checklist { display: grid; gap: var(--sp-3); }
.checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 16px;
  color: var(--fg-2);
}
.checklist li::before {
  content: "";
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-teal-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5L8.5 14L15 7' stroke='%231BB89B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>") center/14px no-repeat;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- Comparison split (before/after) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.split__col {
  padding: var(--sp-7);
  background: var(--bg-surface);
}
.split__col + .split__col {
  border-left: 1px solid var(--border);
  background: var(--brand-teal-50);
}
.split__label {
  font-size: 12px;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: var(--w-semibold);
  color: var(--fg-3);
  margin-bottom: var(--sp-3);
  display: block;
}
.split__col + .split__col .split__label { color: var(--brand-teal-700); }
.split__big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: var(--w-bold);
  color: var(--fg-1);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-3);
}
.split__col + .split__col .split__big { color: var(--brand-teal-700); }
.split__col p { margin: 0; color: var(--fg-2); }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split__col + .split__col { border-left: none; border-top: 1px solid var(--border); }
}

/* ---------- Page header (sub pages) ---------- */
.pagehead {
  background: var(--neutral-25);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--sp-10) * var(--density-pad)) 0 calc(var(--sp-9) * var(--density-pad));
  position: relative;
  overflow: hidden;
}
.pagehead__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-9);
  align-items: center;
  position: relative;
  z-index: 1;
}
.pagehead h1 {
  font-size: calc(var(--size-4xl) * var(--density-size));
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--fg-1);
  margin: 0 0 var(--sp-4);
}
.pagehead .eyebrow { margin-bottom: var(--sp-3); display: inline-block; }
.pagehead .lead { margin: 0; max-width: 60ch; }
.pagehead__photo {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--brand-teal-100);
  box-shadow: var(--shadow-md);
}
.pagehead__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .pagehead__inner { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumb ---------- */
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--fg-3);
  margin-bottom: var(--sp-5);
}
.crumbs a { color: var(--fg-3); }
.crumbs a:hover { color: var(--brand-teal-700); text-decoration: none; }
.crumbs .sep { color: var(--fg-4); }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label {
  font-size: 14px;
  font-weight: var(--w-semibold);
  color: var(--fg-1);
}
.field .hint { font-size: 13px; color: var(--fg-3); }
.input, .textarea, .select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--fg-1);
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.textarea {
  height: auto;
  padding: 12px 14px;
  min-height: 140px;
  resize: vertical;
  line-height: var(--lh-normal);
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-focus);
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--fg-2);
  line-height: var(--lh-normal);
}
.checkbox input { margin-top: 3px; accent-color: var(--brand-teal); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  text-decoration: none !important;
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 40px rgba(37,211,102,0.35); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float__tip {
  position: absolute;
  right: 68px;
  bottom: 16px;
  left: auto;
  background: var(--neutral-900);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateX(0); }
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float__tip { display: none; }
}

/* Absentix visual refresh */
:root {
  --font-display: "Source Sans 3", system-ui, sans-serif;
  --fg-1: #06284A;
  --bg-page: #fff;
  --bg-subtle: #f1f7f6;
  --brand-teal-700: #036DB7;
}

.nav { background: #fff; }
.nav__links { gap: clamp(12px, 1.45vw, 23px); }
.nav__link { white-space: nowrap; font-size: 16px; }
@media (min-width: 1121px) {
  .nav__inner { gap: 18px; }
  .nav__links { margin-left: 0; }
  .nav__logo img { height: 45px; }
}
@media (max-width: 1120px) {
  .nav__links { max-height: calc(100dvh - 88px); overflow: auto; }
}
.btn { border-radius: var(--radius-pill); }
.btn-primary { background: #036DB7; color: #fff; border-color: #036DB7; }
.btn-primary:hover { background: #03579A; color: #fff; border-color: #03579A; }
.h1, .h2, .h3, .h4 { font-weight: 700; letter-spacing: -.045em; }
.section--dark, .footer { background: #06284A; }
#soluciones, #catalogo, #contacto { scroll-margin-top: 96px; }

/*__HOMEHERO__*/
/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #06284A; color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--brand-blue); outline-offset: 3px; border-radius: 6px;
}
.nav__link.is-active { color: #036DB7; }

/* ---------- Franja de sectores ---------- */
.sector-strip { border-block: 1px solid var(--border); background: #fff; padding: var(--sp-5) 0; }
.sector-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.sector-strip__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.sector-strip ul { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-strip li { background: var(--brand-teal-50); color: var(--brand-teal-700); border: 1px solid var(--brand-teal-100); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; }

/* ---------- Utilidades que sustituyen estilos en línea de la home ---------- */
.keyline { border-left: 3px solid var(--brand-teal); padding: var(--sp-3) 0 var(--sp-3) var(--sp-6); max-width: 820px; }
.keyline p { margin: 0; color: var(--fg-1); }
.keyline em { font-style: normal; color: var(--brand-teal-700); font-weight: 600; }
.keyline-wrap { padding-bottom: var(--sp-10); }
.grid--split { align-items: center; gap: clamp(32px, 6vw, var(--sp-10)); }
.grid--tight { gap: var(--sp-4); }
.grid--tighter { gap: var(--sp-3); }
.card--pad { padding: var(--sp-6); }
.card--pad-sm { padding: var(--sp-5); text-align: center; }
.card--pad-sm .feature__icon { margin: 0 auto var(--sp-3); }
.card--pad-sm .mini-label { font-family: var(--font-display); font-weight: 600; color: var(--fg-1); font-size: 15px; }
.mini-title { font-family: var(--font-display); font-size: 20px; margin: 0 0 6px; color: var(--fg-1); font-weight: 600; }
.small-p { font-size: 15px; margin: 0; }
.step-no { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--brand-teal-700); letter-spacing: .05em; }
.step-no--blue { color: var(--brand-blue); }
.step-title { font-family: var(--font-display); font-size: 22px; margin: 4px 0 8px; color: var(--fg-1); font-weight: 600; }
.h2--spaced { margin: var(--sp-3) 0 var(--sp-5); }
.section--rel { position: relative; overflow: hidden; }
.section--rel .container { position: relative; }
.dark-stats { grid-template-columns: 1fr; gap: var(--sp-5); }
.dark-stat {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--sp-6);
  padding: var(--sp-6); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); background: rgba(255,255,255,.03);
}
.dark-stat .stat__num { color: var(--brand-teal-300); font-size: 64px; }
.dark-stat .stat__label { color: var(--neutral-200); font-size: 16px; max-width: none; margin: 0; }
.impact-row {
  margin-top: var(--sp-6); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-7); background: var(--neutral-900); border-radius: var(--radius-lg); color: #fff;
}
.impact-row__k { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-teal-300); font-weight: 600; }
.impact-row__v { font-family: var(--font-display); font-size: 22px; margin-top: 4px; }
.impact-row__v b { color: var(--brand-teal-300); }
.section--noTop { padding-top: 0; }
@media (max-width: 560px) {
  .dark-stat { grid-template-columns: 1fr; gap: var(--sp-3); }
  .dark-stat .stat__num { font-size: 52px; }
}

.ww-commercial-hero h1 {
  font: 700 clamp(3rem, 6.4vw, 6rem)/.99 var(--font-display);
  letter-spacing: -.055em;
  margin: .2em 0 .28em;
}
.ww-commercial-hero h1 em { color: #1BB89B; font-style: normal; }
.solution-grid, .ww-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.solution-card {
  min-height: 280px;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  background: #06284A;
  color: #fff;
}
.solution-card img, .solution-card::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.solution-card img { object-fit: cover; transition: transform .25s ease; }
.solution-card::after { content: ""; background: linear-gradient(0deg, #06284A 4%, #06284Ae8 25%, #06284A12 92%); }
.solution-card > div { padding: 1.4rem 3rem 1.4rem 1.4rem; }
.solution-card h3 { color: #fff; margin: 0; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.1; }
.solution-card p { color: #e9f7f6; margin: .35rem 0 0; }
.solution-card span { position: absolute; bottom: 1.45rem; right: 1.25rem; font-size: 1.4rem; color: #1BB89B; }
.solution-card:hover { color: #fff; text-decoration: none; }
.solution-card:hover img { transform: scale(1.04); }

.workwell-page { --fg-1: #06284A; }

.workwell-page .ey {
  color: var(--brand-blue-700);
  font-weight: 700;
  font-size: .83rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.workwell-page h2 {
  font: 700 clamp(2.15rem, 5vw, 4.3rem)/1 var(--font-display);
  letter-spacing: -.045em;
  margin: 0 0 1.3rem;
}
.workwell-page h2 em { font-style: normal; color: var(--brand-blue-700); }
.ww-commercial-hero, .ww-custom {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.ww-commercial-hero { background: #06284A; color: #fff; }
.ww-commercial-hero__copy, .ww-custom__copy { padding: clamp(2rem, 6vw, 6rem); }
.ww-commercial-hero h1 { font-size: clamp(3rem, 5.8vw, 5.5rem); }
.ww-commercial-hero p { color: var(--brand-blue-100); }
.ww-commercial-hero .ey { color: var(--brand-teal-300); }
.ww-commercial-hero__intro { font-size: 1.3rem; }
.ww-commercial-hero__image { min-height: 290px; background: url("../img/workwell/portada.webp") center / cover; }
.ww-commercial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.ww-custom { background: var(--brand-blue-100); }
.ww-custom__image { min-height: 260px; background: url("../img/workwell/equipo.webp") center / cover; }
.ww-section-inner { width: min(calc(100% - 2.5rem), var(--container-max)); margin-inline: auto; }
.ww-needs, .ww-areas, .ww-catalogue, .ww-method, .ww-contact, .ww-faq { padding-block: clamp(3.5rem, 7vw, 7rem); }
.ww-needs__list, .ww-faq__items { border-top: 1px solid var(--brand-blue-200); }
.ww-needs__list button, .ww-faq details { border: 0; border-bottom: 1px solid var(--brand-blue-200); padding: 1rem .15rem; }
.ww-needs__list button { width: 100%; display: flex; justify-content: space-between; gap: 1rem; text-align: left; }
.ww-faq summary { cursor: pointer; font-weight: 700; }
.ww-faq details p { margin: .75rem 0 0; }
.ww-areas, .ww-faq { background: var(--brand-blue-50); }
.ww-needs > div, .ww-section-head, .ww-contact__grid, .ww-faq > div, .ww-catalogue__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 5rem);
}
.ww-area-cards, .ww-method__grid { display: grid; gap: .9rem; }
.ww-area-cards { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1rem; }
.ww-area-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  border: 1px solid var(--brand-blue-200);
  border-radius: 12px;
  background: #fff;
  padding: 0 0 1rem;
}
.ww-area-card img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; margin-bottom: .85rem; }
.ww-area-card strong, .ww-area-card small, .ww-area-card i { margin: 0 .85rem .4rem; }
.ww-area-card strong { font-size: 1.35rem; line-height: 1.05; }
.ww-area-card i { margin-top: auto; font-size: .85rem; color: var(--brand-blue); font-style: normal; font-weight: 700; }
.ww-area-card:hover { border-color: var(--brand-blue); }
.ww-method__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2rem; }
.ww-method__grid article, .ww-method__grid > div { border-top: 2px solid var(--brand-teal); padding-top: 1rem; }
.ww-method__grid h3 { font-size: 1.4rem; margin: 0 0 .4rem; }
.ww-method__grid span { display: none; }
.ww-catalogue__top { align-items: end; }
.ww-selection { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.ww-selection strong { background: var(--brand-teal-100); padding: .2rem .65rem; border-radius: 99px; }
.ww-catalogue-tabs, .ww-selected-list, .ww-activity__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.ww-catalogue-tabs { margin-block: 1.5rem 2rem; }
.ww-catalogue-panels h3 { margin-bottom: .45rem; }
.ww-catalogue-panels [hidden] { display: none; }
.ww-activity { display: flex; flex-direction: column; background: var(--brand-blue-50); border: 1px solid var(--brand-blue-200); padding: 1.25rem; border-radius: 12px; }
.ww-activity h4 { margin: 0; font-size: 1.28rem; line-height: 1.18; }
.ww-activity p { margin: .55rem 0; }
.ww-activity .ww-duration { margin-top: auto; color: var(--brand-blue); font-weight: 700; }
.ww-activity__actions { align-items: center; margin-top: .5rem; }

.workwell-page button:not(.nav__burger), .wwr-btn {
  font: 700 .94rem/1.25 var(--font-body);
  cursor: pointer;
}
.wwr-btn, .ww-form button[type="submit"], .ww-commercial-link,
.ww-catalogue-tabs button, .ww-selection button, .ww-selected-list button, .ww-activity__actions button {
  display: inline-block;
  border: 1px solid var(--brand-blue-300);
  border-radius: 99px;
  padding: .65rem .95rem;
  background: #fff;
  color: #06284A;
}
.wwr-btn, .ww-form button[type="submit"], .workwell-page button[aria-pressed="true"] {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.ww-commercial-hero .wwr-btn { background: var(--brand-teal); border-color: var(--brand-teal); color: #06284A; }
.wwr-btn:hover, .workwell-page button:not(.nav__burger):hover { filter: brightness(.95); }
.ww-contact { background: var(--brand-blue-50); }
.ww-form { background: #fff; padding: clamp(1rem, 3vw, 2rem); border-radius: 12px; }
.ww-form label { display: grid; gap: .25rem; margin-bottom: .9rem; font-weight: 600; min-width: 0; }
.ww-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ww-form :is(input:not([type="checkbox"]), select, textarea) {
  width: 100%; min-width: 0; font: inherit; font-weight: 400; color: #06284A;
  border: 1px solid var(--brand-blue-300); border-radius: 8px; padding: .6rem; background: #fff;
}
.ww-form textarea { min-height: 6rem; resize: vertical; }
.ww-form .ww-form__privacy { display: flex; align-items: baseline; gap: .6rem; }
.ww-form__trap { position: absolute; clip-path: inset(50%); width: 1px !important; height: 1px; }
.ww-form__notice { margin: .85rem 0 0; }
.ww-form__notice[data-error] { color: #a11c2b; }
.workwell-page :focus-visible, .solution-card:focus-visible { outline: 3px solid #036db7; outline-offset: 3px; }

@media (max-width: 900px) {
  .solution-grid, .ww-activity-grid, .ww-area-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ww-commercial-hero, .ww-custom { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .solution-grid, .ww-activity-grid, .ww-needs > div, .ww-section-head, .ww-contact__grid, .ww-faq > div,
  .ww-catalogue__top, .ww-form__row { grid-template-columns: 1fr; }
  .ww-selection { justify-self: start; }
  .ww-method__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ww-form__row { gap: 0; }
  .solution-card { min-height: 240px; }
  .impact-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .solution-card img, .card--hover, .btn { transition: none; }
}

@media (max-width: 800px) { .impact-row { grid-template-columns: 1fr; } }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }

/* Rejilla de soluciones: 3 + 2 sin hueco vacío */
.solution-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.solution-grid .solution-card { grid-column: span 2; }
.solution-grid .solution-card:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) {
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-grid .solution-card, .solution-grid .solution-card:nth-child(n+4) { grid-column: span 1; }
  .solution-grid .solution-card:last-child { grid-column: span 2; }
}
@media (max-width: 650px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-grid .solution-card:last-child { grid-column: span 1; }
}


/* =====================================================================
   Cabeceras estilo Indartek: menú fijo translúcido en mayúsculas y
   banner con foto a sangre + velo oscuro de izquierda a derecha.
   ===================================================================== */
:root { --serif-italic: "Manrope", system-ui, sans-serif; --mono: "DM Mono", ui-monospace, Menlo, monospace; --veil: 6, 40, 74; }

/* --- Menú --- */
.nav { background: rgba(250, 251, 247, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(19, 35, 26, .1); }
.nav__inner { height: 88px; max-width: none; padding: 0 5.5vw; }
.nav__link { font-size: .82rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; color: #13231a; padding: 8px 0 8px; border-bottom: 2px solid transparent; }
.nav__link.is-active { color: #036DB7; border-bottom-color: #036DB7; }
.nav__link.is-active::after { display: none; }
.nav__link:hover { color: #036DB7; }
.nav__cta { text-transform: uppercase; letter-spacing: .06em; font-weight: 800; font-size: .8rem; height: 40px; padding: 0 22px; }
@media (min-width: 1360px) { .nav__inner { gap: 20px; } .nav__links { gap: clamp(.7rem, 1.05vw, 1.35rem); } }
@media (max-width: 1359px) {
  .nav__links { position: absolute; inset: 88px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; margin: 0; padding: var(--sp-5) 5.5vw var(--sp-6); gap: var(--sp-3); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); display: none; max-height: calc(100dvh - 88px); overflow: auto; }
  .nav.is-open .nav__links { display: flex; }
  .nav__cta { display: none; }
  .nav.is-open .nav__cta { display: inline-flex; margin: var(--sp-3) 0 0; justify-content: center; }
  .nav__burger { display: inline-flex; border-radius: 50%; width: 44px; height: 44px; }
  .nav__link { font-size: .95rem; padding: 12px 0; }
}

/* --- Eyebrow con raya (hero y cabeceras) --- */
.home-hero .eyebrow, .pagehead .eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 1rem;
  font: 500 .72rem/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: #fff;
}
.home-hero .eyebrow::before, .pagehead .eyebrow::before { content: ""; width: 26px; height: 2px; background: #1BB89B; flex: none; }

/* --- Hero de la portada --- */
.home-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(560px, 78vh, 760px); padding: clamp(72px, 9vw, 120px) 0; color: #fff; background: #06284A; }
.home-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; z-index: -2; }
.home-hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--veil), .95), rgba(var(--veil), .74) 52%, rgba(var(--veil), .14)); }
.home-hero__copy { position: relative; }
.home-hero h1 { font: 700 clamp(2.6rem, 5.4vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.045em; color: #fff; margin: 0 0 var(--sp-5); max-width: 15ch; }
.home-hero h1 em { font: italic 400 1.04em/1.05 var(--serif-italic); letter-spacing: -.02em; color: #fff; }
.home-hero .lead { color: #eaf6f4; max-width: 46ch; margin: 0 0 var(--sp-7); }
.home-hero .hero__ctas { align-items: center; gap: var(--sp-6); }
.home-hero .btn-primary, .pagehead .btn-primary { text-transform: uppercase; letter-spacing: .05em; font-weight: 800; font-size: .85rem; }
.hero-link { color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; padding: 10px 0; border-bottom: 2px solid #1BB89B; }
.hero-link:hover { color: #fff; text-decoration: none; border-bottom-color: #fff; }
@media (max-width: 760px) { .home-hero__veil { background: linear-gradient(180deg, rgba(var(--veil), .78), rgba(var(--veil), .92)); } .home-hero h1 { max-width: none; } }

/* --- Cabeceras de subpágina (todas las páginas con .pagehead) --- */
.pagehead { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(120deg, #06284A, #0A3C6B 62%, #0B4E8C); color: #fff; border-bottom: 0; padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.pagehead .container { position: static; }
.pagehead .pagehead__inner { position: static; }
.pagehead__inner > div:first-child, .pagehead .container > div:not(.pagehead__inner) { position: relative; z-index: 1; }
.pagehead__inner { grid-template-columns: minmax(0, 780px); }
.pagehead .pagehead__photo, .pagehead.it-hero .it-hero__visual { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; min-height: 0; border-radius: 0; box-shadow: none; background: transparent; }
.pagehead .pagehead__photo img, .pagehead .it-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.pagehead .it-hero__photo { inset: 0; border-radius: 0; box-shadow: none; }
.pagehead .it-hero__photo::after { display: none; }
.pagehead .it-hero__badge { display: none; }
.pagehead.it-hero { background: linear-gradient(120deg, #06284A, #0A3C6B 62%, #0B4E8C); }
.pagehead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--veil), .95), rgba(var(--veil), .76) 55%, rgba(var(--veil), .22)); }
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; max-width: 20ch; }
.pagehead h1 span, .pagehead h1 em { color: #fff !important; font: italic 400 1.04em/1.05 var(--serif-italic); }
.pagehead .lead { color: #eaf6f4; max-width: 56ch; }
.pagehead .crumbs, .pagehead .crumbs a, .pagehead .crumbs .sep { color: #b9d8d4; }
.pagehead .crumbs a:hover { color: #fff; }
.pagehead .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.pagehead .btn-secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pagehead .pill, .pagehead .tag-row span { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); }
.pagehead p, .pagehead li, .pagehead .body-sm { color: #eaf6f4; }
.pagehead a:not(.btn):not(.crumbs a) { color: #1BB89B; }
.pagehead svg { color: #1BB89B; }


/* =====================================================================
   Banners a pantalla completa (mismo tamaño en todas las páginas) y
   paleta única Absentix: verde azulado de marca + azul del logo como acento.
   ===================================================================== */
:root {
  --abx-teal: #1BB89B;      /* verde del logo */
  --abx-teal-deep: #036DB7; /* color principal: azul del logo */
  --abx-mint: #1BB89B;      /* acento sobre fondos oscuros */
  --abx-blue: #036DB7;      /* azul del logo (acento secundario) */
  --abx-dark: #06284A;      /* superficies oscuras */
  --hero-h: 0px;
}
@supports (height: 100svh) { :root { --hero-h: calc(100svh - 88px); } }

.home-hero { min-height: clamp(560px, 78vh, 760px); }
.ww-commercial-hero { min-height: clamp(520px, 64vh, 660px); }
.pagehead { background-image: linear-gradient(120deg, #06284A, #0A3C6B 62%, #0B4E8C); }
.pagehead .pagehead__photo, .pagehead.it-hero .it-hero__visual { z-index: -2; }
.pagehead { padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.pagehead__inner { align-self: center; }
.pagehead h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; max-width: 20ch; }

/* Portada: el strip de sectores vive dentro del banner, sin hueco blanco debajo */
.home-hero { align-items: center; padding-bottom: 150px; }
.home-hero .sector-strip { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(var(--veil), .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 0; border-top: 1px solid rgba(255,255,255,.16); padding: var(--sp-4) 0; }
.home-hero .sector-strip__label { color: #cfe7e3; }
.home-hero .sector-strip li { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
@media (max-width: 760px) { .home-hero { padding-bottom: 190px; } }

/* WorkWell: mismo banner que el resto */
.ww-commercial-hero { position: relative; isolation: isolate; display: grid; align-items: center; grid-template-columns: minmax(0, 1fr); background: var(--abx-dark) url("../img/workwell/portada.webp") center 30% / cover no-repeat; color: #fff; }
.ww-commercial-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--veil), .95), rgba(var(--veil), .76) 55%, rgba(var(--veil), .2)); }
.ww-commercial-hero__image { display: none; }
.ww-commercial-hero__copy { width: 100%; max-width: var(--container-max); margin-inline: auto; padding: clamp(72px, 9vw, 120px) var(--sp-6); }
.ww-commercial-hero h1 em { font: italic 400 1.04em/1.05 var(--serif-italic); letter-spacing: -.02em; color: #fff; }
.ww-commercial-hero .ey { display: flex; align-items: center; gap: 14px; margin: 0 0 1rem; font: 500 .72rem/1.2 var(--mono); letter-spacing: .13em; color: #fff; }
.ww-commercial-hero .ey::before { content: ""; width: 26px; height: 2px; background: var(--abx-mint); flex: none; }
.ww-commercial-hero h1 { font: 700 clamp(2.6rem, 5.4vw, 4.6rem)/1.02 var(--font-display); letter-spacing: -.045em; max-width: 14ch; margin: 0 0 var(--sp-5); }
.ww-commercial-hero__intro { font-size: 1.25rem; color: #eaf6f4; max-width: 46ch; }
.ww-commercial-hero p { color: #eaf6f4; max-width: 56ch; }
.ww-commercial-hero .wwr-btn { background: var(--abx-teal-deep); border-color: var(--abx-teal-deep); color: #fff; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; font-size: .85rem; padding: 1rem 1.5rem; }
.ww-commercial-hero .ww-commercial-link { background: transparent; color: #fff; border: 0; border-bottom: 2px solid var(--abx-mint); border-radius: 0; padding: 10px 0; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; font-size: .85rem; }

/* Superficies oscuras con el mismo tono */
.impact-row { background: var(--abx-dark); }


/* Paleta corporativa: azul del logo como color principal, verde del logo solo como acento */
:root {
  --brand-teal-700: #03579A;  /* textos y eyebrows */
  --brand-teal-600: #036DB7;
  --brand-teal-50: #EEF4FB;
  --brand-teal-100: #DCE9F6;
  --brand-teal-200: #B0D2EC;
  --link: #036DB7;
}
.ctabanner { background: linear-gradient(120deg, #03579A, #036DB7); }
.ctabanner .btn-secondary { color: #03579A; }
.btn-primary { background: #036DB7; border-color: #036DB7; }
.btn-primary:hover { background: #03579A; border-color: #03579A; }
.nav__link.is-active { color: #036DB7; border-bottom-color: #036DB7; }
.pagehead { background-image: linear-gradient(120deg, #06284A, #0A3C6B 62%, #0B4E8C); }


/* =====================================================================
   Pantallas completas: cada banner y cada bloque ocupa el alto visible
   (pantalla menos el menú), como en indartek.es.
   ===================================================================== */
:root { --vh-block: calc(100vh - 88px); }
@supports (height: 100svh) { :root { --vh-block: calc(100svh - 88px); } }
html { scroll-padding-top: 88px; }

/* Banners */
.home-hero, .pagehead, .ww-commercial-hero { min-height: var(--vh-block); display: grid; align-items: center; }
.home-hero { padding: 72px 0 132px; }
.pagehead { padding-block: 72px; }
.ww-commercial-hero__copy { padding-block: 72px; }
.home-hero h1, .pagehead h1, .ww-commercial-hero h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.03; letter-spacing: -.045em; max-width: 18ch; margin-bottom: var(--sp-5); }
.home-hero .lead, .pagehead .lead, .ww-commercial-hero__intro { font-size: 1.2rem; line-height: 1.6; margin-bottom: var(--sp-6); max-width: 58ch; }
.pagehead .crumbs { margin-bottom: var(--sp-4); }
.pagehead p:not(.lead) { margin-block: .5rem; }
.home-hero .sector-strip { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(var(--veil), .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 0; border-top: 1px solid rgba(255,255,255,.16); padding: var(--sp-4) 0; }

/* Bloques de contenido a pantalla completa (solo en páginas marcadas con data-blocks) */
body[data-blocks] main > section:not(.home-hero):not(.pagehead):not(.ww-commercial-hero) {
  min-height: var(--vh-block);
  display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(48px, 6vw, 80px);
}
body[data-blocks] main > section.container { max-width: var(--container-max); }
body[data-blocks] main > section > .container { width: 100%; }
body[data-blocks] main > section > .ww-section-inner { width: min(calc(100% - 2.5rem), var(--container-max)); margin-inline: auto; }
body[data-blocks] main > section .s-head { margin-bottom: var(--sp-8); }
/* Frase destacada de la portada como pantalla propia */
body[data-blocks] .keyline-wrap { max-width: none; background: #fff; padding-block: 0; }
.keyline-wrap .keyline { max-width: 980px; margin-inline: auto; padding: var(--sp-6) 0 var(--sp-6) var(--sp-8); border-left-width: 4px; }
.keyline-wrap .keyline .lead { font-size: clamp(1.6rem, 3.2vw, 2.7rem); line-height: 1.25; max-width: none; letter-spacing: -.02em; }

/* Imán suave entre pantallas */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  .home-hero, .pagehead, .ww-commercial-hero, body[data-blocks] main > section, .footer { scroll-snap-align: start; }
}
@media (max-width: 760px) { .home-hero { padding-bottom: 190px; } }



/* ---------- Bloques rediseñados: contenido unido y bloques ampliados ---------- */
.merged-block.merged-top { margin-bottom: var(--sp-9); }
.merged-block.merged-bottom { margin-top: var(--sp-9); }
.merged-block { width: 100%; }
body[data-blocks] main > section > .container + .merged-block { margin-top: var(--sp-9); }
.merged-block > .s-head:last-child { margin-bottom: 0; }

/* Bloques con poco contenido: tipografía y espacios más generosos */
body[data-blocks] [data-fill] .h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.04; }
body[data-blocks] [data-fill] .lead { font-size: 1.3rem; max-width: 56ch; }
body[data-blocks] [data-fill] .s-head { margin-bottom: var(--sp-8); }

/* Tarjetas de contacto bajo los banners de llamada a la acción */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-7); }
.contact-cards li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-6); display: grid; gap: 6px; align-content: start; box-shadow: var(--shadow-sm); color: var(--fg-1); }
.contact-cards strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--fg-1); }
.contact-cards a, .contact-cards li > span:not(.cc-ico) { color: var(--brand-teal-700); font-weight: 600; font-size: .98rem; line-height: 1.45; }
.contact-cards a:hover { color: var(--brand-blue-700); }
.cc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-teal-50); color: var(--brand-blue); display: grid; place-items: center; margin-bottom: var(--sp-2); }
@media (max-width: 960px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
body[data-blocks] [data-fill] .ctabanner { padding: var(--sp-10) var(--sp-9); }
body[data-blocks] [data-fill] .ctabanner h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); }

/* WorkWell en Formaciones: texto + foto */
.ww-split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ww-split__list { margin: var(--sp-6) 0 var(--sp-7); }
.ww-split__fig { margin: 0; }
.ww-split__fig img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .ww-split__grid { grid-template-columns: 1fr; } }
body[data-blocks] .split__big { font-size: clamp(3rem, 6vw, 5rem); }
body[data-blocks] .split__col { padding: var(--sp-9) var(--sp-8); }


/* ---------- Bloques con foto de fondo a todo el bloque ---------- */
.bg-photo { position: relative; isolation: isolate; overflow: hidden; background: #06284A !important; color: #fff; }
.bg-photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bg-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 40, 74, .94), rgba(6, 40, 74, .8) 55%, rgba(6, 40, 74, .5)); }
.bg-photo--cta::after { background: linear-gradient(180deg, rgba(6, 40, 74, .78), rgba(6, 40, 74, .9)); }
.bg-photo :is(h1, h2, h3, h4, p, li, .lead, .stat__label, .eyebrow):not(.card *):not(.contact-cards *):not(.ctabanner *):not(.split *):not(.impact-row *) { color: #fff; }
.bg-photo :is(p, li, .lead, .stat__label):not(.card *):not(.contact-cards *):not(.ctabanner *):not(.split *):not(.impact-row *) { color: #e4eefa; }
.bg-photo .eyebrow:not(.card *) { color: #5fd9c2; }
.bg-photo .stat__num { color: #fff; }
.bg-photo .stat__num--blue { color: #9fd0f7; }
.bg-photo .keyline { border-left-color: #1BB89B; }
.bg-photo .keyline p, .bg-photo .keyline .lead { color: #fff; }
.bg-photo .keyline em { color: #5fd9c2; }
.bg-photo .btn-ghost, .bg-photo .btn-secondary { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.bg-photo .card { background: rgba(255, 255, 255, .96); }
.bg-photo .bracket-motif { display: none; }
.bg-photo .dark-stat { background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
@media (max-width: 760px) { .bg-photo::after { background: linear-gradient(180deg, rgba(6,40,74,.85), rgba(6,40,74,.92)); } }
.bg-photo--strong::after { background: linear-gradient(90deg, rgba(6, 40, 74, .93), rgba(6, 40, 74, .86) 60%, rgba(6, 40, 74, .78)); }
.bg-photo .brand-teal, .bg-photo b.brand-teal { color: #5fd9c2; }

/* WorkWell: bloque propuesta propia en dos columnas (foto + texto) */
body[data-blocks] main > section.ww-custom { display: grid !important; grid-template-columns: 1fr 1fr; padding: 0 !important; align-items: stretch; }
body[data-blocks] .ww-custom__image { min-height: var(--vh-block); height: 100%; }
body[data-blocks] .ww-custom__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 6rem); }
@media (max-width: 900px) {
  body[data-blocks] main > section.ww-custom { grid-template-columns: 1fr !important; }
  body[data-blocks] .ww-custom__image { min-height: 280px; }
}


/* ---------- Tipografía estilo Indartek (Manrope + DM Mono) ---------- */
body { font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: "Manrope", system-ui, sans-serif; font-weight: 700; letter-spacing: -.045em; }
h1, h2 { line-height: 1.02; }
h3, .h3 { letter-spacing: -.03em; }
.eyebrow, .ey, .stat__label, .nav__link { font-family: "DM Mono", ui-monospace, Menlo, monospace; }
.eyebrow, .ey { font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.nav__link { font-family: "Manrope", system-ui, sans-serif; letter-spacing: .05em; }
.home-hero h1 em, .pagehead h1 em, .pagehead h1 span, .ww-commercial-hero h1 em, h1 em, h2 em { font: inherit; font-style: normal; letter-spacing: inherit; }
.home-hero h1 em, .pagehead h1 em, .ww-commercial-hero h1 em { color: #9fd0f7; }
.ww-areas h2 em, .ww-catalogue h2 em, .ww-custom h2 em, main h2 em { color: #036DB7; }
.bg-photo h2 em { color: #9fd0f7; }

/* ---------- Menú centrado ---------- */
.nav__cta--desk { display: none; }
@media (min-width: 1360px) {
  .nav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
  .nav__logo { justify-self: start; }
  .nav__links { justify-self: center; margin: 0; justify-content: center; }
  .nav__links .nav__cta { display: none; }
  .nav__cta--desk { display: inline-flex; justify-self: end; }
}

/* ---------- WorkWell estilo Indartek ---------- */
.ww-needs { background: #f4f7fb; }
.ww-areas { background: #eaf2fb; }
.ww-catalogue { background: #fff; }
.ww-custom { background: #eef3f9; }
.ww-contact { background: #fff; }
.ww-faq { background: #eaf2fb; }
.ww-area-cards { counter-reset: area; }
.ww-area-card { counter-increment: area; position: relative; }
.ww-area-card::before { content: "0" counter(area); position: absolute; top: .7rem; left: .7rem; z-index: 2; font: 500 .75rem/1 "DM Mono", monospace; letter-spacing: .12em; color: #fff; background: rgba(6, 40, 74, .78); padding: .4rem .55rem; border-radius: 999px; }
body[data-blocks] main > section.ww-method { background: linear-gradient(160deg, #06284A, #0A3C6B); color: #fff; }
.ww-method h2, .ww-method h3, .ww-method .ww-section-head h2 { color: #fff; }
.ww-method p, .ww-method small, .ww-method li { color: #d7e6f7; }
.ww-method .ey, .ww-method .eyebrow { color: #5fd9c2; }
.ww-method h2 em { color: #9fd0f7; }
.ww-method__grid article, .ww-method__grid > div { border-top-color: #1BB89B; }

.ww-custom__copy .btn, .ww-custom__copy a, .ww-custom__copy button { align-self: flex-start; width: auto; }

.contact-card h1 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; margin: 0 0 .5rem; }

.cta-note { margin-top: 1rem; font-size: .82rem; color: #cfe0f3 !important; text-align: center; }
.ctabanner__actions { display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.ctabanner .eyebrow { color: #bfe9df !important; }
.contact-cards li > span:not(.cc-ico) { color: #3b4a58; font-size: .92rem; line-height: 1.45; }
.ctabanner .hero-link { color: #fff; }
.ctabanner__actions .btn-lg { background: #fff; color: #036DB7; border-color: #fff; font-weight: 800; }
.ctabanner__actions .btn-lg:hover { background: #eaf2fb; }

/* =====================================================================
   PORTADA COMERCIAL 2027
   ===================================================================== */
.btn-light { background: #fff; color: #036DB7; border: 1px solid #fff; font-weight: 800; }
.btn-light:hover { background: #eaf2fb; color: #03579A; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 1.1rem 0 0; padding: 0; font: 500 .8rem/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #dbe9f7; }
.hero__meta span + span::before { content: "·"; margin-right: 1.1rem; color: #5fd9c2; }
.hero__note { margin: .8rem 0 0; font-size: .85rem; color: #c3d6ea; max-width: 56ch; }
.home-hero h1 { max-width: 20ch; font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.note { font-size: .82rem; color: #5b6b78; margin: 1rem 0 0; max-width: 70ch; }
.section .s-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Presentia */
.pres { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.pres__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.pres__list li { display: flex; align-items: center; gap: .8rem; }
.pres__list svg { flex: none; color: #036DB7; background: #eaf2fb; border-radius: 10px; padding: 7px; width: 38px; height: 38px; }
.pres__cta { margin-top: 1.6rem; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.journey li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid #dbe6f1; border-radius: 16px; padding: 1.2rem 1.3rem; box-shadow: 0 8px 24px rgba(6, 40, 74, .06); }
.journey__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #036DB7; color: #fff; display: grid; place-items: center; font-weight: 800; }
.journey h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.journey p { margin: 0; color: #3d4c59; font-size: .95rem; }

/* Calculadora */
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 3vw, 3rem); background: #fff; border: 1px solid #dbe6f1; border-radius: 22px; padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: 0 14px 40px rgba(6, 40, 74, .08); }
.calc__field { margin-bottom: 1.2rem; }
.calc__field label { display: block; font-weight: 700; margin-bottom: .45rem; }
.calc__row { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; align-items: center; }
.calc__row input[type=range] { width: 100%; accent-color: #036DB7; }
.calc__hint { font-size: .85rem; color: #5b6b78; margin: 0; }
.calc__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kpi { background: #06284A; color: #fff; border-radius: 16px; padding: 1.1rem 1.3rem; }
.kpi__l { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #bcd3ea; margin-bottom: .3rem; }
.kpi__v { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.calc__sub { margin: 1.4rem 0 .8rem; font-size: 1.05rem; letter-spacing: -.01em; }
.bars { display: grid; gap: .9rem; }
.bar__h { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; margin-bottom: .3rem; }
.bar__t { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: #eaf2fb; }
.bar__a { background: #036DB7; } .bar__s { background: #1BB89B; }
.bar small { color: #5b6b78; font-size: .8rem; }
.calc__cta { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.calc__cta p { margin: 0; max-width: 28ch; }
.calc__rel { margin: 1.4rem 0 0; text-align: center; color: #3d4c59; }
.calc__rel em { font-style: normal; font-weight: 700; color: #036DB7; }

/* Soluciones */
.sol5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.sol { background: #fff; border: 1px solid #dbe6f1; border-radius: 18px; padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; box-shadow: 0 8px 24px rgba(6, 40, 74, .05); }
.sol__ico { width: 52px; height: 52px; border-radius: 14px; background: #eaf2fb; color: #036DB7; display: grid; place-items: center; }
.sol h3 { margin: .3rem 0 0; font-size: 1.35rem; }
.sol__q { font-weight: 700; color: #06284A; margin: 0; line-height: 1.3; }
.sol p { margin: 0; font-size: .95rem; color: #3d4c59; }
.sol .btn { margin-top: auto; justify-content: center; font-size: .78rem; height: 44px; padding: 0 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }

/* Present 360 */
body[data-blocks] main > section.p360 { background: linear-gradient(160deg, #06284A, #0A3C6B); color: #fff; }
.p360 h2, .p360 .lead { color: #fff; } .p360 .lead { color: #d7e6f7; }
.p360 .eyebrow { color: #5fd9c2; }
.shots__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.shots__tabs button { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 999px; padding: .5rem 1rem; font: 700 .85rem "Manrope", sans-serif; cursor: pointer; }
.shots__tabs button[aria-selected="true"] { background: #fff; color: #036DB7; border-color: #fff; }
.shots__tabs button:focus-visible { outline: 3px solid #5fd9c2; outline-offset: 2px; }
.shots__frame { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); max-width: 980px; }
.shots__bar { display: flex; gap: 6px; padding: 10px 14px; background: #e8eef5; }
.shots__bar i { width: 10px; height: 10px; border-radius: 50%; background: #b8c6d4; }
.shots__frame img { display: block; width: 100%; height: auto; max-height: 52vh; object-fit: contain; object-position: top; background: #fff; }
.p360__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.6rem; }

/* Beneficios */
.ben4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ben { background: #fff; border: 1px solid #dbe6f1; border-radius: 18px; padding: 1.6rem; }
.ben svg { color: #036DB7; } .ben h3 { margin: .8rem 0 .4rem; font-size: 1.3rem; } .ben p { margin: 0; color: #3d4c59; }

/* Casos */
.case { background: #fff; border: 1px solid #dbe6f1; border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); }
.case__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-bottom: 1.4rem; font-weight: 700; font-size: .9rem; color: #06284A; }
.case__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.case__flow { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 1rem; align-items: stretch; }
.case__col { background: #f4f7fb; border-radius: 16px; padding: 1.2rem; }
.case__col--mid { background: #eaf2fb; } .case__col--end { background: #06284A; color: #fff; }
.case__col h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-size: 1.2rem; }
.case__col h3 span { width: 28px; height: 28px; border-radius: 50%; background: #036DB7; color: #fff; display: grid; place-items: center; font-size: .85rem; }
.case__col ul { margin: 0; padding-left: 1.1rem; } .case__col p { margin: 0; }
.case__col--end h3 { color: #fff; } .case__pending { color: #d7e6f7; }
.case__arrow { display: grid; place-items: center; color: #036DB7; }
.case__cta { margin-top: 1.4rem; }

/* Metodología */
.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: ph; }
.phases li { background: #fff; border: 1px solid #dbe6f1; border-radius: 18px; padding: 1.5rem; position: relative; }
.phases li:not(:last-child)::after { content: "→"; position: absolute; right: -.95rem; top: 50%; z-index: 2; color: #036DB7; font-weight: 800; background: #eaf2fb; border-radius: 50%; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; transform: translateY(-50%); }
.phase__n { width: 48px; height: 48px; border-radius: 14px; background: #036DB7; color: #fff; display: grid; place-items: center; margin-bottom: .8rem; }
.phases h3 { margin: 0 0 .4rem; font-size: 1.25rem; } .phases p { margin: 0; color: #3d4c59; }
.met__cta { margin-top: 1.6rem; }

/* Formación */
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.aud__card { display: flex; flex-direction: column; gap: .4rem; background: #fff; border: 1px solid #dbe6f1; border-radius: 18px; padding: 1.4rem; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.aud__card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6, 40, 74, .1); }
.aud__card svg { color: #036DB7; } .aud__card h3 { margin: .4rem 0 0; font-size: 1.3rem; } .aud__card p { margin: 0; color: #3d4c59; }
.aud__card span { margin-top: auto; font-weight: 800; color: #036DB7; }
.aud__feat { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.2rem 0; }
.aud__feat li { background: #eaf2fb; color: #06284A; border-radius: 999px; padding: .4rem .9rem; font-weight: 700; font-size: .88rem; }
.ww4 { background: #06284A; color: #fff; border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); }
.ww4 h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.4rem; } .ww4 p { color: #d7e6f7; margin: 0; }
.ww4__list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; padding: 0; margin: 1.2rem 0; }
.ww4__list a { display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: .9rem 1rem; color: #fff; text-decoration: none; font-weight: 700; }
.ww4__list a:hover { background: rgba(255,255,255,.2); }
.ww4__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.ww4 .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }

/* Sectores */
.sect5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.sect { background: #fff; border: 1px solid #dbe6f1; border-radius: 18px; padding: 1.3rem; display: flex; flex-direction: column; gap: .4rem; }
.sect > span { color: #036DB7; } .sect h3 { margin: .4rem 0 0; font-size: 1.15rem; } .sect p { margin: 0; font-size: .93rem; color: #3d4c59; }
.sect a { margin-top: auto; padding-top: .6rem; font-weight: 800; color: #036DB7; text-decoration: none; }

/* Confianza */
.trust6 { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; }
.trust6 li { display: flex; align-items: center; gap: .8rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 1.1rem 1.2rem; color: #fff; }
.trust6 svg { flex: none; color: #5fd9c2; }
.trust__cta { margin-top: 1.6rem; }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 900px; }
.faq details { background: #fff; border: 1px solid #dbe6f1; border-radius: 14px; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 800; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: #036DB7; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 1.1rem; color: #3d4c59; }

/* CTA final */
.final { max-width: 900px; }
.final h2, .final .lead { color: #fff; }
.final__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin: 1.4rem 0 2rem; }
.final .contact-cards { margin-top: 0; }

/* Navegación: desplegable */
.nav__dd { position: relative; display: inline-flex; }
.nav__dd-btn { background: none; border: 0; cursor: pointer; font: inherit; display: inline-flex; align-items: center; gap: .3rem; }
.nav__dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav__dd-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 260px; background: #fff; border: 1px solid #dbe6f1; border-radius: 14px; box-shadow: 0 18px 40px rgba(6, 40, 74, .15); padding: .5rem; z-index: 60; }
.nav__dd-menu a { display: block; padding: .65rem .8rem; border-radius: 10px; color: #06284A; font-weight: 700; font-size: .9rem; text-decoration: none; text-transform: none; letter-spacing: 0; }
.nav__dd-menu a:hover, .nav__dd-menu a:focus-visible { background: #eaf2fb; color: #036DB7; }
.nav__dd.is-open .nav__dd-menu { display: block; }
@media (min-width: 1360px) { .nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu { display: block; } .nav__dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } }
@media (max-width: 1359px) { .nav__dd { display: block; } .nav__dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 .8rem; min-width: 0; } }

/* Responsive portada */
@media (max-width: 1200px) { .sol5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sect5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .pres, .calc { grid-template-columns: 1fr; }
  .ben4, .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phases li::after { display: none; }
  .case__flow { grid-template-columns: 1fr; } .case__arrow { transform: rotate(90deg); }
  .aud, .trust6 { grid-template-columns: 1fr; } .ww4__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sol5, .sect5, .ben4, .phases { grid-template-columns: 1fr; }
  .calc__row { grid-template-columns: 1fr; } .calc__kpis { grid-template-columns: 1fr; }
  .calc__cta .btn, .final__cta .btn, .pres__cta .btn, .p360__cta .btn { width: 100%; justify-content: center; }
  .home-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .shots__frame img { max-height: none; }
}
.optional { margin: 0 0 var(--sp-4); border-top: 1px solid #dbe6f1; padding-top: .8rem; }
.optional summary { cursor: pointer; font-weight: 700; color: #036DB7; padding: .3rem 0 .8rem; }
.optional .hint { font-weight: 400; color: #5b6b78; }
.stats--dark .stat__num { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.sol .btn { white-space: normal; text-align: center; height: auto; min-height: 44px; padding: 10px 10px; font-size: .72rem; line-height: 1.2; }
.case__col ul { list-style: disc; }
.nav__dd-menu a b { display: block; font-weight: 800; }
.nav__dd-menu a small { display: block; font-weight: 500; color: #5b6b78; font-size: .78rem; margin-top: .1rem; }
.nav__dd-menu { min-width: 300px; }
.nav__dd-btn.nav__link { font-family: "Manrope", system-ui, sans-serif; font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #13231a; }
.nav__dd-btn.nav__link.is-active, .nav__dd-btn.nav__link:hover { color: #036DB7; }

/* =====================================================================
   CABECERA 2027 (.hdr) — menú principal
   ===================================================================== */
:root { --hdr-h: 80px; --vh-block: calc(100vh - var(--hdr-h)); }
@supports (height: 100svh) { :root { --vh-block: calc(100svh - var(--hdr-h)); } }
html { scroll-padding-top: calc(var(--hdr-h) + 12px); }

.hdr { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid #e1eaf3; }
.hdr__inner { max-width: 1560px; margin: 0 auto; padding: 0 clamp(16px, 2.2vw, 40px); min-height: var(--hdr-h); display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav cta"; align-items: center; column-gap: clamp(14px, 1.6vw, 32px); }
.hdr__logo { grid-area: logo; display: inline-flex; align-items: center; }
.hdr__logo img { height: 46px; width: auto; display: block; }
.hdr__nav { grid-area: nav; justify-self: center; min-width: 0; }
.hdr__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.hdr__link { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: 10px clamp(8px, .85vw, 14px); font: 600 clamp(.94rem, 1.05vw, 1.02rem)/1.2 "Manrope", system-ui, sans-serif; letter-spacing: -.005em; color: #13231a; text-decoration: none; text-transform: none; white-space: nowrap; background: none; border: 0; border-radius: 8px; cursor: pointer; transition: color .15s ease, background-color .15s ease; }
.hdr__link::after { content: ""; position: absolute; left: clamp(8px, .85vw, 14px); right: clamp(8px, .85vw, 14px); bottom: 3px; height: 2px; border-radius: 2px; background: #036DB7; transform: scaleX(0); transform-origin: center; transition: transform .18s ease; }
.hdr__link:hover { color: #036DB7; }
.hdr__link:hover::after { transform: scaleX(.35); }
.hdr__link[aria-current="page"] { color: #036DB7; font-weight: 700; }
.hdr__link[aria-current="page"]::after { transform: scaleX(1); }
.hdr__link:focus-visible, .hdr__burger:focus-visible, .hdr__cta:focus-visible, .hdr__menu a:focus-visible { outline: 3px solid #1BB89B; outline-offset: 2px; }

.hdr__dd { position: relative; }
.hdr__dd-btn::before { content: ""; order: 2; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.hdr__dd.is-open .hdr__dd-btn { color: #036DB7; }
.hdr__dd.is-open .hdr__dd-btn::before { transform: rotate(-135deg) translateY(-1px); }
.hdr__menu { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 360px; background: #fff; border: 1px solid #dbe6f1; border-radius: 16px; box-shadow: 0 22px 50px rgba(6, 40, 74, .16); padding: 8px; z-index: 120; }
.hdr__dd.is-open .hdr__menu { display: block; }
.hdr__menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: #06284A; text-decoration: none; transition: background-color .15s ease; }
.hdr__menu a:hover { background: #eef5fc; }
.hdr__menu-ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #eaf2fb; color: #036DB7; display: grid; place-items: center; }
.hdr__menu b { display: block; font: 800 .98rem/1.25 "Manrope", sans-serif; }
.hdr__menu small { display: block; margin-top: 3px; font: 500 .85rem/1.4 "Manrope", sans-serif; color: #4b5b69; }

.hdr__cta { grid-area: cta; height: 44px; padding: 0 22px; font-size: .95rem; font-weight: 800; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.hdr__cta--panel { display: none; }
.hdr__burger { display: none; grid-area: burger; width: 46px; height: 46px; border: 1px solid #cfdcea; border-radius: 12px; background: #fff; cursor: pointer; padding: 0; align-content: center; justify-items: center; grid-auto-rows: 2px; row-gap: 5px; }
.hdr__burger span { display: block; width: 20px; height: 2px; background: #06284A; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hdr.is-open .hdr__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr.is-open .hdr__burger span:nth-child(2) { opacity: 0; }
.hdr.is-open .hdr__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Pantallas medianas: cabecera en dos niveles */
@media (min-width: 960px) and (max-width: 1299px) {
  :root { --hdr-h: 112px; }
  .hdr__inner { grid-template-columns: 1fr auto; grid-template-areas: "logo cta" "nav nav"; min-height: 0; row-gap: 0; padding-top: 10px; }
  .hdr__logo img { height: 42px; }
  .hdr__nav { justify-self: stretch; border-top: 1px solid #e8eff6; margin-top: 8px; padding: 4px 0 6px; }
  .hdr__list { justify-content: center; flex-wrap: wrap; }
  .hdr__link { font-size: .95rem; padding-left: 9px; padding-right: 9px; }
  .hdr__link::after { left: 9px; right: 9px; }
}
/* Móvil / tablet vertical: hamburguesa */
@media (max-width: 959px) {
  :root { --hdr-h: 68px; }
  .hdr__inner { grid-template-columns: 1fr auto; grid-template-areas: "logo burger"; }
  .hdr__logo img { height: 40px; }
  .hdr__burger { display: grid; }
  .hdr__cta--bar { display: none; }
  .hdr__nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #e1eaf3; box-shadow: 0 20px 40px rgba(6, 40, 74, .14); padding: 10px 16px 18px; max-height: calc(100vh - var(--hdr-h)); max-height: calc(100dvh - var(--hdr-h)); overflow-y: auto; justify-self: stretch; }
  .hdr.is-open .hdr__nav { display: block; }
  .hdr__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hdr__list > li { border-bottom: 1px solid #edf2f7; }
  .hdr__link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1.05rem; border-radius: 0; }
  .hdr__link::after { display: none; }
  .hdr__link[aria-current="page"] { box-shadow: inset 3px 0 0 #036DB7; padding-left: 14px; }
  .hdr__menu { position: static; transform: none; width: auto; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 10px 6px; background: transparent; }
  .hdr__menu a { padding: 10px 6px; }
  .hdr__cta--panel { display: inline-flex; width: 100%; justify-content: center; margin-top: 16px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .hdr *, .hdr *::before, .hdr *::after { transition: none !important; } }
