/* Prensado Arte Flor · sitio 2026 */
:root {
  --ivory: #fbf6f2;
  --ivory-2: #f4e9e6;
  --blush: #ecd5d6;
  --ink: #34212b;
  --ink-soft: #6b5560;
  --wine: #6f1736;
  --wine-deep: #4e0f26;
  --gold: #a5803f;
  --line: rgba(111, 23, 54, .14);
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: "Cormorant", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
figure { margin: 0; }

/* grano sutil de papel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.script { font-family: var(--script); color: var(--gold); font-size: clamp(34px, 4vw, 48px); line-height: 1; display: block; }
.section-title { font-size: clamp(36px, 5vw, 64px); color: var(--wine-deep); max-width: 16ch; }

/* botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font-family: var(--sans); font-weight: 500; font-size: 15px; letter-spacing: .02em;
  transition: background .4s var(--ease), color .4s var(--ease), transform .25s var(--ease), box-shadow .4s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--wine { background: var(--wine); color: #fff8f4; box-shadow: 0 10px 30px -12px rgba(111, 23, 54, .55); }
.btn--wine:hover { background: var(--wine-deep); }
.btn--ghost { color: var(--wine); border: 1px solid var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--wine); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 19px 38px; font-size: 16px; }

/* loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--wine-deep);
  display: grid; place-items: center;
}
.loader__word { font-family: var(--script); color: #f3dcc7; font-size: clamp(56px, 10vw, 120px); opacity: 0; }

/* nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 76px;
  display: flex; align-items: center; gap: 32px; padding: 0 var(--gutter);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.nav.is-scrolled { background: rgba(251, 246, 242, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 66px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 14px; letter-spacing: .04em; color: var(--ink); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: 0 28px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu a:not(.btn) { font-family: var(--serif); font-size: 40px; text-decoration: none; color: var(--wine-deep); }
.menu .btn { margin-top: 18px; }

/* hero */
.hero {
  min-height: 100dvh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: 110px var(--gutter) 60px; max-width: 1440px; margin: 0 auto; position: relative;
}
.hero__eyebrow { margin-bottom: 26px; }
.hero__title { font-size: clamp(52px, 7.4vw, 112px); color: var(--wine-deep); line-height: 1.02; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; color: var(--wine); }
.hero__sub { margin-top: 28px; max-width: 34ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); }
.hero__ctas { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; height: min(78dvh, 760px); justify-self: end; width: min(100%, 520px); }
.hero__arch {
  position: absolute; inset: 0 0 0 12%; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  background: var(--blush); box-shadow: 0 40px 80px -40px rgba(78, 15, 38, .45);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; left: -6%; bottom: 7%; width: 40%; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--ivory); box-shadow: 0 30px 60px -30px rgba(78, 15, 38, .5);
}
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__script { position: absolute; left: 56%; bottom: -54px; white-space: nowrap; font-family: var(--script); font-size: clamp(34px, 3.2vw, 48px); line-height: 1; color: var(--gold); transform: translateX(-50%) rotate(-3deg); text-align: center; }

/* manifiesto */
.manifesto { padding: clamp(100px, 16vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); max-width: 1280px; margin: 0 auto; }
.manifesto__text { font-family: var(--serif); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.18; color: var(--wine-deep); max-width: 22ch; }
.manifesto__text .w { opacity: .14; transition: none; }
.manifesto__pair { margin-top: clamp(60px, 9vw, 120px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: end; }
.manifesto__img { border-radius: var(--radius); overflow: hidden; }
.manifesto__img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__img--a { grid-column: 2 / 6; aspect-ratio: 3/4; }
.manifesto__img--b { grid-column: 7 / 12; aspect-ratio: 3/4; margin-bottom: 18%; }
.manifesto__caption { grid-column: 7 / 12; color: var(--ink-soft); font-size: 15px; margin-top: -10%; }

/* living */
.living { position: relative; height: 140vh; }
.living__frame { position: sticky; top: 0; height: 100dvh; overflow: hidden; clip-path: inset(8% 10% 8% 10% round 24px); }
.living__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 35%; }
.living__copy {
  position: absolute; left: var(--gutter); bottom: 22vh; max-width: 480px; z-index: 2;
  background: rgba(251, 246, 242, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 34px 36px; border-radius: var(--radius);
}
.living__copy h2 { font-size: clamp(30px, 3.4vw, 44px); color: var(--wine-deep); }
.living__copy p { margin-top: 14px; color: var(--ink-soft); }

/* tarjeta de pieza: siempre cuadrada y con el marco completo a la vista */
.art {
  --wall: #f6eeea;
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #fffaf7 0%, var(--wall) 70%);
  display: grid; place-items: center; padding: 8%;
  box-shadow: inset 0 0 0 1px rgba(111, 23, 54, .06);
  transform-style: preserve-3d; will-change: transform;
}
.art img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(52, 17, 30, .22)) drop-shadow(0 2px 3px rgba(52, 17, 30, .12));
  transition: transform 1s var(--ease);
}
/* reflejo de vidrio que cruza al pasar el mouse */
.art::after {
  content: ""; position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%);
  transform: translateX(-75%); opacity: 0; transition: transform 1.1s var(--ease), opacity .4s;
}
@media (hover: hover) {
  .art:hover::after { transform: translateX(75%); opacity: 1; }
  .art:hover img { transform: scale(1.035); }
}

/* piezas: pan horizontal */
.pieces { overflow: hidden; background: var(--ivory-2); }
.pieces__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: 100dvh; padding: 0 var(--gutter); width: max-content; }
.pieces__intro { width: min(420px, 80vw); flex-shrink: 0; }
.pieces__intro h2 { font-size: clamp(40px, 4.6vw, 64px); color: var(--wine-deep); }
.pieces__intro p { margin-top: 18px; color: var(--ink-soft); }
.piece { flex-shrink: 0; width: clamp(280px, 27vw, 420px); }
.piece figcaption { margin-top: 14px; font-family: var(--serif); font-size: 21px; color: var(--ink); }

/* técnicas: acordeón de imágenes */
.techniques { padding: clamp(100px, 12vw, 160px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 36px); margin-top: 56px; }
.tech__card .art { --wall: #f3e8e4; }
.tech__n { display: block; margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.tech__card h3 { font-size: clamp(28px, 2.6vw, 36px); color: var(--wine-deep); margin-top: 2px; }
.tech__card p { margin-top: 10px; color: var(--ink-soft); max-width: 40ch; }
.bases { margin-top: 44px; display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; }
.bases p { font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--wine); }
.bases ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.bases li { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

/* proceso */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); padding: 0 var(--gutter) clamp(100px, 12vw, 160px); max-width: 1440px; margin: 0 auto; }
.process__sticky { position: sticky; top: 12vh; height: 76vh; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--blush); }
.process__sticky video { width: 100%; height: 100%; object-fit: cover; }
.process__steps { padding-top: 12vh; }
.step { padding: 64px 0 0; max-width: 460px; }
.step__n { font-family: var(--serif); font-style: italic; font-size: 46px; line-height: 1; color: var(--gold); display: block; margin-bottom: 6px; }
.step h3 { font-size: clamp(28px, 2.8vw, 38px); color: var(--wine-deep); }
.step p { margin-top: 12px; color: var(--ink-soft); }
.step img { margin-top: 26px; border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* servicios: bento */
.services { padding: clamp(100px, 12vw, 160px) var(--gutter); background: var(--wine-deep); color: #fbeee6; }
.services .section-title { color: #fbeee6; max-width: 1440px; margin: 0 auto; }
.svc-row { max-width: 1440px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc { display: flex; flex-direction: column; text-decoration: none; color: #fbeee6; }
.svc .art { --wall: #fbf3ee; }
.svc h3 { font-size: clamp(24px, 2vw, 28px); margin-top: 20px; }
.svc p { margin-top: 8px; font-size: 15px; opacity: .8; }
.svc__go { margin-top: auto; padding-top: 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #e6c48c; }
.svc__go span { display: inline-block; transition: transform .5s var(--ease); }
.svc:hover .svc__go span { transform: translateX(6px); }

/* galería */
.gallery { padding: clamp(100px, 12vw, 160px) var(--gutter); max-width: 1440px; margin: 0 auto; }
.grid-art { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.m-item { border: 0; cursor: zoom-in; width: 100%; font: inherit; }
.m-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* sobre carla */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 100px); align-items: center; padding: 0 var(--gutter) clamp(100px, 12vw, 160px); max-width: 1300px; margin: 0 auto; }
.about__img { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { font-size: clamp(38px, 4.6vw, 60px); color: var(--wine-deep); margin-top: 14px; }
.about__text p { margin-top: 20px; color: var(--ink-soft); max-width: 52ch; }

/* faq */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); padding: clamp(80px, 10vw, 140px) var(--gutter); max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; position: sticky; top: 100px; align-self: start; }
.faq__img img { width: 100%; height: 100%; object-fit: cover; }
.faq__list .section-title { margin-bottom: 30px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 27px); color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 26px; color: var(--wine); transition: transform .4s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 26px; color: var(--ink-soft); max-width: 60ch; }

/* contacto */
.contact { text-align: center; padding: clamp(110px, 14vw, 190px) var(--gutter); background: var(--ivory-2); }
.contact__script { font-size: clamp(54px, 7vw, 96px); }
.contact h2 { font-size: clamp(44px, 6.4vw, 92px); color: var(--wine-deep); margin-top: 8px; }
.contact p { margin: 20px auto 40px; color: var(--ink-soft); max-width: 40ch; }
.contact__links { margin-top: 44px; display: flex; justify-content: center; gap: 12px 34px; flex-wrap: wrap; font-size: 15px; }
.contact__links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.contact__links a:hover { border-color: var(--wine); }

.footer { padding: 60px var(--gutter) 40px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.footer img { height: 130px; width: auto; margin: 0 auto 18px; }
.footer__small { margin-top: 8px; font-size: 12px; opacity: .7; }

/* whatsapp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1f9e5a; color: #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(40, 10, 22, .94); display: grid; place-items: center; padding: 70px 70px 40px; opacity: 0; pointer-events: none; transition: opacity .5s var(--ease); }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 16px; }
.lightbox img { max-height: 80vh; max-width: 86vw; width: auto; border-radius: 6px; transform: scale(.96); transition: transform .6s var(--ease), opacity .3s; }
.lightbox.is-open img { transform: none; }
.lightbox__cap { color: #f3dcc7; font-family: var(--serif); font-size: 20px; text-align: center; max-width: 50ch; }
.lightbox__close { position: absolute; top: 22px; right: 26px; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 10px 20px; font: 500 14px var(--sans); cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .3s; }
.lightbox__nav:hover { background: rgba(255,255,255,.16); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }

/* barra de progreso de lectura */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--gold), #d9b36c); transform-origin: 0 50%; transform: scaleX(0); }

/* pétalos que caen en el inicio */
.petals { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; pointer-events: none; z-index: 1; }
.hero { z-index: 2; }

/* cinta animada */
.ticker { overflow: hidden; background: var(--wine-deep); color: #f3dcc7; padding: 18px 0; margin-top: 70px; }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); white-space: nowrap; }
.ticker i { font-style: normal; color: var(--gold); font-size: 18px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* estado inicial de reveals (solo con JS) */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }

/* responsive */
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { height: 66px; }
  .nav__logo img { height: 50px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 40px; min-height: auto; }
  .hero__media { justify-self: center; width: 100%; height: 118vw; max-height: 620px; }
  .hero__arch { inset: 0 0 0 14%; }
  .hero__script { left: 57%; bottom: -62px; }
  .hero__float { left: 0; width: 42%; }
  .manifesto__pair { grid-template-columns: 1fr 1fr; gap: 12px; }
  .manifesto__img--a, .manifesto__img--b, .manifesto__caption { grid-column: auto; }
  .manifesto__img--b { margin-bottom: 0; margin-top: 40px; }
  .manifesto__caption { grid-column: 1 / -1; margin-top: 8px; }
  .living { height: auto; }
  .living__frame { position: relative; height: 70vh; clip-path: none; }
  .living__copy { position: relative; left: auto; bottom: auto; margin: -80px 16px 0; padding: 26px 24px; }
  .pieces__track { flex-direction: column; align-items: stretch; height: auto; width: auto; padding: 90px var(--gutter); gap: 36px; }
  .pieces__intro { width: 100%; }
  .piece { width: 100%; }
  .tech { grid-template-columns: 1fr; gap: 44px; }
  .process { grid-template-columns: 1fr; }
  .process__media { display: none; }
  .process__steps { padding-top: 0; }
  .svc-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .svc-row::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 76%; scroll-snap-align: center; }
  .grid-art { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ticker { margin-top: 80px; padding: 14px 0; }
  .grid-art .art { padding: 7%; border-radius: 10px; }
  .living__frame { height: auto; aspect-ratio: 4 / 3; }
  .living__img { object-position: 62% 40%; }
  .lightbox { padding: 64px 12px 90px; }
  .lightbox__nav { top: auto; bottom: 22px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 64px); }
  .lightbox__nav--next { right: calc(50% - 64px); }
  .about, .faq { grid-template-columns: 1fr; }
  .about__img { max-width: 420px; }
  .faq__img { position: relative; top: auto; aspect-ratio: 1 / 1; }
  .faq__img img { object-position: 50% 30%; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
  .ticker__track { animation: none; }
  .petals { display: none; }
}
