/* ================= BASE ================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --paper: #FAF9F6;
  --paper-2: #F1EFEA;
  --ink: #16140F;
  --ink-2: #201D16;
  --ink-soft: #55503F;
  --line: rgba(22,20,15,.14);
  --line-light: rgba(243,239,230,.16);
  --accent: #B8963E;
  --accent-deep: #8A6C2E;
  --cream-on-dark: #F3EFE6;
  --display: "Fraunces", Georgia, serif;
  --sans: "Space Grotesk", -apple-system, sans-serif;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
section { position: relative; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 em, h1 em { font-style: italic; font-weight: 700; }

.kicker {
  font-size: .75rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 1.2rem;
}
.kicker--light { color: #D4B876; }

.hl { color: var(--accent); }

/* ================= REVEAL ================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================= PROGRESS ================= */
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 200; }
.progress span { display: block; height: 100%; width: 0%; background: var(--accent); }

/* ================= BUTTONS ================= */
.btn-fill, .btn-line, .btn-ink {
  font-family: var(--sans); font-size: .88rem; font-weight: 600;
  padding: .85rem 1.7rem; display: inline-block; border-radius: 20px;
  transition: all .3s cubic-bezier(.2,.7,.2,1); border: 1.5px solid var(--ink);
}
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: var(--accent); border-color: var(--accent); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-fill--lg { padding: 1.15rem 2.5rem; font-size: 1.05rem; }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ink:hover { background: var(--ink); border-color: var(--ink); }

/* ================= HEADER ================= */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.3rem 0; transition: all .35s ease; border-bottom: 1.5px solid transparent; }
.hdr.is-scrolled, .hdr--solid { padding: .8rem 0; background: rgba(243,239,230,.92); backdrop-filter: blur(12px); border-color: var(--ink); }
.hdr__inner { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.hdr__brand { font-family: var(--display); font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; }
.hdr__brand em { font-style: italic; font-weight: 700; }
.hdr__brand-dot { color: var(--accent); }
.hdr__nav { display: flex; gap: 2.4rem; }
.hdr__nav a { font-size: .88rem; font-weight: 500; position: relative; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width .3s ease; }
.hdr__nav a:hover::after { width: 100%; }
.hdr__right { display: flex; align-items: center; gap: 1.2rem; }

.burger { display: none; width: 34px; height: 22px; position: relative; background: none; border: none; cursor: pointer; }
.burger span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); transition: all .3s ease; }
.burger span:first-child { top: 0; }
.burger span:last-child { bottom: 0; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(10px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-10px) rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: flex; align-items: center; justify-content: center; transform: translateY(-100%); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.mmenu.is-open { transform: translateY(0); }
.mmenu nav { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.mmenu nav a { font-family: var(--display); font-weight: 800; font-size: 2.2rem; }

/* ================= HERO (text + animated collage) ================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 6rem; }
.hero__inner { position: relative; z-index: 2; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; max-width: 1280px; margin: 0 auto; padding: 2rem 2rem 3rem; width: 100%; }
.hero__kicker { font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__kicker::before { content: "●"; color: var(--accent); margin-right: .6rem; font-size: .6rem; vertical-align: 2px; }
.hero__title { font-size: clamp(2.8rem, 6.2vw, 5.6rem); font-weight: 900; line-height: 1.03; max-width: 15ch; }
.hero__title em { font-style: italic; font-weight: 800; }
.hero__title .hl { color: var(--accent); }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem 3rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero__sub { max-width: 480px; font-size: 1.05rem; color: var(--ink-soft); }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* animated collage (right side, desktop only) */
.hero__collage { display: none; }
.hero__col { display: flex; flex-direction: column; gap: 1rem; flex: 1; min-width: 0; }
.hero__col img { width: 100%; border-radius: 10px; border: 1.5px solid var(--ink); box-shadow: 0 12px 34px rgba(22,20,15,.14); display: block; }
.hero__col--a { animation: collageUp 46s linear infinite; }
.hero__col--b { animation: collageDown 46s linear infinite; }
@keyframes collageUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes collageDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

@media (min-width: 1024px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 38%; gap: 4.5rem; align-items: center; align-content: center; }
  .hero__collage {
    display: flex; gap: 1rem; height: 74vh; max-height: 680px; overflow: hidden;
    transform: rotate(-5deg) scale(1.08); transform-origin: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  }
}

.ticker { position: relative; z-index: 2; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 1rem 0; overflow: hidden; background: var(--paper); }
.ticker__track { display: flex; align-items: center; gap: 2rem; width: max-content; white-space: nowrap; animation: tick 24s linear infinite; }
.ticker__track span { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.15rem; }
.ticker__track i { color: var(--accent); font-style: normal; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ================= WORK ================= */
.work { background: var(--ink); color: var(--cream-on-dark); padding: 7.5rem 2rem 8rem; }
.work--page { padding-top: 11rem; min-height: 100vh; }
.work__head { max-width: 1280px; margin: 0 auto 4.5rem; }
.work__head h2 { max-width: 820px; }
.work__note { max-width: 560px; margin-top: 1.6rem; color: rgba(243,239,230,.62); font-size: .98rem; }

.work__grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.work__more { max-width: 1280px; margin: 3.5rem auto 0; text-align: center; }
.work__more .btn-fill { background: var(--cream-on-dark); color: var(--ink); border-color: var(--cream-on-dark); }
.work__more .btn-fill:hover { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 4px 4px 0 rgba(243,239,230,.35); }

.wcard {
  display: block; color: inherit; min-width: 0;
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.wcard.is-visible { opacity: 1; transform: translateY(0); }

.wcard__mock {
  border-radius: 8px; overflow: hidden; border: 1.5px solid var(--line-light);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
  cursor: default;
}
.wcard:hover .wcard__mock { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.wcard__chrome { display: flex; align-items: center; gap: 6px; padding: .75rem .95rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.wcard__dot { width: 9px; height: 9px; border-radius: 50%; opacity: .5; }
.wcard__url { margin-left: .8rem; font-size: .68rem; letter-spacing: .06em; opacity: .55; font-family: var(--sans); }
.wcard__shot { aspect-ratio: 1440/1000; overflow: hidden; }
.wcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.wcard:hover .wcard__shot img { transform: scale(1.025); }

.wcard__meta { padding: 1.4rem .2rem 0; }
.wcard__meta h3 { font-size: 1.35rem; font-weight: 800; }
.wcard__meta .wcard__type { color: var(--accent); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; display: block; margin: .35rem 0 .7rem; }
.wcard__meta p { font-size: .92rem; color: rgba(243,239,230,.62); }
.wcard__open { display: inline-block; margin-top: .8rem; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); opacity: .9; transition: opacity .3s ease; }
.wcard:hover .wcard__open { opacity: 1; }

/* ================= PROCESS ================= */
.process { padding: 8rem 2rem; max-width: 1280px; margin: 0 auto; }
.process__head { margin-bottom: 4rem; }
.process__steps { display: flex; flex-direction: column; }
.pstep { display: grid; grid-template-columns: 140px 1fr; gap: 2rem; padding: 2.4rem 0; border-top: 1.5px solid var(--ink); align-items: start; }
.pstep:last-child { border-bottom: 1.5px solid var(--ink); }
.pstep__num { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 2.6rem; color: var(--accent); line-height: 1; }
.pstep__body h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.pstep__body p { color: var(--ink-soft); max-width: 560px; }
.process__guarantees { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.process__guarantees span { font-size: .78rem; font-weight: 600; letter-spacing: .06em; border: 1.5px solid var(--ink); border-radius: 100px; padding: .55rem 1.2rem; }

/* ================= SERVICES ================= */
.services { background: linear-gradient(165deg, #C3A251 0%, #B8963E 55%, #AB8A36 100%); padding: 8rem 2rem; }
.services .kicker { color: var(--ink); }
.services__head { max-width: 1280px; margin: 0 auto 4rem; }
.services__head h2 { color: var(--ink); }
.services__diff { max-width: 640px; margin-top: 1.4rem; color: rgba(22,20,15,.82); font-size: 1.02rem; }
.svc { max-width: 1280px; margin: 0 auto; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 8px; padding: 3rem; }
.svc--primary { margin-bottom: 2rem; box-shadow: 10px 10px 0 var(--ink); }
.svc__top { display: flex; align-items: baseline; gap: 1.4rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.svc__no { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 1.3rem; color: var(--accent); }
.svc__top h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.svc__badge { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .4rem .9rem; border-radius: 100px; }
.svc__lede { color: var(--ink-soft); max-width: 640px; font-size: 1.02rem; margin-bottom: 2.4rem; }
.svc__cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.scat { border-top: 1.5px solid var(--ink); padding-top: 1.1rem; }
.scat h4 { font-family: var(--sans); font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.scat p { font-size: .86rem; color: var(--ink-soft); }

.svc__includes { margin-top: 2.6rem; padding-top: 2rem; border-top: 1.5px solid var(--line); }
.svc__includes-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; }
.svc__includes-list { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; }
.svc__includes-list li {
  font-size: .84rem; font-weight: 500; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 100px; padding: .5rem 1.1rem;
  display: flex; align-items: center; gap: .5rem;
}
.svc__includes-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.svc__pair { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.svc__pair .svc__lede { margin-bottom: 1.6rem; }
.svc__list li { font-size: .92rem; padding: .55rem 0 .55rem 1.5rem; position: relative; border-top: 1px solid var(--line); }
.svc__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.svc__other {
  max-width: 1280px; margin: 1.6rem auto 0; padding: 1.4rem 2rem;
  border: 1.5px dashed rgba(22,20,15,.32); border-radius: 8px;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem;
}
.svc__other-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(22,20,15,.72); }
.svc__other-item { font-size: .88rem; color: rgba(22,20,15,.82); }
.svc__other-item strong { color: var(--ink); font-weight: 700; }

/* ================= ABOUT ================= */
.about { padding: 8rem 2rem; max-width: 1280px; margin: 0 auto; }
.about__inner { display: grid; grid-template-columns: 340px 1fr; gap: 4rem; align-items: center; }
.about__frame {
  aspect-ratio: 1/1; border-radius: 50%; border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink); overflow: hidden; background: var(--paper-2);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-weight: 800; font-size: 4.5rem;
  color: var(--paper); background: linear-gradient(165deg, #C3A251 0%, #B8963E 55%, #AB8A36 100%);
}
.about__text .kicker { margin-bottom: 1rem; }
.about__text h2 { margin-bottom: 1.4rem; }
.about__lede { color: var(--ink); font-size: 1.05rem; margin-bottom: 1.2rem; }
.about__text p { color: var(--ink-soft); margin-bottom: 1.2rem; max-width: 620px; }
.about__sig { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); display: flex; flex-direction: column; gap: .2rem; margin-top: 1.6rem; }
.about__sig span { font-family: var(--sans); font-weight: 500; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }

@media (max-width: 780px) {
  .about__inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .about__frame { max-width: 260px; margin: 0 auto; }
}

/* ================= CONTACT ================= */
.contact { padding: 9rem 2rem; text-align: center; }
.contact__inner { max-width: 680px; margin: 0 auto; }
.contact__inner h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 1.4rem; }
.contact__inner p:not(.kicker) { color: var(--ink-soft); margin-bottom: 2.6rem; font-size: 1.05rem; }

.cform { text-align: left; display: flex; flex-direction: column; gap: 1.2rem; accent-color: var(--accent); }
.cform__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.cform__field { display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; font-weight: 600; }
.cform__field em { font-weight: 400; font-style: normal; color: var(--ink-soft); text-transform: none; letter-spacing: 0; }
.cform__field input, .cform__field textarea {
  font-family: var(--sans); font-size: .95rem; font-weight: 400; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper);
  resize: vertical;
}
.cform__field input:focus, .cform__field textarea:focus, .cform__choice input:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,149,106,.25);
}
.cform__choice { border: 1.5px solid var(--line); border-radius: 4px; padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.cform__choice legend { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 0 .4rem; }
.cform__choice label { display: flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 400; cursor: pointer; }
.cform__submit { align-self: flex-start; cursor: pointer; }
.cform__status { font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.cform__status[data-state="ok"] { color: #2E7D4F; }
.cform__status[data-state="err"] { color: #C0392B; }

.contact__phone { margin-top: 2.2rem; font-size: .95rem; }
.contact__phone a { font-weight: 700; border-bottom: 1.5px solid var(--accent); }

@media (max-width: 640px) {
  .cform__row { grid-template-columns: 1fr; }
}

/* ================= FOOTER ================= */
.ftr { border-top: 1.5px solid var(--ink); padding: 2rem; }
.ftr__inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; gap: 1rem; flex-wrap: wrap; }
.ftr__brand { font-family: var(--display); font-weight: 900; font-size: 1.1rem; }
.ftr__brand em { font-style: italic; font-weight: 700; }
.ftr a:hover { color: var(--accent); }

/* ================= SCROLL-TO-TOP ================= */
.to-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(22,20,15,.28);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .3s ease, color .3s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (max-width: 640px) {
  .to-top { width: 46px; height: 46px; right: 16px; bottom: 88px; }
}

/* ================= WHATSAPP BUTTON ================= */
.wa-btn {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,.5); }
.wa-btn svg { width: 32px; height: 32px; }
.wa-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 640px) {
  .wa-btn { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-btn svg { width: 28px; height: 28px; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px) {
  .hdr__nav { display: none; }
  .hdr .btn-ink { display: none; }
  .burger { display: block; }
  .work__grid { grid-template-columns: 1fr; }
  .svc__cats { grid-template-columns: 1fr 1fr; }
  .svc__pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc__cats { grid-template-columns: 1fr; }
  .svc { padding: 2rem 1.5rem; }
  .pstep { grid-template-columns: 70px 1fr; gap: 1.2rem; }
  .pstep__num { font-size: 1.8rem; }
  .ftr__inner { flex-direction: column; text-align: center; }
}
