@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wdth100.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* A 34cqw, SWEB en Arial Bold mide 102cqw antes del contorno. */
@font-face {
  font-family: "SWEB Cover Fallback";
  src: local("Arial Bold"), local("Liberation Sans Bold");
  font-weight: 800;
  size-adjust: 96%;
}

:root {
  --yellow: #ffcb45;
  --primary-border: 4px;
  --orange: #f58b32;
  --cream: #fff5e4;
  --brown: #633500;
  --white: #fff;
  --ink: var(--brown);
  --paper: var(--cream);
  --accent: var(--yellow);
  --heading: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font: 1rem/1.55 var(--body);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* .502 es la altura de x con la que se aprobó la letra (D-61): mismo tamaño visual del texto. */
body { margin: 0; font-size-adjust: .502; }
img, svg { display: block; max-inline-size: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.03; }
h1, h2 { font-size: clamp(2.25rem, 7vw, 5.6rem); letter-spacing: -.058em; overflow-wrap: anywhere; text-wrap: balance; }
:is(h1, h2):where(:not(.portfolio .track *, .demo *)) { letter-spacing: -.03em; }
h3 { font-size: clamp(1.35rem, 3vw, 1.85rem); letter-spacing: -.035em; }
p { max-inline-size: 58ch; }
p + p, h3 + p { margin-block-start: .55rem; }
.wrap { width: min(100% - 2.5rem, 74rem); margin-inline: auto; }
.narrow { max-inline-size: 49rem; }
.slice { --slice-padding: clamp(3.5rem, 8vw, 7rem); padding-block: var(--slice-padding); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset: .5rem auto auto .5rem; z-index: 5; padding: .75rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 4; color: var(--brown); background: var(--white); border-bottom: 1px solid #63350030; }
.nav-bar { min-height: 4.5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: 1.25rem; }
.menu-toggle, .arrow { display: inline-grid; place-items: center; min-width: 2.85rem; min-height: 2.85rem; border: 2px solid currentColor; border-radius: .55rem; background: var(--white); color: var(--brown); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.menu-toggle { justify-self: start; }
.brand { grid-column: 2; display: flex; align-items: center; gap: .45rem; min-height: 44px; text-decoration: none; font: 900 1.85rem var(--heading); }
.brand .sun { width: 2.75rem; }
.site-nav {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  width: 100%;
  background: var(--white);
  border: var(--primary-border) solid var(--brown);
}
.site-nav a, .site-footer nav a { display: flex; align-items: center; min-height: 44px; width: fit-content; font-weight: 650; text-underline-offset: .2em; }
.site-nav a { width: 100%; }
.site-nav .wrap { padding-block: .5rem; }
.site-nav .whatsapp { margin-block-start: .5rem; }
.menu-top { display: none; }
@media (width < 64rem) {
  .site-nav { max-block-size: calc(100svh - 4.5rem); overflow-y: auto; }
}
@media (width < 64rem) and (prefers-reduced-motion: no-preference) {
  .site-nav:not([hidden]) { animation: site-nav-enter 200ms ease-out; }
  @keyframes site-nav-enter { from { opacity: 0; transform: translateY(-.25rem); } }
}
/* Computador: menú en panel lateral (D-69). */
@media (min-width: 64rem) {
  .nav-bar { padding-inline: max(1.25rem, (100% - 74rem) / 2); }
  .site-nav { position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; gap: 1.5rem; width: 26rem; padding: 0 0 2rem; overflow-y: auto; overscroll-behavior: contain; border: 0; border-inline-end: var(--primary-border) solid var(--brown); border-radius: 0 2.2rem 1.4rem 0; background: var(--cream); box-shadow: 12px 0 0 var(--brown); }
  .site-nav[hidden] { display: none; }
  .site-nav .wrap { display: grid; justify-items: start; gap: .35rem; width: 100%; margin: 0; padding: 0 2.5rem; }
  .site-nav a { width: fit-content; }
  .site-nav a:not(.whatsapp) { min-height: 56px; font: 800 2rem/1.15 var(--heading); text-decoration-thickness: 4px; text-decoration-color: transparent; }
  .site-nav a:not(.whatsapp):is(:hover, :focus-visible) { text-decoration-line: underline; text-decoration-color: var(--orange); }
  /* Franja amarilla; las tres líneas cierran el panel. */
  .menu-top { position: sticky; top: 0; z-index: 1; display: flex; flex-shrink: 0; align-items: center; min-height: 4.5rem; padding-inline: 1.75rem; border-bottom: var(--primary-border) solid var(--brown); background: var(--yellow); }
  .menu-close { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: .7rem; background: transparent; color: var(--brown); cursor: pointer; }
  .menu-close:hover { background: var(--cream); }
  .menu-close:active { box-shadow: inset 0 0 0 3px var(--brown); }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 1.75rem; height: 4px; border-radius: 4px; background: currentColor; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; top: -.55rem; }
  .menu-bars::after { top: .55rem; }
}
@media (min-width: 64rem) and (prefers-reduced-motion: no-preference) {
  /* Sale por donde entró; la salida es más corta. */
  .site-nav { transition: translate 360ms cubic-bezier(.32, .72, 0, 1), display 360ms allow-discrete; }
  .site-nav[hidden] { translate: calc(-100% - 16px) 0; transition-duration: 240ms; }
  @starting-style { .site-nav:not([hidden]) { translate: calc(-100% - 16px) 0; } }
  .site-nav a:not(.whatsapp) { transition: translate 180ms cubic-bezier(.23, 1, .32, 1); }
  .site-nav a:not(.whatsapp):is(:hover, :focus-visible) { translate: .5rem 0; }
  .site-nav:not([hidden]) a:not(.whatsapp) { animation: menu-link 300ms cubic-bezier(.23, 1, .32, 1) backwards; }
  .site-nav a:nth-child(1) { animation-delay: 90ms; }
  .site-nav a:nth-child(2) { animation-delay: 130ms; }
  .site-nav a:nth-child(3) { animation-delay: 170ms; }
  .site-nav a:nth-child(4) { animation-delay: 210ms; }
  .site-nav a:nth-child(5) { animation-delay: 250ms; }
  .site-nav a:nth-child(6) { animation-delay: 290ms; }
  @keyframes menu-link { from { opacity: 0; translate: -1.25rem 0; } }
}

.cover {
  container-type: inline-size;
  display: grid;
  place-items: center;
  position: relative;
  /* El alto mínimo reserva espacio para el eslogan en ventanas bajas. */
  min-height: max(170vw, 100vh - 4.5rem);
  min-height: max(170vw, 100svh - 4.5rem);
  background: var(--cream);
  color: var(--brown);
  text-align: center;
}
.cover-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15em;
  font-size: 34cqw;
  position: relative;
  top: -6cqw;
}
.cover h1 {
  font: 800 1em/1 "Bricolage Grotesque", "SWEB Cover Fallback", "Trebuchet MS", sans-serif;
  white-space: nowrap;
  -webkit-text-stroke: .03em var(--brown);
  paint-order: stroke fill;
}
.cover .sun { height: 1.6em; width: auto; }
.cover-copy {
  position: absolute;
  inset: auto 0 22%;
  /* Si el texto crece (zoom), baja en lugar de montarse sobre el sol (B23). */
  inset-block: max(calc(50% + 42.75cqw), calc(78% - 1.3em)) auto;
  padding-inline: 8%;
}
.cover-offer {
  max-inline-size: 58ch;
  margin-inline: auto;
  font-size: clamp(1rem, .9rem + .35cqi, 1.25rem);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .cover {
    min-height: max(56vw, 100vh - 4.5rem);
    min-height: max(56vw, 100svh - 4.5rem);
  }
  .cover-lockup { flex-direction: row; gap: .1em; font-size: 22cqw; top: -4cqw; }
  .cover .sun { height: 1.45em; }
  .cover-copy { inset-block: auto 10%; }
}
@media (min-aspect-ratio: 5/3) {
  .cover {
    min-height: calc(100vh - 4.5rem - 1px);
    min-height: calc(100svh - 4.5rem - 1px);
    grid-template-rows: 1fr auto;
    row-gap: .5rem;
    /* Aire bajo el texto; en ventanas bajas se reduce para que la portada quepa. */
    padding-block: .5rem clamp(1rem, 8svh, 4.375rem);
  }
  .cover-lockup { font-size: min(34cqw, 17svh); top: auto; }
  .cover-copy { position: static; }
}
@media (min-aspect-ratio: 5/3) and (min-width: 768px) {
  .cover-lockup { font-size: min(22cqw, 38svh); }
}
@media (max-width: 37.5rem) and (max-height: 38rem) and (aspect-ratio < 5/3) {
  .cover {
    min-height: calc(100svh - 4.5rem);
    grid-template-rows: 1fr auto;
    row-gap: .5rem;
    padding-block: .5rem 1rem;
  }
  .cover-lockup { top: auto; }
  .cover-copy { position: static; }
}
@media (min-aspect-ratio: 5/3) and (max-height: 31.25rem) {
  .cover { padding-block-end: 1rem; }
  .cover-lockup { font-size: min(22cqw, 32svh); }
}
.hero {
  border-block: 3px solid var(--brown);
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto [horizon-start];
  align-content: start;
  position: relative;
  isolation: isolate;
  padding-block: 7svh 2rem;
  background: var(--cream);
}
.hero-horizon {
  position: absolute;
  /* El área del SVG va del final del contenido al borde inferior del padding. */
  grid-row-start: horizon-start;
  inset-block-end: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  block-size: min(13rem, 100%);
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  fill: var(--yellow);
  stroke: var(--brown);
}
.hero-horizon-front { fill: var(--orange); }
.hero-content { container-type: inline-size; }
.hero h2 {
  font-size: min(calc(21.7vw - .5425rem), 6.75rem);
  font-size: min(21.7cqi, 6.75rem);
  font-weight: 800;
  line-height: .92;
  overflow-wrap: normal;
  text-wrap: wrap;
}
.hero-line { display: flex; align-items: center; gap: .055em; white-space: nowrap; }
/* El sol no abre un hueco antes de «brillar.»: sus esquinas vacías montan sobre las líneas vecinas. */
.hero-line .sun { width: 1.868em; min-width: 0; margin-block: -.4em; }
.hero p { margin-block: 1.875rem 0; max-width: 36ch; font-size: 1.125rem; line-height: 1.5; }
.hero .whatsapp { margin-block-start: 1.25rem; justify-self: start; }
/* Teléfono acostado: misma composición que en computador, medida por el alto (B23). */
@media (min-width: 64rem), (orientation: landscape) and (max-height: 31.25rem) {
  .hero { align-content: center; padding-block: 3rem; }
  .hero-horizon { block-size: min(14rem, 100%); }
  .hero-content {
    --hero-sun-max: 28rem;
    --hero-sun-width: min(38%, var(--hero-sun-max));
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hero-sun-width);
    column-gap: clamp(1.75rem, 4vw, 4rem);
    min-height: var(--hero-sun-max);
    align-content: center;
  }
  .hero-content > * { grid-column: 1; }
  .hero h2 { font-size: min(8vw, 6.7rem); font-size: min(8.5cqi, 6.7rem); line-height: 1.03; }
  .hero-break { display: none; }
  .hero-line { display: inline; }
  .hero-line .sun {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: var(--hero-sun-width);
    margin-block: auto;
  }
  .hero p { max-width: 48ch; font-size: 1.25rem; }
}
@media (orientation: landscape) and (max-height: 31.25rem) {
  .hero { padding-block: 1rem 2.5rem; }
  .hero-horizon { block-size: min(5rem, 100%); }
  .hero-content { --hero-sun-max: min(28rem, 62svh); --hero-sun-width: min(34%, var(--hero-sun-max)); }
  .hero h2 { font-size: min(8.5cqi, 6.7rem, 15svh); }
  .hero p { margin-block: 1rem 0; font-size: 1rem; }
}
.sun-travel { display: none; }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll(root block)) and (animation-range: 0px 1px) {
    .intro.sun-ready {
      position: relative;
      isolation: isolate;
      overflow: clip;
    }
    .sun-ready .hero .sun { opacity: 0; }
    .sun-ready .cover .sun { animation: cover-sun-hide auto step-start forwards; }
    .sun-ready .sun-travel {
      display: block;
      position: absolute;
      z-index: 1;
      pointer-events: none;
      top: var(--sun-top);
      left: var(--sun-left);
      width: var(--sun-size);
      height: auto;
      opacity: 0;
      animation: sun-travel auto linear forwards;
    }
    .sun-ready .cover :is(h1, .cover-copy) {
      animation: cover-fade auto linear forwards;
    }
    .sun-ready .hero-content {
      opacity: 0;
      transform: translateY(26px);
      pointer-events: none;
      /* La salida es más corta que la entrada, para no desaparecer de golpe. */
      transition: opacity 160ms ease, transform 160ms ease;
    }
    .sun-ready.hero-revealed .hero-content {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      transition: opacity 520ms cubic-bezier(.23, 1, .32, 1), transform 520ms cubic-bezier(.23, 1, .32, 1);
    }
    .sun-ready .hero-content:focus-within {
      opacity: 1;
      transform: none;
      pointer-events: auto;
      transition: none;
    }
    .sun-ready :is(.sun-travel, .cover .sun, .cover h1, .cover-copy) {
      animation-timeline: scroll(root block);
      /* El primer píxel activa el viaje y deja intacta la portada en reposo. */
      animation-range: 1px var(--sun-range);
    }
    @keyframes cover-sun-hide {
      from { opacity: 1; }
      to { opacity: 0; }
    }
    @keyframes sun-travel {
      0% { opacity: 1; transform: none; }
      15% {
        transform: translate(calc(var(--sun-x) * .15), calc(var(--sun-y) * .15))
          scale(calc(1 + (var(--sun-scale) - 1) * .15)) rotate(-12deg);
      }
      90%, 100% {
        opacity: 1;
        transform: translate(var(--sun-x), var(--sun-y)) scale(var(--sun-scale)) rotate(0deg);
      }
    }
    @keyframes cover-fade {
      from { transform: none; }
      to { opacity: 0; transform: translateY(-1.25rem); }
    }
  }
}

.image-frame { position: relative; }
.image-frame[data-image-loading] { overflow: clip; }
.image-frame[data-image-loading]::before,
.image-frame[data-image-loading]::after {
  content: "";
  position: absolute;
  inset: var(--skeleton-inset, 0);
  border-radius: inherit;
  pointer-events: none;
}
.image-frame[data-image-loading]::before {
  background: var(--skeleton-fill, color-mix(in srgb, var(--cream) 55%, var(--yellow)));
}
@media (prefers-reduced-motion: no-preference) {
  .image-frame[data-image-loading]::after {
    background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / .45) 50%, transparent 75%);
    animation: image-shimmer 1.4s linear 3;
    transform: translateX(-100%);
  }
}
@keyframes image-shimmer { to { transform: translateX(100%); } }
.business-banner { width: min(100%, 48rem); margin-inline: auto; border-radius: 1.3rem .85rem 1.3rem .75rem; }
.business-banner img { width: 100%; height: auto; }
.sun { height: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; max-inline-size: 100%; min-height: 44px; padding: .55rem .85rem; border: var(--primary-border) solid currentColor; border-radius: .6rem; background: var(--accent); color: var(--ink); font-weight: 800; text-decoration: none; text-align: start; }
.button:hover, .menu-toggle:hover, .arrow:not(:disabled):hover { background: var(--cream); }
.button.secondary { background: var(--white); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; font-weight: 800; text-underline-offset: .22em; }
.section-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: end; justify-content: space-between; margin-bottom: 1.5rem; }
.section-head h2 { max-width: 14ch; }
.carousel-controls { display: flex; gap: .5rem; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 19rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: .25rem; scrollbar-width: thin; scrollbar-color: var(--brown) transparent; list-style: none; padding: .25rem .25rem .9rem; margin: 0; }
.tile { scroll-snap-align: start; border: 3px solid var(--brown); border-radius: .95rem 1.25rem .8rem 1.1rem; overflow: hidden; background: var(--cream); }
.tile-body { padding: clamp(1rem, 2vw, 1.5rem); }
.tile:is(:hover, :focus-within) { box-shadow: 3px 4px 0 var(--brown); }
.eyebrow { font-weight: 750; font-size: .82rem; letter-spacing: .045em; }
.preview { display: block; width: 100%; height: auto; aspect-ratio: 30 / 19; border-bottom: 3px solid var(--brown); }
.preview-frame { --skeleton-inset: 0 0 3px; }
.preview-phone { aspect-ratio: 39 / 64; object-fit: cover; object-position: top; }
.services, .contact { background: var(--yellow); }
.service-grid, .product-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.service-card { display: grid; align-content: start; gap: .55rem; padding: 1rem 1.2rem; background: var(--cream); border: 3px solid var(--brown); border-radius: 1.3rem .85rem 1.3rem .75rem; }
.service-art { display: grid; place-items: center; min-height: 9rem; border-bottom: 2px solid var(--brown); margin-bottom: .7rem; }
.service-art svg { width: min(72%, 14rem); }
.service-card:nth-child(2) { background: var(--white); }
.service-card .text-link { justify-self: start; }
#servicios .service-grid {
  /* Deja sitio para que la ilustración suba sin tocar el título (T-023). */
  margin-top: 7rem;
  row-gap: 7rem;
}
#servicios .service-card {
  position: relative;
  padding-top: 12.5rem;
}
#servicios .service-card > .service-illustration {
  position: absolute;
  inset: -4.2rem 0 auto;
  margin-inline: auto;
  width: 100%;
  max-width: 90%;
  height: 16rem;
  rotate: -4deg;
  border-radius: 1.3rem .85rem 1.3rem .75rem;
}
.service-illustration img { width: 100%; height: 100%; object-fit: contain; }
#servicios .service-card:nth-child(2) > .service-illustration { rotate: 3deg; }
/* La tarjeta responde al cursor y al enfocar su enlace (T-023). */
@media (hover: hover) and (pointer: fine) {
  #servicios .service-card:is(:hover, :focus-within) { box-shadow: 0 10px 0 var(--brown); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #servicios .service-card { transition: translate 220ms cubic-bezier(.23, 1, .32, 1), rotate 220ms cubic-bezier(.23, 1, .32, 1), box-shadow 220ms cubic-bezier(.23, 1, .32, 1); }
  /* Evita que parpadee con el cursor en el borde de abajo mientras sube. */
  #servicios .service-card::after { content: ""; position: absolute; inset: 100% 0 -14px; }
  #servicios .service-card > .service-illustration { transition: translate 260ms cubic-bezier(.34, 1.56, .64, 1), rotate 260ms cubic-bezier(.34, 1.56, .64, 1), scale 260ms cubic-bezier(.34, 1.56, .64, 1); }
  #servicios .service-card:is(:hover, :focus-within) { translate: 0 -10px; rotate: -1deg; }
  #servicios .service-card:nth-child(2):is(:hover, :focus-within) { rotate: 1deg; }
  #servicios .service-card:is(:hover, :focus-within) > .service-illustration { translate: 0 -.75rem; rotate: 3deg; scale: 1.06; }
  #servicios .service-card:nth-child(2):is(:hover, :focus-within) > .service-illustration { rotate: -3deg; }
}
@media (prefers-reduced-motion: no-preference) {
  #servicios .service-illustration.waiting { opacity: 0; }
  .service-illustration.rising { animation: illustration-rise 600ms cubic-bezier(.23, 1, .32, 1); }
  @keyframes illustration-rise {
    from { opacity: 0; translate: 0 3rem; scale: .95; }
  }
}
.price { font-weight: 850; }
.price span { display: block; margin-block-start: .2rem; font-size: .9rem; font-weight: 500; }
.service-prices-note { margin-block-start: 1.5rem; }
.process { background: var(--cream); }
.process-grid { display: grid; gap: 2rem; }
.timeline { display: grid; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 2.8rem; bottom: -1.5rem; left: 1.45rem; border-left: 2px solid var(--brown); }
.step { display: grid; place-items: center; width: 3rem; height: 3rem; font-weight: 900; border: 2px solid var(--brown); border-radius: 50%; background: var(--yellow); }
.message { max-width: 35rem; margin-block: 1rem; }
.message p { margin-block: .5rem; }
.message label { display: grid; gap: .3rem; margin-block: .75rem; }
/* Jerarquía: WhatsApp (naranja con sombra) > principal (amarillo) > secundario (blanco).
   Café sobre naranja da 4,23:1: el texto va en tamaño grande y negrita para cumplir AA. */
.button.whatsapp { min-height: 52px; margin-block-end: 6px; padding: .75rem clamp(.75rem, 4cqi, 1.3rem); background: var(--orange); color: var(--brown); font-size: 1.1875rem; line-height: 1.2; text-align: center; box-shadow: 0 6px 0 var(--brown); touch-action: manipulation; }
.button.whatsapp:hover { background: var(--orange); }
.button.whatsapp:active { box-shadow: 0 0 0 var(--brown); transform: translateY(6px); }
@media (max-width: 43.99rem) {
  .button.whatsapp { display: flex; inline-size: 100%; }
}
@media (hover: hover) and (pointer: fine) {
  .button.whatsapp:hover:not(:active) { box-shadow: 0 4px 0 var(--brown); transform: translateY(2px); }
}
@media (prefers-reduced-motion: no-preference) {
  .button.whatsapp { transition: transform 160ms cubic-bezier(.23, 1, .32, 1), box-shadow 160ms cubic-bezier(.23, 1, .32, 1); }
}
/* Portada: problema, beneficios, confianza y preguntas (T-018). */
.problem { background: var(--brown); color: var(--cream); border-bottom: 3px solid var(--brown); overflow-x: clip; }
.problem h2 { color: var(--yellow); max-width: 11ch; }
.problem-grid { display: grid; gap: 2rem; }
.chat { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.chat li { justify-self: start; max-width: 85%; padding: .8rem 1.25rem; border-radius: 1.4rem 1.5rem 1.35rem .3rem; background: var(--cream); color: var(--brown); font: 700 clamp(1.25rem, 3vw, 1.75rem)/1.2 var(--heading); }
.chat li:nth-child(even) { justify-self: end; border-radius: 1.5rem 1.35rem .3rem 1.4rem; background: var(--yellow); }
.chat li:nth-child(2) { rotate: 1.5deg; }
.chat li:nth-child(3) { margin-inline-start: 1.5rem; rotate: -1.5deg; }
.chat li:nth-child(5) { margin-inline-start: .75rem; rotate: 1deg; }
@media (prefers-reduced-motion: no-preference) {
  /* Entrada: cada globo salta desde su cola, uno tras otro. */
  .chat li { transform-origin: left bottom; }
  .chat li:nth-child(even) { transform-origin: right bottom; }
  .chat.live li { transition: opacity 240ms ease-out, transform 420ms cubic-bezier(.34, 1.56, .64, 1); }
  .chat.waiting li { opacity: 0; transform: translateY(1.75rem) scale(.9); transition: none; }
  .chat li:nth-child(2) { transition-delay: 160ms; }
  .chat li:nth-child(3) { transition-delay: 300ms; }
  .chat li:nth-child(4) { transition-delay: 460ms; }
  .chat li:nth-child(5) { transition-delay: 600ms; }
  /* Al desplazarse, los globos se cruzan despacio hacia los lados. */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .chat li { --drift: -1.1rem; animation: chat-drift linear both; animation-timeline: view(); }
    .chat li:nth-child(even) { --drift: 1.1rem; }
    @keyframes chat-drift {
      from { translate: var(--drift) 0; }
      to { translate: calc(var(--drift) * -1) 0; }
    }
  }
}
.problem-answer { display: grid; gap: .5rem; font-size: 1.2rem; }
.problem-answer strong { color: var(--yellow); font: 800 clamp(1.5rem, 3.5vw, 2.1rem)/1.15 var(--heading); display: block; }

.gains { background: var(--white); overflow-x: clip; }
.gain-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
.gain { padding: clamp(1.4rem, 4vw, 2.5rem); border: var(--primary-border) solid var(--brown); border-radius: 1.8rem 1rem 1.6rem 1.1rem; background: var(--yellow); }
.gain + .gain { background: var(--cream); border-radius: 1rem 1.7rem 1.1rem 1.9rem; }
.gain h3 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1.25rem; }
/* Amanecer: cada tarjeta se descubre desde abajo, como un sol que sale (D-93). */
.gain { rotate: -1.2deg; }
.gain + .gain { rotate: 1.2deg; }
@media (prefers-reduced-motion: no-preference) {
  .gain.waiting { opacity: 0; }
  .gain.rising { --wait: 0ms; animation: gain-dawn 800ms cubic-bezier(.45, 0, .25, 1) var(--wait) backwards; }
  .gain.rising :is(h3, li) { --turn: 0ms; animation: gain-item 450ms cubic-bezier(.23, 1, .32, 1) calc(var(--wait) + 300ms + var(--turn)) backwards; }
  .gain.rising li:nth-child(1) { --turn: 110ms; }
  .gain.rising li:nth-child(2) { --turn: 220ms; }
  .gain.rising li:nth-child(3) { --turn: 330ms; }
  @keyframes gain-dawn {
    from { clip-path: circle(0% at 50% 100%); }
    to { clip-path: circle(145% at 50% 100%); }
  }
  @keyframes gain-item { from { opacity: 0; translate: 0 1.25rem; } }
  /* Entrada y viñeta que usan las tarjetas de las páginas de servicio (D-68). */
  @keyframes gain-enter { from { opacity: 0; translate: var(--from); scale: .95; } }
  @keyframes gain-marker { from { scale: .3; } }
}
/* Lado a lado, la segunda amanece después de la primera. */
@media (min-width: 44rem) and (prefers-reduced-motion: no-preference) {
  .gain + .gain.rising { --wait: 450ms; }
}

/* Viñeta propia: un rayo del sol. */
.rays { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.rays li { position: relative; padding-inline-start: 2.1rem; font-size: 1.125rem; }
.rays li::before { content: ""; position: absolute; inset-block-start: .42em; inset-inline-start: 0; width: 1.25rem; height: .75rem; border: 2px solid var(--brown); border-radius: 50% 60% 60% 50%; background: var(--orange); rotate: -18deg; }

.process .eyebrow { margin-bottom: .6rem; font-size: 1rem; }

.proof { background: var(--yellow); }
/* Una prueba protagonista y dos globos (D-67). */
.proof-list { display: grid; gap: 1.25rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.proof-list li { display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: .75rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); border: var(--primary-border) solid var(--brown); border-radius: 2rem 2rem 2rem .35rem; background: var(--white); }
.proof-list li:first-child { border-radius: 2.2rem 1.2rem 2.2rem 1.4rem; background: var(--brown); color: var(--cream); }
.proof-list li:nth-child(3) { border-radius: 2rem 2rem .35rem 2rem; background: var(--cream); }
.proof-list h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); text-wrap: balance; }
.proof-list li:first-child h3 { color: var(--yellow); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1; }
.proof-list p { max-width: 32ch; font-size: clamp(1.25rem, 1.8vw, 1.4rem); }
.proof-list .text-link { margin-block-start: .75rem; color: var(--yellow); font-size: 1.15rem; }
.proof-list li:first-child :focus-visible { outline-color: var(--cream); }

/* Preguntas en conversación (D-62). */
.faq { background: var(--cream); }
.faq h2 { margin-bottom: 2.25rem; text-align: center; }
.faq-list { display: grid; gap: 1rem; }
.faq summary { width: fit-content; max-width: 92%; padding: .9rem 1.35rem; list-style: none; border: 3px solid var(--brown); border-radius: 1.6rem 1.6rem 1.6rem .25rem; background: var(--white); font: 800 clamp(1.4rem, 3vw, 1.9rem)/1.15 var(--heading); touch-action: manipulation; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-color: var(--brown); }
.faq details[open] summary { background: var(--brown); color: var(--cream); }
.faq-answer { display: flex; justify-content: flex-end; align-items: flex-end; gap: .6rem; padding-block: .9rem .75rem; }
.faq-answer > div { max-width: 80%; padding: 1.1rem 1.35rem; border: 3px solid var(--brown); border-radius: 1.6rem 1.6rem .25rem 1.6rem; background: var(--yellow); }
.faq-answer strong { display: block; margin-bottom: .45rem; font: 800 clamp(1.7rem, 4vw, 2.4rem)/1.08 var(--heading); }
.faq-answer p { font-size: 1.1rem; }
.faq-answer img { width: 3.5rem; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { interpolate-size: allow-keywords; block-size: 0; overflow: clip; contain: layout; transition: block-size 220ms cubic-bezier(.23, 1, .32, 1), content-visibility 220ms allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
  .faq details[open]:not([data-initially-open]) .faq-answer > * {
    transform-origin: right bottom;
    animation: faq-pop 220ms cubic-bezier(.23, 1, .32, 1) both;
  }
  .faq details[open]:not([data-initially-open]) .faq-answer > img {
    transform-origin: left bottom;
    animation-duration: 150ms;
    animation-delay: 120ms;
  }
  @keyframes faq-pop {
    from { opacity: 0; scale: .95; }
  }
}

/* Páginas de servicio (T-018). */
.service-hero { background: var(--yellow); padding-block: 1.25rem clamp(2.5rem, 6vw, 5rem); border-bottom: 3px solid var(--brown); }
.service-hero-grid { display: grid; gap: 2rem; margin-top: 1rem; }
.service-hero h1 { font-size: clamp(2.75rem, 11vw, 6rem); line-height: .98; }
.service-hero .lead { max-width: 24ch; margin-block-start: 1.25rem; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.35; }
.service-hero .price { margin-block: .75rem 1.25rem; }
.service-hero-image { justify-self: center; width: 100%; rotate: -3deg; border-radius: 1.3rem .85rem 1.3rem .75rem; }
.service-hero-art { width: 100%; height: clamp(15rem, 70vw, 25rem); object-fit: contain; }
/* T-036: cada servicio muestra su propio ejemplo esquemático antes de la demo. */
.service-overview {
  --slice-padding: clamp(2.75rem, 6vw, 5rem);
  border-block-end: 3px solid var(--brown);
}
.service-overview h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4.5rem); }

.overview-web { background: var(--white); }
.overview-web .wrap { display: grid; gap: 1.5rem; align-items: center; }
.overview-web h2 { max-inline-size: 12ch; }
.overview-web p { margin-block-start: .75rem; }
.landing-outline {
  border: var(--primary-border) solid var(--brown);
  border-radius: 1.25rem .8rem 1.1rem .75rem;
  overflow: clip;
}
.landing-outline-bar {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .7rem 1rem;
  background: var(--brown);
}
.landing-outline-bar span { inline-size: .55rem; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.landing-outline ul { margin: 0; padding: 0; list-style: none; }
.landing-outline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  padding: .7rem clamp(.8rem, 3vw, 1.5rem);
  background: var(--cream);
  overflow-wrap: anywhere;
}
.landing-outline li + li { border-block-start: 3px solid var(--brown); }
.landing-outline li:first-child { padding-block: 1.15rem; background: var(--yellow); }
.landing-outline li:nth-child(even) { background: var(--white); }
.landing-outline li span {
  inline-size: min(100%, 7rem);
  justify-self: end;
  block-size: .75rem;
  border-block: 3px solid var(--brown);
  border-radius: .15rem;
}
.landing-outline li:nth-child(4) span {
  block-size: 1.4rem;
  border: 3px solid var(--brown);
  border-radius: .35rem .25rem;
  background: var(--yellow);
}

.overview-catalog { background: var(--white); }
.catalog-journey {
  display: grid;
  margin: 1.5rem 0 0;
  padding: 0 0 0 2rem;
}
.catalog-journey li {
  padding: .9rem 1rem;
  border-inline-start: 3px solid var(--brown);
  background: var(--cream);
}
.catalog-journey li::marker { font: 800 1.25rem var(--heading); }
.catalog-journey li + li { border-block-start: 3px solid var(--brown); }
.catalog-journey li:last-child { background: var(--yellow); border-end-end-radius: 1.1rem; }
.catalog-journey p { margin-block-start: .4rem; }

.overview-menu { background: var(--cream); text-align: center; }
.menu-journey {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 1.6rem;
  inline-size: min(100%, 34rem);
  margin: 1.75rem auto 0;
  padding: 0;
  list-style: none;
}
.menu-table-qr {
  inline-size: min(100%, 12rem);
  padding: 1rem;
  border: 3px solid var(--brown);
  border-block-end-width: 7px;
  border-radius: .8rem .6rem .4rem .35rem;
  background: var(--yellow);
  rotate: -3deg;
}
.menu-table-qr svg {
  box-sizing: content-box;
  margin: 0 auto .65rem;
  border: 3px solid var(--brown);
  border-radius: .4rem;
  background: var(--white);
}
.menu-phone {
  position: relative;
  inline-size: min(100%, 14rem);
  padding: 1rem;
  border: var(--primary-border) solid var(--brown);
  border-radius: 1.6rem;
  background: var(--white);
}
.menu-phone::before {
  content: "";
  position: absolute;
  inset: -1.6rem auto auto 50%;
  block-size: calc(1.6rem - 4px);
  border-inline-start: 3px dotted var(--brown);
}
.menu-phone-lines { display: grid; gap: .45rem; margin-block: .8rem; }
.menu-phone-lines span { block-size: .65rem; border: 3px solid var(--brown); border-radius: .2rem; background: var(--cream); }
.menu-phone p {
  padding-block: .6rem .2rem;
  border-block-start: 3px solid var(--brown);
  font-weight: 700;
}
@media (min-width: 36rem) {
  .menu-journey { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0; }
  .menu-table-qr { justify-self: end; margin-inline-end: 1.6rem; }
  .menu-phone { justify-self: start; margin-inline-start: 1.6rem; }
  .menu-phone::before {
    inset: 50% 100% auto auto;
    inline-size: 3.6rem;
    block-size: 0;
    border: 0;
    border-block-start: 3px dotted var(--brown);
  }
}
@media (min-width: 44rem) {
  .overview-web .wrap { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(2rem, 5vw, 5rem); }
  .catalog-journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-block-start: 2rem;
    padding: 0;
  }
  .catalog-journey li {
    padding: 1rem 1.25rem 1.25rem;
    border: 0;
    border-block-start: 3px solid var(--brown);
    list-style-position: inside;
  }
  .catalog-journey li + li { border-inline-start: 3px solid var(--brown); }
  .catalog-journey h3 { display: inline; }
}
.service-sample { background: var(--cream); }
.sample-grid { display: grid; gap: 1.5rem; align-items: center; }
.sample-grid > * { min-width: 0; }
.service-sample .preview { aspect-ratio: 39 / 64; object-fit: cover; object-position: top; }
.service-sample .preview-frame { max-inline-size: 19rem; inline-size: 100%; justify-self: center; }
@media (min-width: 44rem) {
  .service-sample .preview { aspect-ratio: 30 / 19; }
  .service-sample .preview-frame { max-inline-size: none; }
}
.service-sample .preview { border: var(--primary-border) solid var(--brown); border-radius: 1.2rem .8rem 1.1rem .9rem; }
.service-sample .preview-frame { --skeleton-inset: var(--primary-border); border-radius: 1.2rem .8rem 1.1rem .9rem; }
.sample-note { max-width: 32ch; margin-bottom: 1.25rem; font: 700 clamp(1.15rem, 2.2vw, 1.65rem)/1.3 var(--heading); text-wrap: pretty; }
/* Beneficios en tarjetas, como en la portada (D-68, T-022). */
.service-benefits { background: var(--white); overflow-x: clip; }
.benefit-list { display: grid; gap: 1.25rem; margin: 2.25rem 0 0; padding: 0; list-style: none; counter-reset: benefit; }
.benefit-list li { counter-increment: benefit; padding: clamp(1.4rem, 3vw, 2rem); border: var(--primary-border) solid var(--brown); border-radius: 1.8rem 1rem 1.6rem 1.1rem; background: var(--yellow); rotate: -1.2deg; }
.benefit-list li:nth-child(2) { border-radius: 1rem 1.7rem 1.1rem 1.9rem; background: var(--cream); rotate: 1.2deg; }
.benefit-list li:nth-child(3) { rotate: -.8deg; }
.benefit-list li::before { content: counter(benefit); display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1rem; border: 3px solid var(--brown); border-radius: 48% 52% 50% 46%; background: var(--orange); font: 800 1.5rem/1 var(--heading); }
.benefit-list h3 { text-wrap: balance; }
.benefit-list p { margin-top: .5rem; font-size: 1.125rem; }
@media (prefers-reduced-motion: no-preference) {
  .benefit-list li.waiting { opacity: 0; }
  .benefit-list li.rising { --from: -5rem 1rem; --wait: 0ms; animation: gain-enter 600ms cubic-bezier(.23, 1, .32, 1) var(--wait) backwards; }
  .benefit-list li:nth-child(2).rising { --from: 5rem 1rem; --wait: 140ms; }
  .benefit-list li:nth-child(3).rising { --wait: 280ms; }
  .benefit-list li.rising::before { animation: gain-marker 460ms cubic-bezier(.34, 1.56, .64, 1) calc(var(--wait) + 420ms) backwards; }
}
@media (min-width: 44rem) {
  /* En tres columnas, la del medio sube desde abajo y la última entra por la derecha. */
  .benefit-list li:nth-child(2).rising { --from: 0 3rem; }
  .benefit-list li:nth-child(3).rising { --from: 5rem 1rem; }
}
.service-scope { background: var(--cream); }
.scope-grid { display: grid; gap: 1.25rem; align-items: start; }
.scope { padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: 1.8rem 1rem 1.6rem 1.1rem; }
.scope h2 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 2.75rem); }
.scope.in { border: var(--primary-border) solid var(--brown); background: var(--white); }
.scope.out { border: 3px dashed var(--brown); border-radius: 1rem 1.7rem 1.1rem 1.9rem; }
.scope.out ul { display: grid; gap: .7rem; margin: 0; padding-inline-start: 1.2rem; font-size: 1.125rem; }
.scope.out p { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--brown); }
.service-quote { background: var(--yellow); text-align: center; }
.service-quote h2 { margin-bottom: 1.25rem; }
.service-quote > .wrap > p { margin-inline: auto; font-size: 1.2rem; }
.service-quote .message { margin-inline: auto; }
.quote-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.5rem; margin-top: 1rem; }

/* Fondo «2 Estrellas» de la cotización (T-020). */
.contact, .service-quote { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; container-type: inline-size; }
.sparkles-wide { display: none; }
.sparkles svg { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; }
@media (width < 1024px) {
  /* La estrella de abajo no se recorta en secciones bajas. */
  .sparkles-compact .sparkle-star:nth-child(5) { top: min(var(--y), calc(100% - 26px)); }
  .contact .sparkles-compact {
    --banner-top: calc(100% - var(--slice-padding) - min(100cqw - 2.5rem, 48rem) * .363);
  }
  /* Las dos estrellas del medio caben en el espacio antes de la ilustración. */
  .contact .sparkles-compact .sparkle-star:nth-child(3) {
    top: clamp(calc(var(--banner-top) - 24px), var(--y), calc(var(--banner-top) - 16px));
  }
  .contact .sparkles-compact .sparkle-star:nth-child(4) { top: calc(var(--banner-top) - 20px); }
}
@media (max-width: 43.99rem) {
  /* En la cotización móvil, el botón ocupa todo el ancho disponible. */
  .service-quote .sparkles-compact .sparkle-star:nth-child(3) {
    left: 92%;
    top: calc(100% - var(--slice-padding) - 56px);
  }
  .service-quote .sparkles-compact .sparkle-star:nth-child(4) { left: 20%; top: 34px; }
}
@media (min-width: 1024px) {
  .sparkles-compact { display: none; }
  .sparkles-wide { display: block; }
  .sparkles-wide .sparkle-star:nth-child(2) { top: min(var(--y), calc(var(--slice-padding) - 30px)); }
  .sparkles-wide .sparkle-star:nth-child(3) { top: max(var(--y), calc(100% - var(--slice-padding) + 30px)); }
}
@media (prefers-reduced-motion: no-preference) {
  /* Dos pulsos al llegar; con el desfase, todo queda quieto antes de 5 s. */
  .sparkles.playing .sparkle-star { animation: sparkle-twinkle 2s ease-in-out var(--delay) 2; }
  .sparkles.playing .sparkle-wave { animation: sparkle-sway 2s ease-in-out var(--delay) 2; }
  @keyframes sparkle-twinkle { 50% { transform: scale(.55) rotate(45deg); } }
  @keyframes sparkle-sway { 50% { transform: translateX(18px); } }
}

.site-footer { color: var(--yellow); background: var(--brown); padding-block: 2rem; }
.footer-brand { display: block; font: 800 clamp(4rem, 22vw, 12rem)/.95 var(--heading); text-decoration: none; }
.cover h1, .footer-brand { font-variation-settings: "opsz" 96; letter-spacing: 0; }
.site-footer p { margin-block: .75rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }

.legal { padding-block: clamp(2.5rem, 6vw, 5rem); }
.legal :is(h1, h2) { overflow-wrap: normal; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.75rem); }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); line-height: 1.2; }
.legal > * + * { margin-block-start: 1rem; }
.legal > h2 { margin-block-start: 2rem; }
.legal p { max-inline-size: none; }
.legal ul { margin-block-end: 0; padding-inline-start: 1.3rem; }
.legal li + li { margin-block-start: .45rem; }
.legal a { text-underline-offset: .2em; }
.legal :is(a, .legal-address) { overflow-wrap: anywhere; }
.legal table { inline-size: 100%; border-collapse: collapse; font-size: .9rem; }
.legal :is(th, td) {
  padding: .45rem clamp(.25rem, 1vw, .75rem);
  border: 1px solid var(--brown);
  text-align: start;
  vertical-align: top;
}
.legal th { background: var(--cream); }
.legal .legal-number { text-align: end; }
.legal td.legal-number { white-space: nowrap; }
.legal-cell-label { display: none; }

@media (width < 40rem) {
  .legal-stacked-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .legal-stacked-table, .legal-stacked-table :is(tbody, tr, td) { display: block; }
  .legal-stacked-table { border-block-start: 1px solid var(--brown); }
  .legal-stacked-table tbody tr { padding-block: .8rem; border-block-end: 1px solid var(--brown); }
  .legal-stacked-table td { padding: 0; border: 0; }
  .legal-stacked-table td + td { margin-block-start: .35rem; }
  .legal-stacked-table td:first-child { font-weight: 700; }
  .legal-stacked-table .legal-number { text-align: start; }
  .legal-cell-label { display: inline; font-weight: 650; }
  .legal-cell-label::before { content: attr(data-label) ": "; }
}

.theme-emprendimiento { --paper: #e9d7c5; --ink: #542e23; --accent: #da9b7f; --demo-font: Georgia, serif; }
.theme-ropa { --paper: #e7e8e2; --ink: #202923; --accent: #d1e393; --demo-font: system-ui, sans-serif; }
.theme-barberia { --paper: #1e3530; --ink: #fff3d4; --accent: #ffe1a1; --badge-ink: #1e3530; --demo-font: Georgia, serif; }
.theme-cafeteria { --paper: #f3ded0; --ink: #4e242a; --accent: #e6ac85; --demo-font: Georgia, serif; }
.demo { background: var(--paper); color: var(--ink); }
.demo h1, .demo h2 { font-family: var(--demo-font); }
.demo .hero-grid .eyebrow { margin-block: .5rem; }
.demo-hero { border-bottom: 1px solid currentColor; }
.demo-art { width: min(100%, 17rem); aspect-ratio: 1; display: grid; place-items: center; background: var(--accent); color: var(--badge-ink, var(--ink)); border-radius: 45% 55% 50% 42%; font-size: clamp(4rem, 20vw, 9rem); justify-self: center; }
.theme-barberia .demo-hero .button, .theme-barberia summary, .theme-barberia button[data-copy] { color: #1e3530; }
.demo-list { padding: 0; list-style: none; margin-block: 1.25rem; }
.demo-list li { border-bottom: 1px solid currentColor; padding-block: .85rem; }
.qr-example { margin: 1.5rem 0 0; }
.qr-example span { display: block; font-size: 3rem; }
.filters { display: flex; flex-wrap: wrap; gap: .9rem; align-items: end; margin-block: 1.25rem; }
.filters > label { flex: 1 1 12rem; }
label { display: grid; gap: .3rem; font-weight: 650; min-width: 0; }
input, select, textarea { inline-size: 100%; padding: .5rem; min-height: 44px; border: 2px solid currentColor; border-radius: .35rem; background: var(--white); color: #202923; }
textarea { resize: vertical; }
.product { min-width: 0; background: var(--white); border: 2px solid currentColor; border-radius: .7rem; overflow: hidden; }
.product svg { width: 100%; height: 11rem; padding: .75rem; background: var(--product-color); fill: #30352f; }
.product-body { padding: 1rem; }
.product form { margin-top: .9rem; display: grid; gap: .65rem; }
.cart { border-top: 1px solid currentColor; background: #f8f9f2; }
.cart h2 { margin-bottom: 1rem; }
#cart-items { padding: 0; list-style: none; }
.cart-line { border-bottom: 1px solid currentColor; padding-block: .85rem; }
.cart-line form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin-top: .65rem; }
.cart-line input { width: 6rem; }

@media (min-width: 44rem) {
  .site-nav { width: min(100%, 22rem); }
  .service-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64rem) {
  .site-nav { width: 26rem; }
}
@media (44rem <= width < 64rem) {
  #servicios .service-grid > .service-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 1rem) / 2);
  }
}
@media (min-width: 44rem) {
  .gain-grid, .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .proof-list { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .track { scrollbar-width: none; }
  .proof-list li:first-child { grid-row: span 2; }
  .problem-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; }
  .problem-grid .chat { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .problem-grid h2 { align-self: end; }
  .problem-answer { align-self: start; }
  .service-hero-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; }
  .sample-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 3rem; }
}
@media (min-width: 64rem) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .tile { transition: box-shadow 180ms ease; }
  .button, .arrow, .menu-toggle { transition: background-color 160ms ease; }
}

.demo-art svg { width: 90%; }
.theme-barberia :focus-visible { outline-color: #fff3d4; }
.theme-barberia .site-header :focus-visible { outline-color: var(--brown); }
.button:active, .arrow:not(:disabled):active, .menu-toggle:active { box-shadow: inset 0 0 0 2px currentColor; }

.process-art { width: min(82%, 23rem); margin-top: 1.8rem; }
.timeline li { padding-bottom: 1.1rem; border-bottom: 1px solid var(--brown); }
.contact-layout { display: grid; justify-items: center; gap: 1.5rem; text-align: center; }
.contact-layout h2 { font-size: clamp(3rem, 2rem + 6vw, 7.5rem); }
.contact-layout p, .contact-layout .message { margin: 1rem auto; }
.site-footer { padding-block: clamp(2rem, 5vw, 5rem); }
.site-footer nav { border-block-start: 1px solid var(--yellow); margin-top: 1.5rem; padding-top: 1rem; }
.demo-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .75rem; border-bottom: 1px solid currentColor; }
.demo-heading strong { font: bold clamp(1.65rem, 4vw, 3rem) var(--demo-font); }
.demo-heading span { font-size: .86rem; }
.demo-heading a { margin-left: auto; }
.demo-spread { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2rem, 5vw, 5rem); }
.demo-intro h1 { max-width: 13ch; font-size: clamp(2.65rem, 1.6rem + 4.9vw, 6rem); }
.demo-intro p { margin-block: 1rem; max-width: 40ch; }
.demo-art { width: 100%; max-width: 27rem; aspect-ratio: auto; background: transparent; border-radius: 0; }
.theme-emprendimiento .demo-art { background: #d8ae92; border-radius: 48% 48% 0 0; padding: 1rem; border-bottom: 5px solid currentColor; }
.craft-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap: 1.25rem; margin-block: 1.5rem 2.5rem; }
.craft-gallery figure, .theme-ropa .demo-art figure { margin: 0; }
.craft-gallery svg { background: #efdfcd; width: 100%; margin-bottom: .75rem; }
.theme-ropa .demo-intro h1 { max-width: 17ch; font-weight: 900; }
.theme-ropa .demo-art { max-width: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; }
.theme-ropa .demo-art svg { width: 100%; background: var(--product-color); }
.theme-ropa .demo-art figcaption { padding-block: .4rem; font: 650 clamp(.8rem, 1.4vw, 1.1rem) var(--body); }
.theme-ropa .button, .theme-ropa .product { border-radius: 0; border-width: 2px; }
.options { margin-top: 1rem; border-top: 1px solid currentColor; }
.options summary { padding-block: .65rem; min-height: 44px; font-weight: 700; }
.product svg { height: clamp(13rem, 25vw, 20rem); }
#clear-filters { min-height: 44px; background: transparent; border: 0; text-decoration: underline; }
.theme-barberia .demo-heading, .barber-list { border-bottom: 4px double currentColor; }
.theme-barberia .demo-spread { text-align: center; justify-items: center; gap: .65rem; }
.theme-barberia .demo-art { grid-row: 1; max-width: 11rem; }
.theme-barberia .demo-intro p { margin-inline: auto; }
.theme-barberia .demo-intro h1 { max-width: 18ch; }
.price-list { padding: 0; list-style: none; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: .7rem; border-bottom: 1px dotted currentColor; }
.barber-list, .cafe-menu { max-width: 54rem; }
.theme-cafeteria .demo-art { max-width: 15rem; }
.theme-cafeteria .demo-heading strong { font-style: italic; }
.menu-index { display: flex; flex-wrap: wrap; gap: 1rem; padding-block: .8rem; }
.menu-index a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.cafe-menu section { margin-top: 1.5rem; }
@media (max-width: 43.99rem) {
  .theme-ropa .demo-heading a { margin-left: 0; }
}
@media (min-width: 44rem) {
  .theme-emprendimiento .demo-spread { grid-template-columns: 1fr 1fr; }
  .theme-emprendimiento .demo-art { grid-row: 1; grid-column: 1; }
  .theme-cafeteria .demo-spread { grid-template-columns: 1.4fr 1fr; border-bottom: 4px double currentColor; }
  .theme-ropa .demo-spread { grid-template-columns: .95fr 1.3fr; }
}
