body { background: #fff; }
.masthead { background: var(--white); }
.masthead .site-header { border: 0; border-radius: 0; padding-block: .65rem; }
.masthead .whatsapp { white-space: nowrap; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: white;  }
.hero-photo { position: absolute; inset: 0 0 auto; height: 28rem; z-index: -2; background: #665741 url("../assets/portada-dcm.webp") right 42% / auto 112% no-repeat; }
@media (max-width: 40rem) {
  .hero-photo { background-image: url("../assets/portada-dcm-movil.webp"); }
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #15151555, #151515 28rem); }
.hero-grid { display: grid; gap: var(--s5); padding-block: clamp(2rem, 5vw, 4.5rem); }
.hero-copy { align-self: center; min-width: 0; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .7rem; color: #fff; }
.hero-copy .eyebrow::before { content: ""; width: 2.5rem; height: .25rem; background: var(--yellow); border-radius: 1rem; flex: 0 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: .98; font-weight: 800; margin-block: .9rem; max-width: 11ch; }
.hero h1 span { display: block; color: var(--yellow); }
.hero-copy > p:not(.eyebrow) { font-size: clamp(1rem, 1.8vw, 1.25rem); max-width: 32ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-contact { background: #151515bb; color: white; border-color: white; }
.hero-contact:hover { background: #333; }
.home-quote { color: var(--ink); box-shadow: 0 .7rem 2.5rem #0005; padding: clamp(.9rem, 2.5vw, 1.55rem); min-width: 0; }
.quote-title { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.quote-title > span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .85rem; background: var(--yellow); flex: 0 0 auto; }
.quote-title h1 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.home-quote .form-row { grid-template-columns: minmax(0, 1fr); }
.home-quote .terms { margin-block: .65rem 1rem; }
.home-quote .estimate { gap: .25rem; }
.quote-lines {
  list-style: none;
  block-size: clamp(7rem, 24svh, 12rem);
  overflow-y: auto;
  scrollbar-gutter: stable;
  scrollbar-color: #777 #eee;
  padding: 0 .45rem 0 0;
  margin: .5rem 0 0;
}
.quote-lines:focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 2px; }
.quote-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .35rem; padding-block: .5rem; border-bottom: 1px solid var(--border); font-size: .875rem; }
.quote-lines li p { margin-right: auto; }
.quote-lines li strong { display: block; }
.quote-lines button { color: var(--ink); padding-inline: .5rem; min-height: 36px; font-size: .875rem; }
.quote-controls { display: flex; flex-wrap: wrap; gap: .25rem; }
.home-quote .cancel { margin-top: .4rem; }
.quote-arrow { font-size: 1.2em; line-height: 1; }
.home-services { padding-block: clamp(1.7rem, 4vw, 3.6rem); }
.home-services h1 { display: flex; align-items: center; justify-content: center; gap: clamp(.5rem, 3vw, 2rem); text-align: center; }
.home-services h1::before, .home-services h1::after { content: ""; height: .2rem; flex: 0 1 7rem; background: var(--yellow); border-radius: 1rem; }
.service-details { display: grid; gap: .45rem; margin-top: 1rem; }
.service-details article { border-top: 1px solid var(--border); padding-top: .9rem; margin-top: .9rem; }
.service-details article p { margin-block: .4rem; }
.service-details article[hidden] { display: none; }
.home-about { margin-bottom: 2rem; }
@media (min-width: 25rem) { .home-quote .form-row { grid-template-columns: minmax(0, 1fr) auto; } }
@media (min-width: 55rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(20rem, 31%); align-items: start; padding-block: clamp(2rem, 3.8vw, 3.4rem); }
  .home-quote .form-row { grid-template-columns: minmax(0, 1fr) auto; }
}

.home-quote .form-row label { margin-top: 0; }
.home-quote .estimate .note { margin-top: 0; }
.tile-1 { --tile-position: right 56%; }
.tile-2 { --tile-position: 93% 29%; }
.tile-3 { --tile-position: 58% 10%; }
.tile-4 { --tile-position: 79% 40%; --tile-size: 900% auto; }
.tile-5 { --tile-position: right 8%; }
.tile-6 { --tile-position: 61% 48%; }
@media (min-width: 62rem) {
  .masthead .site-header nav { gap: .2rem; }
}

.quote-field-heading { display: flex; gap: .4rem .65rem; flex-wrap: wrap; align-items: baseline; justify-content: space-between; margin-bottom: .2rem; }
.quote-field-heading label, .quote-field-heading .note { margin: 0; }
.quote-lines:empty, .service-details:not(:has(article:not([hidden]))) { display: none; }
.hero-grid { padding-bottom: 4rem; }
@media (min-width: 62rem) {
  .masthead > .wrap, .hero-grid, .home-services { width: min(92%, 94rem); }
  .hero-grid {
    min-height: clamp(27rem, calc(100svh - 17.25rem), 48rem);
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 30%);
    align-items: center;
    padding-block: clamp(1rem, 3vh, 2.5rem) clamp(2.2rem, 5.5vh, 4.75rem);
  }
  .hero h1 { font-size: clamp(2.8rem, min(5.15vw, 7.5vh), 5rem); margin-block: .65rem; }
  .home-services { padding-block: .3rem clamp(.55rem, 1.5vh, 1.4rem); }
  .home-services h1 { margin-bottom: clamp(.4rem, 1.25vh, 1rem); font-size: clamp(1.55rem, 4vh, 2.5rem); }
}
@media (min-width: 62rem) and (max-height: 900px) {
  .masthead .site-header { padding-block: .37rem; }
  .home-quote { padding: .85rem 1rem; }
  .quote-title { gap: .6rem; margin-bottom: .6rem; }
  .quote-title h1 { font-size: 1.5rem; }
  .quote-title > span { width: 2.7rem; height: 2.7rem; }
  .home-quote :is(input, select, .button) { min-height: 2.35rem; padding-block: .3rem; }
  .home-quote .form-row, .home-quote .estimate { margin-top: .55rem; }
  .home-quote .estimate { padding: .5rem .75rem; }
  .home-quote .terms { margin-block: .35rem .55rem; }
  .hero-copy > p:not(.eyebrow) { font-size: 1.05rem; }
}
@media (min-width: 62rem) and (max-height: 760px) {
  .hero-grid { min-height: 0; padding-block: .85rem 1.75rem; }
  .home-quote { padding: .7rem .9rem; }
  .quote-title > span { width: 2.35rem; height: 2.35rem; }
  .quote-title { margin-bottom: .35rem; }
  .home-quote .estimate strong { font-size: 1.6rem; }
}
.hero-wave {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--wave-height);
  margin-top: calc(-1 * var(--wave-height));
  pointer-events: none;
}
.hero-grid { padding-bottom: max(3.8rem, 5.4vw); }
.compact-home {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .25rem;
  font-weight: 700;
  text-decoration: underline .15em var(--yellow);
  text-underline-offset: .32em;
}
.masthead .site-header { justify-content: flex-start; }
.masthead .brand { flex-shrink: 1; }
.masthead .menu-toggle { padding-inline: .65rem; }
.image-slot {
  display: grid;
  place-items: center;
  min-height: 9rem;
  padding: 1rem;
  border: 1px dashed #927e5b;
  border-radius: var(--radius);
  background: var(--warm);
  color: var(--ink);
  text-align: center;
  font-size: .875rem;
}
img.image-slot { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; padding: 0; }
.image-slot-quote { min-height: 5rem; margin-top: .6rem; }
.image-slot-contact { min-height: 6rem; }
.home-about, .service-details article:not([hidden]) { display: grid; align-items: center; gap: 1rem; }
@media (min-width: 40rem) {
  .home-about, .service-details article:not([hidden]) { grid-template-columns: minmax(12rem, 32%) minmax(0, 1fr); }
}
@media (min-width: 62rem) {
  .masthead .compact-home { display: none; }
  .masthead .site-header nav { justify-content: flex-end; gap: clamp(.35rem, 1.35vw, 1.25rem); }
  .hero-grid { padding-bottom: clamp(2.9rem, 4.9vw, 5.1rem); }
}
@media (min-width: 62rem) and (max-height: 760px) {
  .hero-grid { padding-bottom: 2.6rem; }
}
.slider-controls { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.slider-controls p { margin-inline: auto; font-size: .9rem; font-weight: 650; }
.slide-photo {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 13rem;
  margin: 0;
  padding: .6rem;
  border-radius: var(--radius-lg);
  background: var(--graphite) url("../assets/banner-dcm.webp") var(--tile-position) / var(--tile-size, 625% auto) no-repeat;
}
.service-details article:not([hidden]) { grid-template-columns: minmax(0, 1fr); }
.about-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.about-values p { color: var(--muted); }
.contact-info ul { list-style: none; margin-block: .4rem 0; padding: 0; }
.contact-info li { margin-block: .3rem; }
.contact-info strong { margin-inline-end: .35rem; }
@media (min-width: 40rem) {
  .service-details article:not([hidden]) { grid-template-columns: minmax(0, 45%) minmax(0, 1fr); }
}
:root { --header-space: 5.75rem; }
html { scroll-padding-top: var(--header-space); }
.masthead { position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 #15151514; }
.masthead .site-header nav.open { max-height: 65svh; overflow-y: auto; }
.screen { min-height: calc(100svh - var(--header-space)); }
.screen:focus { outline: 0; }
.screen:not(.home-screen) {
  width: min(100% - 2rem, 64rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 7vh, 5rem);
}
.home-screen .hero-grid { grid-template-columns: 1fr; min-height: calc(100svh - var(--header-space)); }
.home-screen .hero-copy { max-width: 35rem; }
.home-screen .hero-copy .hero-actions { margin-top: 1.4rem; }
.quote-screen .home-quote { max-width: 35rem; margin-inline: auto; box-shadow: 0 .45rem 1.8rem #1515150a; }
.quote-screen .terms p { max-width: 55ch; }
.home-services .service-details { max-width: 54rem; margin: 1.5rem auto 0; }
.home-services h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
.home-services .slide-photo { min-height: clamp(14rem, 36vh, 21rem); }
.home-about, .contact-layout { align-items: start; }
.home-about h1, .contact-info h1 { margin-bottom: .75rem; }
.contact-layout { display: grid; gap: 1.1rem; }
.contact-info a { overflow-wrap: anywhere; }
@media (min-width: 40rem) {
  .contact-layout { grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.5fr); }
  .contact-info { grid-row: 1 / span 2; grid-column: 2; }
}
.home-screen .hero-grid { gap: clamp(1.2rem, 4vw, 4rem); }
#quote-home { min-width: 0; }
.view-home .screen:not(.home-screen) { min-height: 56svh; padding-block: clamp(2.8rem, 8vh, 5.5rem); }
.view-home .screen:not(.home-screen) + .screen:not([hidden]) { border-top: 1px solid var(--border); }
.quote-layout, .services-layout { display: grid; gap: clamp(1rem, 3vw, 2.5rem); }
.quote-layout { align-items: start; }
.quote-visual { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--white); }
.home-services .service-details { min-width: 0; width: 100%; margin: 0; }
.service-picker { list-style: none; margin: 0; padding: 0; align-self: start; display: grid; gap: .25rem; }
.service-picker button { min-height: 44px; width: 100%; padding: .5rem .7rem; text-align: start; border: 0; border-inline-start: 3px solid transparent; border-radius: .35rem; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.service-picker button:hover { background: var(--mist); }
.service-picker button[aria-pressed="true"] { border-inline-start-color: var(--yellow); background: var(--warm); font-weight: 700; }
.home-services .services-layout { margin-top: clamp(1.2rem, 3vh, 2rem); }
.services-layout .service-details article:not([hidden]) { grid-template-columns: 1fr; }
@media (prefers-reduced-motion: no-preference) {
  .service-details article:not([hidden]) { animation: slide-enter var(--normal) ease-out both; }
  @keyframes slide-enter { from { opacity: .45; transform: translateX(.5rem); } to { opacity: 1; transform: none; } }
}
@media (min-width: 45rem) {
  .services-layout { grid-template-columns: minmax(12rem, 29%) minmax(0, 1fr); }
  .quote-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (min-width: 62rem) {
  .home-screen .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(21rem, 31%); }
}
:root { --page-bg: #fff; --nav-accent: #8a5700; }
body { background: var(--page-bg); }
#contenido { position: relative; z-index: 1; overflow-x: clip; }
.skip { z-index: 20; }
.masthead .site-header nav a:not(.button):is(:hover, [aria-current]) { color: var(--nav-accent); }
#quote-home .home-quote { padding: clamp(.8rem, 1.35vw, 1.15rem); }
#quote-home .quote-title { margin-bottom: .55rem; }
#quote-home .quote-title h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
#quote-home .quote-title > span { width: 2.35rem; height: 2.35rem; }
#quote-home .form-row, #quote-home .estimate { margin-top: .5rem; }
#quote-home .estimate { padding: .55rem .75rem; }
#quote-home .estimate strong { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
#quote-home .terms { margin-block: .4rem .55rem; }
@media (min-width: 62rem) {
  .home-screen .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(19rem, 27%); }
}
@media (min-width: 62rem) and (max-width: 67.99rem) {
  .masthead .site-header { column-gap: .55rem; }
  .masthead .site-header nav { padding-left: .65rem; gap: .25rem; }
  .masthead .site-header nav > .whatsapp { padding-inline: .55rem; }
  .masthead .brand { width: 12rem; }
}
@media (max-width: 35rem) {
  .masthead .site-header { gap: .35rem; }
  .masthead .brand { width: clamp(7.1rem, 37vw, 11rem); }
}

@media (min-width: 62rem) {
  .masthead .site-header > .menu-toggle { display: none; }
}
.screen:not(.home-screen) { position: relative; isolation: isolate; }
.geometry {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.screen:not(.home-screen) > .geometry {
  inset-inline: calc((100% - 100vw) / 2);
}
.hero-grid { position: relative; z-index: 1; }
.ceramic {
  --edge: 6px;
  --half-edge: 3px;
  --tile-side: min(var(--size), 23vw);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tile-side);
  height: var(--tile-side);
  transform: translate3d(var(--x0, 0px), var(--y0, 0px), 0);
  perspective: 420px;
}
.ceramic-rectangle { height: calc(var(--tile-side) * .57); }
.ceramic-solid {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateZ(var(--angle)) rotateX(29deg) rotateY(-24deg);
}
.ceramic-face { position: absolute; display: block; }
.ceramic-glaze, .ceramic-back { inset: 0; border-radius: 1px; }
.ceramic-glaze {
  transform: translateZ(var(--half-edge));
  border: 1px solid #51483b28;
  background:
    linear-gradient(145deg, #fffaf2a8, #fff2 34%, #74695e22),
    repeating-linear-gradient(155deg, transparent 0 17px, #fff3 18px, transparent 20px 27px),
    var(--tile-color);
  box-shadow: inset 1px 1px #fffb, inset -1px -1px #66534230;
}
.ceramic-back { background: #9c7d65; transform: translateZ(calc(-1 * var(--half-edge))); }
.ceramic-top, .ceramic-bottom { width: 100%; height: var(--edge); left: 0; background: linear-gradient(#ad917d, #7d6350); }
.ceramic-top { top: calc(-1 * var(--half-edge)); transform: rotateX(90deg); }
.ceramic-bottom { bottom: calc(-1 * var(--half-edge)); transform: rotateX(-90deg); }
.ceramic-left, .ceramic-right { width: var(--edge); height: 100%; top: 0; background: linear-gradient(90deg, #b89b81, #836856); }
.ceramic-left { left: calc(-1 * var(--half-edge)); transform: rotateY(-90deg); }
.ceramic-right { right: calc(-1 * var(--half-edge)); transform: rotateY(90deg); }
.ceramic-cut :is(.ceramic-glaze, .ceramic-back) { clip-path: polygon(0 0, 100% 100%, 0 100%); }
.ceramic-diagonal {
  top: calc(-1 * var(--half-edge));
  left: 0;
  width: 141.42%;
  height: var(--edge);
  background: linear-gradient(#b79b83, #816957);
  transform-origin: 0 50%;
  transform: rotateZ(45deg) rotateX(90deg);
}
.pieces-toggle {
  position: fixed;
  z-index: 3;
  inset: auto 1rem 1rem auto;
  min-height: 2.05rem;
  margin-inline-start: .4rem;
  padding: .18rem .55rem;
  border: 1px solid #ffffff8c;
  border-radius: .35rem;
  background: #151515;
  color: #fff;
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}
@media (prefers-reduced-motion: no-preference) {
  .ceramic { animation: ceramic-travel var(--duration) var(--delay) ease-in-out infinite paused; will-change: transform; }
  body:not(.pieces-paused) .geometry.in-view .ceramic { animation-play-state: running; }
  @keyframes ceramic-travel {
    0%, 100% { transform: translate3d(var(--x0, 0px), var(--y0, 0px), 0); }
    26% { transform: translate3d(var(--x1, 0px), var(--y1, 0px), 0); }
    51% { transform: translate3d(var(--x2, 0px), var(--y2, 0px), 0); }
    77% { transform: translate3d(var(--x3, 0px), var(--y3, 0px), 0); }
  }
}
.editorial-photo {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  border-radius: var(--radius-lg);
  background-color: var(--graphite);
  color: #fff;
}
.about-photo { min-height: 15rem; display: grid; }
.about-photo img { width: 100%; height: 100%; min-height: 15rem; object-fit: cover; }
.section-kicker { display: flex; gap: .5rem; align-items: center; margin-bottom: .55rem; color: var(--nav-accent); text-transform: uppercase; font-size: .8rem; letter-spacing: .075em; font-weight: 750; }
.section-kicker::before { content: ""; width: 1.55rem; height: 3px; flex: none; border-radius: 2px; background: var(--yellow); }
.about-copy h1, .contact-info h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
.section-lead { max-width: 52ch; color: var(--muted); }
.about-values > div { padding: .9rem; border: 1px solid var(--border); border-top: 3px solid var(--yellow); border-radius: .65rem; background: #fff; }
.about-values h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.contact-info { padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.contact-info ul { margin-block: .9rem 1rem; }
.contact-info li { display: grid; grid-template-columns: minmax(4.3rem, 26%) minmax(0, 1fr); gap: .5rem; padding-block: .55rem; border-bottom: 1px solid var(--border); margin: 0; }
.contact-info li > strong { font-size: .86rem; }
.contact-info li a { text-underline-offset: .18em; }
.contact-info li a:hover { color: var(--nav-accent); }
@media (min-width: 45rem) {
  .home-about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
  .contact-info { grid-row: auto; grid-column: auto; }
}
.home-screen { --wave-height: clamp(4.65rem, 9.4vw, 9.5rem); }
.home-screen .hero-grid { padding-bottom: max(3.3rem, calc(var(--wave-height) * .78)); }
@media (min-width: 62rem) {
  .masthead { box-shadow: none; }
  .masthead .site-header { padding-inline: .25rem; }
  .masthead .site-header nav { border-left-color: #c8c0af; }
  .hero-photo { inset: 0; height: auto; background-position: left top; background-size: cover; }
  .hero::before { display: none; }
  .hero-copy .eyebrow { font-weight: 650; }
}
.hero-benefits { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.hero-benefits li { display: flex; align-items: center; gap: .55rem; color: #fff; font-size: .9rem; line-height: 1.15; }
.hero-benefits li > span { display: grid; gap: .16rem; }
.hero-benefits svg { width: 2.1rem; height: 2.1rem; flex: 0 0 auto; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 44rem) {
  .hero-benefits li + li { border-inline-start: 1px solid #ffffff87; padding-inline-start: 1rem; }
}
:root { --masthead-height: var(--header-space); }
@media (min-width: 62rem) {
  .home-screen .hero-grid {
    min-height: max(0px, calc(100svh - var(--masthead-height) - .8rem));
    padding-top: clamp(1.25rem, 4.7svh, 3.1rem);
    padding-bottom: clamp(2.7rem, 8.5svh, 5rem);
    align-items: center;
  }
  .home-screen { --wave-height: clamp(4.85rem, 12svh, 8rem); }
}
@media (min-width: 62rem) and (max-height: 760px) {
  .home-screen .hero-grid { padding-top: 1rem; padding-bottom: 3.25rem; }
  .home-screen .hero h1 { font-size: clamp(2.65rem, 7.1svh, 3.65rem); }
  .home-screen .hero-benefits { margin-top: .7rem; }
  .home-screen .hero-copy .hero-actions { margin-top: .85rem; }
  #quote-home .estimate { gap: .1rem; }
}

.ceramic { opacity: .22; }
.ceramic-glaze { border-color: #3a3a3a55; background: linear-gradient(146deg, #969696, #4e4e4e 78%); box-shadow: inset 1px 1px #fff7, inset -1px -1px #24242465; }
.ceramic-back { background: #484848; }
.ceramic-top, .ceramic-bottom, .ceramic-diagonal { background: linear-gradient(#5c5c5c, #222); }
.ceramic-left, .ceramic-right { background: linear-gradient(90deg, #656565, #333); }

.home-services .services-layout { gap: clamp(.9rem, 2.3vw, 1.7rem); }
.service-picker {
  padding: .45rem;
  gap: .28rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 .45rem 1.25rem #1515150a;
}
.service-picker button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  border: 0;
  border-radius: .75rem;
  padding: .75rem .85rem;
  transition: background var(--fast), color var(--fast);
}
.service-picker button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.service-picker button[aria-pressed="true"]::after {
  content: "";
  flex: 0 0 .45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
}
.home-services .service-details { gap: 0; }
.services-layout .service-details article:not([hidden]) {
  order: -1;
  display: grid;
  gap: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 .65rem 1.6rem #15151513;
}
.home-services .slide-photo { border-radius: 0; min-height: clamp(13rem, 32vh, 20rem); }
.home-services .slide-photo:is(.tile-1, .tile-5) { background-image: url("../assets/portada-dcm.webp"); background-size: auto 165%; }
.home-services .slide-photo.tile-1 { background-position: right 79%; }
.home-services .slide-photo.tile-5 { background-position: right 35%; }
.home-services .detail-copy { padding: clamp(1rem, 2.5vw, 1.65rem); }
.home-services .detail-copy h3 { font-size: clamp(1.45rem, 3vw, 2rem); }
.home-services .detail-copy p { max-width: 50ch; margin-block: .6rem .85rem; color: var(--muted); }
.home-services .slider-controls { justify-content: flex-end; margin-top: .6rem; }
.home-services .slider-controls p { order: -1; margin-inline: 0 auto; color: var(--muted); }
.home-services .slider-controls .button { border-radius: 50%; width: 44px; padding: 0; font-size: 1.2rem; }
.quote-title > span { background: linear-gradient(155deg, #ffe360, #ffbe00 70%); }
.masthead .site-header nav a[aria-current] { text-decoration-color: #ffc300; }
.about-photo { height: clamp(15rem, 56vw, 23rem); }
.about-photo img { position: absolute; inset: 0; object-position: center; }
@media (min-width: 45rem) {
  .home-about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.masthead .site-header nav a:not(.button)[aria-current] {
  color: #935900;
  text-decoration-color: #ffbf00;
  text-decoration-thickness: .22em;
}
.quote-assembly { display: none; }
@media (prefers-reduced-motion: no-preference) {
  #quote-home .home-quote.is-assembling {
    position: relative;
    animation: quote-card-settle 1.65s both;
  }
  #quote-home .is-assembling .quote-assembly {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    animation: quote-tiles-reveal 1.65s both;
  }
  .quote-assembly path {
    stroke: #fff8e7;
    stroke-width: 1.8;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    transform-box: fill-box;
    transform-origin: center;
    animation: quote-tile-place .61s cubic-bezier(.18,.73,.18,1) both;
    animation-delay: calc(var(--step) * 58ms);
  }
  #quote-home .is-assembling > :not(.quote-assembly) {
    animation: quote-form-reveal .4s ease-out 1.10s both;
  }
  @keyframes quote-tile-place {
    from { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--tilt)) scale(.86); }
    24% { opacity: 1; }
    88% { transform: translate(0, 0) rotate(0) scale(1.012); }
    to { opacity: 1; transform: none; }
  }
  @keyframes quote-card-settle {
    0%, 61% { background: transparent; border-color: transparent; box-shadow: none; }
    83%, 100% { background: var(--white); border-color: var(--border); }
  }
  @keyframes quote-tiles-reveal {
    0%, 70% { opacity: 1; }
    94%, 100% { opacity: 0; }
  }
  @keyframes quote-form-reveal {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: none; }
  }
}
:root { --team-contact-photo-height: clamp(17rem, 42vh, 28rem); }
.home-services .slide-photo,
.home-services .slide-photo:is(.tile-1, .tile-5) {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  aspect-ratio: 480 / 328;
  background: radial-gradient(ellipse at 50% 58%, #fdfbf7, #eee7db);
}
.slide-photo svg { display: block; width: 100%; height: 100%; }
.home-services .slider-controls .room-replay { width: auto; padding-inline: .75rem; border-radius: var(--radius); font-size: .875rem; }
@media (prefers-reduced-motion: no-preference) {
  .room-tile, .room-coat, .room-paint {
    transform-box: fill-box;
    transform-origin: center;
    animation-delay: var(--room-delay);
    animation-fill-mode: both;
    animation-timing-function: ease-out;
  }
  .room-tile { animation-name: room-place; animation-duration: .38s; }
  .room-coat { animation-name: room-coat; animation-duration: .43s; }
  .room-paint { animation-name: room-paint; animation-duration: .55s; }
  @keyframes room-place {
    from { opacity: 0; transform: translateY(-20px) scale(.96); }
    to { opacity: 1; transform: none; }
  }
  @keyframes room-coat { from { opacity: 0; } to { opacity: 1; } }
  @keyframes room-paint {
    from { opacity: 0; clip-path: inset(0 100% 0 0); }
    15% { opacity: 1; }
    to { opacity: 1; clip-path: inset(0); }
  }
}
.slide-photo .room-step {
  position: absolute;
  inset: .7rem auto auto .7rem;
  max-width: calc(100% - 1.4rem);
  padding: .3rem .6rem;
  border: 1px solid #d8cbb5;
  border-radius: .45rem;
  background: #fcf9ef;
  color: var(--ink);
  font-size: clamp(.75rem, 1.5vw, .9rem);
  font-weight: 700;
}
.room-fixture-label { fill: #2b2d2b; stroke: #fffdf5; stroke-width: 3; paint-order: stroke; stroke-linejoin: round; font-size: 11px; font-weight: 750; }
@media (prefers-reduced-motion: no-preference) {
  .room-pipe {
    animation: room-trace .56s ease-out both;
    animation-delay: var(--room-delay);
  }
  @keyframes room-trace {
    from { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
    14% { opacity: 1; }
    to { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 1; }
  }
}
.home-services .slide-photo,
.home-services .slide-photo:is(.tile-1, .tile-5) {
  background: radial-gradient(ellipse at 47% 42%, #fffefa 0%, #eee6db 69%, #dbd0c2 100%);
}
.room-compare { display: flex; flex-wrap: wrap; gap: .4rem; }
.home-services .slider-controls .room-view { width: auto; padding-inline: .75rem; border-radius: var(--radius); font-size: .875rem; }
.room-view[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.slide-photo[data-room-mode="before"] :is(.room-tile, .room-coat, .room-paint, .room-pipe) { display: none; }
.slide-photo[data-room-mode="after"] :is(.room-tile, .room-coat, .room-paint, .room-pipe) { animation: none; }
.screen.home-services:not(.home-screen) { width: min(100% - 2rem, 96rem); }
.home-services .service-details { max-width: none; }
.services-layout .service-details article:not([hidden]) {
  align-items: start;
  gap: clamp(.75rem, 2vw, 1.5rem);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.service-info, .service-animation {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 .45rem 1.25rem #1515150a;
  overflow: hidden;
}
.service-image {
  aspect-ratio: 16 / 10;
  background-color: #787468;
  background-image: var(--service-image, url("../assets/portada-dcm.webp"));
  background-size: var(--service-image-size, 225% auto);
  background-position: var(--service-image-position, right 72%);
  background-repeat: no-repeat;
}
.service-animation .slide-photo { aspect-ratio: 480 / 328; }
.service-animation .slider-controls { padding: .65rem; margin: 0; border-top: 1px solid var(--border); }

.home-services .services-layout {
  --services-gap: clamp(.7rem, 1.35vw, 1.1rem);
  max-width: 68rem;
  margin-inline: auto;
  gap: var(--services-gap);
  align-items: start;
}
.services-layout .service-details article:not([hidden]) { gap: var(--services-gap); }
.service-image { aspect-ratio: 16 / 9; }
.home-services .detail-copy { padding: .9rem 1rem 1rem; }
.home-services .detail-copy h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.home-services .detail-copy p { font-size: .94rem; }
@media (max-width: 61.99rem) {
  .home-services .services-layout { max-width: 27rem; grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 62rem) {
  .home-services .services-layout {
    --services-panel-height: 25.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-services .service-details { grid-column: span 2; }
  .services-layout .service-details article:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-layout :is(.service-picker, .service-info, .service-animation) { height: var(--services-panel-height); }
  .service-picker { grid-template-rows: repeat(9, minmax(0, 1fr)); gap: .2rem; }
  .service-picker button { min-height: 0; height: 100%; padding: .4rem .65rem; font-size: .9rem; line-height: 1.2; }
  .service-info { display: flex; flex-direction: column; }
  .service-image { flex: 0 0 clamp(8rem, 15vw, 11rem); aspect-ratio: auto; }
  .home-services .detail-copy { overflow-y: auto; }
  .service-animation { display: flex; flex-direction: column; }
  .service-animation .slide-photo { flex: 1 1 0; min-height: 0; aspect-ratio: auto; overflow: hidden; }
  .service-animation .slide-photo svg { min-height: 0; }
  .service-animation .slider-controls { flex: 0 0 auto; gap: .3rem; }
  .service-animation .slider-controls p { font-size: .78rem; }
  .service-animation .slider-controls .button { min-height: 36px; width: 36px; }
  .service-animation .slider-controls :is(.room-view, .room-replay) { width: auto; padding-inline: .45rem; font-size: .75rem; }
}
.room-transient { opacity: 0; }
.slide-photo:not([data-room-mode="play"]) .room-transient { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .slide-photo[data-room-mode="play"] g.room-transient { opacity: 1; }
  .slide-photo[data-room-mode="play"] .room-debris {
    transform-box: fill-box;
    transform-origin: center;
    animation: service-debris .67s ease-out var(--room-delay) both;
  }
  .slide-photo[data-room-mode="play"] .room-sanding {
    animation: sanding-stroke .86s ease-in-out 2.16s both;
  }
  @keyframes service-debris {
    from { opacity: 0; transform: translate(0, 0) scale(.5); }
    19% { opacity: .83; }
    to { opacity: 0; transform: translate(var(--debris-x), var(--debris-y)) scale(.4); }
  }
  @keyframes sanding-stroke {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    15%, 72% { opacity: 1; }
    38% { transform: translate(15px, 3px); }
    64% { transform: translate(-7px, 9px); }
    85% { transform: translate(18px, 11px); }
  }
}
img.service-image { display: block; width: 100%; min-height: 0; object-fit: cover; }

.contact-logo, .contact-photo {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  height: clamp(21rem, 58vh, 37rem);
  padding: .35rem .5rem;
  background: #fff;
  color: var(--ink);
}
.contact-logo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.contact-logo figcaption, .contact-location { color: var(--muted); text-align: center; font-size: .875rem; }
.contact-photo::before {
  content: "";
  width: 100%;
  background: url("../assets/logo-dcm.webp") center / contain no-repeat;
}
.contact-location strong { display: none; }
.assembly-debris { pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .assembly-debris > * {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: assembly-dust .46s ease-out var(--delay) both;
  }
  .assembly-debris circle { fill: #9a968b; }
  .assembly-debris polygon { fill: #b78128; }
  .assembly-debris :nth-child(4n + 2) { fill: #494b4b; }
  .assembly-debris :nth-child(5n + 4) { fill: #27813c; }
  @keyframes assembly-dust {
    0% { opacity: 0; transform: translate(0, 0) scale(.48); }
    24% { opacity: .72; }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(74deg) scale(.18); }
  }
}
@media (max-width: 44.99rem) {
  .contact-logo, .contact-photo { height: clamp(17rem, 85vw, 27rem); }
}

.quote-visual img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
@media (min-width: 45rem) {
  .screen.home-about:not(.home-screen) { width: min(100% - 2rem, 70rem); }
  .quote-layout { align-items: center; }
}
@media (min-width: 45rem) {
  .home-about { align-items: stretch; align-content: start; }
  .home-about .about-photo, .home-about .about-photo img { min-height: 0; }
  .home-about .about-photo { height: clamp(17rem, 30vw, 27rem); align-self: center; }
}
.about-copy .section-lead + .section-lead { margin-top: .55rem; }
.about-copy .section-lead strong { color: var(--ink); }
.about-values { gap: .65rem; }
.about-values > div { padding: .7rem; }
.about-values p { font-size: .9rem; line-height: 1.42; }

@media (max-width: 44.99rem) {
  .home-screen .hero-grid { min-height: 0; }
  .quote-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-info { min-width: 0; }
  .service-picker button, .service-animation .slider-controls button { min-height: 44px; }
  .service-animation .slider-controls { justify-content: space-between; }
  .service-animation .room-compare { order: 2; flex: 1 1 100%; }
}
@media (max-width: 25rem) {
  .home-quote .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero-benefits li + li { padding-inline-start: 0; border-inline-start: 0; }
  .about-values { grid-template-columns: minmax(0, 1fr); }
  .contact-info li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}
.copy-phone {
  padding: .15rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.copy-phone:hover { color: var(--nav-accent); }
.copy-status { display: block; color: var(--muted); font-size: .82rem; }
