/* Multimpresos — hoja de estilos */

:root {
  --ink: #0e0d35;
  --navy: #151e55;
  --navy-2: #1b2a6b;
  --blue: #2860f5;
  --blue-dark: #1a44c9;
  --cyan: #61d3fa;
  --sky: #4eacea;
  --yellow: #f7ce50;
  --pink: #d43e8d;
  --wa: #25d366;

  --paper: #ffffff;
  --paper-2: #f4f6fb;
  --line: #e2e7f2;
  --text: #1d2340;
  --muted: #5a6180;

  --wrap: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 13, 53, .06), 0 12px 32px -12px rgba(14, 13, 53, .18);
  --shadow-lg: 0 24px 60px -20px rgba(14, 13, 53, .35);
  --header-h: 68px;
  --font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}

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

a { color: var(--blue-dark); }

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 800;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

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

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 13, 53, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header__bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

/* El nombre fija el ancho y el zócalo se justifica contra él. */
.brand__text { display: grid; }

.brand__name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
}

.brand__tag {
  display: flex;
  justify-content: space-between;
  font-size: .52rem;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--cyan);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Menú sin JavaScript: checkbox + label */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span { position: relative; }
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after { position: absolute; top: 6px; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-size: .93rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 9px;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }

.nav .nav__cta {
  background: var(--wa);
  color: #04331a;
  font-weight: 800;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav .nav__cta:hover { background: #1fbb59; color: #04331a; }
.nav .nav__cta svg { width: 17px; height: 17px; fill: currentColor; }

@media (max-width: 940px) {
  .nav-burger { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--ink);
    padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }

  .nav a { padding: 13px 12px; font-size: 1rem; }

  .nav .nav__cta {
    margin: 10px 0 0;
    justify-content: center;
    padding: 14px;
  }

  .nav-toggle:checked ~ .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn--wa { background: var(--wa); color: #04331a; box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: #1fbb59; }

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

.btn--solid { background: var(--blue); color: #fff; }
.btn--solid:hover { background: var(--blue-dark); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 100% at 15% 0%, var(--navy-2) 0%, var(--ink) 62%);
  color: #fff;
  overflow: hidden;
  padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 10vw, 108px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .34;
  pointer-events: none;
}
.hero::before { width: 460px; height: 460px; background: var(--blue); top: -160px; right: -110px; }
.hero::after { width: 380px; height: 380px; background: var(--pink); bottom: -190px; left: -130px; opacity: .2; }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero h1 { color: #fff; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
}

.hero__lead {
  font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, .82);
  max-width: 52ch;
  margin-bottom: 30px;
}

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

.hero__note {
  margin: 22px 0 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
}

.hero__art { display: flex; justify-content: center; }
.hero__art img {
  width: min(360px, 78vw);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { width: min(230px, 58vw); }
}

/* Barra CMYK */
.stripe {
  display: flex;
  height: 5px;
}
.stripe span { flex: 1; }
.stripe span:nth-child(1) { background: var(--sky); }
.stripe span:nth-child(2) { background: var(--pink); }
.stripe span:nth-child(3) { background: var(--yellow); }
.stripe span:nth-child(4) { background: var(--ink); }

/* ---------- Secciones ---------- */

.section { padding: clamp(56px, 8vw, 92px) 0; }
.section--alt { background: var(--paper-2); }

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.section__head p { color: var(--muted); margin-bottom: 0; }

/* Grilla de servicios (índice) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: var(--navy);
}
.card__icon svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card:nth-child(1) .card__icon { background: linear-gradient(135deg, var(--sky), var(--blue)); }
.card:nth-child(2) .card__icon { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.card:nth-child(3) .card__icon { background: linear-gradient(135deg, var(--cyan), var(--sky)); }
.card:nth-child(4) .card__icon { background: linear-gradient(135deg, var(--yellow), #e8a53a); }
.card:nth-child(5) .card__icon { background: linear-gradient(135deg, var(--pink), #9c2f78); }
.card:nth-child(6) .card__icon { background: linear-gradient(135deg, var(--navy-2), var(--ink)); }

.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card__more {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--blue-dark);
}

/* Servicio en detalle */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  padding: clamp(46px, 7vw, 76px) 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; }

.service--flip .service__media { order: 2; }

.service__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

.service h2 { margin-bottom: .35em; }
.service__body > p { color: var(--muted); }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}
.tags li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text);
}
.section--alt .tags li { background: #fff; }

@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; }
  .service--flip .service__media { order: 0; }
  .service__media img { aspect-ratio: 16 / 10; }
}

/* ---------- Carrusel de fotos ---------- */

.catalogo {
  grid-column: 1 / -1;
  min-width: 0; /* si no, el carrusel estira la grilla del servicio */
  max-width: 620px;
  margin-top: 8px;
}

.service__media .catalogo {
  max-width: none;
  margin: 0;
}

.service__media .catalogo__head { display: none; }

.catalogo__head {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Una foto por vez. Sin JavaScript se pasa con el dedo o la barra. */
.catalogo__strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  border-radius: var(--radius-sm);
}

.catalogo__strip > li {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.foto { display: block; }

.foto img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}

.service__media .catalogo__strip > li > picture img,
.service__media .foto img {
  border-radius: var(--radius);
}

.foto__pie {
  display: block;
  padding: 10px 2px 0;
  font-size: .87rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Con JavaScript los puntos reemplazan a la barra y el clic pasa la foto. */
.catalogo--js .catalogo__strip {
  scrollbar-width: none;
  cursor: pointer;
}
.catalogo--js .catalogo__strip::-webkit-scrollbar { display: none; }

.catalogo__ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.catalogo__puntos {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.catalogo__punto {
  border: 0;
  padding: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.catalogo__punto[aria-current="true"] {
  width: 24px;
  background: var(--cyan);
}

.catalogo__pausa {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 4px 6px;
  font: inherit;
  font-size: .76rem;
  color: var(--muted);
  cursor: pointer;
}
.catalogo__pausa:hover { color: var(--text); }

/* ---------- Franja WhatsApp ---------- */

.band {
  background: linear-gradient(120deg, var(--navy-2), var(--ink));
  color: #fff;
  text-align: center;
  padding: clamp(52px, 8vw, 84px) 0;
}
.band h2 { color: #fff; }
.band p {
  color: rgba(255, 255, 255, .78);
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ---------- Contacto ---------- */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.contact__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.contact__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact__list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__list b { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.contact__list a { color: var(--text); text-decoration: none; font-weight: 700; }
.contact__list a:hover { color: var(--blue-dark); text-decoration: underline; }

.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
}
.social a:hover { background: var(--blue); }
.social svg { width: 21px; height: 21px; fill: currentColor; }

.map {
  border: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--paper-2);
}

@media (max-width: 820px) {
  .contact { grid-template-columns: 1fr; }
  .map { aspect-ratio: 16 / 11; }
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .68);
  padding: 46px 0 30px;
  font-size: .92rem;
}
.footer .brand { margin-bottom: 18px; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer h3 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, .68); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }

.footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  background: var(--wa);
  color: #04331a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(4, 51, 26, .6);
  transition: transform .15s ease, background .15s ease;
}
.wa-float:hover { transform: translateY(-3px); background: #1fbb59; }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 520px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    padding: 15px;
    gap: 0;
  }
  .wa-float span { display: none; }
}

/* Deja aire para que el botón flotante no tape el texto. */
@media (max-width: 860px) {
  .hero { padding-bottom: 110px; }
  .footer__bottom { padding-bottom: 56px; }
}
