:root { color-scheme: light; box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; padding: 0; font: 14px -apple-system, BlinkMacSystemFont, sans-serif; background: #fff; color: #000; }
img { max-width: 100%; }
[hidden]:not([hidden=until-found i]) { display: none !important; }

@font-face { font-family: "Montserrat"; src: url("/portafolio/recursos/fuentes/font-montserrat.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/portafolio/recursos/fuentes/font-sourceserif.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/portafolio/recursos/fuentes/font-sourceserif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --papel:       #F2F1EE;   
  --hoja:        #FFFFFF;   
  --tinta:       #1E1D3D;   
  --tinta-2:     #48445C;   
  --tinta-3:     #625E77;   
  --regla:       #D8D6D0;   
  --coral:       #EC643F;   
  --coral-txt:   #B8432A;   
  --noche:       #1E1D3D;
  --noche-regla: rgba(255,255,255,.16);
  --sobre-noche: #F1F0F5;
  --sobre-noche-2: #B9B4CC;
  --coral-claro: #F27A57;   

  --titulos: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --texto:   "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --marco: clamp(8px, .9vw, 12px);    
  --radio: clamp(12px, 1.3vw, 18px);  
}

* { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-tap-highlight-color: rgba(236, 100, 63, .16); }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--papel); }

p { margin: 0; }
p, li, dd, cite { text-wrap: pretty; }   
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; border-radius: 1px; }
.hero :focus-visible, .contact :focus-visible { outline-color: #fff; }
main:focus { outline: none; }

.saltar { position: absolute; left: 12px; top: -64px; z-index: 100; background: var(--tinta); color: #fff; padding: .8rem 1.1rem; font-family: var(--titulos); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.saltar:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }


.wrap { width: min(1240px, 100% - 2 * max(1.5rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(1240px, 100% - 2 * max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px))); } }


.mono {
  font-family: var(--titulos);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.35;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--titulos);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: 1.06;
  text-wrap: balance;
}
.measure { max-width: 62ch; }


.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: var(--papel); color: var(--tinta);
  border-bottom: 1px solid var(--regla);
}

.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--coral); transform-origin: left center; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .nav::after { animation: avance auto linear both; animation-timeline: scroll(root block); }
}
@keyframes avance { to { transform: scaleX(1); } }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 62px; }

.brandmark { display: flex; align-items: center; text-decoration: none; padding: .35rem 0; }
.brandmark svg { display: block; width: auto; }
.brandmark .logo-largo { height: 19px; }
.brandmark .logo-corto, .brandmark .logo-iso { display: none; }
svg .iso { fill: var(--coral); }
.nav svg .letras { fill: var(--tinta); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { text-decoration: none; color: var(--tinta-2); transition: color .18s; }
.nav-links a:hover { color: var(--tinta); }

.nav-links a:not(.btn):not(.lang) { position: relative; }
.nav-links a:not(.btn):not(.lang)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left center; transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
.nav-links a:not(.btn):not(.lang):hover::after, .nav-links a:not(.btn):not(.lang):focus-visible::after { transform: none; }
.nav-links .lang { border: 1px solid var(--regla); padding: .42rem .65rem; }
.nav-links .lang:hover { border-color: var(--tinta); }
.nav-links a.btn, .nav-links a.btn:hover { color: var(--tinta); }
@media (max-width: 900px) { .nav-links .hide-s { display: none; } }
@media (max-width: 400px) {
  .brandmark .logo-corto { display: none !important; }
  .brandmark .logo-iso { display: block; height: 17px; }
}
@media (max-width: 560px) {
  .brandmark .logo-largo { display: none; }
  .brandmark .logo-corto { display: block; height: 15px; }
  .nav-in { gap: .75rem; }
  .nav-links { gap: .7rem; }
  .nav-links .lang { border: 0; padding: .4rem 0; letter-spacing: .1em; }
  .nav-links .btn { padding: .72rem .75rem; font-size: .7rem; letter-spacing: .06em; white-space: nowrap; }
}

.nav-secciones { display: none; }
@media (max-width: 900px) {
  html { scroll-padding-top: 112px; }   
  .nav-secciones { display: block; border-top: 1px solid var(--regla); }
  .nav-secciones .wrap { display: flex; justify-content: center; gap: clamp(1rem, 6vw, 2.6rem); }
  .nav-secciones a { padding: .68rem 0; font-size: .66rem; letter-spacing: .1em; color: var(--tinta-2); text-decoration: none; white-space: nowrap; }
}

@media (max-width: 900px) and (hover: hover) { .nav-secciones a:hover { color: var(--tinta); } }
@media (max-width: 420px) { .nav-secciones .wrap { justify-content: space-between; gap: .5rem; } .nav-secciones a { letter-spacing: .06em; } }
@media (max-width: 350px) { .nav-secciones a { font-size: .6rem; letter-spacing: .02em; } }   

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--coral); color: var(--tinta); text-decoration: none;
  padding: .95rem 1.3rem;
  font-family: var(--titulos); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800;
  border: 1px solid transparent; transition: filter .16s, transform .16s;
  touch-action: manipulation;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn-ghost:hover { border-color: #fff; }


.hero {
  background: var(--noche); color: var(--sobre-noche); text-align: center;
  padding: clamp(3.2rem, 7vw, 5.4rem) 0 clamp(2.8rem, 5vw, 3.8rem);
  
  margin: var(--marco) max(var(--marco), env(safe-area-inset-right, 0px)) 0 max(var(--marco), env(safe-area-inset-left, 0px));
  border-radius: var(--radio); overflow: hidden;
}
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 3.4rem); line-height: 1.13; letter-spacing: -.006em; max-width: 21ch; margin: 0 auto; }
.hero h1 .em { color: inherit; }

.hero .firma-caja { position: relative; display: block; width: clamp(54px, 5vw, 74px); margin: 0 auto clamp(1.3rem, 2.4vw, 1.8rem); }
.hero .firma { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero .firma-caja::after { content: ""; position: absolute; inset: -3px -4px; background: var(--noche); transform-origin: right center; animation: escribir 1.1s cubic-bezier(.65, 0, .35, 1) .25s both; }
}
@keyframes escribir { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.hero-sub { margin: 1.6rem auto 0; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: #D6D3E2; max-width: 52ch; }

@media (min-width: 760px) { .hero h1 { max-width: none; } .hero h1 .linea { display: block; } }
@media (min-width: 960px) { .hero-sub { max-width: none; } .hero-sub .frase { display: block; text-wrap: balance; } }

.hero-sub + .hero-sub { margin-top: .5rem; }
.hero.hero-pantalla { display: flex; flex-direction: column; padding-bottom: 0; margin-bottom: var(--marco);
  min-height: calc(100vh - 2 * var(--marco)); min-height: calc(100svh - 2 * var(--marco)); }
.hero-pantalla > .wrap { margin-block: auto; }

.hero-cta { margin-top: 2.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }


.cinta { margin-top: clamp(2.6rem, 5vw, 3.6rem); background: var(--coral); color: var(--tinta); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .45rem 1.1rem; padding: 1rem 0; color: var(--tinta); }
.eyebrow span:first-child { font-weight: 800; font-size: .98rem; letter-spacing: .07em; }

.eyebrow .dot {
  width: 15px; height: 9px; background: var(--tinta);
  -webkit-mask: url("/portafolio/recursos/img/isotipo-vaho.svg") center / contain no-repeat;
  mask: url("/portafolio/recursos/img/isotipo-vaho.svg") center / contain no-repeat;
}
@media (max-width: 720px) {
  .eyebrow { gap: .3rem 1.3rem; }
  .eyebrow .dot { display: none; }
  .eyebrow span:first-child { flex-basis: 100%; }
}


.marks {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--noche-regla);
}
.marks figure { margin: 0; padding: 2rem 1rem 1.7rem; display: grid; place-items: center; gap: 1.05rem; border-right: 1px solid var(--noche-regla); }
.marks figure:last-child { border-right: 0; }
.marks img { height: 46px; max-width: 100%; width: auto; object-fit: contain; }

.marks figure:nth-child(1) img { height: 58px; }
.marks figure:nth-child(2) img { height: 40px; }
.marks figure:nth-child(3) img { height: 50px; }
.marks figure:nth-child(4) img { height: 54px; }
.marks figcaption { color: var(--sobre-noche-2); text-align: center; }
.marks figure:first-child figcaption { color: #fff; }
@media (max-width: 720px) {
  .marks { grid-template-columns: repeat(2, 1fr); }
  .marks figure:nth-child(2) { border-right: 0; }
  .marks figure:nth-child(-n+2) { border-bottom: 1px solid var(--noche-regla); }
}


.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 2rem; margin: 2.2rem 0 0; }
.fact { background: none; padding: 0; }
.fact dt { color: var(--sobre-noche-2); font-family: var(--titulos); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.fact dd { margin: .45rem 0 0; font-family: var(--titulos); font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.fact dd small { font-family: var(--texto); font-size: .95rem; font-weight: 400; color: var(--sobre-noche-2); letter-spacing: 0; display: block; margin-top: .3rem; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }


.plate { padding: clamp(3.6rem, 8vw, 6.2rem) 0 0; scroll-margin-top: 76px; }
#top, #contacto { scroll-margin-top: 62px; }

.sheet { position: relative; background: none; border: 0; padding: 0; }

.sheet-head {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start;
  gap: .5rem 2rem; padding-top: calc(1.15rem + 3px);
}

.sheet-head::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--tinta); transform-origin: left center; }
.js .reveal .sheet-head::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1) .12s; }
.js .reveal.in .sheet-head::before { transform: none; }
.sheet-title h2 { font-size: clamp(1.55rem, 2.8vw, 2.45rem); line-height: 1.1; margin-top: .7rem; max-width: 24ch; }
.sheet-kicker { color: var(--tinta); }

.plate-no {
  font-family: var(--texto); font-style: italic; font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: .85;
  color: var(--coral-txt); letter-spacing: -.02em;
}


.spec {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem 2rem;
  margin: 1.7rem 0 0; padding: 1.05rem 0 1.1rem;
  border-top: 1px solid var(--regla); border-bottom: 1px solid var(--regla);
}
.spec > div { background: none; padding: 0; min-width: 0; }
.spec dt { color: var(--tinta-3); font-family: var(--titulos); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.spec dd { margin: .32rem 0 0; font-size: 1rem; line-height: 1.42; }


.note { margin-top: 1.7rem; color: var(--tinta-2); font-size: 1.16rem; line-height: 1.62; }
.note b { color: var(--tinta); font-weight: 600; }


.block { margin-top: clamp(2.2rem, 5vw, 3.3rem); }
.block-label { display: flex; align-items: center; gap: .9rem; color: var(--tinta-3); margin-bottom: 1.2rem; }
.block-label::after { content: ""; flex: 1; height: 1px; background: var(--regla); }


.brand-row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr);
  gap: clamp(1.2rem, 3.5vw, 3rem);
  align-items: start;
  padding: 2.1rem 0;
  border-top: 1px solid var(--regla);
}
.brand-row:first-of-type { border-top: 0; padding-top: .6rem; }
.brand-row.own + .brand-row { border-top: 0; }
@media (max-width: 860px) { .brand-row { grid-template-columns: 1fr; } }

.brand-row.own { border-bottom: 2px solid var(--tinta); margin-bottom: .4rem; padding-bottom: 2.4rem; }
.brand-row.own .name h3 { font-size: 1.6rem; }
.brand-row.own .name .tag { color: var(--tinta); }

.brand-id { display: grid; gap: .95rem; align-content: start; min-width: 0; }
.brand-id .name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; }
.brand-id .name h3 { font-size: 1.32rem; }
.brand-id .name .tag { color: var(--tinta-3); font-family: var(--titulos); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.brand-id .idea { color: var(--tinta-2); font-size: 1.06rem; line-height: 1.6; }
.brand-id .idea b { color: var(--tinta); font-weight: 600; }
.brand-spec { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; }
.brand-spec .sw {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--titulos); font-size: .7rem; letter-spacing: .04em; font-weight: 600; color: var(--tinta-2);
}
.brand-spec .sw i { width: 14px; height: 14px; display: inline-block; border: 1px solid rgba(0,0,0,.14); }

.brand-art { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.brand-art figure { margin: 0; background: var(--hoja); border: 1px solid var(--regla); display: grid; place-items: center; padding: .55rem; }
.brand-art img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1 / 1; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand-art figure, .piece > img { transition: transform .6s cubic-bezier(.2, .7, .3, 1), border-color .3s; }
  .brand-art figure:hover, .piece:hover > img { transform: scale(1.018); border-color: var(--tinta); }
}
@media (max-width: 560px) {
  .brand-art { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  
  .brand-art figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
}


.piece { margin: 0; background: none; border: 0; min-width: 0; }
.piece > img, .piece .stage { background: var(--hoja); border: 1px solid var(--regla); }
.piece .cap {
  padding: .6rem 0 0; background: none; border: 0;
  display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; justify-content: space-between;
}
.piece .cap b { font-family: var(--titulos); font-weight: 700; font-size: .8rem; letter-spacing: .01em; }
.piece .cap span { color: var(--tinta-3); font-style: italic; font-size: .95rem; }


.tiles { display: grid; gap: 1.6rem 1.1rem; }
.tiles.t3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles.t4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .tiles.t4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles.t3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tiles.t4 { grid-template-columns: 1fr; } }
.tiles .piece { display: grid; grid-template-rows: auto auto; align-content: start; }
.tiles.mock .piece img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.tiles.post .piece img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

.stack { columns: 300px 3; column-gap: 1.1rem; }
.stack > .piece { display: block; break-inside: avoid; margin: 0 0 1.5rem; }
.stack > .piece img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 560px) { .stack { columns: 1; } }


.web-hero img { width: 100%; height: auto; }

.web-anatomy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.5vw, 3rem);
  align-items: start;
}

@media (max-width: 860px) { .web-anatomy { grid-template-columns: 1fr; } .web-anatomy > .web-phone { order: -1; } }
.note + .web-anatomy { margin-top: 2rem; }

.anatomy { margin: 0; padding: 0; list-style: none; counter-reset: sec; }
.anatomy li {
  counter-increment: sec;
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: .6rem;
  padding: .9rem 0; border-top: 1px solid var(--regla);
  color: var(--tinta-2); font-size: 1.02rem; line-height: 1.5;
}
.anatomy li:first-child { border-top: 0; padding-top: 0; }
.anatomy li::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--texto); font-style: italic; font-size: 1.05rem;
  color: var(--coral-txt); padding-top: .02rem;
}
.anatomy b { color: var(--tinta); font-weight: 600; }

.web-phone .stage { padding: clamp(1rem, 3vw, 1.9rem); display: grid; place-items: center; }
.web-phone .device {
  width: min(100%, 330px); padding: 9px; border-radius: 40px; background: var(--noche);
}
.web-phone .scroller {
  height: clamp(440px, 62vh, 560px); overflow-y: auto; border-radius: 31px; background: #fff;
  scrollbar-width: thin; scrollbar-color: var(--regla) transparent;
}
.web-phone .scroller img { width: 100%; height: auto; }
.web-phone .scroller:focus-visible { outline-offset: -3px; }

.reel-phone .screen { aspect-ratio: 9 / 16; max-width: 100%; border-radius: 31px; overflow: hidden; background: var(--noche); }
.reel-phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-phone video:focus-visible { outline-offset: -3px; }


.indice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.4rem; }
@media (max-width: 900px) { .indice { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .indice { gap: 1.8rem .9rem; } }
.indice li { min-width: 0; }
.indice a { display: grid; gap: .4rem; text-decoration: none; color: inherit; }
.indice img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--hoja); border: 1px solid var(--regla); margin-bottom: .6rem; }
.indice .entera img { object-fit: contain; background: var(--noche); }   
.indice-fila { display: flex; align-items: baseline; gap: .7rem; }
.indice-no { font-family: var(--texto); font-style: italic; color: var(--coral-txt); font-size: 1.3rem; line-height: 1; }
.indice-tit { font-family: var(--titulos); font-weight: 800; text-transform: uppercase; font-size: 1.02rem; line-height: 1.2; }
.indice-tipo { font-family: var(--titulos); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; line-height: 1.4; color: var(--tinta-3); }
.indice-ctx { color: var(--tinta-2); font-size: 1rem; line-height: 1.45; }
.indice a:hover .indice-tit { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .indice img { transition: transform .6s cubic-bezier(.2, .7, .3, 1), border-color .3s; }
  .indice a:hover img { transform: scale(1.018); border-color: var(--tinta); }
}
@media (max-width: 480px) { .indice-tit { font-size: .92rem; } .indice-ctx { font-size: .95rem; } }

.relato { margin: 1.7rem 0 0; border-top: 1px solid var(--regla); }
.relato > div { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); gap: .35rem 2rem; padding: 1.05rem 0 1.1rem; border-bottom: 1px solid var(--regla); min-width: 0; }
.relato dt { font-family: var(--titulos); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--tinta-3); padding-top: .42rem; }
.relato dd { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--tinta-2); max-width: 66ch; }
.relato dd b { color: var(--tinta); font-weight: 600; }
@media (max-width: 640px) {
  .relato > div { grid-template-columns: 1fr; gap: .3rem; }
  .relato dt { padding-top: 0; }
  .relato dd { font-size: 1.05rem; }
}
.caso .brand-spec { margin-top: 1.3rem; }

.enlace { display: flex; width: fit-content; margin-top: .7rem; font-family: var(--titulos); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.enlace:hover { color: var(--coral-txt); }


.servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 2rem; }
@media (max-width: 980px) {
  .servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .servicios .servicio:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .servicios { grid-template-columns: 1fr; }
  .servicios .servicio:nth-child(3) { grid-column: auto; }
}
.servicio { padding-top: 1.15rem; border-top: 1px solid var(--tinta); display: grid; gap: .85rem; align-content: start; min-width: 0; }
.servicio.principal { border-top-width: 2px; }
.servicio h3 { font-size: 1.12rem; letter-spacing: 0; }
.servicio p, .servicio li { color: var(--tinta-2); font-size: 1.04rem; line-height: 1.55; }
.servicio b { color: var(--tinta); font-weight: 600; }
.servicio ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.servicio .prueba a { color: var(--tinta); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.servicio .prueba a:hover { color: var(--coral-txt); }

.nosotros { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.4rem clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 1.8rem; }
@media (max-width: 860px) { .nosotros { grid-template-columns: 1fr; } }
.nosotros-texto { display: grid; gap: 1.1rem; min-width: 0; }
.nosotros-texto p { font-size: 1.16rem; line-height: 1.62; color: var(--tinta-2); max-width: 60ch; }
.nosotros-texto b { color: var(--tinta); font-weight: 600; }
.nosotros .quote { margin-top: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem 2.2rem; }
.step { background: none; padding: 1.15rem 0 0; border-top: 2px solid var(--tinta); display: grid; gap: .65rem; align-content: start; }
.step .num { font-family: var(--texto); font-style: italic; font-weight: 400; font-size: 2.6rem; color: var(--coral-txt); line-height: .9; }
.step h3 { font-size: 1.08rem; letter-spacing: 0; }
.step p { color: var(--tinta-2); font-size: 1.02rem; }

.quote { margin-top: clamp(2.8rem, 6vw, 4.2rem); padding: 0; background: none; border: 0; display: grid; gap: 1.1rem; max-width: 48rem; }
.quote blockquote { margin: 0; font-family: var(--texto); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.quote cite { font-style: normal; color: var(--tinta-3); display: grid; gap: .25rem; }
.quote cite b { color: var(--tinta); font-weight: 700; }


.contact {
  position: relative; overflow: hidden; border-radius: var(--radio);
  margin: clamp(4rem, 8vw, 6.5rem) max(var(--marco), env(safe-area-inset-right, 0px)) 0 max(var(--marco), env(safe-area-inset-left, 0px));
  background: var(--noche); color: var(--sobre-noche); padding: clamp(3rem, 7vw, 5.2rem) 0;
}
.contact > .wrap { position: relative; z-index: 1; }

.contact .figura { position: absolute; z-index: 0; right: -12%; top: 4%; width: clamp(300px, 40vw, 560px); height: auto; fill: rgba(255, 255, 255, .045); pointer-events: none; }
@media (max-width: 720px) { .contact .figura { top: auto; bottom: -5%; right: -26%; width: 310px; } }
.contact h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.1; max-width: 20ch; color: #fff; }
.contact h2 .em { color: inherit; }
.contact p { color: #D6D3E2; max-width: 52ch; margin-top: 1.3rem; font-size: 1.15rem; }
.contact-rows { margin-top: 2.4rem; display: grid; border-top: 1px solid var(--noche-regla); }
.contact-row { padding: 1.15rem 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem; text-decoration: none; border-bottom: 1px solid var(--noche-regla); transition: color .18s; }
a.contact-row:hover .val { color: var(--coral-claro); }
.contact-row .lbl { font-family: var(--titulos); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sobre-noche-2); }
.contact-row .val { font-family: var(--titulos); font-size: 1.08rem; font-weight: 700; letter-spacing: 0; color: #fff; transition: color .18s; }
.contact-note { margin-top: 1.7rem; color: var(--sobre-noche-2); font-size: 1rem; }

.footer { padding: 2rem 0 3rem; color: var(--tinta-3); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; border-top: 0; }

.firma-pie { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.firma-pie svg { display: block; height: 20px; width: auto; }
.footer svg .letras { fill: var(--tinta); }

.footer > span:last-child { flex-basis: 100%; font-family: var(--texto); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1rem; }


.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .reveal .sheet-head::before { transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* style="" del HTML, pasados a clases (la CSP de vahoagency.com no deja pasar los atributos) */
.el-1 { background:#DF9297 !important; }
.el-2 { background:#FDE9E1 !important; }
.el-3 { background:#1A428A !important; }
.el-4 { background:#222222 !important; }
.el-5 { background:#AF9F91 !important; }
.el-6 { background:#F4ECEB !important; }
.el-7 { background:#EC643F !important; }
.el-8 { background:#1E1D3D !important; }
.el-9 { background:#0FA3DC !important; }
.el-10 { background:#E8285F !important; }
.el-11 { cursor:default !important; }
