:root {
  --paper: #fefaf0;
  --ink: #542916;
  --muted: #674a3b;
  --line: #d6c5b2;
  --blue: #88b8ce;
  --slate: #62768e;
  --clay: #a13a1e;
  --ochre: #b79858;
  --honey: #f1c166;
  --gold: #e6a341;
  --heading: 'Lora', Georgia, serif;
  --body: 'Glacial Indifference', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 var(--body); }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--slate); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.1vw, 4.1rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p + p { margin-top: 1em; }
.wrap { width: min(100% - 3rem, 1320px); margin-inline: auto; }
header { border-bottom: 1px solid var(--line); }
.top, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.top { min-height: 5rem; }
.brand { font: 500 clamp(1.35rem, 2.6vw, 2.25rem)/1.1 var(--heading); letter-spacing: -.045em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.65rem, 2.5vw, 2.15rem); }
nav a { text-decoration: none; font-size: 1rem; }
nav a:hover, nav a:focus-visible { text-decoration: underline; text-underline-offset: .25em; }
.eyebrow { margin: 0 0 1rem; color: var(--ink); font-size: .84rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .75rem;
  padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  background-color: var(--ink);
  background-image: url('/assets/papel-granulado.svg'), radial-gradient(ellipse at 50% 39%, #774b34, var(--ink) 74%);
  background-blend-mode: soft-light, normal;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .5rem;
  background: repeating-linear-gradient(90deg, var(--honey) 0 1.25rem, var(--ink) 1.25rem 2.5rem);
}
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .65rem 1.2rem; background: var(--clay); border: 1px solid transparent; border-radius: .2rem; color: var(--paper); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--ink); }
.hero .button { background: var(--honey); color: var(--ink); }
.hero .button:hover { background: var(--gold); }
.hero .button:focus-visible { outline-color: var(--paper); }
.desk-note, .desk-notebook { position: absolute; }
.desk-note {
  top: 27%;
  left: max(1.5rem, calc(50% - 36rem));
  width: clamp(8rem, 16vw, 13rem);
  transform: rotate(-10deg);
  isolation: isolate;
}
.desk-note::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.45rem -.45rem -.65rem .35rem;
  background: #d7be97;
  border: 1px solid #c49f70;
  box-shadow: .15rem .25rem .65rem #25150e55;
  transform: rotate(13deg);
}
.desk-note p {
  position: relative;
  padding: 1.4rem 1rem 1.05rem 1.05rem;
  background: repeating-linear-gradient(transparent 0 1.48rem, #9f775b40 1.48rem 1.52rem), #f1e4cb;
  border: 1px solid #d4b88e;
  box-shadow: .25rem .45rem .9rem #25150e55;
  color: #614331;
  font: italic 500 clamp(.86rem, 1.45vw, 1.14rem)/1.42 var(--heading);
}
.desk-note p::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: .32rem;
  margin: .35rem .15rem 0 auto;
  border-bottom: 2px solid #a13a1e;
  border-radius: 50%;
  transform: rotate(-6deg);
}
.desk-clip {
  position: absolute;
  z-index: 1;
  top: -.6rem;
  left: .55rem;
  width: 1.35rem;
  color: #62768e;
  transform: rotate(-7deg);
}
.desk-notebook {
  right: max(1.25rem, calc(50% - 36.5rem));
  bottom: 13%;
  width: clamp(9rem, 19vw, 15.5rem);
  height: auto;
  filter: drop-shadow(.25rem .65rem .7rem #27150c69);
}
.typewriter-frame { position: relative; width: min(100%, 42rem); container-type: inline-size; }
.typewriter-frame img { display: block; width: 100%; height: auto; }
.typewriter-copy {
  position: absolute;
  inset: 1% 23% 61%;
  display: grid;
  align-content: center;
  gap: .45em;
  text-align: center;
  color: var(--ink);
  font: 400 max(.72rem, 2.65cqw)/1.2 'Courier New', monospace;
}
.typewriter-copy h1 { font: inherit; font-weight: 700; text-wrap: wrap; }
.typewriter-title { display: block; width: max-content; margin-inline: auto; font-size: max(1rem, 4.6cqw); white-space: nowrap; }
.typewriter-detail { display: block; margin-top: .25em; font-size: max(.75rem, 3cqw); line-height: 1.3; }
.typewriter-detail span { display: inline-block; white-space: nowrap; }
.typewriter-author { justify-self: center; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .typewriter-title { animation: type-ink .95s steps(17, end) .25s both; }
  .typewriter-detail span:first-child { animation: type-ink .85s steps(17, end) 1.35s both; }
  .typewriter-detail span:last-child { animation: type-ink .45s steps(9, end) 2.2s both; }
  .typewriter-author { animation: type-ink 1.05s steps(21, end) 2.95s both; }
}
@media (max-width: 1100px) {
  .typewriter-frame { width: min(67%, 42rem); }
  .desk-note { left: 1rem; }
  .desk-notebook { right: .5rem; }
}
@media (max-width: 650px) {
  .typewriter-frame { width: 100%; }
  .desk-note {
    top: 25%;
    left: -2.5rem;
    width: 6.4rem;
    opacity: .8;
  }
  .desk-note p { min-height: 5rem; padding: .65rem; font-size: 0; }
  .desk-note p::after { margin-top: 2.3rem; }
  .desk-clip { width: 1rem; left: auto; right: .55rem; }
  .desk-notebook { right: -1.6rem; bottom: 18%; width: min(32vw, 8rem); }
}
@keyframes type-ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.services { background: var(--clay); color: var(--paper); }
.services, .difference {
  background-image: url('/assets/papel-granulado.svg');
  background-blend-mode: soft-light;
}
.services .eyebrow { color: inherit; }
.services-head .eyebrow { margin-bottom: 1.35rem; }
.services-title { position: relative; display: inline-block; }
.services-title svg {
  position: absolute;
  inset: -.2em -.32em;
  width: calc(100% + .8em);
  height: calc(100% + .52em);
  fill: none;
  stroke: var(--honey);
  stroke-width: 2.1;
  stroke-linecap: round;
  pointer-events: none;
}
.services-head .intro { margin-top: 1.45rem; max-width: 28ch; }
.services-illustration {
  display: block;
  width: min(100%, 21rem);
  height: auto;
  margin: 1.1rem auto 0 0;
}
.services-cards { border-top: 1px solid #fefaf066; }
.service { display: grid; grid-template-columns: 2.15rem 1fr; gap: .65rem; padding: 1.25rem 0; border-bottom: 1px solid #fefaf066; }
.service-number { font-size: .85rem; font-weight: 700; }
.service p { margin-top: .4rem; }
.process { background: var(--blue); }
.process h2 { margin-bottom: 2rem; }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.35rem; list-style: none; padding: 0; margin: 0; }
.folder { display: flex; flex-direction: column; }
.folder-tab {
  align-self: flex-start;
  padding: .38rem 1rem;
  background: var(--ochre);
  color: #512715;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 1px solid #846438;
  border-bottom: 0;
  border-radius: .35rem .95rem 0 0;
}
.folder-body {
  flex: 1;
  padding: clamp(1rem, 2.25vw, 2.2rem);
  background: var(--paper) url('/assets/papel-granulado.svg');
  background-blend-mode: soft-light;
  border: 1px solid #846438;
  border-top: 4px solid var(--ochre);
  border-radius: 0 .45rem .4rem .4rem;
  box-shadow: 0 4px 0 -1px var(--ochre), 0 9px 16px -11px #54291688;
}
.folder-mark {
  display: block;
  width: 4.65rem;
  height: auto;
  margin: -.35rem 0 .55rem auto;
}
.folder-body p { margin-top: .6rem; color: var(--muted); }
.difference { background-color: var(--paper); border-bottom: 1px solid var(--line); }
.difference .eyebrow { border-left: 3px solid var(--slate); padding-left: .75rem; }
.difference-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 5vw, 5rem);
  align-items: center;
}
.difference-copy { max-width: 62ch; margin-top: 1.35rem; }
.difference-illustration { display: block; width: 100%; max-width: 35.625rem; height: auto; margin-inline: auto; }
.about-copy { max-width: 62ch; }
.about-copy a { text-underline-offset: .18em; }
.contact { background: var(--ink); color: var(--paper); }
.contact a:focus-visible { outline-color: var(--honey); }
.contact .eyebrow { color: var(--honey); }
.contact h2 { margin-bottom: 1rem; }
.contact-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.contact-actions .button { background: var(--honey); color: var(--ink); }
.contact-actions .button:hover { background: var(--gold); }
.contact-actions .secondary { background: transparent; color: var(--paper); border-color: var(--paper); }
.contact-actions .secondary:hover { background: var(--paper); color: var(--ink); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; padding-block: 1.35rem; }
.whatsapp-share { background: var(--paper) !important; border-color: var(--line) !important; }
.whatsapp-share a { color: var(--ink) !important; border-color: var(--ink) !important; }
.whatsapp-share a:hover { color: var(--paper) !important; background: var(--ink) !important; }
@media (max-width: 760px) {
  .top { align-items: flex-start; flex-direction: column; justify-content: center; gap: .65rem; padding-block: 1rem; }
  .section-grid, .difference-grid { grid-template-columns: 1fr; }
  .services-illustration { width: min(70%, 16rem); margin: .75rem 0 0; }
  .process-list { grid-template-columns: 1fr; gap: 1.3rem; }
  .foot { flex-direction: column; align-items: flex-start; gap: .2rem; }
}
