:root {
  --ink: #251b14;
  --ink-soft: #5f4d3d;
  --paper: #f5efe2;
  --paper-deep: #e5d1ae;
  --linen: #fbf7ed;
  --thread: #9f261f;
  --olive: #566044;
  --whatsapp: #1d7146;
  --shadow: 0 24px 70px rgba(56, 39, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(94, 72, 45, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(94, 72, 45, 0.03) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--linen);
  font-family: Georgia, "Times New Roman", serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: repeating-linear-gradient(112deg, rgba(62, 47, 30, 0.05) 0 1px, transparent 1px 9px);
  opacity: 0.7;
  pointer-events: none;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(18rem, 1.2fr);
  min-height: 88vh;
  border-bottom: 1px solid rgba(37, 27, 20, 0.2);
  background:
    linear-gradient(180deg, rgba(245, 239, 226, 0.92), rgba(245, 239, 226, 0.78)),
    linear-gradient(135deg, rgba(229, 209, 174, 0.75), rgba(251, 247, 237, 0.2));
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 32rem;
  place-items: center;
  border-right: 1px dashed rgba(37, 27, 20, 0.38);
  background:
    repeating-linear-gradient(135deg, rgba(37, 27, 20, 0.055) 0 2px, transparent 2px 12px),
    var(--paper-deep);
}

.spool {
  width: min(56vw, 19rem);
  max-height: 72vh;
  filter: drop-shadow(0 22px 24px rgba(43, 31, 20, 0.22));
}

.spool__wood {
  fill: #2b2118;
}

.spool__thread {
  fill: #71513d;
  stroke: #241912;
  stroke-width: 8;
}

.spool__line,
.needle,
.needle-eye {
  fill: none;
  stroke: #140f0b;
  stroke-linecap: round;
}

.spool__line {
  stroke-width: 6;
}

.needle,
.needle-eye {
  stroke-width: 4;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: 54rem;
  padding: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--olive);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11.5ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h1 span {
  display: block;
}

.hero__lead {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  font-style: italic;
  line-height: 1.06;
}

.hero__copy {
  max-width: min(34rem, 100%);
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 rgba(37, 27, 20, 0.18);
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.36);
}

.button--whatsapp {
  border-color: var(--whatsapp);
  background: var(--whatsapp);
  color: var(--paper);
}

.button--wide {
  width: 100%;
}

.promise {
  padding: 2rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px dashed rgba(37, 27, 20, 0.38);
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.promise p {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.3vw, 2.45rem);
  font-style: italic;
}

.promise__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.promise__items span {
  padding: 0.35rem 0.7rem;
  border: 1px dashed rgba(245, 239, 226, 0.5);
  color: #f8ead0;
  font-size: 0.96rem;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
}

.section__heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 2.5rem;
  align-items: end;
  border-bottom: 1px dashed rgba(37, 27, 20, 0.38);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.96;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 72rem;
  margin: 0 auto;
  background: rgba(37, 27, 20, 0.22);
  box-shadow: var(--shadow);
}

.service-grid article {
  min-height: 19rem;
  padding: clamp(1.25rem, 2vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent),
    var(--paper);
}

.service-grid span {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--thread);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-icon {
  display: block;
  width: clamp(3.8rem, 7vw, 5.4rem);
  height: auto;
  margin-bottom: 1.15rem;
  color: var(--ink);
  opacity: 0.9;
}

.service-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.service-icon__dash {
  opacity: 0.65;
  stroke-dasharray: 7 8;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
  line-height: 1.05;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 27rem);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  background:
    linear-gradient(90deg, rgba(229, 209, 174, 0.62), rgba(245, 239, 226, 0.95)),
    var(--paper);
}

.contact__text {
  max-width: 44rem;
}

address {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: clamp(1.35rem, 2.4vw, 2.45rem);
  font-style: normal;
  line-height: 1.24;
}

address strong {
  color: var(--ink);
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 1.35rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px dashed rgba(37, 27, 20, 0.38);
  background: rgba(251, 247, 237, 0.72);
  box-shadow: var(--shadow);
}

.contact-card__label {
  margin-bottom: 0.3rem;
  color: var(--olive);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-card a:not(.button),
.contact-card p:not(.contact-card__label) {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
}

.contact-card a:not(.button) {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.site-footer {
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem) 1.65rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: clamp(1.18rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.site-footer > p span {
  display: inline;
}

.site-footer > p span + span::before {
  content: " ";
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.7rem;
  color: rgba(245, 239, 226, 0.6);
  font-size: 0.68rem;
  font-style: italic;
  font-weight: 400;
  text-decoration: none;
}

.footer-credit:hover {
  color: var(--paper);
}

.footer-credit img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: 0.86;
}

.scissors-end {
  position: relative;
  min-width: 0;
  min-height: clamp(17rem, 28vw, 25rem);
  overflow: visible;
  background:
    linear-gradient(90deg, rgba(229, 209, 174, 0.62), rgba(245, 239, 226, 0.95)),
    var(--paper);
}

.scissors-end::before {
  position: absolute;
  z-index: 2;
  right: calc(50% + min(14vw, 7.5rem));
  bottom: 18%;
  left: 0;
  height: 0;
  border-top: 1px dashed rgba(37, 27, 20, 0.38);
  content: "";
}

.scissors-end::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 18%;
  left: calc(50% + min(14vw, 7.5rem));
  height: 0;
  border-top: 1px dashed rgba(37, 27, 20, 0.38);
  content: "";
}

.scissors-end__strip,
.scissors-end__bump::after {
  position: absolute;
  background:
    repeating-linear-gradient(135deg, rgba(37, 27, 20, 0.055) 0 2px, transparent 2px 12px),
    var(--paper-deep);
}

.scissors-end__strip {
  inset: 82% 0 0;
  z-index: 0;
}

.scissors-end__bump {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 18%;
  width: min(27rem, 62vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
}

.scissors-end__bump::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px dashed rgba(37, 27, 20, 0.38);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  content: "";
}

.scissors-end__bump::after {
  inset: 0;
  z-index: 0;
  border-radius: 999px 999px 0 0;
  content: "";
}

.scissors-end__image {
  position: absolute;
  left: 50%;
  bottom: 3%;
  z-index: 3;
  width: min(24rem, 54vw);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 4px rgba(37, 27, 20, 0.16));
}

@media (max-width: 820px) {
  .hero,
  .section__heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 17rem;
    border-right: 0;
    border-bottom: 1px dashed rgba(37, 27, 20, 0.38);
  }

  .spool {
    width: min(48vw, 12rem);
  }

  .hero__content {
    padding: 2.3rem 1.25rem 3rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 20rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  h1 {
    max-width: 10ch;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .scissors-end {
    min-height: 15.5rem;
  }

  .scissors-end__bump {
    width: min(18.5rem, 78vw);
  }

  .scissors-end__image {
    width: min(15.5rem, 70vw);
  }

  .site-footer > p span {
    display: block;
  }

  .site-footer > p span + span::before {
    content: "";
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .button,
  .hero__actions {
    width: 100%;
  }

  .button {
    flex-basis: auto;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 4.2rem);
  }

  .service-grid article {
    min-height: auto;
  }

  .hero__copy {
    width: min(100%, 17.5rem);
    max-width: 19rem;
  }

}
