:root {
  color-scheme: light;
  --bg: #f4f2ed;
  --surface: #ffffff;
  --surface-soft: #ebe8df;
  --ink: #171817;
  --muted: #68706b;
  --line: rgba(44, 55, 49, 0.16);
  --brand: #3e5e52;
  --brand-dark: #233a32;
  --warm: #b68a56;
  --shadow: 0 24px 70px rgba(23, 24, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Skip link para accesibilidad */
.skip-link {
  position: absolute;
  top: -100%;
  left: 18px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 200ms ease;
}

.skip-link:focus {
  top: 0;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background:
    linear-gradient(90deg, rgba(244, 242, 237, 0.95), rgba(244, 242, 237, 0.82) 38%, rgba(244, 242, 237, 0.95)),
    linear-gradient(180deg, transparent, rgba(62, 94, 82, 0.10)),
    url("./assets/thumbs/material-calacatta.png");
  background-attachment: fixed, fixed, fixed;
  background-position: center;
  background-size: auto, auto, 520px;
  color: var(--ink);
}

main {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(244, 242, 237, 0.20), rgba(244, 242, 237, 0.72) 48%, rgba(244, 242, 237, 0.32));
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 16px clamp(14px, 4vw, 42px) auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(23, 24, 23, 0.10);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.site-header:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 48px rgba(23, 24, 23, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  transition: transform 220ms ease;
}

.brand:hover {
  transform: translateX(2px);
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  transition: transform 380ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand-mark circle {
  fill: var(--ink);
}

.brand-mark text {
  fill: white;
  font-family: Georgia, serif;
  font-size: 118px;
  font-weight: 700;
  text-anchor: middle;
}

.brand-mark__small {
  fill: var(--brand) !important;
}

.brand-mark__small-text {
  font-size: 82px !important;
}

.brand small,
.hero__content p,
.section__intro p,
.mini-designer__content p,
.feature p,
.contact p {
  display: block;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--brand-dark);
  font-weight: 800;
}

nav a {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  isolation: isolate;
  transition: color 220ms ease, transform 220ms ease;
}

nav a::before {
  content: "";
  position: absolute;
  inset: 3px -9px;
  z-index: -1;
  border-radius: 8px;
  background: rgba(62, 94, 82, 0.08);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 220ms ease, transform 220ms ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--warm), var(--brand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

nav a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}

nav a.is-current {
  color: var(--brand);
}

nav a:hover::before,
nav a.is-current::before {
  opacity: 1;
  transform: scaleX(1);
}

nav a:hover::after,
nav a.is-current::after {
  transform: scaleX(1);
}

.internal-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.62);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.internal-link::after {
  display: none;
}

.internal-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}

.internal-link.is-current::before {
  opacity: 0;
}

.site-header .site-note {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: 132px clamp(18px, 5vw, 56px) 62px;
  isolation: isolate;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(244, 242, 237, 0.94), rgba(244, 242, 237, 0.68) 42%, rgba(244, 242, 237, 0.10)),
    linear-gradient(0deg, rgba(23, 24, 23, 0.30), transparent 48%);
}

.hero__content {
  max-width: 710px;
}

.hero__content > span,
.section__intro > span,
.feature span,
.contact > div > span {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.hero__content > span {
  max-width: 650px;
  color: #39413c;
}

.site-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(62, 94, 82, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-top: 10px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.97;
  letter-spacing: -0.02em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 28px;
  padding: 0 19px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(35, 58, 50, 0.24);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button:hover {
  transform: translateY(-3px);
  background: #2f4d43;
  box-shadow: 0 20px 44px rgba(35, 58, 50, 0.30);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.76);
  color: var(--brand-dark);
  border: 1px solid rgba(62, 94, 82, 0.22);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip {
  position: absolute;
  left: clamp(18px, 5vw, 56px);
  right: clamp(18px, 5vw, 56px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(14px);
}

.trust-strip span {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 200ms ease, color 200ms ease;
}

.trust-strip span svg {
  flex-shrink: 0;
  color: var(--warm);
  transition: transform 220ms ease;
}

.trust-strip span:hover {
  background: rgba(62, 94, 82, 0.06);
}

.trust-strip span:hover svg {
  transform: scale(1.15);
}

.trust-strip span + span {
  border-left: 1px solid var(--line);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 82px clamp(18px, 5vw, 56px);
  scroll-margin-top: 106px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.52), transparent 34%),
    repeating-linear-gradient(90deg, rgba(62, 94, 82, 0.045) 0 1px, transparent 1px 94px);
  pointer-events: none;
}

.section::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-220px, -12vw, -90px);
  top: 7%;
  width: min(560px, 42vw);
  height: 86%;
  border-left: 1px solid rgba(62, 94, 82, 0.10);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.06)),
    url("./assets/thumbs/material-travertino.png");
  background-position: center;
  background-size: cover;
  opacity: 0.13;
  transform: skewX(-10deg);
  pointer-events: none;
}

.section__intro {
  position: relative;
  max-width: 880px;
}

h2 {
  margin-top: 8px;
  font-size: clamp(29px, 4vw, 48px);
  line-height: 1.06;
}

.mini-designer {
  position: relative;
  background:
    linear-gradient(90deg, rgba(244, 242, 237, 0.98), rgba(255, 255, 255, 0.84) 52%, rgba(62, 94, 82, 0.14)),
    url("./assets/previews/cocina-lineal-blanco-aplacado-madera-clara.jpg");
  background-position: center;
  background-size: cover;
}

.mini-designer::after {
  content: "";
  position: absolute;
  right: -9vw;
  top: 12%;
  width: min(520px, 38vw);
  height: 68%;
  background-image: url("./assets/thumbs/material-calacatta.png");
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  transform: skewX(-9deg);
  pointer-events: none;
}

#trabajos {
  background:
    linear-gradient(180deg, rgba(244, 242, 237, 0.96), rgba(244, 242, 237, 0.88)),
    url("./assets/cocina-piedra-detalle.png");
  background-position: center;
  background-size: cover;
}

#trabajos::after {
  left: clamp(-240px, -16vw, -120px);
  right: auto;
  width: min(650px, 46vw);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.42)),
    url("./assets/previews/cocina-isla-travertino-aplacado.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.11;
}

.mini-designer__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: 36px;
}

.mini-designer__preview {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #171817;
  box-shadow: var(--shadow);
}

.mini-designer__preview::after {
  content: "Abrir diseñador";
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.mini-designer__preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 700ms ease;
}

.mini-designer__preview:hover img {
  transform: scale(1.035);
}

.mini-designer__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
}

.mini-designer__content h3 {
  margin-top: 8px;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.04;
}

.mini-designer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.mini-designer__chips span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.services article {
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgba(23, 24, 23, 0.06);
  backdrop-filter: blur(12px);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.services article::before {
  content: "";
  display: block;
  height: 118px;
  margin: -24px -24px 22px;
  background:
    linear-gradient(180deg, rgba(23, 24, 23, 0.04), rgba(23, 24, 23, 0.22)),
    var(--service-image);
  background-position: center;
  background-size: cover;
}

.services article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(23, 24, 23, 0.12);
}

.services span {
  color: var(--warm);
  font-weight: 900;
}

h3 {
  font-size: 22px;
}

.services h3 {
  margin-top: 42px;
}

.services p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: 38px;
  align-items: center;
  margin-top: 64px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 60px rgba(23, 24, 23, 0.08);
  backdrop-filter: blur(14px);
}

.feature > div {
  padding: clamp(0px, 2vw, 20px);
}

.feature span {
  color: var(--muted);
}

.materials-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(17, 19, 16, 0.98), rgba(17, 19, 16, 0.86)),
    url("./assets/previews/barra-bar-negra-aplacado.jpg");
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  color: white;
}

.materials-section::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(62, 94, 82, 0.20)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 120px);
}

.materials-section::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent),
    url("./assets/thumbs/material-negra.png");
  opacity: 0.18;
}

.materials-section .section__intro p {
  color: #dce8e1;
}

.material-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.material-list article {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.26)),
    #20231f;
  isolation: isolate;
  cursor: default;
}

.material-list article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--material-image);
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  transform: scale(1.04);
  transition: transform 800ms ease, opacity 800ms ease;
}

.material-list article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.42) 62%, rgba(0, 0, 0, 0.84)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent);
  transition: background 800ms ease;
}

.material-list article:hover::before {
  opacity: 0.82;
  transform: scale(1.10);
}

.material-list__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 22px;
  transform: translateY(12px);
  transition: transform 400ms ease;
}

.material-list article:hover .material-list__body {
  transform: translateY(0);
}

.material-list strong {
  font-size: 20px;
  line-height: 1.08;
  color: white;
}

.material-list p {
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.5;
  font-size: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 360ms ease 60ms, transform 360ms ease 60ms;
}

.material-list article:hover p {
  opacity: 1;
  transform: none;
}

.process {
  background:
    linear-gradient(90deg, rgba(244, 242, 237, 0.98), rgba(255, 255, 255, 0.78)),
    url("./assets/previews/cocina-lineal-calacatta-aplacado-madera-clara-brillo.jpg");
  background-position: center;
  background-size: cover;
}

.process::after {
  left: auto;
  right: clamp(-250px, -16vw, -120px);
  width: min(720px, 52vw);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58), transparent),
    url("./assets/previews/cocina-lineal-gris-aplacado-grafito.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.12;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  counter-reset: step;
}

.process-steps article {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 42px rgba(23, 24, 23, 0.05);
  backdrop-filter: blur(10px);
}

.process-steps article::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 84px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--warm), var(--brand));
  opacity: 0.72;
}

.process-steps span {
  color: var(--warm);
  font-weight: 900;
}

.process-steps h3 {
  margin-top: 70px;
  font-size: 20px;
}

.process-steps p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.designer {
  margin-top: 64px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(23, 24, 23, 0.08);
}

.designer__intro {
  display: grid;
  gap: 8px;
  max-width: 850px;
}

.designer__intro p,
.designer__caption p {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.designer__intro span,
.designer__caption span {
  color: var(--muted);
  line-height: 1.5;
}

.designer__workspace {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.designer__controls {
  display: grid;
  align-content: start;
  gap: 20px;
}

.designer__controls strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.designer__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.designer-choice {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.designer-choice span:not(.designer-swatch) {
  display: grid;
  gap: 1px;
  text-align: left;
}

.designer-choice small {
  color: inherit;
  opacity: 0.62;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.designer-choice.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
}

.designer-swatch {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(23, 24, 23, 0.22);
  border-radius: 999px;
  background: var(--choice-swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.designer__stage {
  min-width: 0;
}

.designer-render {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(135deg, #eee9df, #d8d0c1);
  box-shadow: var(--shadow);
}

.render-room {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.render-room::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.42), transparent 26%),
    linear-gradient(90deg, rgba(255,255,255,.20), transparent 45%, rgba(23,24,23,.10));
  pointer-events: none;
}

.render-layer {
  position: absolute;
  display: block;
}

.render-wall {
  inset: 0 0 34%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.78), rgba(238,234,225,.90)),
    #eee9df;
}

.render-floor {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  clip-path: polygon(0 100%, 100% 100%, 84% 21%, 13% 21%);
  background:
    linear-gradient(135deg, rgba(255,255,255,.25), transparent 32%),
    linear-gradient(90deg, #cfc6b8, #e3dbcf);
}

.render-window {
  left: 68%;
  top: 10%;
  width: 18%;
  height: 22%;
  background: #dce8e1;
  border: 3px solid rgba(35, 58, 50, 0.26);
  border-radius: 4px;
  box-shadow: inset 0 0 22px rgba(255,255,255,.72);
}

.render-rug {
  left: 26%;
  top: 82%;
  width: 38%;
  height: 8%;
  border-radius: 999px;
  background: rgba(55, 58, 54, .10);
  filter: blur(3px);
}

.cabinet-main,
.cabinet-tall,
.cabinet-island,
.bar-leg,
.low-bench,
.stair-side {
  background: var(--cabinet-material);
  border: 1px solid rgba(30, 32, 30, 0.18);
  box-shadow: 0 18px 36px rgba(23, 24, 23, 0.18);
}

.cabinet-main {
  left: 15%;
  top: 61%;
  width: 58%;
  height: 20%;
  border-radius: 0 0 8px 8px;
}

.cabinet-tall {
  left: 75%;
  top: 36%;
  width: 11%;
  height: 45%;
  border-radius: 8px;
}

.cabinet-island {
  display: none;
}

.bar-leg {
  display: none;
}

.stone-mask {
  overflow: hidden;
  background: var(--stone-material);
  border: 1px solid rgba(30, 32, 30, 0.24);
  border-radius: 4px;
  box-shadow: 0 18px 38px rgba(23, 24, 23, 0.24);
}

.stone-mask small {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: rgba(35, 58, 50, 0.58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  mix-blend-mode: multiply;
}

.stone-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.finish--brillo .stone-mask::after,
.finish--pulido .stone-mask::after {
  background: linear-gradient(112deg, transparent 0 34%, rgba(255, 255, 255, 0.46) 42%, transparent 54%);
}

.finish--mate .stone-mask {
  filter: saturate(0.86) contrast(0.95);
  box-shadow: 0 10px 24px rgba(23, 24, 23, 0.11);
}

.finish--satinado .stone-mask::after {
  background: linear-gradient(112deg, transparent 0 38%, rgba(255, 255, 255, 0.22) 48%, transparent 62%);
}

.finish--texturizado .stone-mask::after {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(28, 30, 28, 0.08) 0 1px, transparent 1px 8px);
}

.stone-counter {
  left: 13%;
  top: 55%;
  width: 61%;
  height: 7%;
}

.stone-backsplash,
.stone-island,
.stone-bar {
  display: none;
}

.stone-backsplash {
  left: 15%;
  top: 34%;
  width: 57%;
  height: 18%;
  box-shadow: 0 12px 30px rgba(23, 24, 23, 0.16);
}

.scene--backsplash .stone-backsplash,
.scene--bar .stone-backsplash {
  display: block;
}

.scene--island .cabinet-island {
  display: block;
  left: 31%;
  top: 78%;
  width: 40%;
  height: 14%;
  clip-path: polygon(7% 0, 100% 0, 92% 100%, 0 100%);
}

.scene--island .stone-island {
  display: block;
  left: 27%;
  top: 70%;
  width: 50%;
  height: 10%;
  clip-path: polygon(0 26%, 88% 0, 100% 70%, 13% 100%);
}

.scene--bar .stone-bar {
  display: block;
  left: 54%;
  top: 53%;
  width: 35%;
  height: 7%;
  clip-path: polygon(0 12%, 100% 0, 91% 100%, 6% 100%);
}

.scene--bar .bar-leg {
  display: block;
  left: 82%;
  top: 61%;
  width: 4%;
  height: 24%;
}

.stone-wall-panel,
.stone-fire-panel {
  left: 28%;
  top: 11%;
  width: 44%;
  height: 60%;
}

.low-bench {
  left: 32%;
  top: 74%;
  width: 36%;
  height: 8%;
  border-radius: 8px;
}

.firebox {
  left: 39%;
  top: 36%;
  width: 22%;
  height: 22%;
  background: #151615;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.scene--wall .render-window,
.scene--fireplace .render-window,
.scene--stairs .render-window,
.scene--wall .cabinet-main,
.scene--wall .cabinet-tall,
.scene--wall .stone-counter,
.scene--fireplace .cabinet-main,
.scene--fireplace .cabinet-tall,
.scene--fireplace .stone-counter,
.scene--stairs .cabinet-main,
.scene--stairs .cabinet-tall,
.scene--stairs .stone-counter {
  display: none;
}

.stone-step {
  left: 20%;
  width: 58%;
  height: 7%;
  clip-path: polygon(0 20%, 88% 0, 100% 68%, 12% 100%);
}

.step-1 { top: 74%; }
.step-2 { top: 63%; left: 25%; width: 52%; }
.step-3 { top: 52%; left: 30%; width: 45%; }
.step-4 { top: 41%; left: 35%; width: 38%; }
.step-5 { top: 30%; left: 40%; width: 30%; }

.stair-side {
  left: 23%;
  top: 82%;
  width: 60%;
  height: 7%;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
}

.render-shadow {
  left: 12%;
  right: 9%;
  bottom: 5%;
  height: 8%;
  border-radius: 999px;
  background: rgba(23, 24, 23, 0.16);
  filter: blur(18px);
}

.view--iso .cabinet-main {
  top: 63%;
  clip-path: polygon(0 10%, 86% 0, 100% 100%, 10% 100%);
}

.view--iso .stone-counter {
  top: 55%;
  height: 9%;
  clip-path: polygon(0 24%, 86% 0, 100% 70%, 12% 100%);
}

.view--iso .stone-backsplash {
  transform: skewX(-8deg);
}

.view--detail .render-window,
.view--detail .render-rug,
.view--detail .cabinet-tall,
.view--detail .render-floor {
  display: none;
}

.view--detail .stone-counter,
.view--detail .stone-backsplash,
.view--detail .stone-island,
.view--detail .stone-bar,
.view--detail .stone-wall-panel,
.view--detail .stone-fire-panel,
.view--detail .stone-step {
  left: 10%;
  top: 22%;
  width: 80%;
  height: 48%;
  display: block;
  clip-path: none;
}

.view--detail .stone-mask small {
  font-size: 13px;
}

.scene--straight.view--detail .stone-backsplash,
.scene--straight.view--detail .stone-island,
.scene--straight.view--detail .stone-bar,
.scene--backsplash.view--detail .stone-counter,
.scene--backsplash.view--detail .stone-island,
.scene--backsplash.view--detail .stone-bar,
.scene--island.view--detail .stone-counter,
.scene--island.view--detail .stone-backsplash,
.scene--island.view--detail .stone-bar,
.scene--bar.view--detail .stone-counter,
.scene--bar.view--detail .stone-backsplash,
.scene--bar.view--detail .stone-island {
  display: none;
}

.view--detail .cabinet-main,
.view--detail .cabinet-island,
.view--detail .low-bench,
.view--detail .stair-side {
  left: 16%;
  top: 74%;
  width: 68%;
  height: 11%;
  display: block;
  clip-path: none;
}

.designer__caption {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.designer__caption h3 {
  margin-top: 0;
  font-size: 26px;
}

.feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 700ms ease, filter 700ms ease;
}

.feature:hover img {
  transform: scale(1.015);
  filter: saturate(1.04) contrast(1.02);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand-dark);
  font-weight: 900;
  border-bottom: 2px solid var(--brand);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 30px;
  padding: 70px clamp(18px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(35, 58, 50, 0.98), rgba(35, 58, 50, 0.88)),
    url("./assets/previews/barra-bar-calacatta-aplacado.jpg");
  background-position: center;
  background-size: cover;
  color: white;
}

.contact::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 110px);
}

.contact p {
  color: #dce8e1;
}

.contact > div > span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-top: 18px;
  margin-bottom: 28px;
}

.contact__items {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 10px;
}

.contact-card {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
  text-decoration: none;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.contact-card small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card strong {
  color: white;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.25;
  word-break: break-word;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.4;
}

.contact-card--maps strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
}

/* ── Formulario de contacto ── */
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form__field {
  display: grid;
  gap: 6px;
}

.contact-form__field label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: inherit;
  font-size: 15px;
  transition: border-color 220ms ease, background 220ms ease;
  outline: none;
  appearance: none;
  box-sizing: border-box;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.contact-form__field select option {
  background: var(--brand-dark);
  color: white;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: rgba(182, 138, 86, 0.80);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form__field input.has-error,
.contact-form__field select.has-error,
.contact-form__field textarea.has-error {
  border-color: rgba(220, 80, 80, 0.72);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

.contact-form__submit {
  margin-top: 4px;
  align-self: start;
  gap: 8px;
  width: fit-content;
}

.contact-form__submit[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

.cf-feedback {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  min-height: 20px;
}

.cf-feedback.is-success {
  color: #9de8be;
}

.cf-feedback.is-error {
  color: #f0a0a0;
}

footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 34px clamp(18px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(17, 19, 16, 0.98), rgba(17, 19, 16, 0.92)),
    url("./assets/thumbs/material-negra.png");
  background-position: center;
  background-size: 520px;
  color: rgba(255, 255, 255, 0.62);
}

footer strong,
footer span,
footer a {
  display: block;
}

footer strong {
  color: white;
  font-size: 16px;
}

footer span {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.45;
}

footer > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  font-size: 13px;
  font-weight: 900;
}

.has-reveal .section__intro,
.has-reveal .mini-designer__preview,
.has-reveal .mini-designer__content,
.has-reveal .services article,
.has-reveal .feature,
.has-reveal .material-list article,
.has-reveal .process-steps article,
.has-reveal .contact > div,
.has-reveal footer > div {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.has-reveal .section__intro.is-visible,
.has-reveal .mini-designer__preview.is-visible,
.has-reveal .mini-designer__content.is-visible,
.has-reveal .services article.is-visible,
.has-reveal .feature.is-visible,
.has-reveal .material-list article.is-visible,
.has-reveal .process-steps article.is-visible,
.has-reveal .contact > div.is-visible,
.has-reveal footer > div.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(-0.8%, -0.6%, 0);
  }

  to {
    transform: scale(1.08) translate3d(0.8%, 0.6%, 0);
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header .site-note {
    position: static;
    transform: none;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 88svh;
    padding-top: 170px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(244, 242, 237, 0.94), rgba(244, 242, 237, 0.46));
  }

  .services,
  .material-list,
  .process-steps,
  .mini-designer__workspace,
  .designer__workspace,
  .feature,
  .contact,
  .contact-form__row,
  footer {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 42px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 8px;
  }

  .trust-strip span:nth-child(odd) {
    border-left: 0;
  }

  .trust-strip span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  footer > div:last-child {
    justify-content: flex-start;
  }

  .designer__options {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .designer-choice {
    flex: 0 0 auto;
  }

  .designer-render,
  .render-room {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .has-reveal .section__intro,
  .has-reveal .mini-designer__preview,
  .has-reveal .mini-designer__content,
  .has-reveal .services article,
  .has-reveal .feature,
  .has-reveal .material-list article,
  .has-reveal .process-steps article,
  .has-reveal .contact > div,
  .has-reveal footer > div {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 520px) {
  .brand strong {
    font-size: 20px;
  }

  nav {
    font-size: 14px;
  }

  .internal-link {
    font-size: 12px;
  }

  h1 {
    font-size: 40px;
  }
}

/* Configurador visual sobre render real */
.designer-configurator {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #10110f;
  box-shadow: none;
  overflow: hidden;
  scroll-margin-top: 118px;
}

.designer-configurator .designer__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 0;
  min-height: min(82svh, 780px);
  margin-top: 0;
}

.designer-configurator .designer__stage {
  position: relative;
  min-height: min(82svh, 780px);
  background: #111;
}

.designer-configurator .designer-render {
  min-height: inherit;
  height: 100%;
  border-radius: 0;
  background: #10110f;
  box-shadow: none;
}

.designer-configurator .designer__caption {
  position: absolute;
  left: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 34px);
  max-width: min(520px, calc(100% - 48px));
  margin-top: 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(17, 18, 16, 0.58);
  color: white;
  backdrop-filter: blur(12px);
}

.designer-configurator .designer__caption p {
  color: #dbe7de;
}

.designer-configurator .designer__caption h3 {
  color: white;
  font-size: clamp(22px, 2.4vw, 32px);
}

.designer-configurator .designer__caption span {
  color: rgba(255, 255, 255, 0.76);
}

.designer-panel {
  position: relative;
  z-index: 2;
  align-content: start;
  gap: 22px;
  max-height: min(82svh, 780px);
  padding: 38px 24px 32px;
  overflow-y: auto;
  background:
    linear-gradient(90deg, rgba(17, 18, 16, 0.94), rgba(17, 18, 16, 0.84)),
    linear-gradient(135deg, #151615, #2a2d28);
  background-size: cover;
  background-position: right center;
  color: white;
  border-left: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: -28px 0 70px rgba(0, 0, 0, 0.34);
}

.designer-panel__brand {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.designer-panel__brand span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: white;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 900;
}

.designer-panel__brand strong {
  max-width: 190px;
  margin-bottom: 0;
  color: white;
  font-size: 24px;
  line-height: 1.02;
}

.designer-panel .designer-control {
  display: grid;
  gap: 10px;
}

.designer-panel .designer-control.is-hidden {
  display: none;
}

.designer-panel .designer-control > strong {
  margin-bottom: 0;
  padding: 12px 14px;
  background: rgba(182, 138, 86, 0.72);
  color: white;
  font-size: 16px;
  text-align: center;
}

.designer-panel .designer__options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  overflow: visible;
  padding-bottom: 0;
}

.designer-panel .designer-choice {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.designer-panel .designer-choice.is-active {
  border-color: white;
  background: white;
  color: #171817;
}

.designer-panel .designer-choice.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.designer-panel .designer-choice.is-disabled small {
  display: block;
  margin-left: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  text-transform: uppercase;
}

.designer-panel .designer__options--swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.designer-panel .designer-choice--swatch {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  text-align: center;
}

.designer-panel .designer-choice--swatch.is-active {
  background: transparent;
  color: white;
}

.designer-panel .designer-swatch {
  width: min(92px, 100%);
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 0;
  background: var(--choice-swatch);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.designer-panel .designer-choice--swatch.is-active .designer-swatch {
  outline: 3px solid white;
  outline-offset: 4px;
}

.designer-panel .designer-choice__text {
  display: grid;
  gap: 2px;
  max-width: 120px;
  color: inherit;
  font-size: 14px;
  line-height: 1.08;
}

.designer-panel .designer-choice__text small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.configurator-scene {
  --stone-material: linear-gradient(135deg, #fff, #ddd);
  --cabinet-material: linear-gradient(135deg, rgba(255,255,255,.9), rgba(220,220,215,.8));
  --scene-image: none;
}

.configurator-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #e9dfcf;
}

.configurator-photo__base {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.configurator-zone,
.cabinet-zone,
.photo-guard,
.configurator-fixture,
.configurator-shine {
  position: absolute;
  display: none;
  pointer-events: none;
}

.configurator-zone {
  z-index: 1;
  background: var(--stone-material);
  background-size: 340px 340px;
  opacity: 1;
  mix-blend-mode: normal;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 22px 38px rgba(255, 255, 255, 0.12),
    inset 0 -18px 32px rgba(0, 0, 0, 0.16);
}

.finish--brillo .configurator-zone,
.finish--pulido .configurator-zone {
  filter: saturate(1.08) contrast(1.08);
}

.finish--mate .configurator-zone {
  opacity: 0.95;
  filter: saturate(0.88) contrast(0.94);
}

.finish--satinado .configurator-zone {
  opacity: 0.98;
  filter: saturate(0.96) contrast(1.02);
}

.finish--texturizado .configurator-zone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 8px);
}

.cabinet-zone {
  z-index: 4;
  background: var(--cabinet-material);
  opacity: 0.34;
  mix-blend-mode: multiply;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.photo-guard {
  z-index: 5;
  background-image: var(--scene-image);
  background-size: 100% 100%;
  background-position: center;
}

.configurator-shine {
  z-index: 7;
  inset: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10), transparent 36%, rgba(0,0,0,.12)),
    linear-gradient(0deg, rgba(0,0,0,.18), transparent 34%, transparent 70%, rgba(255,255,255,.08));
}

.view--front.scene--linear .configurator-zone--counter,
.view--front.scene--bar .configurator-zone--counter {
  display: block;
  left: 25.45%;
  top: 55.75%;
  width: 59.6%;
  height: 3.65%;
  clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%);
}

.view--front.scene--linear .configurator-zone--backsplash,
.view--front.scene--bar .configurator-zone--backsplash {
  display: block;
  left: 26.45%;
  top: 37.65%;
  width: 56.85%;
  height: 18.25%;
}

.surface--without-backsplash .configurator-zone--backsplash {
  display: block !important;
  background:
    linear-gradient(0deg, rgba(210, 196, 174, 0.36) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #ece3d4, #ded2bf);
  box-shadow: none;
}

.view--front.scene--linear .cabinet-zone--upper,
.view--front.scene--bar .cabinet-zone--upper {
  display: block;
  left: 26.5%;
  top: 8.8%;
  width: 56.7%;
  height: 28.55%;
}

.view--front.scene--linear .cabinet-zone--base,
.view--front.scene--bar .cabinet-zone--base {
  display: block;
  left: 25.4%;
  top: 58.5%;
  width: 59.7%;
  height: 24.5%;
}

.view--front.scene--linear .photo-guard,
.view--front.scene--bar .photo-guard {
  display: none;
}

.photo-guard--left-decor {
  left: 27.2%;
  top: 42.6%;
  width: 10.2%;
  height: 14.2%;
}

.photo-guard--hob {
  left: 36.5%;
  top: 55.7%;
  width: 10.2%;
  height: 2.7%;
}

.photo-guard--sink {
  left: 58.4%;
  top: 44.2%;
  width: 11.2%;
  height: 14.2%;
}

.photo-guard--right-decor {
  left: 72.3%;
  top: 41.1%;
  width: 11.2%;
  height: 15.8%;
}

.configurator-fixture {
  z-index: 6;
}

.view--front .configurator-fixture {
  display: block;
}

.configurator-fixture--light {
  left: 26.4%;
  top: 36.9%;
  width: 56.9%;
  height: 2px;
  background: rgba(255, 224, 170, 0.92);
  box-shadow: 0 0 18px 8px rgba(255, 205, 128, 0.28);
}

.configurator-fixture--hob {
  left: 36.4%;
  top: 55.95%;
  width: 10.6%;
  height: 1.8%;
  border-radius: 3px;
  background: linear-gradient(135deg, #111, #3a3a36);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.configurator-fixture--sink {
  left: 59.2%;
  top: 55.62%;
  width: 10.1%;
  height: 2.3%;
  border-radius: 2px;
  background: linear-gradient(135deg, #2a2b29, #111);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.20),
    0 1px 0 rgba(255, 255, 255, 0.16);
}

.configurator-fixture--tap {
  left: 61.8%;
  top: 45.4%;
  width: 4.1%;
  height: 11.1%;
}

.configurator-fixture--tap::before {
  content: "";
  position: absolute;
  left: 44%;
  bottom: 0;
  width: 10px;
  height: 54%;
  border-radius: 8px 8px 2px 2px;
  background: #151615;
  box-shadow: inset 2px 0 0 rgba(255,255,255,.10);
}

.configurator-fixture--tap::after {
  content: "";
  position: absolute;
  left: 44%;
  top: 12%;
  width: 34px;
  height: 28px;
  border-top: 10px solid #151615;
  border-right: 10px solid #151615;
  border-radius: 0 18px 0 0;
}

.view--iso.scene--linear .configurator-zone--island-top,
.view--iso.scene--bar .configurator-zone--island-top,
.view--iso.scene--island .configurator-zone--island-top,
.view--front.scene--island .configurator-zone--island-top {
  display: block;
  left: 4.2%;
  top: 40.3%;
  width: 91.5%;
  height: 40.6%;
  clip-path: polygon(0 56%, 50% 12%, 100% 37%, 53% 100%, 0 76%);
}

.view--iso.scene--linear .configurator-zone--island-front,
.view--iso.scene--bar .configurator-zone--island-front,
.view--iso.scene--island .configurator-zone--island-front,
.view--front.scene--island .configurator-zone--island-front {
  display: block;
  left: 4.7%;
  top: 62.4%;
  width: 49.8%;
  height: 28.4%;
  clip-path: polygon(0 0, 93% 28%, 100% 100%, 0 84%);
}

.view--iso.scene--linear .configurator-zone--counter,
.view--iso.scene--bar .configurator-zone--counter,
.view--iso.scene--island .configurator-zone--counter,
.view--front.scene--island .configurator-zone--counter {
  display: block;
  left: 0;
  top: 39.8%;
  width: 47.4%;
  height: 10.5%;
  clip-path: polygon(0 35%, 100% 0, 100% 42%, 0 100%);
}

.view--iso.scene--linear .configurator-zone--backsplash,
.view--iso.scene--bar .configurator-zone--backsplash,
.view--iso.scene--island .configurator-zone--backsplash,
.view--front.scene--island .configurator-zone--backsplash {
  display: block;
  left: 0;
  top: 0;
  width: 39.4%;
  height: 39.5%;
}

.view--iso.scene--linear .cabinet-zone--base,
.view--iso.scene--bar .cabinet-zone--base,
.view--iso.scene--island .cabinet-zone--base,
.view--front.scene--island .cabinet-zone--base {
  display: block;
  left: 0;
  top: 49.8%;
  width: 44.8%;
  height: 28.8%;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}

.view--iso.scene--linear .cabinet-zone--island,
.view--iso.scene--bar .cabinet-zone--island,
.view--iso.scene--island .cabinet-zone--island,
.view--front.scene--island .cabinet-zone--island {
  display: block;
  left: 52.8%;
  top: 67.4%;
  width: 41.8%;
  height: 22.3%;
  clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 82%);
}

.view--detail .configurator-zone--counter {
  z-index: 4;
  opacity: 0.72;
  display: block;
  left: -2%;
  top: 31%;
  width: 104%;
  height: 38%;
  clip-path: polygon(0 22%, 100% 0, 100% 68%, 0 100%);
}

.view--detail .configurator-zone--detail-face {
  z-index: 4;
  opacity: 0.72;
  display: block;
  left: -1%;
  top: 58%;
  width: 102%;
  height: 22%;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}

.view--detail .configurator-zone--backsplash {
  display: none;
}

.view--detail .cabinet-zone {
  display: none;
}

.view--detail .cabinet-zone--base {
  display: block;
  left: 0;
  top: 72%;
  width: 100%;
  height: 24%;
}

.view--front.scene--wall .configurator-zone--wall-panel,
.view--front.scene--fireplace .configurator-zone--fireplace,
.view--front.scene--stairs .configurator-zone--step {
  display: block;
}

.scene--wall .configurator-zone--wall-panel {
  left: 35%;
  top: 14%;
  width: 34%;
  height: 56%;
}

.scene--fireplace .configurator-zone--fireplace {
  left: 39%;
  top: 18%;
  width: 28%;
  height: 58%;
}

.scene--stairs .configurator-zone--step {
  left: 20%;
  width: 58%;
  height: 8%;
  clip-path: polygon(0 20%, 88% 0, 100% 68%, 12% 100%);
}

.scene--stairs .configurator-zone--step-1 { top: 67%; }
.scene--stairs .configurator-zone--step-2 { top: 56%; left: 26%; width: 50%; }
.scene--stairs .configurator-zone--step-3 { top: 45%; left: 32%; width: 42%; }

.portfolio-callout,
.project-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(42px, 7vw, 92px);
}

.portfolio-callout img,
.project-story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.portfolio-callout div,
.project-story div {
  max-width: 620px;
}

.portfolio-callout p,
.projects-hero p,
.project-detail-hero p,
.project-story p {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-callout h2,
.project-story h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.portfolio-callout span,
.project-story span {
  display: block;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.projects-hero {
  position: relative;
  min-height: min(760px, 86svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #171614;
}

.projects-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 13, 11, 0.86), rgba(14, 13, 11, 0.24) 62%, rgba(14, 13, 11, 0.05)),
    linear-gradient(0deg, rgba(14, 13, 11, 0.75), transparent 48%);
}

.projects-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(120px, 16vw, 160px) 0 clamp(64px, 11vw, 118px);
  color: #fff;
}

.projects-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 8.6rem);
  line-height: 0.88;
}

.projects-hero span {
  display: block;
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

/* Estado: sección de proyectos en construcción */
.projects-wip {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 80px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  backdrop-filter: blur(12px);
}

.projects-wip__icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: white;
  box-shadow: 0 12px 32px rgba(35, 58, 50, 0.22);
}

.projects-wip p {
  margin: 0;
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.projects-wip h3 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.12;
  color: var(--ink);
}

.projects-wip span {
  display: block;
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.projects-wip .button {
  margin-top: 8px;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 22px 60px rgba(33, 29, 23, 0.1);
}

.project-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-card__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  aspect-ratio: 16 / 10;
  background: #e5e0d6;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body {
  padding: clamp(22px, 3vw, 34px);
}

.project-card__body span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent, #9f7d4f);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card__body h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2.4rem);
  line-height: 1.05;
}

.project-card__body p {
  margin: 16px 0 0;
  color: var(--muted, #706b62);
  line-height: 1.65;
}

.project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(120px, 15vw, 180px) 0 clamp(52px, 8vw, 96px);
}

.project-detail-hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: 0.9;
}

.project-detail-hero span {
  display: block;
  margin-top: 24px;
  color: var(--muted, #706b62);
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.before-after__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.before-after figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ded8cc;
}

.before-after img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.before-after figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-technical {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(34, 31, 27, 0.14);
}

.project-technical article {
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
}

.project-technical span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted, #706b62);
  font-size: 0.82rem;
}

.project-technical strong {
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.project-detail-empty {
  min-height: 60svh;
  display: grid;
  place-content: center;
  text-align: center;
}

@media (max-width: 980px) {
  .designer-configurator .designer__workspace {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .designer-configurator .designer__stage {
    min-height: 62svh;
  }

  .designer-panel {
    max-height: none;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .portfolio-callout,
  .project-story,
  .project-detail-hero {
    grid-template-columns: 1fr;
  }

  .project-grid,
  .before-after__grid,
  .project-technical {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .designer-configurator {
    margin-top: 0;
  }

  .designer-configurator .designer__stage {
    min-height: 54svh;
  }

  .designer-configurator .designer__caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .designer-panel {
    padding: 26px 16px;
  }

  .designer-panel .designer__options--swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .designer-panel .designer-swatch {
    height: 64px;
  }

  .projects-hero {
    min-height: 78svh;
  }

  .projects-hero__content {
    width: min(100% - 28px, 1120px);
  }

  .project-card__media {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .project-card__media img {
    aspect-ratio: 4 / 3;
  }
}
