:root {
  --paper: #f4efe6;
  --paper-2: #fbf8f2;
  --ink: #171018;
  --ink-2: #403743;
  --muted: #625966;
  --purple: #5b0080;
  --purple-2: #7d2ca0;
  --yellow: #fdb502;
  --lilac: #e8d9ff;
  --line: #d8cec2;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.dx-wrap {
  width: min(1240px, 100% - 64px);
  margin: 0 auto;
}

.dx-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 2px solid var(--ink);
  background: rgba(244, 239, 230, .94);
  backdrop-filter: blur(10px);
}

.dx-header.is-scrolled { box-shadow: 0 6px 0 rgba(23, 16, 24, .06); }

.dx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.dx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.dx-logo__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  font-weight: 700;
  transform: rotate(-5deg);
}

.dx-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.dx-nav__links a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.dx-nav__links a:hover { border-bottom-color: var(--yellow); }

.dx-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 22px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 5px 5px 0 var(--yellow);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.dx-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--yellow);
}

.dx-btn--small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 16px;
  box-shadow: 3px 3px 0 var(--yellow);
}

.dx-btn--yellow {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--purple);
}

.dx-btn--yellow:hover { box-shadow: 8px 8px 0 var(--purple); }

.dx-btn--ink {
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 4px 4px 0 rgba(23, 16, 24, .28);
}

.dx-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 82px;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 68px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 68px 100%,
    var(--paper);
}

.dx-hero::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: var(--lilac);
  opacity: .7;
  z-index: 0;
}

.dx-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 46px;
  align-items: center;
}

.dx-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--purple);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.dx-kicker__line {
  display: inline-block;
  width: 38px;
  height: 3px;
  background: var(--yellow);
  flex: 0 0 auto;
}

.dx-kicker--light { color: var(--yellow); }

.dx-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.7vw, 94px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .94;
}

.dx-hero h1 em {
  color: var(--purple);
  font-weight: 700;
}

.dx-lede {
  max-width: 560px;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.45;
}

.dx-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.dx-link {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.dx-micro {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.dx-collage {
  position: relative;
  min-height: 530px;
}

.dx-window {
  position: absolute;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
}

.dx-window--main {
  top: 0;
  right: 0;
  width: 88%;
  transform: rotate(-2deg);
  box-shadow: 12px 12px 0 var(--purple);
}

.dx-window--phone {
  left: 0;
  bottom: -14px;
  width: 34%;
  transform: rotate(3deg);
  box-shadow: -10px 10px 0 var(--yellow);
}

.dx-window__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.dx-window__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.dx-window__bar span {
  margin-left: 5px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.dx-window img { width: 100%; height: auto; }

.dx-sticker {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
}

.dx-sticker--days {
  top: 10%;
  left: 4%;
  transform: rotate(-7deg);
  animation: dxFloat 5s ease-in-out infinite;
}

.dx-sticker--price {
  right: 2%;
  bottom: 10%;
  transform: rotate(5deg);
  background: var(--purple);
  color: var(--paper-2);
  box-shadow: 4px 4px 0 var(--yellow);
}

.dx-sticker small { font-size: 16px; font-weight: 700; }

.dx-collage__ring {
  position: absolute;
  right: 9%;
  top: 42%;
  width: 120px;
  height: 120px;
  border: 2px solid var(--purple);
  border-radius: 50%;
  opacity: .35;
}

@keyframes dxFloat {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-8px); }
}

.dx-proof {
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.dx-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dx-proof__grid > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 21px 0;
  border-right: 1px solid rgba(244, 239, 230, .22);
}

.dx-proof__grid > div + div { padding-left: 28px; }
.dx-proof__grid > div:last-child { border-right: 0; }

.dx-proof strong {
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.dx-proof span {
  font-size: 16px;
  line-height: 1.35;
}

.dx-work { padding: 96px 0 100px; }

.dx-section-head { max-width: 760px; }

.dx-section-head h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
}

.dx-section-head > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--ink-2);
  font-size: 19px;
}

.dx-work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .78fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 46px;
}

.dx-project { position: relative; }

.dx-project--offset { margin-top: 62px; }

.dx-project__num {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--purple);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .12em;
}

.dx-project figure {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: 7px 7px 0 var(--purple);
}

.dx-project:nth-child(2) figure { box-shadow: 7px 7px 0 var(--yellow); }

.dx-project figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}

.dx-project:hover figure img { transform: scale(1.035); }

.dx-project__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: 12px;
}

.dx-project__foot span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dx-project__foot strong {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: -.03em;
}

.dx-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 44px;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
}

.dx-band p {
  max-width: 640px;
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
}

.dx-included {
  padding: 92px 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(253, 181, 2, .2), transparent 28%),
    var(--ink);
  color: var(--paper-2);
}

.dx-included__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.dx-included h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .94;
}

.dx-included__price {
  margin: 26px 0 24px;
  color: var(--yellow);
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .85;
}

.dx-included__price small {
  color: var(--paper-2);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

.dx-included__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dx-included__list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 17px 0;
  border-top: 1px solid rgba(244, 239, 230, .24);
  color: var(--paper-2);
  font-size: 18px;
  line-height: 1.4;
}

.dx-included__list li:last-child { border-bottom: 1px solid rgba(244, 239, 230, .24); }

.dx-included__list li > span {
  color: var(--yellow);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
}

.dx-included__text {
  min-width: 0;
}

.dx-included__list strong { color: #fff; }

.dx-process { padding: 96px 0; }

.dx-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 44px;
}

.dx-step {
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.dx-step > span {
  display: block;
  color: var(--purple);
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .9;
}

.dx-step h3 {
  margin: 14px 0 7px;
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: -.035em;
  line-height: 1.05;
}

.dx-step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.5;
}

.dx-process__cta { margin-top: 38px; }

.dx-reviews {
  padding: 96px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--lilac);
}

.dx-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 44px;
}

.dx-quote {
  margin: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.dx-quote > p {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.dx-quote footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 18px;
}

.dx-quote strong { font-size: 17px; }
.dx-quote span { color: var(--ink-2); font-size: 16px; }

.dx-reviews__cta { margin-top: 34px; }

.dx-faq { padding: 96px 0; }

.dx-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: start;
}

.dx-faq__head h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 68px);
  letter-spacing: -.05em;
  line-height: .94;
}

.dx-faq__head > p:not(.dx-kicker) {
  max-width: 420px;
  margin: 0 0 22px;
  color: var(--ink-2);
  font-size: 18px;
}

.dx-faq__head a { font-weight: 800; }

.dx-faq__list details {
  border-top: 2px solid var(--ink);
}

.dx-faq__list details:last-child { border-bottom: 2px solid var(--ink); }

.dx-faq__list summary {
  padding: 21px 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  list-style: none;
}

.dx-faq__list summary::-webkit-details-marker { display: none; }

.dx-faq__list summary::after {
  content: "+";
  float: right;
  color: var(--purple);
  font-size: 26px;
  line-height: 1;
}

.dx-faq__list details[open] summary::after { content: "−"; }

.dx-faq__list details p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 620px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.55;
}

.dx-final {
  padding: 85px 0;
  background: var(--purple);
  color: var(--paper-2);
}

.dx-final__inner { max-width: 940px; }

.dx-final h2 {
  margin: 0 0 28px;
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 78px);
  letter-spacing: -.055em;
  line-height: .94;
}

.dx-footer {
  padding: 34px 0;
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.dx-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
}

.dx-footer .dx-logo { color: var(--paper-2); }
.dx-footer .dx-logo__mark { background: var(--yellow); color: var(--ink); }
.dx-footer p { margin: 0; color: #d8ccd8; font-size: 16px; }
.dx-footer a { color: var(--paper-2); }

.dx-js .dx-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.dx-js .dx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .dx-nav__links { display: none; }

  .dx-hero__grid,
  .dx-included__grid,
  .dx-faq__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .dx-hero { padding-top: 50px; }
  .dx-collage { min-height: 500px; max-width: 720px; }
  .dx-work__grid { grid-template-columns: 1fr 1fr; }
  .dx-project--offset { margin-top: 0; }
  .dx-work__grid .dx-project:last-child { grid-column: 1 / -1; max-width: 480px; }
  .dx-process__grid { grid-template-columns: 1fr 1fr; }
  .dx-reviews__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .dx-wrap { width: min(100% - 36px, 620px); }

  .dx-hero { padding: 42px 0 56px; }
  .dx-hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .dx-lede { font-size: 19px; }
  .dx-collage { min-height: 390px; }
  .dx-window--main { width: 86%; }
  .dx-window--phone { width: 38%; }
  .dx-sticker { font-size: 16px; padding: 9px 11px; }
  .dx-sticker small { font-size: 14px; }

  .dx-proof__grid { grid-template-columns: 1fr; }
  .dx-proof__grid > div { padding: 14px 0; border-right: 0; border-bottom: 1px solid rgba(244, 239, 230, .22); }
  .dx-proof__grid > div + div { padding-left: 0; }
  .dx-proof__grid > div:last-child { border-bottom: 0; }
  .dx-proof strong { font-size: 38px; }

  .dx-work,
  .dx-process,
  .dx-reviews,
  .dx-faq { padding: 64px 0; }

  .dx-work__grid,
  .dx-process__grid,
  .dx-reviews__grid { grid-template-columns: 1fr; }

  .dx-work__grid .dx-project:last-child { max-width: none; }
  .dx-band { align-items: flex-start; flex-direction: column; }
  .dx-band .dx-btn { width: 100%; }

  .dx-included { padding: 64px 0; }
  .dx-included__list li { grid-template-columns: 40px minmax(0, 1fr); font-size: 17px; }
  .dx-final { padding: 60px 0; }
  .dx-footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dx-sticker--days { animation: none; }
  .dx-project figure img { transition: none; }
  .dx-js .dx-reveal { opacity: 1; transform: none; transition: none; }
}

.dx-logo__img {
  display: block;
  width: 172px;
  height: auto;
}

.dx-footer .dx-logo__img {
  filter: brightness(0) invert(1);
}

.dx-included__fine {
  max-width: 560px;
  margin: 18px 0 0;
  color: #c9bcd2;
  font-size: 16px;
  line-height: 1.5;
}

/* Carrusel de ejemplos: tarjetas iguales, sin enlaces */
.dx-carousel {
  margin-top: 46px;
}

.dx-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  padding: 0 0 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.dx-carousel__track::-webkit-scrollbar { display: none; }

.dx-carousel .dx-project {
  min-width: 0;
  scroll-snap-align: start;
}

.dx-carousel .dx-project figure {
  box-shadow: 7px 7px 0 var(--purple);
}

.dx-carousel .dx-project__foot {
  min-height: 102px;
}

.dx-project__domain {
  display: block;
  margin-top: 4px;
  color: var(--purple);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.dx-carousel__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.dx-carousel__btn {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.dx-carousel__btn:hover:not(:disabled) {
  background: var(--ink);
  color: var(--paper-2);
  transform: translateY(-2px);
}

.dx-carousel__btn:disabled {
  opacity: .3;
  cursor: default;
}

.dx-carousel__count {
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
}

@media (max-width: 1020px) {
  .dx-carousel__track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}

@media (max-width: 700px) {
  .dx-carousel__track {
    grid-auto-columns: 100%;
    gap: 18px;
  }

  .dx-carousel .dx-project__foot {
    min-height: 0;
  }

  .dx-carousel__nav {
    justify-content: space-between;
  }
}

.dx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dx-footer__legal a {
  color: var(--paper-2);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Chat online legible en la nueva portada */
.dc-chat-head strong,
.dc-chat-head span,
.dc-chat-status,
.dc-chat-msg,
.dc-chat-msg__who,
.dc-chat-form textarea,
.dc-chat-form button {
  font-size: 16px;
}

/* Acciones flotantes: chat en icono y WhatsApp */
.dx-experience .dc-chat-bubble {
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  background: #5b0080;
  box-shadow: 0 12px 28px rgba(13, 13, 13, .28);
}

.dx-experience .dc-chat-bubble:hover {
  background: #450062;
}

.dx-experience .dc-chat-bubble .icon {
  width: 26px;
  height: 26px;
}

.dx-experience .dc-chat-bubble span {
  display: none;
}

.dx-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 80;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(13, 13, 13, .28);
  transition: transform .16s ease, background .16s ease;
}

.dx-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

.dx-whatsapp svg {
  width: 30px;
  height: 30px;
}
