/* ============ Tokens ============ */
:root {
  --cream: #F3EFE7;
  --paper: #FBF8F2;
  --ink: #1E2B25;
  --ink-soft: #3F4F46;
  --sage-light: #DCE3D6;
  --sage: #B7C4B0;
  --sage-deep: #6F8A78;
  --forest: #2E4A3B;
  --clay: #D8B2A4;
  --blush: #EED9CF;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 11vw, 160px);
  --radius: 36px;
}

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

html {
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
input, textarea, select { font-size: 16px; }
button, a, [role="button"] { touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

::selection { background: var(--clay); color: var(--ink); }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.h3 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  max-width: 38ch;
  margin-top: 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--forest); color: var(--cream);
  border-radius: 999px; text-decoration: none;
  font-weight: 500; font-size: 1rem; white-space: nowrap;
  user-select: none; -webkit-user-select: none;
  transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 44px; padding: 0 20px; }
.btn--big { min-height: 64px; padding: 0 36px; font-size: 1.125rem; }
.btn--light { background: var(--cream); color: var(--forest); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); transform: translateY(-2px); }
  .btn--light:hover { background: var(--blush); color: var(--forest); }
}

.link-arrow {
  display: inline-flex; gap: 8px; align-items: center;
  font-weight: 500; text-decoration: none; padding: 12px 4px;
}
.link-arrow span { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover span { transform: translateX(6px); }
}

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background-color 250ms ease;
}
.nav.is-scrolled { background: var(--cream); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1360px; margin-inline: auto; padding: 14px var(--gutter);
}
.wordmark { display: block; text-decoration: none; line-height: 0; }
.wordmark img { display: block; height: 30px; width: auto; }
.nav__links { display: none; gap: 36px; }
.nav__links a { text-decoration: none; font-weight: 500; padding: 8px 0; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--forest); transform: scaleX(0); transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); }
}
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ============ Reveal system (only when JS is running) ============ */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { opacity: 0; transform: translateY(36px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }

.js [data-reveal="up"], .js [data-reveal="pop"] { opacity: 0; }
.js [data-reveal="up"].is-in  { animation: rise 900ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="pop"].is-in { animation: pop 1100ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms); }

.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: block; }
.js [data-reveal="lines"] .line > span { transform: translateY(108%); }
.js [data-reveal="lines"].is-in .line > span { animation: line-up 1100ms var(--ease-out) both; }
.js [data-reveal="lines"].is-in .line:nth-child(2) > span { animation-delay: 110ms; }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(104px + env(safe-area-inset-top)) 0 56px;
}
.hero__grid {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.75rem, 11.5vw, 9.75rem);
  line-height: 0.92; letter-spacing: -0.04em;
}
.hero__lead { font-size: clamp(1.125rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 34ch; margin-top: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }

.hero__art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; justify-self: center; }
.par { position: absolute; inset: 0; will-change: transform; }
.arch, .orb { position: absolute; }
.arch { border-radius: 999px 999px 28px 28px; }
.arch--sage  { left: 6%;  top: 2%;    width: 64%; height: 86%; background: var(--sage); }
.arch--clay  { right: 2%; bottom: 0;  width: 44%; height: 54%; background: var(--clay); }
.orb { border-radius: 50%; }
.orb--blush  { left: -2%; bottom: 14%; width: 30%; aspect-ratio: 1; background: var(--blush); }
.orb--forest { right: 14%; top: 8%;    width: 11%; aspect-ratio: 1; background: var(--forest); }
.par--f1 { animation: float 9s ease-in-out infinite; }
.par--f2 { animation: float 7s ease-in-out -3s infinite; }
@keyframes float { 50% { translate: 0 -16px; } }

.sprig { position: absolute; left: 14%; bottom: 3%; width: 46%; height: 82%; overflow: visible; transform-origin: 50% 100%; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(2.2deg); } }
.sprig__stem { stroke: var(--forest); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.leaf { transform-box: fill-box; transform-origin: 0 50%; }
.leaf--a { fill: var(--forest); }
.leaf--b { fill: var(--sage-deep); }
.js .leaf { transform: scale(0.15); }
.js .hero__art:has(.is-in) .sprig__stem { animation: draw 1800ms var(--ease-in-out) 500ms forwards; }
.js .hero__art:has(.is-in) .leaf { animation: grow 800ms var(--ease-out) calc(1000ms + var(--d) * 130ms) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scale(1); } }
.sprig__stem { stroke-dashoffset: 0; }
.js .sprig__stem { stroke-dashoffset: 1; }

.badge {
  position: absolute; right: -2%; top: 38%; width: clamp(104px, 24%, 132px); aspect-ratio: 1;
  border-radius: 50%; background: var(--forest); color: var(--cream);
  display: grid; place-items: center;
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge__ring text { font-family: var(--sans); font-size: 9.2px; font-weight: 500; fill: currentColor; }
.badge__leaf { width: 34%; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
  .hero__art { max-width: none; max-height: 76svh; }
}

/* ============ Marquee ============ */
.marquee { background: var(--forest); color: var(--cream); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track i { width: 12px; height: 12px; border-radius: 50%; background: var(--clay); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding-block: var(--section); }

/* ============ Services ============ */
.service {
  display: grid; gap: 40px; align-items: center;
  margin-top: clamp(48px, 7vw, 96px);
  padding: clamp(20px, 4vw, 56px);
  border-radius: var(--radius);
}
.service--a { background: var(--sage-light); }
.service--b { background: var(--blush); }
.service--c { background: var(--paper); }
.service__art { min-width: 0; width: 100%; max-width: 520px; }
.service__body { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.service__body p { max-width: 46ch; }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 14px; border-radius: 50%; background: var(--forest);
}
.note { color: var(--ink-soft); font-size: 0.98rem; }
.note strong { color: var(--ink); font-weight: 600; }

@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
  .service--b .service__art { order: 2; justify-self: end; }
  .service__art { max-width: none; }
}

/* Service art */
.art { position: relative; aspect-ratio: 1; border-radius: 28px; overflow: hidden; display: grid; place-items: center; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service:hover .art { transform: scale(1.02); }
}

.art--rings { background: var(--sage); }
.ring { position: absolute; border-radius: 50%; animation: breathe 6s ease-in-out infinite; }
.r1 { width: 92%; aspect-ratio: 1; background: var(--sage-light); }
.r2 { width: 68%; aspect-ratio: 1; background: #C9D3C2; animation-delay: -1.2s; }
.r3 { width: 46%; aspect-ratio: 1; background: var(--sage-deep); animation-delay: -2.4s; }
.r4 { width: 26%; aspect-ratio: 1; background: var(--forest); animation-delay: -3.6s; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.drop { position: relative; width: 11%; aspect-ratio: 1; background: var(--cream); border-radius: 50% 0 50% 50%; rotate: -45deg; animation: drip 6s ease-in-out infinite; }
@keyframes drip { 50% { translate: 0 8px; } }

.art--dots { background: var(--clay); display: grid; place-items: center; }
.art--dots .grid { display: grid; gap: 6%; width: 74%; aspect-ratio: 1; }
.dot { border-radius: 50%; background: var(--forest); animation: wave 3.2s ease-in-out infinite; animation-delay: calc(var(--d) * 90ms); }
@keyframes wave { 0%, 100% { transform: scale(0.35); opacity: 0.45; } 50% { transform: scale(1); opacity: 1; } }

.art--swatches { background: var(--blush); }
.swatches { position: relative; width: 70%; aspect-ratio: 1; animation: spin 40s linear infinite; }
.sw { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: multiply; }
.s1 { left: 21%; top: 0;   background: var(--clay); }
.s2 { left: 0;   bottom: 0; background: var(--sage); }
.s3 { right: 0;  bottom: 0; background: #E3B7B7; }
.stroke { position: absolute; right: 22%; top: 16%; width: 9%; height: 34%; background: var(--forest); border-radius: 999px; rotate: 28deg; animation: swing 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes swing { 50% { rotate: 36deg; } }

/* ============ Statement ============ */
.statement { background: var(--forest); color: var(--cream); padding-block: clamp(104px, 14vw, 200px); }
.statement__text {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 9.5vw, 9rem);
  line-height: 0.98; letter-spacing: -0.04em; max-width: 12ch;
}
.statement__text .w { opacity: 1; }
.js .statement__text .w { opacity: 0.18; transition: opacity 400ms ease; }
.js .statement__text .w.on { opacity: 1; }
.statement__sub { font-size: clamp(1.125rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 40ch; margin-top: 40px; }

/* ============ About ============ */
.about__grid { display: grid; gap: 56px; align-items: center; }
.about__art { border-radius: 999px 999px 32px 32px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 480px; width: 100%; background: var(--blush); }
.about__art svg, .about__art img { width: 100%; height: 100%; object-fit: cover; }
.about__art img { object-position: 50% 6%; }
.about__body { display: grid; }
.facts { display: grid; gap: 28px; margin-top: 40px; }
.facts li { display: grid; gap: 4px; }
.facts li::before { content: ""; width: 40px; height: 8px; border-radius: 99px; background: var(--sage); margin-bottom: 8px; }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.015em; }
.facts span { max-width: 42ch; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(56px, 8vw, 128px); }
}

/* ============ Process ============ */
.process { background: var(--paper); }
.process__grid { display: grid; gap: 56px; }
.process__head { align-self: start; }
.steps { position: relative; display: grid; gap: clamp(40px, 6vw, 72px); padding-left: 32px; }
.steps::before { /* pista */
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 8px; border-radius: 99px; background: var(--sage-light);
}
.steps::after { /* avance */
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 8px; border-radius: 99px; background: var(--forest);
  transform-origin: top; transform: scaleY(var(--p, 0));
}
.step { opacity: 1; max-width: 46ch; }
.js .step { opacity: 0.3; transition: opacity 450ms ease; }
.js .step.is-active { opacity: 1; }
.step h3 { font-family: var(--serif); font-weight: 350; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.025em; line-height: 1; margin-bottom: 12px; }
@media (min-width: 900px) {
  .process__grid { grid-template-columns: 0.9fr 1.1fr; gap: clamp(56px, 8vw, 128px); }
  .process__head { position: sticky; top: 120px; }
}

/* ============ FAQ ============ */
.faq__grid { display: grid; gap: 48px; }
.faq__list { display: grid; }
.qa { border-radius: 24px; background: var(--paper); margin-bottom: 12px; overflow: hidden; }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 28px; background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--serif); font-weight: 350; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.4;
  -webkit-user-select: none; user-select: none;
}
.qa__q i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--sage-light); transition: background-color 250ms ease, transform 400ms var(--ease-out); }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--forest); border-radius: 2px; }
.qa__q i::after { transform: rotate(90deg); transition: transform 400ms var(--ease-out); }
.qa__q[aria-expanded="true"] i { background: var(--forest); transform: rotate(180deg); }
.qa__q[aria-expanded="true"] i::before, .qa__q[aria-expanded="true"] i::after { background: var(--cream); }
.qa__q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease-out); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding: 0 28px 28px; max-width: 56ch; }
.qa__q[aria-expanded="true"] + .qa__a { grid-template-rows: 1fr; }
@media (hover: hover) and (pointer: fine) {
  .qa__q:hover i { background: var(--sage); }
}
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 0.8fr 1.2fr; gap: clamp(56px, 8vw, 128px); }
}

/* ============ CTA ============ */
.cta { position: relative; overflow: hidden; background: var(--clay); padding-block: clamp(110px, 16vw, 220px); }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; }
.cta__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.5rem, 11vw, 9.5rem);
  line-height: 0.94; letter-spacing: -0.04em; max-width: 9ch;
}
.cta__lead { font-size: clamp(1.125rem, 1.7vw, 1.4rem); margin: 28px 0 40px; max-width: 34ch; }
.cta .btn { background: var(--forest); color: var(--cream); }
@media (hover: hover) and (pointer: fine) { .cta .btn:hover { background: var(--ink); } }
.contact { display: grid; gap: 20px 40px; margin-top: 64px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); width: 100%; max-width: 760px; }
.contact { gap: 28px 40px; }
@media (min-width: 600px) { .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; } }
.contact dt { font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.contact .chip { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--forest); flex: none; }
.contact .ci { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact .ci--fill { fill: currentColor; stroke: none; }
.contact dd a { text-underline-offset: 3px; }
.contact dd { color: var(--ink); }
.cta__shape { position: absolute; border-radius: 50%; }
.cta__shape--a { width: clamp(220px, 38vw, 560px); aspect-ratio: 1; right: -8%; top: -10%; background: var(--blush); animation: float 11s ease-in-out infinite; }
.cta__shape--b { width: clamp(140px, 22vw, 320px); aspect-ratio: 1; right: 14%; bottom: -8%; background: var(--sage); animation: float 9s ease-in-out -4s infinite; }

/* ============ Footer ============ */
.footer { background: var(--forest); color: var(--cream); padding-top: 40px; overflow: hidden; }
.footer__small { font-size: 0.95rem; }
.footer__mark {
  display: block; width: min(100% - 2 * var(--gutter), 1200px); height: auto; margin: 48px auto 0; padding-bottom: 40px; user-select: none;
}

/* ============ Sticky CTA (móvil) ============ */
.sticky-cta {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; border-radius: 999px; background: var(--forest); color: var(--cream);
  text-decoration: none; font-weight: 500;
    transform: translateY(160%); transition: transform 450ms var(--ease-out);
}
.sticky-cta .ico { width: 20px; height: 20px; fill: currentColor; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta:active { transform: scale(0.97); }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track, .badge__ring, .sprig, .par, .ring, .drop, .dot, .swatches, .stroke, .cta__shape { animation: none; }
  .js [data-reveal="up"], .js [data-reveal="pop"] { opacity: 0; }
  .js [data-reveal="up"].is-in, .js [data-reveal="pop"].is-in { animation: fade 400ms ease both; animation-delay: 0ms; }
  .js [data-reveal="lines"] .line > span { transform: none; }
  .js [data-reveal="lines"].is-in .line > span { animation: none; }
  .js .leaf { transform: none; animation: none !important; }
  .js .sprig__stem { stroke-dashoffset: 0; animation: none !important; }
  .js .statement__text .w { opacity: 1; }
  .js .step { opacity: 1; }
  .steps::after { transform: scaleY(1); }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============ Precio por servicio ============ */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 28px 0 20px; }
.price strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; }
.price span { color: var(--ink); opacity: 0.75; }
.price span::before { content: "·"; margin-right: 14px; }
