:root {
  --paper: #fbf8f1;
  --white: #fffdf7;
  --ink: #202b25;
  --muted: #505a52;
  --green: #20392d;
  --accent: #ddaf77;
  --line: #d8d2c6;
  --soft: #eee9df;
  --focus: #a94e1e;
  --serif: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.046em; }
h1 { font-size: clamp(2.45rem, 5vw, 5rem); text-wrap: balance; overflow-wrap: break-word; }
h2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
h3 { font-size: 1.08rem; line-height: 1.35; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.wrap { width: min(88%, 76rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; transform: translateY(-200%); background: var(--white); padding: .65rem 1rem; }
.skip:focus { transform: none; }
.demo { background: var(--green); color: var(--white); text-align: center; padding: .44rem 1rem; font-size: .875rem; letter-spacing: .04em; }
.header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: inline-flex; gap: .6rem; align-items: center; font-family: var(--serif); font-size: 1.42rem; letter-spacing: -.04em; text-decoration: none; line-height: 1.1; }
.brand-mark { width: 1.56rem; height: 1.56rem; flex: none; background: var(--green); clip-path: polygon(0 43%,50% 0,100% 43%,100% 100%,61% 100%,61% 62%,39% 62%,39% 100%,0 100%); }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .2rem; padding: .62rem 1.1rem; text-decoration: none; font: inherit; font-size: .9rem; font-weight: 650; }
.outline { border-color: var(--green); }
.outline:hover, .primary { background: var(--green); color: var(--white); }
.primary:hover { background: var(--ink); }
.hero { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(1.6rem, 4vw, 4.5rem); padding-block: clamp(2.5rem, 6vw, 5.8rem); }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero h1 { margin-block: 1rem 1.2rem; }
.lead { max-width: 34ch; color: var(--muted); font-size: 1.1rem; }
.hero .button { margin-top: 1.65rem; }
.hero-figure { position: relative; min-width: 0; }
.hero-figure .scene, .hero-figure img { aspect-ratio: 1.2; }
.hero-figure figcaption { position: absolute; bottom: .9rem; left: .9rem; right: .9rem; width: fit-content; padding: .5rem .8rem; background: var(--white); font-size: .875rem; border-left: 3px solid var(--accent); }
.hero-figure figcaption span { display: block; color: var(--muted); }
.section { padding-block: clamp(3.1rem, 7vw, 6rem); }
.services, .faq { background: var(--soft); }
.service-grid, .steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 2rem; gap: 1.25rem; }
.service-grid article { background: var(--white); padding: 1.4rem; border-top: 3px solid var(--green); }
.service-grid p, .steps p { margin-top: .5rem; }
.service-grid p, .section-intro p, .coverage p, details p { color: var(--muted); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.section-intro p { max-width: 32ch; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.hero-figure, .gallery figure { overflow: hidden; border-radius: .45rem; box-shadow: 0 .55rem 1.35rem #202b2512; }
.gallery figure { background: var(--white); border: 1px solid var(--line); }
.gallery figcaption { padding: .85rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.gallery figcaption span { color: var(--muted); font-size: .875rem; background: var(--soft); padding-inline: .55rem; border-radius: .2rem; }
.process, .contact { background: var(--green); color: var(--white); }
.process :focus-visible, .contact :focus-visible { outline-color: var(--accent); }
.steps { padding-left: 0; list-style-position: inside; }
.steps li { border-top: 1px solid var(--accent); padding-top: .9rem; }
.steps li::marker { color: var(--accent); font-family: var(--serif); font-size: 1.3rem; }
.steps h3 { display: inline; }
.coverage, .faq-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.coverage .eyebrow { margin-bottom: .35rem; }
details { border-block-start: 1px solid var(--line); }
details:last-child { border-block-end: 1px solid var(--line); }
summary { padding: .85rem .35rem; font-weight: 650; cursor: pointer; }
details p { padding: 0 .35rem 1rem; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.contact p { margin-top: .7rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.contact .button { background: var(--accent); color: var(--ink); }
.contact .button:disabled { border-color: var(--accent); background: transparent; color: var(--white); cursor: not-allowed; }
footer { font-size: .875rem; }

/* Ilustraciones CSS. Cada escena puede sustituirse por una fotografía local. */
.scene, figure picture, figure img { display: block; width: 100%; }
.scene, figure img { aspect-ratio: 1.75; height: auto; object-fit: cover; background: var(--soft); }
.scene { isolation: isolate; overflow: hidden; position: relative; background: var(--plaster, #c8b59d); }
.scene::before, .scene::after, .scene i, .scene i::before, .scene i::after { content: ''; display: block; position: absolute; }
.scene::before {
  inset: 0; background: linear-gradient(112deg, #fff4d640, transparent 54%, #30281835),
    linear-gradient(90deg, var(--plaster, #c8b59d) 0 72%, var(--side, #9c8976) 72%);
}
.scene::after { inset: 70% 0 0; clip-path: polygon(0 12%,72% 0,100% 34%,100% 100%,0 100%); background: repeating-linear-gradient(108deg, transparent 0 9%, #35271a24 9% 9.4%), linear-gradient(165deg, #806750, #c6a67f 68%, #a38365); }
.scene i { z-index: 1; }
.kitchen .wall { left: 8%; top: 15%; width: 47%; height: 39%; border: .35rem solid #6d6451; background: linear-gradient(90deg, transparent 48%, #756650 49% 51%, transparent 52%), linear-gradient(0deg, #9ca78a, #e9e5c9 55%, #f7ebcc); box-shadow: .65rem .8rem 1.4rem #45362238; }
.kitchen .fit { left: 5%; top: 55%; width: 80%; height: 22%; border-top: .5rem solid #e0ceaf; background: repeating-linear-gradient(90deg, transparent 0 19%, #231c155c 20%), linear-gradient(0deg,#5e422c,#a37b52); box-shadow: 0 .7rem 1rem #35281955; }
.kitchen .fit::before { right: 7%; bottom: 100%; width: 26%; height: 150%; background: repeating-linear-gradient(90deg, #8c6949 0 48%, #584532 49% 51%); border-bottom: .2rem solid #624732; }
.kitchen .detail { left: 28%; bottom: 12%; width: 56%; height: 27%; background: repeating-linear-gradient(90deg, transparent 0 5%, #38281d27 5% 6%), linear-gradient(90deg,#ae8760 68%,#785a41 69%); border-top: .6rem solid #f0dec0; box-shadow: 0 .75rem 1.3rem #38281966; }
.kitchen .detail::before, .kitchen .detail::after { bottom: 185%; width: 3%; height: 170%; background: #4e4133; border-bottom: .34rem solid #493a29; border-radius: 0 0 50% 50%; }
.kitchen .detail::before { left: 22%; }
.kitchen .detail::after { left: 55%; }
.bath { --plaster: #b8b9a7; --side: #8c9989; }
.bath .wall { left: 9%; top: 13%; width: 34%; height: 56%; background: repeating-linear-gradient(0deg, #d7d6bc 0 21%, #a0a48e 22% 23%); border: .24rem solid #646d60; }
.bath .fit { top: 52%; left: 48%; width: 38%; height: 25%; border-top: .55rem solid #f3eddd; background: linear-gradient(0deg,#745439,#a0815e); box-shadow: 0 .55rem .65rem #3c382e55; }
.bath .detail { left: 54%; top: 12%; width: 26%; height: 34%; border-radius: 50% 50% 0 0; border: .22rem solid #5d6455; background: linear-gradient(130deg,#d7d7c6,#a4b4a6 65%,#dadac8 66%); }
.living { --plaster: #ccb49d; --side: #a48068; }
.living .wall { top: 14%; left: 36%; width: 23%; height: 32%; border: .24rem solid #795c47; background: radial-gradient(ellipse at 45% 52%, #b6684b 0 22%, transparent 24%), #e9d4b2; }
.living .fit { left: 19%; bottom: 23%; width: 60%; height: 27%; border-radius: 13% 13% 6% 6%; background: linear-gradient(0deg,#79765c 0 30%,#969077 31% 57%,#a9a285 58%); box-shadow: .4rem .6rem .8rem #49392d55; }
.living .detail { left: 36%; bottom: 12%; width: 37%; height: 12%; border-radius: 50%; background: #825e48; border-bottom: .3rem solid #574231; }
.hall { --plaster: #d1c4aa; --side: #aca48c; }
.hall .wall { left: 34%; top: 10%; width: 42%; height: 68%; border-radius: 50% 50% 0 0; background: linear-gradient(90deg,#957b5d 0 17%,#c1ac8b 18% 76%,#70604f 77%); box-shadow: inset .4rem .35rem .75rem #4a39234c; }
.hall .fit { left: 9%; bottom: 19%; width: 36%; height: 19%; border-top: .35rem solid #8e6948; background: repeating-linear-gradient(90deg,#9b7958 0 4%,#88684d 5% 6%); }
.hall .detail { right: 11%; bottom: 17%; width: 10%; height: 17%; background: #8a583d; border-radius: 8% 8% 34% 34%; }
.hall .detail::before { bottom: 85%; left: -50%; width: 170%; height: 210%; background: radial-gradient(ellipse at 27% 57%,#52634a 0 22%,transparent 24%),radial-gradient(ellipse at 70% 33%,#667652 0 26%,transparent 28%),radial-gradient(ellipse at 52% 67%,#465840 0 29%,transparent 31%); }

@media (max-width: 54rem) {
  .header-inner { flex-wrap: wrap; }
  .header nav { width: 100%; }
  .service-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 39rem) {
  .hero, .coverage, .faq-layout, .gallery { grid-template-columns: 1fr; }
  .section-intro { display: grid; }
  .hero-figure .scene, .hero-figure img { aspect-ratio: 1.28; }
}
@media (max-width: 27rem) {
  .header-inner { row-gap: .4rem; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
