:root {
  --wine: #501a2c;
  --pink: #f6a2c0;
  --rose: #ab5c77;
  --ink: #1c1c1c;
  --light: #f9f9f9;
  --font: 'Josefin Sans', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; }

.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  z-index: 50;
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: var(--light);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}

.hdr.light { color: var(--ink); }

.hdr.scrolled {
  background: var(--wine);
  color: var(--light);
  box-shadow: 0 1px 12px rgba(40, 8, 20, .25);
}

.logo { flex: none; display: block; width: 56px; height: 56px; margin-right: 34px; }
.logo img { width: 56px; height: 40px; margin: 8px 0; object-fit: contain; transition: transform .6s var(--ease-out); }
.logo:hover img { transform: rotate(-8deg); }

.hdr nav { flex: 1; display: flex; justify-content: flex-end; height: 56px; }

.menu { list-style: none; margin: 0; padding: 0; display: flex; height: 56px; }

.menu > li {
  position: relative;
  display: flex;
  align-items: center;
  margin: 4px 1px;
  padding: 0 12px;
  height: 48px;
}

.menu > li > a {
  font-size: 18.6667px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  white-space: nowrap;
  padding-top: 4px;
}

.menu { position: relative; }

.menu > li.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 6px;
  background: var(--pink);
}

.hdr.ink-ready .menu > li.active::after { content: none; }

.ink {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 6px;
  background: var(--pink);
  pointer-events: none;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}

.ink.no-anim { transition: none; }

.chev {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 2px;
  width: 24px;
  height: 24px;
  color: inherit;
  cursor: pointer;
}

.chev svg { transition: transform .4s var(--ease-out); }
.has-sub:hover .chev svg, .has-sub.open .chev svg { transform: rotate(180deg); }

.chev svg, .search-btn svg, .burger svg, .search-close svg, .lang svg { width: 24px; height: 24px; fill: currentColor; display: block; }

.sub {
  position: absolute;
  top: 52px;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: var(--wine);
  box-shadow: 0 10px 30px rgba(40, 8, 20, .3);
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transform: translateY(-8px);
  transition: clip-path .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s linear .45s;
}

.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: clip-path .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s;
}

.sub li { position: relative; }

.sub a {
  display: block;
  padding: 10px 20px;
  color: var(--light);
  text-decoration: none;
  font-size: 18.6667px;
  font-weight: 400;
  transition: color .3s var(--ease), padding-left .4s var(--ease-out);
}

.sub a:hover { color: var(--pink); padding-left: 26px; }

.sub li.active a { box-shadow: inset 4px 0 0 var(--pink); }

.search-btn, .burger {
  flex: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lang {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 48px;
  padding: 0 6px 0 10px;
  color: inherit;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .06em;
  transition: color .3s var(--ease);
}

.lang span { padding-top: 3px; }
.lang svg { width: 20px; height: 20px; transition: transform .8s var(--ease-out); }
.lang:hover svg { transform: rotate(180deg); }
.lang:hover { color: var(--pink); }

.burger { display: none; margin-right: 8px; }

.search {
  position: absolute;
  inset: 0 0 auto 0;
  height: 56px;
  background: var(--wine);
  display: flex;
  align-items: center;
  padding: 0 8px 0 24px;
  visibility: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .5s var(--ease-out), visibility 0s linear .5s;
}

.hdr.searching .search {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path .5s var(--ease-out), visibility 0s;
}

.search input {
  flex: 1;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--light);
  font: 400 18.6667px var(--font);
  outline: none;
}

.search input::placeholder { color: rgba(249, 249, 249, .7); }

.search-close { width: 48px; height: 48px; border: 0; background: none; color: var(--light); cursor: pointer; display: grid; place-items: center; }
.search-close svg { transition: transform .5s var(--ease-out); }
.search-close:hover svg { transform: rotate(90deg); }

.results {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  max-height: 70vh;
  overflow: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.results:empty { display: none; }

.results a { display: block; padding: 14px 24px; text-decoration: none; border-bottom: 1px solid rgba(0, 0, 0, .08); transition: background-color .3s var(--ease); }
.results a:hover { background: #fbeef3; }
.results strong { display: block; font-weight: 400; font-size: 18.6667px; color: var(--wine); }
.results span { display: block; margin-top: 4px; font-size: 15px; color: #555; }

.sec {
  position: relative;
  overflow: hidden;
}

.sec-bg, .sec-ov {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}

.sec-bg.parallax { inset: -60px 0; will-change: transform; }

.grid {
  position: relative;
  width: min(1164px, calc(100% - 118px));
  margin: 0 auto;
}

.row { display: flex; align-items: flex-start; }

.sec.full { display: flex; align-items: center; }
.sec.full .row { width: min(1164px, calc(100% - 118px)); }

.col { flex: none; min-width: 0; }

.subrow { display: flex; align-items: flex-start; }

.it { min-width: 0; }

.it-text { min-height: var(--mh, 0); }

.t { overflow-wrap: break-word; }
.t ul, .t ol { padding-left: 0; }
.t li { margin-left: 20px !important; }
.t a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s var(--ease); }
.t a:hover { color: var(--pink) !important; }

.im { display: block; }
.im img { width: 100%; height: auto; }

a.im img { transition: transform .5s var(--ease-out); }
a.im:hover img { transform: translateY(-3px) rotate(-4deg); }

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  margin: 10px 0;
  padding: 0 16px;
  border: 1px solid var(--b);
  border-radius: 2px;
  background: var(--b);
  color: var(--f);
  font-family: var(--font);
  font-size: 18.6667px;
  font-weight: 300;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hb);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .55s var(--ease-out);
}

.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }

.btn span { position: relative; padding-top: 2px; transition: color .4s var(--ease); }
.btn:hover span, .btn:focus-visible span { color: var(--hf); }

.im img.ld, .car.ld .car-view {
  clip-path: inset(0 0 100% 0);
  transform: translateY(14px);
}

.im img.ld.ok, .car.ld.ok .car-view {
  clip-path: inset(0 0 0 0);
  transform: none;
  transition: clip-path 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.rv.it-img, .rv.it-carousel, .rv.it-embed { clip-path: none; transform: none; }

.t .pg-title {
  margin: 0;
  padding: 0 11px;
  font-family: var(--font);
  font-size: 64px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--light);
}

.ux-intro, .ux-stats, .ux-process {
  --forest: #1b2e25;
  --forest-soft: #2d4a3e;
  --sage: #a5d4a7;
  --sage-light: #eef7ec;
  --sx: #b6d7a8;
}

.ux-intro { padding: 92px 0 100px; background: #fff; }

.ux-intro-grid { display: flex; align-items: center; gap: 7%; }

.ux-copy { flex: 0 0 46%; min-width: 0; }

.ux-name {
  margin: 0;
  font-family: var(--font);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--sx);
}

.ux-tag { margin: 2px 0 0; font-size: 24px; font-weight: 300; line-height: 1.5; color: #000; }

.ux-desc { margin-top: 28px; }

.ux-desc p { margin: 0 0 16px; font-size: 18.6667px; font-weight: 300; line-height: 1.38; color: #000; }

.ux-desc strong { font-weight: 700; }

.ux-desc .sx { color: var(--sx); }

.ux-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 30px; }

.ux-actions .btn { flex: 1 1 240px; margin: 0; }

.ux-phones { flex: 1 1 0; min-width: 0; position: relative; aspect-ratio: 100 / 97; }

.ux-phone { position: absolute; }

.ux-phone img { filter: drop-shadow(0 18px 26px rgba(27, 46, 37, .24)); }

.ux-phone.a { width: 36%; left: 0; top: 17%; z-index: 1; }
.ux-phone.b { width: 42%; left: 29%; top: 0; z-index: 2; }
.ux-phone.c { width: 36%; left: 64%; top: 21%; z-index: 1; }

.ux-process { padding: 16px 0 104px; background: #fff; }

.ux-h {
  margin: 0 0 40px;
  font-family: var(--font);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--sx);
}

.ux-process-grid { display: flex; align-items: center; gap: 8%; }

.ux-slides { flex: 1 1 0; min-width: 0; position: relative; aspect-ratio: 100 / 87; }

.ux-slide {
  position: absolute;
  width: 72%;
  background: #fff;
  box-shadow: 0 16px 34px rgba(27, 46, 37, .17), 0 0 0 1px rgba(27, 46, 37, .08);
}

.ux-slide img { aspect-ratio: 16 / 9; object-fit: cover; }

.ux-slide.a { left: 0; top: 0; }
.ux-slide.b { left: 14%; top: 23%; }
.ux-slide.c { left: 28%; top: 46%; }

.ux-steps-col { flex: 0 0 46%; min-width: 0; }

.ux-steps { list-style: none; margin: 0; padding: 0; }

.ux-steps li {
  padding: 17px 0 14px;
  border-top: 1px solid rgba(27, 46, 37, .16);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink);
}

.ux-steps li:last-child { border-bottom: 1px solid rgba(27, 46, 37, .16); }

.ux-process .ux-actions { margin-top: 32px; }

@media (max-width: 767px) {
  .ux-intro { padding: 56px 0 64px; }
  .ux-intro-grid { flex-direction: column; align-items: stretch; gap: 52px; }
  .ux-copy { flex: none; }
  .ux-name { font-size: 52px; }
  .ux-tag { font-size: 21px; }
  .ux-phones { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .ux-stats { padding: 48px 0 54px; }
  .ux-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 18px; }
  .ux-num { font-size: 40px; }
  .ux-process { padding: 56px 0 64px; }
  .ux-h { font-size: 34px; margin-bottom: 26px; }
  .ux-process-grid { flex-direction: column-reverse; align-items: stretch; gap: 48px; }
  .ux-steps-col { flex: none; }
  .ux-slides { flex: none; width: 100%; }
}

.nf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 20px;
  background: var(--wine);
  color: var(--light);
  text-align: center;
}

.nf-logo img { width: 84px; height: 60px; object-fit: contain; }

.mail-ic {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  vertical-align: -9px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nf h1 { margin: 18px 0 8px; font-size: 96px; font-weight: 300; line-height: 1; color: var(--pink); }
.nf p { margin: 0; font-size: 20px; }
.nf-btns { display: flex; gap: 16px; margin-top: 26px; }
.nf-btns .btn { width: 160px; }

.gallery { padding: 104px 0 72px; }

.gallery .pg-title { padding: 0; }

.g-intro { max-width: 560px; margin: 14px 0 44px -9px; }

.g-row {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  margin-bottom: 44px;
}

.g-row:last-child { margin-bottom: 0; }

.g-cell { min-width: 0; }

.g-dolls { align-self: center; }

.dolls { padding: 0; }

.dolls-row {
  position: relative;
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 887 / 470;
}

main img, .car-slide, .sec-bg {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

main div.im img, .doll img { pointer-events: none; }

.doll {
  position: absolute;
  padding: 1.1%;
  background: #fdf8f1;
  box-shadow: 0 14px 34px rgba(40, 8, 20, .38);
}

.doll img { display: block; width: 100%; height: auto; }

.doll:nth-child(1) { width: 31%; left: 2%; top: 25%; transform: rotate(-6deg); }
.doll:nth-child(2) { width: 31%; left: 34.5%; top: 2%; transform: rotate(2.5deg); z-index: 2; }
.doll:nth-child(3) { width: 31%; left: 66%; top: 19%; transform: rotate(6deg); }

.dolls .cap { margin: 10px 2px 0; text-align: center; }

@media (max-width: 767px) {
  html[lang="es"] .t [style*="font-size:32px"] { font-size: 20px !important; }
  .gallery { padding: 88px 0 48px; }
  .g-intro { margin: 10px 0 30px -9px; }
  .g-row { flex-direction: column; gap: 30px; margin-bottom: 30px; }
  .g-cell { flex: none !important; width: 100%; }
  .dolls-row { width: 88%; aspect-ratio: 352 / 700; }
  .doll { padding: 2.2%; }
  .doll:nth-child(1) { width: 62%; left: 1%; top: 1%; transform: rotate(-5deg); }
  .doll:nth-child(2) { width: 60%; left: 38%; top: 29%; transform: rotate(4deg); }
  .doll:nth-child(3) { width: 62%; left: 3%; top: 62%; transform: rotate(-3deg); }
}

.fig { margin: 0; }

.t .lead {
  margin: 18px 0 0;
  font-family: var(--font);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  color: rgb(171, 92, 119);
}

@media (max-width: 767px) {
  .t .lead { font-size: 20px; }
  .cap { font-size: 17px; }
  .t .pg-title { font-size: 40px; padding: 0 8px; }
}

.cap {
  margin: 14px 2px 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: .01em;
  color: rgba(249, 249, 249, .9);
}

.cap strong { font-weight: 400; color: var(--light); }

.cap-dark { color: #4a4a4a; }
.cap-dark strong { color: var(--ink); }

.fig-car .cap { margin-top: 56px; }

.car { position: relative; width: 100%; }

.car-view { position: absolute; inset: 0; overflow: hidden; }

.car-track {
  display: flex;
  height: 100%;
  transition: transform .8s var(--ease-out);
}

.car-slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: 50% 50%;
}

.car-btn {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 50%;
  background: rgba(32, 33, 36, .7);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .5s var(--ease-out), background-color .3s var(--ease);
}

.car-btn:hover { background: var(--wine); }
.car-btn svg { width: 24px; height: 24px; fill: currentColor; }
.car-btn.prev { left: 12px; transform: translateX(-64px); }
.car-btn.next { right: 12px; transform: translateX(64px); }
.car:hover .car-btn, .car-btn:focus-visible { transform: none; }

@media (hover: none) {
  .car-btn.prev, .car-btn.next { transform: none; }
}

.car-dots {
  position: absolute;
  top: calc(100% + 33px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.car-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgb(190, 190, 190);
  cursor: pointer;
  transition: width .5s var(--ease-out), background-color .4s var(--ease);
}

.sec[style*="80, 26, 44"] .car-dots button, .sec[style*="171, 92, 119"] .car-dots button { background: rgb(160, 120, 135); }

.car-dots button.on { width: 22px; background: var(--pink) !important; }

.emb { position: relative; width: 100%; }
.emb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sec.div .grid { height: 18px; }
.sec.div hr { position: absolute; top: 9px; left: 0; right: 0; margin: 0; border: 0; height: 1px; background: rgba(0, 0, 0, .15); transform-origin: left center; }

.ftr {
  background: var(--wine);
  color: var(--light);
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ftr p { margin: 0; font-size: 16px; font-weight: 400; }

.rv {
  clip-path: inset(0 0 100% 0);
  transform: translateY(18px);
}

.rv.in {
  clip-path: inset(-20px -20px -60px -20px);
  transform: none;
  transition: clip-path .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.sec.div.rv-line hr { transform: scaleX(0); }
.sec.div.rv-line.in hr { transform: scaleX(1); transition: transform .8s var(--ease-out); }

@media (max-width: 860px) {
  .burger { display: grid; order: -1; margin: 0; }
  .hdr { padding-left: 4px; padding-right: 4px; }
  .hdr .logo { margin: 0 auto 0 0; }
  .hdr nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    display: block;
    background: var(--wine);
    overflow: auto;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .55s var(--ease-out), visibility 0s linear .55s;
  }
  .hdr.menu-open { background: var(--wine); color: var(--light); }
  .hdr.menu-open nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .55s var(--ease-out), visibility 0s; }
  .menu { flex-direction: column; height: auto; padding: 8px 0; }
  .menu > li { flex-wrap: wrap; height: auto; margin: 0; padding: 12px 24px; color: var(--light); transform: translateX(-16px); transition: transform .6s var(--ease-out); }
  .hdr.menu-open .menu > li { transform: none; }
  .hdr.menu-open .menu > li:nth-child(2) { transition-delay: .04s; }
  .hdr.menu-open .menu > li:nth-child(3) { transition-delay: .08s; }
  .hdr.menu-open .menu > li:nth-child(4) { transition-delay: .12s; }
  .hdr.menu-open .menu > li:nth-child(5) { transition-delay: .16s; }
  .ink { display: none; }
  .hdr.ink-ready .menu > li.active::after, .menu > li.active::after { content: ''; top: 8px; bottom: 8px; right: auto; width: 4px; height: auto; }
  .sub { position: static; width: 100%; box-shadow: none; padding: 4px 0 0; background: none; visibility: visible; clip-path: none; transform: none; transition: none; }
  .sub a { padding: 10px 16px; }
  .chev { display: none; }
}

@media (max-width: 767px) {
  .grid, .sec.full .row { width: calc(100% - 22px); }
  .row { flex-direction: column; align-items: stretch; }
  .col { width: 100% !important; margin-left: 0 !important; }
  .col > .it { margin-left: 0 !important; width: 100% !important; }
  .subrow { justify-content: center; gap: 18px; }
  .subrow > .it { margin-left: 0 !important; flex: none; }
  .subrow > .it-img { width: 32px !important; }
  .it-text { min-height: 0; }
  .col > .it-portrait { width: min(100%, 250px) !important; margin-left: auto !important; margin-right: auto; }
  .sec-apartados .col > .it-icon { width: min(100%, 170px) !important; margin-left: auto !important; margin-right: auto; }
  .sec-apartados .col > .it-btn { width: min(100%, 240px) !important; margin-left: auto !important; margin-right: auto; }
  .sec-apartados .col + .col > .it:first-child { margin-top: 40px !important; }
  .t [style*="font-size:64px"] { font-size: 40px !important; line-height: 1.25 !important; }
  .t h1, .t h2, .t p { line-height: 1.38 !important; }
  .t [style*="font-size:48px"], .t [style*="font-size:45.3333px"] { font-size: 34px !important; line-height: 1.3 !important; }
  .t [style*="font-size:32px"] { font-size: 24px !important; }
  .col + .col > .it:first-child { margin-top: 24px !important; }
  .it-carousel { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv, .sec.div.rv-line hr { clip-path: none; transform: none; }
  .sec-bg.parallax { transform: none !important; }
}
