.btn:not(.sample-button) { min-height: 50px; border-radius: 5px; padding-inline: 22px; }
.plain-link, .link-button { color: var(--brick); text-decoration-color: #9c5839; }

.cover {
  position: relative;
  overflow: clip;
}
.cover-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.06fr;
  align-items: center;
  isolation: isolate;
  min-height: clamp(600px, 52vw, 800px);
  padding-block: clamp(37px, 4.6vw, 72px) clamp(42px, 5vw, 78px);
}
/* The header carries the only logo; the cover opens with the headline. */
.cover-content {
  position: relative;
  grid-column: 1;
  z-index: 1;
  max-width: 35rem;
}
.cover-content h1 {
  max-width: 17ch;
  padding: .02em 0 .05em .36em;
  border-left: 5px solid var(--orange);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.02em;
  text-wrap: balance;
}
html[lang="es-AR"] .cover-content h1 { max-width: 18ch; }
.cover-content > p {
  max-width: 39ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.38vw, 1.23rem);
  line-height: 1.55;
}
.cover-art {
  position: absolute;
  top: 0;
  right: calc((100% - 100vw) / 2);
  bottom: -15px;
  z-index: -1;
  width: min(76vw, 1240px);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 23%), linear-gradient(#000 0 89%, transparent 100%);
  mask-composite: intersect;
}
.cover-art img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }

.cover-facts {
  position: relative;
  isolation: isolate;
  margin-top: -8px;
}
.cover-facts::before {
  position: absolute;
  z-index: -1;
  inset: -12px -18px;
  background: url("/assets/sand-stroke.webp") center / 100% 100% no-repeat;
  opacity: .58;
  content: "";
}
.cover-facts ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 19px 13px;
  list-style: none;
}
.cover-facts li { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 5px 14px; font-size: .94rem; font-weight: 585; }
.cover-facts li + li { border-left: 1px solid #a4633e5c; }
.cover-facts svg { width: 22px; height: 22px; color: var(--brick); }

.comparison { background: transparent; padding-top: clamp(50px, 6.4vw, 104px); padding-bottom: clamp(64px, 7.5vw, 110px); }
.work-head { margin-bottom: clamp(20px, 3vw, 40px); }
.work-head h2, .process h2, .quote-grid h2 {
  font-family: var(--display);
  font-weight: 520;
  letter-spacing: -.048em;
  line-height: 1.06;
}
.work-head h2 { font-size: clamp(2.4rem, 4.85vw, 4.9rem); text-wrap: pretty; }
.section-kicker { margin-bottom: 13px; font-weight: 640; }
.project { background: #552b25; color: #fff5ea; }
.compare-tag { border-radius: 0; }
.compare-tag.after { background: #552b25; color: #fff5ea; }
.compare-line span { background: #552b25; color: #fff5ea; border: 1px solid #ffdfc9; border-radius: 50%; width: 46px; height: 46px; box-shadow: 0 2px 8px #3a211b55; }
.project figcaption { margin-top: 0; padding: 13px clamp(15px, 2.4vw, 32px); }
.project-caption small { color: #f4cbb6; }
.compare-controls { padding: 2px; background: transparent; border-color: #cf9f88; border-radius: 0; }
.compare-controls button { border-radius: 0; }
.compare-controls button:hover { background: #743c2f; }
.compare-controls [aria-pressed="true"], .compare-controls [aria-pressed="true"]:hover { background: #ffebdb; color: #522921; }
.compare-controls button:focus-visible { outline-color: #ffdbbd; outline-offset: 2px; }

.services { background: var(--sand); }
.services .section-head { margin-bottom: clamp(24px, 4vw, 50px); }
.service-spread {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: clamp(26px, 6vw, 88px);
}
.service-photo {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  background: #b68057;
  border-radius: 3px var(--cut-corner) 3px 3px;
  overflow: hidden;
}
.service-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.service-photo figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 3px 7px;
  background: var(--white);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 650;
}
.service-list { border-top: 1px solid #bb9a7f; }
.service {
  --swatch: #e5b798;
  --swatch-shadow: #b97a55;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px clamp(13px, 2vw, 25px);
  padding: clamp(16px, 2vw, 25px) 0 clamp(7px, 1vw, 14px);
  border-bottom: 1px solid #bb9a7f;
}
.service:nth-child(2) { --swatch: #e6cca2; --swatch-shadow: #b89a70; }
.service:nth-child(3) { --swatch: #cdd1b0; --swatch-shadow: #a0a57d; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 5px 17px 5px 5px; background: var(--swatch); box-shadow: 0 3px 0 var(--swatch-shadow); color: var(--ink); }
.service-context { margin-bottom: 5px; color: var(--brick); font-size: .88rem; font-weight: 620; }
.service h3 a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #9a7356; text-underline-offset: .24em; }
.service h3 a:hover { color: var(--brick); text-decoration-thickness: 2px; }
.service-description { max-width: 54ch; margin: 9px 0 0; color: var(--muted); }
.service .plain-link { margin-top: 1px; }

.process {
  --process-rule: #999b78;
  background: var(--olive) url("/assets/cover-paper.webp") repeat;
  background-blend-mode: multiply;
  color: var(--white);
}
.process-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: 34px clamp(30px, 8vw, 114px); }
.process-head { position: relative; padding-bottom: 25px; }
.process-head::after { content: ''; position: absolute; bottom: 0; left: -5px; width: 110px; height: 8px; background: url("/assets/sand-stroke.webp") left center / 100% 100% no-repeat; }
.process .section-kicker { color: #f3c59b; }
.process h2 { max-width: 16ch; font-size: clamp(2.6rem, 5vw, 5rem); text-wrap: balance; }
.process p { color: #eee7d4; }
.process-head > p:last-child { max-width: 36ch; margin-top: 19px; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--process-rule); }
.process-steps li { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: clamp(13px, 2.1vw, 24px); padding: 14px 0; border-bottom: 1px solid var(--process-rule); }
.step-num { display: grid; place-items: center; align-self: start; min-height: 39px; color: #ffe8ce; border: 1px solid #ada784; border-radius: 3px 11px 3px 3px; font-size: .95rem; font-weight: 610; font-variant-numeric: tabular-nums; }
.process-steps p { max-width: 50ch; margin-top: 5px; }

.estimates, .name-section, .faq-section {
  --editorial-paper: #fffaf4;
  --editorial-ink: #3a211b;
  --editorial-rule: #d5b7a7;
  --editorial-accent: #8a3624;
  background: var(--editorial-paper);
  color: var(--editorial-ink);
}
.estimate-layout, .faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(26px, 6vw, 92px);
}
.estimate-intro h2, .faq-intro h2 {
  font: 560 clamp(2.4rem, 4.25vw, 4.15rem)/1.07 var(--display);
  letter-spacing: -.045em;
  text-wrap: pretty;
}
.estimate-intro h2 { max-width: 16ch; }
.estimate-intro > p { max-width: 36ch; margin-top: 18px; color: var(--muted); }
.estimate-intro .sample-button { margin-top: 25px; }
.estimate-factors { margin: 0; border-top: 2px solid var(--editorial-accent); }
.estimate-factors > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr);
  gap: 9px clamp(14px, 2vw, 28px);
  align-items: start;
  padding-block: clamp(15px, 1.8vw, 25px);
  border-bottom: 1px solid var(--editorial-rule);
}
.estimate-factors dt {
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  font-size: 1.04rem;
  font-weight: 680;
  line-height: 1.35;
  text-wrap: pretty;
}
.estimate-factors dt svg { width: 21px; height: 21px; color: var(--editorial-accent); }
.estimate-factors dd { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.48; }

.estimate-spread { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); gap: clamp(28px, 7vw, 105px); align-items: start; }
.estimate-copy dl { margin: 25px 0 0; border-top: 1px solid #c9ad90; }
.estimate-copy dl > div { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: 5px 16px; padding: 13px 0; border-bottom: 1px solid #c9ad90; }
.estimate-copy dt { font-weight: 670; }
.estimate-copy dd { margin: 0; color: var(--muted); }
.coverage { padding: clamp(20px, 3vw, 40px); border: 1px solid #a6a88a; border-radius: 5px var(--cut-corner) 5px 5px; background: var(--olive-paper); }
.coverage-mark { display: grid; place-items: center; width: 46px; height: 42px; border-radius: 4px 13px 4px 4px; background: #c7caa8; color: var(--olive); margin-bottom: 22px; }
.coverage h3 { margin-bottom: 10px; text-wrap: balance; }
.coverage p { color: #434735; }

.name-spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #552b25 url("/assets/cover-paper.webp") repeat;
  background-blend-mode: multiply;
  color: #fff5ea;
}
.name-text {
  position: relative;
  isolation: isolate;
  align-content: center;
  padding: clamp(38px, 5.5vw, 82px);
}
.name-text::after {
  content: '';
  position: absolute;
  inset: clamp(13px, 1.35vw, 22px);
  z-index: -1;
  border: 1px solid #e9ad9469;
  pointer-events: none;
}
.name-text h2 { color: #ffc8a8; font-size: .75rem; line-height: 1.4; letter-spacing: .13em; text-wrap: pretty; }
.name-phrase { max-width: 9ch; font: italic 570 clamp(3.85rem, 6.6vw, 7.15rem)/.98 var(--display); letter-spacing: -.06em; }
.name-translation { margin-top: 20px; color: #ffc8a8; font: 510 clamp(1.15rem, 2vw, 1.62rem)/1.34 var(--display); }
.name-copy { max-width: 35ch; margin-top: 16px; color: #f6dfd3; }
.name-photo { position: relative; min-height: 340px; background: #77513d; }
.name-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.name-photo figcaption { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; background: #fffaf4; color: var(--editorial-ink); font-size: .76rem; }

.faq-intro h2 { max-width: 14ch; }
.faq-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: var(--control-height);
  margin-top: 13px;
  color: var(--editorial-accent);
  font-weight: 650;
}
.faq-link span { text-decoration: underline; text-underline-offset: .29em; }
.faq-link:hover span { text-decoration-thickness: 2px; }
.faq-list { --faq-padding: clamp(14px, 2.3vw, 31px); border-block: 2px solid var(--editorial-accent); }
.faq-list details + details { border-top: 1px solid var(--editorial-rule); }
.faq-list details[open] { background: #f6e8e0; }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 12px var(--faq-padding);
  list-style: none;
  cursor: pointer;
  font-size: clamp(1rem, 1.65vw, 1.2rem);
  font-weight: 650;
  line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -3px; }
.faq-list summary:hover { background: #f6e8e0; color: var(--editorial-accent); }
.faq-toggle {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid #be8574;
  border-radius: 50%;
  color: var(--editorial-accent);
}
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; inset: 14px 8px auto; height: 2px; background: currentColor; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-list details[open] .faq-toggle { background: var(--editorial-accent); border-color: var(--editorial-accent); color: #fffaf4; }
.faq-list details[open] .faq-toggle::after { display: none; }
.faq-list details p { padding: 0 var(--faq-padding) 19px; max-width: 63ch; color: var(--muted); }

.quote-section { color: var(--white); background: #783521 url("/assets/cover-paper.webp") repeat; background-blend-mode: multiply; }
.quote-grid > div:first-child > p, .quote-location svg { color: #f9dfca; }
.quote-box { color: var(--ink); border: 1px solid #d7b493; background: #fff4e5; box-shadow: 5px 6px 0 #532718; }
.quote-form input, .quote-form textarea, .quote-form select, .quote-result textarea { min-height: 46px; border-color: #a98769; border-radius: 3px 6px 3px 3px; background-color: #fffaf3; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #755c4b; }
.quote-grid > div:first-child h2 { max-width: 16ch; text-wrap: balance; }
.quote-location { margin-top: 23px; }
.quote-form .form-actions { margin-top: 3px; padding-top: 16px; border-top: 1px solid var(--rule); }
.site-footer { border-top: 1px solid var(--rule); }

.service-page-intro { padding-block: 21px clamp(48px, 7vw, 100px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 3px 11px; align-items: center; margin-bottom: clamp(18px, 4vw, 38px); font-size: .875rem; color: var(--muted); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: var(--control-height); color: var(--brick); text-decoration: underline; text-underline-offset: .25em; }
.breadcrumb a:hover { text-decoration-thickness: 2px; }
.service-page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(25px, 5vw, 77px); align-items: center; }
.service-page-hero h1 { font-size: clamp(2.35rem, 4.7vw, 5rem); font-weight: 665; line-height: 1.03; text-wrap: balance; }
.service-page-hero p { max-width: 54ch; margin: 18px 0 23px; color: var(--muted); }
.service-page-hero figure { position: relative; }
.service-page-hero img { width: 100%; height: auto; aspect-ratio: 1.13; object-fit: cover; border-radius: 4px var(--cut-corner) 4px 4px; }
.service-page-hero figcaption { position: absolute; bottom: 12px; left: 12px; padding: 4px 8px; background: var(--white); color: var(--ink); font-size: .78rem; }
.service-page-scope { background: var(--sand); }
.service-coverage-note { margin-top: 16px; color: var(--muted); max-width: 60ch; }
.related-services { padding-block: 36px; }
.related-services h2 { font-size: 1.45rem; letter-spacing: -.02em; }
.related-services ul { display: flex; flex-wrap: wrap; gap: 2px 22px; margin: 7px 0 0; padding: 0; list-style: none; }

@media (max-width: 1030px) {
  .cover-inner { min-height: 560px; }
  .cover-content h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); }
  .cover-art { width: 74vw; }
  .cover-content > p { max-width: 33ch; }
  .cover-facts::before { inset-inline: -10px; }
}

@media (max-width: 900px) {
  .estimate-factors > div { grid-template-columns: minmax(0, 1fr); }
  .estimate-factors dd { margin-inline-start: 33px; }
}

@media (max-width: 760px) {
  .estimate-layout, .name-spread, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .estimate-intro h2, .faq-intro h2 { max-width: 22ch; }
  .name-phrase { font-size: clamp(3.2rem, 10vw, 5.7rem); }
  .name-photo { min-height: auto; aspect-ratio: 1.62; }
  .faq-link { margin-top: 7px; }
}

@media (max-width: 900px) {
  /* Phones and small tablets: the desktop composition, scaled down. Title and text on the left,
     the collage on the right fading into the paper behind them. The header carries the logo. */
  .cover-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: clamp(380px, 104vw, 640px);
    padding-block: 26px 30px;
  }
  .cover-art {
    width: 70vw;
    bottom: -10px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 50%), linear-gradient(#000 0 86%, transparent 100%);
  }
  .cover-art img { object-position: 70% 50%; }
  .cover-content { max-width: 60%; padding-top: 0; align-self: center; text-shadow: 0 0 14px var(--paper), 0 0 4px var(--paper); }
  .cover-content h1 { max-width: none; padding-left: .28em; border-left-width: 4px; font-size: clamp(1.5rem, 6.5vw, 2.9rem); line-height: 1.02; }
  html[lang="es-AR"] .cover-content h1 { max-width: none; }
  .cover-content > p { max-width: 34ch; margin-top: 12px; font-size: clamp(.94rem, 3.7vw, 1.15rem); line-height: 1.5; }
  .cover-facts { margin-top: 0; }
  .cover-facts::before { inset: -8px -10px; }
  .cover-facts ul { padding: 10px 0; }
  .cover-facts li { flex-direction: column; justify-content: start; gap: 5px; padding: 4px 7px; font-size: .76rem; line-height: 1.3; text-align: center; }
  .cover-facts svg { width: 19px; height: 19px; }
  .compare { aspect-ratio: 1.16; }
  .compare-controls { width: 100%; }
  .compare-controls button { flex: 1; }
  .service-spread { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .service-photo { min-height: 0; aspect-ratio: 1.6; }
  .process-grid, .estimate-spread, .service-page-hero { grid-template-columns: 1fr; }
  .estimate-copy dl > div { grid-template-columns: 1fr; }
  .service-page-hero img { aspect-ratio: 1.6; }
}
@media (max-width: 360px) {
  .cover-content { max-width: 64%; }
  .cover-content h1 { font-size: 1.4rem; }
  .service { grid-template-columns: 44px minmax(0, 1fr); }
  .service-icon { width: 43px; height: 43px; }
}
