/* =========================================================
   FINCO — Asesoría fiscal, financiera, control interno
   ========================================================= */

:root {
  --navy: #081428;
  --navy-deep: #050D1B;
  --navy-soft: #11223d;
  --blue: #1E37B5;
  --blue-deep: #162990;
  --accent: #3FCFC4;
  --paper: #FFFFFF;
  --mist: #EDF1F4;
  --line: #DCE3E9;
  --line-dark: rgba(255, 255, 255, .16);
  --ink: #0B1D33;
  --body: #4C5A68;
  --body-light: rgba(233, 238, 243, .72);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --topbar-h: 38px;
  --header-h: 86px;
  --header-h-mini: 60px;

  --wrap: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --sect: clamp(72px, 9vw, 132px);
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -.015em
}

p {
  margin: 0 0 1.05em
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px
}

/* ---------- Lenis (smooth scroll) ---------- */
html.lenis,
html.lenis body {
  height: auto
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain
}

.lenis.lenis-stopped {
  overflow: hidden
}

.lenis.lenis-smooth iframe {
  pointer-events: none
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut)
}

/* ---------- tipografía compartida ---------- */
.h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.5vw, 2.9rem);
  line-height: 1.14;
  font-weight: 400;
  margin: .35em 0 .7em;
  max-width: 16ch;
}

.h2--light {
  color: #fff;
  max-width: 14ch
}

.eyebrow {
  display: block;
  font-size: .688rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8C9AA8;
  font-weight: 500;
}

.eyebrow--light {
  color: rgba(255, 255, 255, .55)
}

/* ---------- botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: .813rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}

.btn--solid {
  background: var(--navy);
  color: #fff
}

.btn--solid:hover {
  background: var(--navy-soft)
}

.btn--light {
  background: #fff;
  color: var(--navy)
}

.btn--light:hover {
  background: var(--mist)
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .1)
}

.btn--outline {
  border-color: var(--line);
  color: var(--ink)
}

.btn--outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.btn--block {
  width: 100%
}

/* =========================================================
   Topbar + header (una sola barra fija que se desliza)
   ========================================================= */
.sitebar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: var(--navy);
  transform: translateY(0);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

body.is-stuck .sitebar {
  transform: translateY(calc(var(--topbar-h) * -1))
}

.topbar {
  height: var(--topbar-h);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .62);
  font-size: .688rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--wrap);
  white-space: nowrap;
  overflow: hidden
}

.topbar__mail {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.topbar__mail-ic {
  width: 13px;
  height: 13px;
  flex: 0 0 auto
}

.topbar__mail:hover {
  color: #fff
}

.topbar__sep {
  opacity: .4
}

.topbar__hours {
  margin-left: auto
}

.header {
  position: relative;
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: height .45s cubic-bezier(.4, 0, .2, 1);
}

body.is-stuck .header {
  height: var(--header-h-mini)
}

.header__in {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 28px
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff
}

.brand__logo {
  display: block;
  height: 34px;
  overflow: hidden;
  transition: height .45s cubic-bezier(.4, 0, .2, 1);
}

.brand__logo img {
  display: block;
  height: 55.33px;
  width: auto;
  max-width: none;
}

.brand__tag {
  font-size: .563rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: 6px;
  max-height: 20px;
  opacity: 1;
  transition: max-height .4s ease, opacity .3s ease, margin-top .4s ease;
}

body.is-stuck .brand__logo {
  height: 26px
}

body.is-stuck .brand__logo img {
  height: 42.31px
}

body.is-stuck .brand__tag {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto
}

.nav__link {
  position: relative;
  font-size: .813rem;
  color: rgba(255, 255, 255, .72);
  padding: 6px 0;
  transition: color .3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.nav__link:hover {
  color: #fff
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1)
}

.nav__link.is-active {
  color: #fff
}

.nav__cta {
  background: #fff;
  color: var(--navy);
  margin-left: 6px;
  padding: 12px 22px;
  font-size: .75rem;
  transition: padding .45s cubic-bezier(.4, 0, .2, 1), background .3s ease;
}

.nav__cta:hover {
  background: var(--mist)
}

.nav__cta::after {
  display: none
}

body.is-stuck .nav__cta {
  padding: 10px 20px
}

.burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.burger span {
  display: block;
  height: 1px;
  background: #fff;
  transition: transform .4s ease, width .4s ease, opacity .3s ease
}

.burger span:nth-child(1) {
  width: 24px
}

.burger span:nth-child(2) {
  width: 16px
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg)
}

body.menu-open .burger span:nth-child(2) {
  width: 24px;
  transform: translateY(-3.5px) rotate(-45deg)
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--topbar-h) + var(--header-h));
  display: flex;
  flex-direction: column;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

.hero__panel {
  padding: clamp(26px, 4.6vh, 70px) clamp(24px, 5vw, 72px);
  max-width: 760px;
  margin-left: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__lockup {
  margin-bottom: clamp(16px, 3.2vh, 42px)
}

.hero__logo {
  display: block;
  width: clamp(220px, 20vw, 300px);
  height: auto;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 2.9vw + .55vh, 3.6rem);
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  margin-bottom: .5em;
}

.hero__title .line {
  display: block;
  overflow: hidden
}

.hero__title .line--em {
  font-style: italic;
  font-weight: 400
}

.hero__title .line>span {
  display: block
}

.hero__lead {
  max-width: 52ch;
  font-size: .938rem;
  line-height: 1.8;
  color: var(--body-light);
  margin-bottom: clamp(20px, 3.4vh, 36px);
}

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

.hero__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 0
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__stats {
  border-top: 1px solid rgba(255, 255, 255, .12);
  flex: 0 0 auto
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--wrap)
}

.stat {
  padding: clamp(16px, 2.4vh, 28px) 24px clamp(16px, 2.4vh, 28px) 0;
  /* border-right: 1px solid rgba(255, 255, 255, .12) */
}

.stat:last-child {
  border-right: 0
}

.stat__k {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px
}

.stat__v {
  display: block;
  font-size: .688rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55)
}

/* =========================================================
   Pilares
   ========================================================= */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy)
}

.pillar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 38px clamp(20px, 2.4vw, 34px) 32px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
}

.pillar:last-child {
  border-right: 0
}

.pillar::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  background: var(--navy-soft);
  z-index: -1;
  transition: height .5s cubic-bezier(.4, 0, .2, 1);
}

.pillar:hover::after {
  height: 100%
}

.pillar--photo {
  padding-top: 38px
}

.pillar--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.02);
  transition: transform 1.1s cubic-bezier(.22, 1, .36, 1);
}

.pillar--photo:hover img {
  transform: scale(1.09)
}

.pillar--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 22, 42, .5) 0%, rgba(8, 22, 42, .36) 42%, rgba(8, 22, 42, .78) 100%);
  transition: background .5s ease;
}

.pillar--photo:hover::before {
  background: linear-gradient(180deg, rgba(8, 22, 42, .4) 0%, rgba(8, 22, 42, .28) 42%, rgba(8, 22, 42, .72) 100%);
}

/* fotografías claras: necesitan algo más de carga para el texto blanco */
.pillar--bright::before {
  background: linear-gradient(180deg, rgba(8, 22, 42, .8) 0%, rgba(8, 22, 42, .7) 42%, rgba(8, 22, 42, .92) 100%);
}

.pillar--bright:hover::before {
  background: linear-gradient(180deg, rgba(8, 22, 42, .66) 0%, rgba(8, 22, 42, .54) 42%, rgba(8, 22, 42, .86) 100%);
}

.pillar--photo::after {
  display: none
}

.pillar--photo .pillar__meta {
  color: rgba(255, 255, 255, .72)
}

.pillar__meta {
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55)
}

.pillar__title {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.25;
  color: #fff;
  margin-top: auto;
  padding-top: 34px;
}

.pillar__go {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 18px;
  transition: background .35s ease, border-color .35s ease, transform .35s ease;
}

.pillar__go svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round
}

.pillar__go:hover {
  background: #fff;
  border-color: #fff;
  transform: translate(2px, -2px)
}

.pillar__go:hover svg {
  stroke: var(--navy)
}

/* =========================================================
   Cinta
   ========================================================= */
.ticker {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0
}

.ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform
}

.ticker__set {
  display: flex;
  align-items: center;
  flex: 0 0 auto
}

.ticker__set>span {
  font-size: .688rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #7A8794;
  padding: 0 30px;
}

.ticker__set i {
  width: 4px;
  height: 4px;
  background: #B6C1CC;
  border-radius: 50%;
  flex: 0 0 auto
}

/* =========================================================
   La firma
   ========================================================= */
.firma {
  padding: var(--sect) 0
}

.firma__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.firma__text p {
  max-width: 56ch;
  font-size: .938rem;
  line-height: 1.85
}

.firma__text .btn {
  margin-top: 14px
}

.firma__media {
  position: relative;
  padding-bottom: 64px
}

.firma__photo {
  position: relative;
  margin: 0;
  overflow: hidden
}

.firma__photo img {
  width: 100%;
  height: clamp(280px, 36vw, 430px);
  object-fit: cover;
}

.firma__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--blue) 0%, var(--navy) 100%);
  mix-blend-mode: color;
  opacity: .9;
}

.firma__note {
  position: absolute;
  left: clamp(-20px, -2vw, 0px);
  bottom: 0;
  width: min(78%, 340px);
  background: var(--navy);
  color: #fff;
  padding: 26px 28px;
}

.firma__note p {
  margin: 12px 0 0;
  font-size: .813rem;
  line-height: 1.8;
  color: var(--body-light)
}

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 54px);
  margin-top: clamp(56px, 7vw, 96px);
  /* padding-top: clamp(36px, 4vw, 54px); */
  /* border-top: 1px solid var(--line); */
}

.triad__item h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 14px 0 12px
}

.triad__item p {
  font-size: .875rem;
  line-height: 1.8;
  margin: 0
}

.triad__item+.triad__item {
  padding-left: clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line)
}

/* =========================================================
   La diferencia
   ========================================================= */
.diff {
  background: #081428;
  color: #fff;
  padding: clamp(72px, 9vw, 120px) 0 0;
  position: relative;
  overflow: hidden;
}

.diff__head {
  text-align: center;
  max-width: 820px
}

.diff__title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
  margin: .3em 0 .35em;
}

.diff__title em {
  color: #fff;
  font-style: normal
}

.diff__lead {
  max-width: 56ch;
  margin: 0 auto;
  font-size: clamp(.938rem, 1.5vw, 1.063rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
}

.diff__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(44px, 6vw, 76px);
  /* border-top: 1px solid rgba(255, 255, 255, .22); */
}

.diff__cell {
  padding: clamp(28px, 3.4vw, 46px) clamp(24px, 3vw, 54px) clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.diff__cell:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, .22)
}

.diff__cell:nth-child(even) {
  padding-left: clamp(24px, 3vw, 54px);
  padding-right: 0
}

.diff__cell:nth-child(3),
.diff__cell:nth-child(4) {
  border-bottom: 0
}

.diff__icon {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 16px;
}

.diff__cell h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 10px
}

.diff__cell p {
  font-size: .938rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
  max-width: 46ch;
  margin: 0
}

.diff__word {
  margin-top: clamp(20px, 3vw, 40px);
  text-align: center;
  line-height: .78;
  overflow: hidden;
}

.diff__word span {
  display: block;
  font-size: clamp(4.5rem, 17vw, 15rem);
  font-weight: 700;
  letter-spacing: -.045em;
  background: linear-gradient(180deg, #fff 26%, rgba(255, 255, 255, .06) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: .08em;
}

.diff__word em {
  font-style: normal
}

/* =========================================================
   Servicios
   ========================================================= */
.services {
  background: var(--mist);
  padding: var(--sect) 0
}

.services__h {
  max-width: 20ch
}

.services__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  margin-top: clamp(30px, 4vw, 52px);
}

.acc__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #C9D3DC;
}

.acc__head h3 {
  font-family: var(--serif);
  font-size: 1.4rem
}

.acc__range {
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8C9AA8
}

.acc__item {
  border-bottom: 1px solid var(--line)
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  padding: 18px 0;
  font-family: var(--sans);
  color: var(--ink);
  font-size: .938rem;
  font-weight: 500;
  transition: color .3s ease;
}

.acc__btn:hover {
  color: var(--blue)
}

.acc__ix {
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93A1AE;
  flex: 0 0 12px;
}

.acc__label {
  flex: 1;
  line-height: 1.4
}

.acc__sign {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px
}

.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), background .3s ease;
}

.acc__sign::before {
  top: 6px;
  left: 0;
  width: 13px;
  height: 1px
}

.acc__sign::after {
  left: 6px;
  top: 0;
  width: 1px;
  height: 13px
}

.acc__item.is-open .acc__sign::after {
  transform: scaleY(0)
}

.acc__item.is-open .acc__btn {
  color: var(--ink)
}

.acc__panel {
  height: 0;
  overflow: hidden
}

.acc__body {
  padding: 0 0 24px 26px
}

.acc__body p {
  font-size: .875rem;
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 16px
}

.tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 22px;
}

.tags li {
  position: relative;
  padding-left: 14px;
  font-size: .813rem;
  line-height: 1.6;
  color: #5E6C7A;
}

.tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 1px;
  background: #A9B5C1;
}

/* =========================================================
   Metodología
   ========================================================= */
.method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy)
}

.method__media {
  margin: 0;
  overflow: hidden;
  min-height: 420px
}

.method__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.method__panel {
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 92px) clamp(24px, 5vw, 72px)
}

.method__in {
  max-width: 520px
}

.method__lead {
  font-size: .938rem;
  line-height: 1.8;
  color: var(--body-light);
  max-width: 46ch;
  margin-bottom: 2em
}

.steps {
  margin-bottom: 2.2em
}

.steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .86);
  font-size: .938rem;
}

.steps li span {
  font-size: .688rem;
  letter-spacing: .14em;
  color: #fff;
  flex: 0 0 22px;
}

/* =========================================================
   Entregables
   ========================================================= */
.deliv {
  padding: var(--sect) 0
}

.deliv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.deliv__grid li {
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: .938rem;
  color: var(--ink);
  transition: padding-left .4s cubic-bezier(.4, 0, .2, 1), color .3s ease;
}

.deliv__grid li:hover {
  padding-left: 12px;
  color: var(--blue)
}

.deliv__note {
  margin-top: 26px;
  font-size: .813rem;
  color: #8C9AA8;
  max-width: 46ch
}

/* =========================================================
   Clientes
   ========================================================= */
.clients {
  padding: 0 0 var(--sect)
}

.clients__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 5vw, 72px);
  align-items: end;
}

.clients__note {
  font-size: .875rem;
  line-height: 1.8;
  max-width: 46ch;
  margin: 0 0 .9em
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: clamp(26px, 3vw, 44px);
}

.clients__grid li {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 42px 22px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .938rem;
  line-height: 1.45;
  color: var(--ink);
  transition: background .35s ease;
}

.clients__grid li:hover {
  background: var(--mist)
}

.clients__logo {
  width: auto;
  max-width: 132px;
  max-height: 42px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.clients__name {
  position: relative;
  font-size: .813rem;
  color: #5E6C7A;
}

.clients__sector {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: .563rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #93A1AE;
}

.clients__grid li:first-child,
.clients__grid li:last-child {
  grid-column: span 2
}

/* =========================================================
   Valores
   ========================================================= */
.values {
  background: var(--mist);
  padding: var(--sect) 0
}

.values__list {
  margin-top: clamp(26px, 3vw, 44px);
  border-top: 1px solid #C9D3DC
}

.value {
  display: grid;
  grid-template-columns: 56px 220px 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #C9D3DC;
}

.value__n {
  font-size: .688rem;
  letter-spacing: .14em;
  color: #93A1AE
}

.value h3 {
  font-family: var(--serif);
  font-size: 1.25rem
}

.value p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.75;
  max-width: 70ch
}

/* =========================================================
   Cita
   ========================================================= */
.quote {
  background: var(--navy);
  color: #fff;
  padding: clamp(64px, 8vw, 110px) 0
}

.quote__in {
  position: relative
}

.quote__text {
  margin: .5em 0 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.12;
  color: #fff;
}

.quote__text em {
  font-style: italic
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(32px, 4vw, 52px)
}

.quote__rule {
  width: clamp(28px, 5vw, 64px);
  height: 1px;
  background: rgba(255, 255, 255, .35);
  flex: 0 0 auto
}

.quote__by strong {
  display: block;
  font-size: .938rem;
  font-weight: 500;
  color: #fff
}

.quote__by span {
  display: block;
  font-size: .688rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-top: 6px
}

.quote__mark {
  position: absolute;
  right: 0;
  top: -.35em;
  font-family: var(--serif);
  font-size: clamp(6rem, 12vw, 11rem);
  color: rgba(255, 255, 255, .08);
  line-height: 1;
  pointer-events: none;
}

/* =========================================================
   Contacto
   ========================================================= */
.contact {
  padding: var(--sect) 0
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 86px);
  align-items: start
}

.contact__data {
  margin: 8px 0 0
}

.contact__data>div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line)
}

.contact__data>div:first-child {
  border-top: 1px solid var(--line)
}

.contact__data dt {
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #93A1AE;
  margin-bottom: 8px
}

.contact__data dd {
  margin: 0;
  font-size: .938rem;
  color: var(--ink);
  line-height: 1.7
}

.contact__data dd a:hover {
  color: var(--blue)
}

.contact__map {
  display: inline-block;
  margin-top: 24px;
  font-size: .813rem;
  color: var(--blue);
  border-bottom: 1px solid rgba(30, 55, 181, .35);
  padding-bottom: 3px;
  transition: border-color .3s ease;
}

.contact__map:hover {
  border-color: var(--blue)
}

.contact__form {
  border: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 44px)
}

.contact__form h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 10px
}

.contact__form>p {
  font-size: .875rem;
  line-height: 1.75;
  margin-bottom: 26px;
  max-width: 44ch
}

.field {
  margin-bottom: 18px
}

.field label {
  display: block;
  font-size: .625rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8C9AA8;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: .938rem;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 13px 14px;
  transition: border-color .3s ease, background .3s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy)
}

.field.has-error input,
.field.has-error textarea {
  border-color: #C0392B;
  background: #fff
}

.form__msg {
  margin: 14px 0 0;
  font-size: .813rem;
  min-height: 1.2em
}

.form__msg.is-ok {
  color: #1E7A4B
}

.form__msg.is-error {
  color: #C0392B
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .66);
  padding-top: clamp(52px, 6vw, 80px)
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__logo {
  display: block;
  height: 30px;
  overflow: hidden;
  margin-bottom: 12px;
}

.footer__logo img {
  display: block;
  height: 48.82px;
  width: auto;
  max-width: none;
}

.footer__tag {
  display: block;
  font-size: .563rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-top: 10px;
  line-height: 2;
}

.footer__claim {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .8);
  margin: 22px 0 0;
}

.footer__claim em {
  font-style: italic
}

.footer__col h4 {
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: .875rem;
  padding: 5px 0;
  transition: color .3s ease
}

.footer__col a:hover {
  color: #fff
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

/* =========================================================
   Animaciones
   ========================================================= */
html.js [data-anim="rise"] {
  opacity: 0;
  transform: translateY(28px)
}

html.js .hero__title .line>span {
  transform: translateY(105%)
}

.is-ready-fallback [data-anim="rise"] {
  opacity: 1 !important;
  transform: none !important
}

.is-ready-fallback .hero__title .line>span {
  transform: none !important
}

/* Pantallas anchas pero bajas: el hero se compacta para caber en 100vh */
@media (min-width:961px) and (max-height:960px) {
  .hero__panel {
    padding-top: clamp(18px, 2.4vh, 34px);
    padding-bottom: clamp(18px, 2.4vh, 34px)
  }

  .hero__lockup {
    margin-bottom: 18px
  }

  .hero__logo {
    width: clamp(180px, 18vw, 240px)
  }

  .hero__title {
    font-size: clamp(1.8rem, 2.5vw, 2.7rem);
    margin-bottom: .45em
  }

  .hero__lead {
    font-size: .875rem;
    line-height: 1.7;
    max-width: 48ch;
    margin-bottom: 22px
  }

  .btn {
    padding: 12px 22px
  }

  .stat {
    padding: 16px 24px 16px 0
  }

  .stat__k {
    font-size: 1rem
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1080px) {
  .value {
    grid-template-columns: 44px 180px 1fr;
    gap: 18px
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:960px) {
  :root {
    --header-h: 70px;
    --header-h-mini: 56px
  }

  .topbar__hours {
    display: none
  }

  .burger {
    display: flex
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    padding: 8px var(--gut) 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto
  }

  .nav__link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 1rem
  }

  .nav__link::after {
    display: none
  }

  .nav__cta {
    margin-top: 18px;
    padding: 15px 22px
  }

  .hero {
    min-height: auto;
    min-height: auto
  }

  .hero__grid {
    grid-template-columns: 1fr
  }

  .hero__media {
    order: -1;
    height: clamp(220px, 42vw, 340px)
  }

  .hero__panel {
    padding: 44px var(--gut) 40px;
    max-width: none
  }

  .stats {
    grid-template-columns: 1fr
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0
  }

  .stat:last-child {
    border-bottom: 0
  }

  .pillars {
    grid-template-columns: 1fr 1fr
  }

  .pillar:nth-child(2n) {
    border-right: 0
  }

  .pillar:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .1)
  }

  .firma__grid,
  .services__cols,
  .contact__grid {
    grid-template-columns: 1fr
  }

  .firma__media {
    padding-bottom: 0;
    margin-top: 8px
  }

  .firma__note {
    position: static;
    width: 100%;
    margin-top: -40px;
    margin-left: 0
  }

  .triad {
    grid-template-columns: 1fr;
    gap: 0
  }

  .triad__item {
    padding: 26px 0;
    border-bottom: 1px solid var(--line)
  }

  .triad__item+.triad__item {
    padding-left: 0;
    border-left: 0
  }

  .method {
    grid-template-columns: 1fr
  }

  .method__media {
    min-height: 260px;
    height: 42vw
  }

  .deliv__grid {
    grid-template-columns: 1fr 1fr
  }

  .clients__head {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .clients__grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .value {
    grid-template-columns: 36px 1fr;
    gap: 8px 16px
  }

  .value p {
    grid-column: 2
  }
}

@media (max-width:720px) {

  .topbar__sep,
  .topbar__city {
    display: none
  }

  .topbar__mail {
    font-size: .625rem;
    letter-spacing: .08em
  }

  .brand__tag {
    display: none
  }

  .diff__grid {
    grid-template-columns: 1fr
  }

  .diff__cell {
    padding: 26px 0 !important;
    border-right: 0 !important
  }

  .diff__cell:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, .22)
  }

  .tags {
    grid-template-columns: 1fr
  }

  .pillars {
    grid-template-columns: 1fr
  }

  .pillar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    min-height: 190px
  }

  .deliv__grid {
    grid-template-columns: 1fr
  }

  .clients__grid {
    grid-template-columns: 1fr
  }

  .clients__grid li {
    min-height: 0;
    padding: 20px
  }

  .clients__sector {
    position: static;
    display: block;
    margin-bottom: 8px
  }

  .clients__grid li:first-child,
  .clients__grid li:last-child {
    grid-column: auto
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .quote__mark {
    display: none
  }

  .contact__form {
    padding: 24px 20px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important
  }

  [data-anim="rise"] {
    opacity: 1 !important;
    transform: none !important
  }

  .hero__title .line>span {
    transform: none !important
  }
}

.p-0 {
  padding: 0
}

.hero__title {
  letter-spacing: -.03em;
}

.h2,
.acc__head h3,
.triad__item h3,
.value h3,
.contact__form h3,
.stat__k,
.quote__text {
  letter-spacing: -.025em;
}

@media (max-width: 960px) {
   .p-0 {
  padding: 50px
}
}