/* Plan: taller textil editorial. Crema y tinta, letra ancha, mucho aire; las fotos mandan. Solo blanco y negro: botones en negro. */
:root {
  --cream: #0b0b0b;
  --card: #1a1a1a;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --line: #333333;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wide: 125%;
  --pad: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body { margin: 0; }
body { background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
.wrap { padding-inline: var(--pad); max-width: 1480px; margin-inline: auto; }
.eyebrow { font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 600; color: var(--muted); }
.display { font-stretch: var(--wide); letter-spacing: -.035em; line-height: .95; }
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.35em; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid var(--ink); transition: background .2s, color .2s, transform .2s; cursor: pointer; font-family: inherit; }
.btn-lime { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-lime:hover { background: transparent; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Cabecera */
.site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-color: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: block; width: 168px; color: var(--ink); }
.logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--ink); transition: right .25s; }
.nav a:hover::after { right: 0; }
.head-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: .55em 1em; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--ink); }

/* Portada */
.hero { padding-top: clamp(32px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.3rem, 8.6vw, 9.6rem); margin-top: 18px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.lead { max-width: 46ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: #d9d9d9; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.triptych { display: grid; grid-template-columns: 1fr 1fr 1fr; max-width: 1180px; margin-inline: auto; gap: clamp(8px, 1.2vw, 18px); margin-top: clamp(32px, 5vw, 64px); align-items: end; }
.triptych figure { margin: 0; overflow: hidden; border-radius: 4px; }
.triptych figure:nth-child(1) { aspect-ratio: 2 / 3; }
.triptych figure:nth-child(2) { aspect-ratio: 2 / 3; }
.triptych figure:nth-child(3) { aspect-ratio: 2 / 3; }
.triptych img { width: 100%; height: 100%; object-fit: cover; }
.triptych figure:nth-child(3) img { object-position: 50% 20%; }

/* Intro y cifras */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(72px, 10vw, 140px); align-items: start; }
.intro-text p.big { font-stretch: 112%; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.14; letter-spacing: -.02em; }
.intro-text .btn { margin-top: 32px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-radius: 10px; overflow: hidden; }
.stats li { background: var(--card); padding: 22px 24px; border-bottom: 1px solid var(--cream); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.stats li:last-child { background: var(--ink); color: var(--cream); border: 0; }
.stats b { font-stretch: var(--wide); font-weight: 500; font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-stretch: var(--wide); color: var(--muted); text-align: right; }
.stats li:last-child span { color: #555555; }

/* Ocasiones */
.occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); max-width: 1180px; margin-inline: auto; }
.occ { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: var(--ink); color: #fff; font: inherit; text-align: left; border-radius: 4px; }
.occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62)); }
.occ-empty::after { display: none; }
.occ:hover img { transform: scale(1.05); }
.occ-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: clamp(14px, 1.8vw, 24px); }
.occ-label b { font-stretch: var(--wide); font-weight: 500; font-size: clamp(1.05rem, 1.7vw, 1.6rem); letter-spacing: -.015em; line-height: 1.05; text-transform: uppercase; max-width: 15ch; }
.plus { flex: none; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 4px; display: grid; place-items: center; font-size: 1.2rem; transition: background .25s, color .25s; }
.occ:hover .plus { background: #fff; color: #000; }
.empty-msg { padding: 28px 0 8px; color: var(--muted); }
.empty-msg[hidden] { display: none; }

/* Secciones */
.section { padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head h2 { font-stretch: var(--wide); font-size: clamp(2.2rem, 5.4vw, 4.8rem); letter-spacing: -.035em; line-height: .98; margin-top: 14px; }
.sec-head p { max-width: 52ch; color: #d9d9d9; font-size: 1.05rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { font: inherit; font-size: .88rem; font-weight: 500; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Galerías */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 30px) clamp(10px, 1.4vw, 20px); }
.grid3.per { grid-template-columns: repeat(4, 1fr); }
.grid3 .tile-img { aspect-ratio: 2 / 3; }
.grid3:not(.expanded) .tile.extra { display: none; }
.tile { margin: 0; }
.tile[hidden] { display: none; }
.tile-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--card); cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.tile-img { position: relative; display: block; overflow: hidden; background: var(--card); }
.tile-img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tile-img.fit img.bg { inset: 0; width: 100%; height: 100%; z-index: 0; object-fit: cover; filter: blur(28px) brightness(.82); transform: scale(1.3); transition: none; }
.tile-btn:hover .tile-img img:not(.bg) { transform: scale(1.035); }
.tile figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; line-height: 1.35; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 30px) clamp(10px, 1.4vw, 20px); }
.toc .tile-img { aspect-ratio: 1 / 1; }

.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.soon-grid span { aspect-ratio: 1 / 1; display: grid; place-items: center; background: var(--card); border: 1px dashed var(--line); border-radius: 4px; font-stretch: var(--wide); font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 300; color: var(--muted); }
.soon-text { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 56ch; }
@media (max-width: 860px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }

/* Personalización */
.services { list-style: none; margin: 0 0 clamp(40px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.services li { padding: 20px 20px 4px 0; border-right: 1px solid var(--line); padding-left: 16px; }
.services li:first-child { padding-left: 0; }
.services li:last-child { border-right: 0; }
.serv-n { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.services h3 { font-stretch: var(--wide); font-size: 1.1rem; margin: 10px 0 8px; }
.services p { font-size: .92rem; color: #d9d9d9; }

/* Proceso */
.dark { background: #161616; color: #ffffff; border-block: 1px solid #262626; }
.dark .eyebrow { color: #a9a291; }
.dark .sec-head p { color: #cfc8b7; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.step-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; margin-bottom: 18px; background: #2a2825; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-n { font-size: .75rem; color: #a9a291; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.step h3 { font-stretch: var(--wide); font-size: 1.2rem; margin: 6px 0 8px; }
.step p { color: #cfc8b7; font-size: .95rem; }

/* Clientes y reseñas */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 22px; }
.marquee-track { display: flex; width: max-content; animation: slide 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > div { display: flex; align-items: center; }
.marquee span { font-stretch: var(--wide); font-size: clamp(1.3rem, 2.6vw, 2.2rem); letter-spacing: -.02em; white-space: nowrap; padding-inline: .5em; }
.marquee .dot { font-size: .9rem; color: var(--muted); }
@keyframes slide { to { transform: translateX(-50%); } }
.reviews { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.review { margin: 0; background: var(--card); border-radius: 10px; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review blockquote { margin: 0; font-size: 1.12rem; line-height: 1.4; }
.review figcaption { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-stretch: var(--wide); }
.rating { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: .95rem; }
.rating b { font-stretch: var(--wide); font-size: 1.6rem; font-weight: 500; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.contact h2 { font-stretch: var(--wide); font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -.035em; line-height: .96; margin-top: 14px; }
.addr { margin-top: 24px; font-size: 1.1rem; color: #d9d9d9; }
.contact .ctas { margin-top: 28px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contact-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-list span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-stretch: var(--wide); }
.contact-list a { font-size: 1.15rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq { margin-top: clamp(56px, 8vw, 104px); display: grid; grid-template-columns: 1fr 2fr; gap: 32px clamp(32px, 6vw, 96px); }
.faq h3 { font-stretch: var(--wide); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--ink); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 500; font-size: 1.05rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: #d9d9d9; max-width: 62ch; }

/* Pie */
.site-foot { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 32px; }
.foot-logo { color: var(--ink); width: min(100%, 1100px); }
.foot-logo svg { width: 100%; height: auto; display: block; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; font-size: .88rem; color: var(--muted); }
.foot-row a { text-decoration: none; }
.foot-row a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Visor de fotos con zoom */
.lb { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: #000; color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(18,17,15,.6); }
.lb-in { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; padding: 56px 12px 14px; }
.lb-stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 0; touch-action: none; cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.lb-stage.zoomed { cursor: grab; }
.lb-stage.dragging { cursor: grabbing; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 3px; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; }
.lb-stage img.anim { transition: transform .25s ease; }
.lb-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding-top: 12px; font-size: .9rem; }
.lb-mid { text-align: center; min-width: 0; }
.lb-cap { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-hint { display: block; color: #a9a291; font-size: .78rem; margin-top: 2px; }
.lb-group { display: flex; gap: 8px; }
.lb-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; width: 44px; height: 44px; font-size: 1.15rem; cursor: pointer; font-family: inherit; flex: none; }
.lb-btn:hover { background: #fff; color: #000; }
.lb-top { position: absolute; top: 8px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.lb-count { color: #a9a291; font-variant-numeric: tabular-nums; font-size: .85rem; }
@media (max-width: 520px) { .lb-zoom { display: none; } }
.lb[open] { animation: lbFade .28s ease both; }
.lb.closing { animation: lbFadeOut .22s ease both; }
.lb-stage img { opacity: 0; }
.lb-stage img.ready { opacity: 1; }
.lb-stage img.enter { animation: lbIn .45s cubic-bezier(.2,.7,.2,1) both; }
.lb-stage img.enter-next { animation: lbNext .4s cubic-bezier(.2,.7,.2,1) both; }
.lb-stage img.enter-prev { animation: lbPrev .4s cubic-bezier(.2,.7,.2,1) both; }
.lb[open] .lb-bar, .lb[open] .lb-top { animation: lbFade .5s .1s ease both; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes lbNext { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lbPrev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .lb[open], .lb.closing, .lb-stage img.enter, .lb-stage img.enter-next, .lb-stage img.enter-prev, .lb[open] .lb-bar, .lb[open] .lb-top { animation: none; }
}

/* Logo en texto (Mariló Cánovas) */
.logo-text { width: auto; text-decoration: none; line-height: 1; }
.logo-text b { display: block; font-stretch: var(--wide); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.logo-text small { display: block; margin-top: 4px; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-stretch: var(--wide); }
.foot-word { font-stretch: var(--wide); font-weight: 500; font-size: clamp(2.6rem, 10.5vw, 10rem); letter-spacing: -.045em; line-height: .9; }
.foot-switch { display: inline-flex; margin-top: 28px; }

/* Transiciones entre páginas */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1); } }
body { animation: pageIn .7s ease both; }
body.leaving { animation: pageOut .38s ease both; }
.hero > .eyebrow { animation: riseIn .9s .1s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation: riseIn 1s .2s cubic-bezier(.2,.7,.2,1) both; }
.hero-row { animation: riseIn 1s .35s cubic-bezier(.2,.7,.2,1) both; }
.triptych figure { animation: riseIn 1.1s cubic-bezier(.2,.7,.2,1) both; }
.triptych figure:nth-child(1) { animation-delay: .45s; }
.triptych figure:nth-child(2) { animation-delay: .58s; }
.triptych figure:nth-child(3) { animation-delay: .71s; }
.triptych figure img { animation: imgIn 1.6s .45s cubic-bezier(.2,.7,.2,1) both; }

/* Movimiento suave al bajar: aparece y se desliza un poco */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero > .eyebrow, .hero h1, .hero-row, .triptych figure { animation-name: pageIn; }
  .triptych figure img { animation: none; }
  .js .reveal { transform: none; transition: opacity .8s ease; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track > div + div { display: none; }
  .tile-img img, .occ img { transition: none; }
}

/* Tablet y móvil */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .services li:nth-child(3) { border-right: 0; }
  .services li:nth-child(4) { padding-left: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .grid4 { grid-template-columns: repeat(3, 1fr); }
  .grid3.per { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-btn { display: inline-block; }
  .logo { width: 136px; }
  .head-cta .btn { padding: .6em 1em; font-size: .85rem; }
  .intro, .sec-head, .contact, .faq { grid-template-columns: 1fr; }
  .occ-grid { grid-template-columns: 1fr 1fr; }
  .occ-label { padding: 12px; gap: 8px; }
  .occ-label b { font-size: clamp(.9rem, 3.6vw, 1.15rem); min-width: 0; }
  .plus { width: 30px; height: 30px; font-size: 1rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .chip { white-space: nowrap; flex: none; }
  .grid3, .grid3.per { grid-template-columns: repeat(2, 1fr); }
  #vestGrid:not(.expanded) .tile.m9 { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .head-cta .btn .arr, .head-cta .tel-n { display: none; }
  .services { grid-template-columns: 1fr 1fr; }
  .services li { border-right: 0 !important; padding-left: 0 !important; }
  .steps { grid-template-columns: 1fr; }
  .triptych { gap: 6px; }
  .stats li { padding: 18px; }
}
