:root {
  --ink: #17211d;
  --muted: #66706b;
  --paper: #f7f4ee;
  --surface: #fffdf9;
  --line: #dcded7;
  --forest: #21483b;
  --forest-light: #376b58;
  --forest-dark: #101d18;
  --wood: #a7653f;
  --wood-soft: #efe0d2;
  --gold: #d8b371;
  --shadow-sm: 0 12px 30px rgba(22, 31, 27, .09);
  --shadow-lg: 0 28px 70px rgba(10, 20, 16, .19);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 "Avenir Next", Avenir, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0; line-height: 1.04; }
h1, h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
h1 { max-width: 10.5ch; font-size: clamp(3.8rem, 6.4vw, 6.8rem); }
h2 { max-width: 13ch; font-size: clamp(2.8rem, 4.8vw, 5rem); }
h3 { font-size: 1.3rem; }
section[id], nav[id] { scroll-margin-top: 88px; }
.project-showcase[id] { scroll-margin-top: 104px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
:where(a, button, input, select, textarea, [role="button"]):focus-visible {
  outline: 3px solid #efb654;
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  min-height: 78px;
  padding: 8px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid rgba(220, 222, 215, .72);
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
}
.brand img {
  width: 50px;
  height: 50px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 5px 16px rgba(12, 20, 16, .16);
}
.brand span { display: grid; gap: 0; line-height: 1; }
.brand strong { font-size: 1.06rem; letter-spacing: .08em; text-transform: uppercase; }
.brand small { margin-top: 6px; color: var(--muted); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.main-nav { display: flex; gap: 27px; align-items: center; color: #53605a; font-size: .9rem; font-weight: 700; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--forest);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  padding: 0 19px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest);
  font-size: .9rem;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}
.header-cta:hover { background: var(--forest-light); transform: translateY(-2px); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 10px;
  background: #fff;
}
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, .86fr) minmax(520px, 1.14fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  min-height: 730px;
  padding: clamp(66px, 8vw, 118px) clamp(18px, 6vw, 92px) 136px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(87, 132, 112, .28), transparent 29%),
    linear-gradient(135deg, #0e1915 0%, #173329 58%, #20483a 100%);
}
.hero::before {
  position: absolute;
  top: 8%;
  right: 48%;
  width: 1px;
  height: 84%;
  background: linear-gradient(transparent, rgba(255,255,255,.17), transparent);
  content: "";
}
.hero > * { min-width: 0; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--wood);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #e6cda9; }
.hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 1.12rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 23px;
  font-size: .93rem;
  font-weight: 850;
  line-height: 1.1;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--forest); }
.hero .btn-primary { color: #183025; background: #e9d2ad; }
.hero .btn-primary:hover { background: #f5e4c7; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline-dark { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-gold { color: #1b160e; background: var(--gold); }
.btn-whatsapp { color: #12351e; background: #85e3a7; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 34px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.67);
  list-style: none;
  font-size: .79rem;
  font-weight: 750;
}
.hero-proof li::before { margin-right: 8px; color: var(--gold); content: "●"; font-size: .55rem; }
.hero-image {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: 4px 96px 4px 4px;
}
.hero-image::before {
  position: absolute;
  top: -18px;
  right: -18px;
  bottom: 18px;
  left: 18px;
  z-index: -1;
  border: 1px solid rgba(230,205,169,.34);
  border-radius: 4px 104px 4px 4px;
  content: "";
}
.hero-image img {
  width: 100%;
  min-height: 470px;
  aspect-ratio: 16/11;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-lg);
}
.hero-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 8px;
  color: #fff;
  background: rgba(9, 19, 15, .8);
  backdrop-filter: blur(10px);
}
.hero-image figcaption span { color: rgba(255,255,255,.62); font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; }
.hero-image figcaption strong { font-size: .9rem; }

.service-selector {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1240px, calc(100% - 36px));
  margin: -70px auto 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.service-choice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 172px;
  padding: 30px 34px;
  transition: background .2s ease;
}
.service-choice-carpentry { color: var(--ink); background: #fffdf9; }
.service-choice-veneer { color: #fff; background: #9b5c3a; }
.service-choice-carpentry:hover { background: #f0eadf; }
.service-choice-veneer:hover { background: #ad6944; }
.service-number {
  align-self: start;
  color: var(--wood);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}
.service-choice-veneer .service-number { color: #f0d2a5; }
.service-copy { display: grid; gap: 5px; }
.service-copy small { color: var(--muted); font-size: .7rem; font-style: normal; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.service-choice-veneer .service-copy small { color: rgba(255,255,255,.64); }
.service-copy strong { font-family: Georgia, serif; font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 500; }
.service-copy em { max-width: 440px; color: var(--muted); font-size: .88rem; font-style: normal; }
.service-choice-veneer .service-copy em { color: rgba(255,255,255,.68); }
.service-arrow {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.15rem;
  transition: transform .2s ease;
}
.service-choice-veneer .service-arrow { border-color: rgba(255,255,255,.28); }
.service-choice:hover .service-arrow { transform: translate(3px, 3px); }

.section-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.work-area { padding: 132px 0 124px; }
.work-area,
.materials-section,
.coverage-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
.carpentry-area {
  background:
    linear-gradient(90deg, rgba(33,72,59,.035) 1px, transparent 1px),
    linear-gradient(rgba(33,72,59,.035) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
}
.veneer-area {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(177,107,68,.18), transparent 27%),
    var(--forest-dark);
}
.veneer-area::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--gold) 0 32%, var(--wood) 32% 100%);
  content: "";
}
.area-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .68fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  margin-bottom: 52px;
}
.area-header > div { display: grid; gap: 17px; }
.area-header > p { margin: 0 0 6px; color: var(--muted); font-size: 1.04rem; }
.veneer-area .area-header > p { color: rgba(255,255,255,.63); }
.section-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(33,72,59,.23);
  border-radius: 999px;
  padding: 6px 13px 6px 7px;
  color: var(--forest);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section-kicker span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--forest);
  font-size: .67rem;
}
.veneer-area .section-kicker { border-color: rgba(216,179,113,.35); color: var(--gold); }
.veneer-area .section-kicker span { color: #21180d; background: var(--gold); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 104px;
  counter-reset: service-card;
}
.service-cards article {
  position: relative;
  min-height: 215px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 72px 28px 28px;
  background: rgba(255,253,249,.94);
  box-shadow: 0 8px 26px rgba(24,34,29,.04);
  counter-increment: service-card;
}
.service-cards article::before {
  position: absolute;
  top: 22px;
  left: 27px;
  color: var(--wood);
  content: "0" counter(service-card);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.service-cards article::after {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(167,101,63,.16);
  border-radius: 50%;
  content: "";
}
.service-cards p { margin: 14px 0 0; color: var(--muted); font-size: .94rem; }

.gallery-heading {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.gallery-heading h3 {
  max-width: 620px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.025em;
}
.gallery-heading > p { max-width: 260px; margin: 0 0 5px; color: var(--muted); font-size: .9rem; text-align: right; }
.gallery-heading-dark > p { color: rgba(255,255,255,.58); }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 236px;
  gap: 15px;
}
.project-gallery figure,
.renovation-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #d9ddd6;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  isolation: isolate;
  transition: transform .42s cubic-bezier(.2,.75,.2,1), box-shadow .42s ease, border-radius .42s ease;
}
.project-gallery figure::after,
.renovation-gallery figure::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(112deg, transparent 30%, rgba(255,255,255,.2) 48%, transparent 65%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.project-gallery figure { grid-column: span 4; }
.project-gallery .gallery-featured {
  grid-column: span 7;
  grid-row: span 2;
  border-radius: 13px 54px 13px 13px;
}
.project-gallery figure:nth-child(2),
.project-gallery figure:nth-child(3) { grid-column: span 5; }
.project-gallery .gallery-wide { grid-column: span 8; }
.project-gallery .gallery-portrait { grid-column: span 4; grid-row: span 2; }
.project-gallery .gallery-design { grid-column: span 8; }
.project-gallery img,
.renovation-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.18,.72,.18,1), filter .45s ease;
}
.project-gallery figure:hover,
.renovation-gallery figure:hover {
  z-index: 2;
  border-radius: 18px;
  box-shadow: 0 28px 58px rgba(18,28,23,.2);
  transform: translateY(-6px);
}
.project-gallery figure:hover img,
.renovation-gallery figure:hover img { filter: saturate(1.06) contrast(1.03); transform: scale(1.055); }
.project-gallery figure:hover::after,
.renovation-gallery figure:hover::after { transform: translateX(120%); }
.project-gallery figcaption,
.renovation-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 2px;
  padding: 50px 20px 18px;
  color: #fff;
  background: linear-gradient(transparent, rgba(9,15,12,.82));
  transition: padding .38s ease, background .38s ease;
}
.project-gallery figure:hover figcaption,
.renovation-gallery figure:hover figcaption {
  padding-bottom: 24px;
  background: linear-gradient(transparent, rgba(9,15,12,.93));
}
.project-gallery figcaption small,
.renovation-gallery figcaption small {
  color: rgba(255,255,255,.64);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.project-gallery figcaption strong,
.renovation-gallery figcaption strong { font-size: .95rem; }
.gallery-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.gallery-cta p { margin: 0; color: var(--muted); font-size: .9rem; }
.gallery-cta a { color: var(--forest); font-weight: 850; }
.gallery-cta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.gallery-cta-dark { border-color: rgba(255,255,255,.14); }
.gallery-cta-dark p { color: rgba(255,255,255,.55); }
.gallery-cta-dark a { color: var(--gold); }

.process-block {
  display: grid;
  grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr);
  gap: 58px;
  margin-top: 104px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.process-block > div h3 { max-width: 360px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.process-block ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-block li {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px;
  background: rgba(255,253,249,.93);
}
.process-block li span { display: block; margin-bottom: 33px; color: var(--wood); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.process-block li strong { display: block; }
.process-block li p { margin: 8px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }

.veneer-summary {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 16px;
  margin-bottom: 104px;
}
.veneer-summary > * {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255,255,255,.04);
}
.veneer-summary > div {
  background:
    linear-gradient(135deg, rgba(216,179,113,.12), transparent 62%),
    rgba(255,255,255,.04);
}
.veneer-summary ul { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.veneer-summary li { position: relative; padding: 0 0 15px 29px; border-bottom: 1px solid rgba(255,255,255,.1); }
.veneer-summary li:last-child { padding-bottom: 0; border-bottom: 0; }
.veneer-summary li::before { position: absolute; left: 0; color: var(--gold); content: "✓"; font-weight: 900; }
.veneer-summary h3 { max-width: 400px; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.veneer-summary p { max-width: 570px; color: rgba(255,255,255,.63); }
.veneer-summary .btn { margin-top: 10px; }
.renovation-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.renovation-gallery figure { aspect-ratio: 3/2; border: 1px solid rgba(255,255,255,.12); background: #070b09; }
.process-dark { border-color: rgba(255,255,255,.14); }
.process-dark li { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.process-dark li span { color: var(--gold); }
.process-dark li p { color: rgba(255,255,255,.6); }

.materials-section {
  position: relative;
  padding: 112px 0;
  background:
    radial-gradient(circle at 4% 12%, rgba(167,101,63,.1), transparent 22%),
    #eee9df;
}
.materials-section::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(18px, calc((100% - 1180px) / 2));
  width: 3px;
  background: var(--wood);
  content: "";
}
.compact-header { margin-bottom: 32px; padding-left: 28px; }
.material-configurator {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(330px, .52fr);
  width: min(1420px, calc(100vw - 40px));
  min-height: 760px;
  margin-top: 44px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.configurator-stage {
  position: relative;
  min-width: 0;
  min-height: 760px;
  overflow: hidden;
  border: 1px solid rgba(33,72,59,.18);
  border-radius: 18px 0 0 18px;
  background-image:
    linear-gradient(rgba(19,38,31,.26), rgba(19,38,31,.26)),
    var(--model-preview, url("assets/galeria/proyecto-mueble-tv-iluminado.webp"));
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.configurator-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  touch-action: none;
  transition: opacity .45s ease;
}
.configurator-stage.is-ready .configurator-canvas { opacity: 1; }
.configurator-stage.has-fallback .configurator-canvas { display: none; }
.configurator-loading,
.configurator-fallback {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 30px;
  color: #fff;
  background: rgba(15,34,27,.76);
  text-align: center;
  backdrop-filter: blur(7px);
}
.configurator-loading[hidden],
.configurator-fallback[hidden] { display: none; }
.configurator-loading > span {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: configurator-spin .8s linear infinite;
}
.configurator-fallback strong { font-family: Georgia, serif; font-size: 1.6rem; }
.configurator-fallback span { max-width: 330px; color: rgba(255,255,255,.72); }
.configurator-fallback { background: rgba(15,34,27,.64); }
@keyframes configurator-spin { to { transform: rotate(360deg); } }
.configurator-stage-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 9px;
  padding: 11px 14px;
  color: #fff;
  background: rgba(15,32,26,.74);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.configurator-stage-label span { color: rgba(255,255,255,.63); font-size: .64rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.configurator-stage-label strong { font-size: .82rem; }
.configurator-stage-label small { margin-top: 5px; color: var(--gold); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.configurator-reference {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 174px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 11px;
  color: #fff;
  background: rgba(11,22,18,.88);
  box-shadow: 0 12px 30px rgba(4,10,7,.24);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.configurator-reference img { width: 100%; height: 96px; object-fit: cover; transition: opacity .25s ease; }
.configurator-reference figcaption { display: grid; gap: 1px; padding: 8px 10px 9px; }
.configurator-reference span { color: var(--gold); font-size: .53rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.configurator-reference strong { overflow: hidden; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.configurator-toolbar {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  pointer-events: none;
}
.configurator-model-nav { display: flex; gap: 7px; margin-right: auto; pointer-events: auto; }
.configurator-model-nav button {
  width: 42px;
  padding: 0;
  justify-content: center;
  font-size: 1rem;
}
.configurator-toolbar button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: rgba(15,32,26,.76);
  font-size: .73rem;
  font-weight: 850;
  pointer-events: auto;
  backdrop-filter: blur(8px);
}
.configurator-toolbar button:hover:not(:disabled) { background: rgba(33,72,59,.94); }
.configurator-toolbar button.is-off { color: rgba(255,255,255,.62); }
.configurator-toolbar button:disabled { visibility: hidden; }
.configurator-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-radius: 0 18px 18px 0;
  padding: clamp(28px, 3.4vw, 42px);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(167,101,63,.26), transparent 32%),
    var(--forest-dark);
  box-shadow: var(--shadow-lg);
}
.configurator-chip {
  width: max-content;
  margin: 0 0 18px;
  border: 1px solid rgba(216,179,113,.35);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--gold);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.configurator-panel h3 {
  max-width: 390px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -.025em;
}
.configurator-panel > p:not(.configurator-chip) {
  margin: 17px 0 22px;
  color: rgba(255,255,255,.65);
  font-size: .89rem;
}
.model-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 20px;
}
.model-selector button {
  display: grid;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 11px 10px;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.055);
  text-align: left;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.model-selector button:hover { border-color: rgba(255,255,255,.42); transform: translateY(-2px); }
.model-selector button.is-selected {
  border-color: var(--gold);
  color: #fff;
  background: rgba(216,179,113,.13);
  box-shadow: 0 0 0 2px rgba(216,179,113,.1);
}
.model-selector button > span {
  display: grid;
  grid-row: 1 / 3;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: #24190d;
  background: var(--gold);
  font-size: .85rem;
  font-weight: 900;
}
.model-selector strong { overflow: hidden; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.model-selector small { color: rgba(255,255,255,.42); font-size: .56rem; }
.selected-material {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 18px;
}
.selected-material span { color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.selected-material strong { color: #f3d59f; font-size: .93rem; }
.material-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.material-swatches button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 0;
  color: #fff;
  background: rgba(255,255,255,.06);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.material-swatches button:hover { border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.material-swatches button.is-selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(216,179,113,.22);
}
.material-swatches button.is-selected::after {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: #261a0c;
  background: var(--gold);
  content: "✓";
  font-size: .58rem;
  font-weight: 900;
}
.material-swatches img { width: 100%; height: 44px; object-fit: cover; }
.material-swatches span {
  display: block;
  overflow: hidden;
  padding: 6px 5px;
  font-size: .57rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.configurator-help {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 15px;
  margin: 18px 0;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  font-weight: 750;
}
.configurator-help span { display: inline-flex; align-items: center; gap: 6px; }
.configurator-help i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: var(--gold);
  font-style: normal;
}
.configurator-quote { width: 100%; margin-top: auto; color: #21180d; background: var(--gold); }
.configurator-quote:hover { background: #ebc981; }
.configurator-disclaimer { display: block; margin-top: 13px; color: rgba(255,255,255,.44); font-size: .63rem; line-height: 1.45; }
.materials-catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding-left: 28px;
}
.materials-catalog-heading h3 { font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; }
.materials-catalog-heading > p { margin: 0 0 4px; color: var(--muted); font-size: .86rem; }
.materials-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 11px;
  margin-top: 34px;
  padding-left: 28px;
}
.materials-grid button {
  overflow: hidden;
  border: 1px solid #d7d1c7;
  border-radius: 10px;
  padding: 0;
  color: var(--ink);
  background: #fffdf9;
  text-align: left;
  box-shadow: 0 8px 22px rgba(56,45,32,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.materials-grid button:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.materials-grid img { width: 100%; height: 125px; object-fit: cover; transition: transform .3s ease; }
.materials-grid button:hover img { transform: scale(1.04); }
.materials-grid span { display: block; padding: 12px 14px; font-size: .89rem; font-weight: 850; }

.coverage-section {
  padding: 116px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(119,166,148,.23), transparent 34%),
    linear-gradient(135deg, #1a362d, #254b3e 52%, #315762);
}
.coverage-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: end;
  margin-bottom: 44px;
}
.coverage-header .eyebrow { color: #dfc3a0; }
.coverage-header > p { margin: 0; color: rgba(255,255,255,.68); font-size: 1.03rem; }
.coverage-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.coverage-cards article {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 15px;
  padding: 38px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(8px);
}
.coverage-cards article::after {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.coverage-number { position: absolute; top: 33px; right: 34px; color: rgba(255,255,255,.24); font-family: Georgia, serif; font-size: 2.8rem; line-height: 1; }
.coverage-label { margin: 0 0 11px; color: #dfc3a0; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.coverage-cards h3 { max-width: 12ch; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; }
.coverage-cards article > p:not(.coverage-label) { max-width: 580px; color: rgba(255,255,255,.67); }
.coverage-cards ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 0; padding: 0; list-style: none; }
.coverage-cards li,
.coverage-services span {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.06);
  font-size: .79rem;
  font-weight: 750;
}
.coverage-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.coverage-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  border-radius: 12px;
  padding: 25px 30px;
  color: var(--ink);
  background: #f4eee4;
}
.coverage-cta div { display: grid; gap: 2px; }
.coverage-cta span { color: var(--muted); }
.btn-coverage { color: #fff; background: var(--forest); white-space: nowrap; }

.contact-section { padding: 116px 0; background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(42px, 8vw, 105px);
  align-items: start;
}
.contact-copy { position: sticky; top: 116px; }
.contact-copy h2 { font-size: clamp(2.7rem, 4.4vw, 4.5rem); }
.contact-copy p:not(.eyebrow) { color: var(--muted); }
.contact-copy .btn { margin-top: 18px; }
.contact-form {
  display: grid;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; color: #505c56; font-size: .87rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfaf7;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--forest-light); box-shadow: 0 0 0 3px rgba(55,107,88,.1); }
textarea { resize: vertical; }
.form-success { margin: 0; border: 1px solid #8eaa8c; border-radius: 8px; padding: 12px; color: #274a2d; background: #edf7ed; font-weight: 800; }
button:disabled { cursor: wait; opacity: .65; }

.scroll-brand {
  position: fixed;
  top: 96px;
  left: 18px;
  z-index: 19;
  width: 78px;
  height: 78px;
  opacity: 0;
  perspective: 700px;
  pointer-events: none;
  transform: translate3d(-110px, -12px, 0) scale(.72);
  transition: opacity .45s ease, transform .65s cubic-bezier(.2,.85,.2,1);
}
.scroll-brand.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}
.scroll-brand img,
.scroll-brand-depth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transform-style: preserve-3d;
}
.scroll-brand-depth {
  background: linear-gradient(135deg, #d9bd65, #7d4d19 58%, #e9d77e);
  box-shadow: 0 18px 35px rgba(8,17,13,.3), -7px 9px 0 #5e3d1b;
  transform: translate3d(-5px, 7px, -18px) rotateY(12deg);
}
.scroll-brand img {
  border: 1px solid rgba(255,231,151,.7);
  background: #050705;
  box-shadow: inset 0 0 18px rgba(234,207,111,.22);
  object-fit: cover;
}
.scroll-brand.is-visible img { animation: scroll-brand-float 5s ease-in-out infinite; }
.scroll-brand:hover img { animation-play-state: paused; transform: rotateX(-5deg) rotateY(-13deg) translateY(-3px); }
@keyframes scroll-brand-float {
  0%, 100% { transform: rotateX(3deg) rotateY(-8deg) translateY(0); }
  50% { transform: rotateX(-4deg) rotateY(10deg) translateY(-7px); }
}

.floating-socials { position: fixed; right: 18px; bottom: 22px; z-index: 30; display: grid; gap: 9px; }
.social {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
  font-weight: 900;
  transition: transform .18s ease;
}
.social svg {
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: currentColor;
}
.social.whatsapp svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.social.whatsapp .whatsapp-phone {
  fill: currentColor;
  stroke: none;
}
.social.instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}
.social.instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}
.social:hover { transform: translateY(-3px); }
.whatsapp { background: #25d366; }
.facebook { background: #1877f2; }
.instagram { background: linear-gradient(135deg, #833ab4, #e1306c, #fcb045); }

.image-modal {
  width: min(1180px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  border: 0;
  border-radius: 18px;
  padding: 0;
  color: #fff;
  background: #0b110e;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  overflow: hidden;
}
.image-modal[open] { animation: modal-enter .3s cubic-bezier(.2,.75,.2,1); }
.image-modal::backdrop { background: rgba(4,8,6,.88); backdrop-filter: blur(9px); }
.modal-media {
  display: grid;
  min-height: 280px;
  place-items: center;
  background: #070a08;
  overflow: hidden;
  touch-action: pan-y;
  transition: opacity .15s ease, transform .15s ease;
}
.modal-media.is-changing {
  opacity: 0;
  transform: translateX(var(--gallery-shift, -24px));
}
.image-modal img { width: 100%; max-height: calc(100vh - 116px); object-fit: contain; }
.modal-caption { display: flex; min-height: 76px; align-items: center; gap: 18px; padding: 15px 70px 15px 22px; background: linear-gradient(90deg, #101d18, #172a22); }
.image-modal h3 { padding: 0; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 500; }
.modal-counter { color: var(--gold); font-size: .68rem; font-weight: 900; letter-spacing: .13em; white-space: nowrap; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(15,20,17,.82);
  font-size: 1.5rem;
  transition: background .2s ease, transform .2s ease;
}
.modal-close:hover { background: var(--forest); transform: rotate(8deg); }
.modal-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(12,25,20,.78);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}
.image-modal.has-navigation .modal-nav { display: grid; }
.modal-prev { left: 16px; }
.modal-next { right: 16px; }
.modal-nav:hover { background: var(--forest); transform: translateY(-50%) scale(1.08); }
@keyframes modal-enter {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 31px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: .88rem;
}
.site-footer p { margin: 0; color: var(--muted); }

@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .hero { grid-template-columns: minmax(330px, .9fr) minmax(430px, 1.1fr); }
  .project-gallery { grid-auto-rows: 210px; }
  .materials-grid { grid-template-columns: repeat(4, 1fr); }
  .material-configurator { grid-template-columns: minmax(0, 1fr) minmax(330px, .62fr); }
  .process-block { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 8px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .main-nav a::after { display: none; }
  .hero { grid-template-columns: 1fr; padding-bottom: 132px; }
  .hero::before { display: none; }
  .hero-copy { max-width: 760px; }
  .hero-image img { min-height: 0; max-height: 590px; }
  .service-choice { padding: 26px; }
  .service-arrow { display: none; }
  .area-header { grid-template-columns: 1fr; gap: 24px; }
  .area-header > p { max-width: 650px; }
  .project-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .project-gallery figure,
  .project-gallery figure:nth-child(2),
  .project-gallery figure:nth-child(3) { grid-column: span 1; }
  .project-gallery .gallery-featured { grid-column: 1 / -1; grid-row: span 2; }
  .project-gallery .gallery-wide { grid-column: 1 / -1; }
  .project-gallery .gallery-portrait { grid-column: span 1; grid-row: span 2; }
  .project-gallery .gallery-design { grid-column: span 1; }
  .material-configurator { grid-template-columns: 1fr; }
  .configurator-stage { min-height: 650px; border-radius: 18px 18px 0 0; }
  .configurator-panel { border-radius: 0 0 18px 18px; }
  .configurator-panel h3 { max-width: 560px; }
  .model-selector { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .materials-grid { grid-template-columns: repeat(3, 1fr); }
  .process-block ol { grid-template-columns: repeat(2, 1fr); }
  .contact-copy { position: static; }
}

@media (max-width: 680px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 70px; }
  .header-cta { display: none; }
  .brand img { width: 44px; height: 44px; }
  .brand small { display: none; }
  h1 { max-width: none; font-size: clamp(3rem, 14vw, 4.3rem); }
  h2 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .hero { padding: 58px 18px 82px; }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; gap: 8px; }
  .hero-image { margin-top: 10px; border-radius: 4px 54px 4px 4px; }
  .hero-image::before { top: -10px; right: -8px; bottom: 9px; left: 9px; border-radius: 4px 59px 4px 4px; }
  .hero-image img { aspect-ratio: 4/3; }
  .hero-image figcaption { right: 13px; bottom: 13px; min-width: 0; padding: 11px 13px; }
  .service-selector { grid-template-columns: 1fr; width: 100%; margin: 0; border-radius: 0; }
  .service-choice { min-height: 150px; padding: 26px 20px; }
  .work-area { padding: 84px 0; }
  .area-header { margin-bottom: 36px; }
  .service-cards,
  .veneer-summary,
  .coverage-header,
  .coverage-cards,
  .contact-grid,
  .form-row { grid-template-columns: 1fr; }
  .service-cards { gap: 10px; margin-bottom: 72px; }
  .service-cards article { min-height: 0; padding: 65px 23px 24px; }
  .gallery-heading { align-items: start; flex-direction: column; gap: 12px; }
  .gallery-heading > p { max-width: none; text-align: left; }
  .project-gallery { grid-template-columns: 1fr; grid-auto-rows: 290px; }
  .project-gallery figure,
  .project-gallery figure:nth-child(2),
  .project-gallery figure:nth-child(3),
  .project-gallery .gallery-featured,
  .project-gallery .gallery-wide,
  .project-gallery .gallery-portrait,
  .project-gallery .gallery-design { grid-column: auto; grid-row: auto; border-radius: 11px; }
  .gallery-cta { align-items: start; flex-direction: column; gap: 8px; }
  .process-block { margin-top: 72px; }
  .process-block ol { grid-template-columns: 1fr; }
  .process-block li { min-height: 0; }
  .process-block li span { margin-bottom: 20px; }
  .materials-section, .contact-section { padding: 84px 0; }
  .materials-section::before { display: none; }
  .compact-header,
  .material-configurator,
  .materials-catalog-heading,
  .materials-grid { padding-left: 0; }
  .material-configurator { margin-top: 35px; }
  .configurator-stage { min-height: 560px; }
  .configurator-stage-label { top: 13px; left: 13px; }
  .configurator-reference { top: 13px; right: 13px; width: 132px; }
  .configurator-reference img { height: 72px; }
  .configurator-reference figcaption { padding: 6px 8px 7px; }
  .configurator-reference strong { font-size: .58rem; }
  .configurator-toolbar { right: 11px; bottom: 11px; left: 11px; }
  .configurator-toolbar button { min-height: 38px; padding: 0 11px; font-size: .67rem; }
  .configurator-panel { padding: 27px 22px; }
  .material-swatches img { height: 40px; }
  .materials-catalog-heading { align-items: start; flex-direction: column; gap: 8px; margin-top: 56px; }
  .materials-catalog-heading > p { margin: 0; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .materials-grid img { height: 105px; }
  .veneer-summary { margin-bottom: 72px; }
  .renovation-gallery { grid-template-columns: 1fr; }
  .renovation-gallery figure { aspect-ratio: 3/2; }
  .coverage-section { padding: 84px 0; }
  .coverage-cards article { min-height: 0; padding: 28px; }
  .coverage-number { top: 26px; right: 25px; font-size: 2rem; }
  .coverage-cta { align-items: stretch; flex-direction: column; }
  .coverage-cta .btn { width: 100%; }
  .floating-socials { right: 10px; bottom: 11px; }
  .scroll-brand { top: 82px; left: 10px; width: 58px; height: 58px; }
  .modal-nav { width: 42px; height: 42px; }
  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
  .modal-caption { padding: 14px 18px; }
  .social { width: 43px; height: 43px; }
  .floating-socials .facebook,
  .floating-socials .instagram { display: none; }
  .floating-socials {
    transition: opacity .2s ease, transform .2s ease;
  }
  .configurator-in-view .floating-socials {
    opacity: 0;
    pointer-events: none;
    transform: translateX(58px);
  }
}

@media (max-width: 480px) {
  .material-configurator { width: calc(100vw - 20px); }
  .configurator-stage { min-height: 530px; }
  .configurator-reference { top: 100px; width: 120px; }
  .configurator-toolbar { flex-wrap: wrap; align-items: center; }
  .configurator-model-nav { margin-right: auto; }
  .configurator-toolbar button { min-height: 36px; font-size: .61rem; }
  .model-selector { grid-template-columns: 1fr; }
  .material-swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .image-modal { width: calc(100% - 12px); max-height: calc(100vh - 12px); }
  .modal-caption { min-height: 68px; }
  .modal-caption h3 { font-size: 1rem; }
}

@media (max-width: 390px) {
  .brand strong { font-size: .92rem; }
  .service-choice { grid-template-columns: auto 1fr; gap: 15px; }
  .materials-grid { grid-template-columns: 1fr 1fr; }
  .configurator-stage { min-height: 500px; }
  .configurator-stage-label { max-width: calc(100% - 26px); }
  .configurator-reference { top: 100px; width: 118px; }
  .configurator-toolbar { justify-content: space-between; }
  .configurator-toolbar button { padding: 0 9px; }
  .configurator-help { display: grid; }
  .model-selector { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .scroll-brand.is-visible img { animation: none; }
}
