:root{--ink:#5c4d45;--text:#342c28;--muted:#695b53;--paper:#fff;--warm:#f1eae3;--line:#dcd0c5;--accent:#76563f;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;color:var(--text);background:var(--paper);font:16px/1.6 var(--sans)}body.modal-open{overflow:hidden}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a{color:inherit;text-underline-offset:5px}button{font:inherit;cursor:pointer;color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #ac7048;outline-offset:5px}button{border:0}img{display:block;width:100%;object-fit:cover}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-.045em;line-height:1.08}h2{font-size:clamp(36px,4.3vw,56px)}h3{font-weight:500}.container{width:min(1180px,calc(100% - 96px));margin-inline:auto}.section{padding-block:104px}.eyebrow{font-size:12px;line-height:1.5;letter-spacing:.15em;font-weight:600;color:var(--accent);margin-bottom:22px}.eyebrow.light{color:#e1d7c8}.button{display:inline-flex;justify-content:center;align-items:center;min-height:50px;padding:13px 25px;background:var(--ink);color:white;text-decoration:none;border:1px solid var(--ink);font-size:14px;letter-spacing:.015em;transition:background .2s,color .2s}.button:hover{background:#725d51}.button.cream{background:#f3efe7;color:var(--ink);border-color:#f3efe7}.button.cream:hover{background:white}.button.small{padding:10px 18px;min-height:44px;font-size:13px}.skip{position:fixed;top:-80px;left:20px;z-index:100;padding:12px;background:white}.skip:focus{top:12px}.header{position:sticky;top:0;z-index:30;background:white;border-bottom:1px solid #eee}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:91px;gap:30px}.brand{font:28px/1 var(--serif);text-decoration:none;letter-spacing:-.04em;display:block;color:var(--ink)}.brand span{display:block;margin-top:7px;font:9px/1 var(--sans);letter-spacing:.32em;text-align:center}.header nav{display:flex;align-items:center;gap:34px}.header nav>a:not(.button){font-size:14px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.header nav>a:not(.button):hover{text-decoration:underline}.menu-toggle{display:none;background:transparent;min-height:44px;padding:8px}.hero{position:relative;min-height:640px;height:min(760px,calc(100svh - 91px));color:white;isolation:isolate;display:flex;align-items:center}.hero-photo{position:absolute;inset:0;height:100%;object-position:58% 50%;z-index:-2}.hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#362a23e0 0%,#362a2394 38%,#362a230f 80%),linear-gradient(0deg,#362a23b3,transparent 25%)}.hero h1{font-size:clamp(52px,5.8vw,82px);max-width:790px}.hero-text{font-size:18px;line-height:1.7;color:#f4f2ed;margin-top:28px;margin-bottom:32px}.hero-bottom{position:absolute;left:0;right:0;bottom:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;letter-spacing:.02em;color:#ece9e2}.hero-bottom a{font-size:13px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:64px;margin-bottom:50px}.section-heading>p{max-width:355px;color:var(--muted);font-size:16px}.section-heading h2{max-width:600px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;row-gap:44px}.product{text-align:left;padding:0;background:transparent;display:block;width:100%;min-width:0}.image-wrap{display:block;overflow:hidden;background:#ebe3dc}.product img{aspect-ratio:1.17;height:auto;transition:transform .45s}.product:hover img{transform:scale(1.025)}.product-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.product-line strong{font:25px/1.2 var(--serif);letter-spacing:-.025em;font-weight:400}.product-line>span{font-size:12px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.product-desc{display:block;font-size:14px;color:var(--muted);margin-top:6px}.projects{background:var(--ink);color:#faf8f1}.projects .section-heading>p{color:#e6ddd5}.extra-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.extra-grid .image-wrap img{aspect-ratio:1.6;object-position:center 45%}.quote{background:var(--warm)}.quote-layout{display:grid;grid-template-columns:1fr 1fr;gap:120px}.quote-layout>div>p:not(.eyebrow){max-width:420px;margin-top:24px;color:var(--muted)}.quote .button{margin-top:30px}.process{margin:0;padding:0;list-style:none;display:grid;gap:0}.process li{border-top:1px solid var(--line);padding:24px 0}.process h3{font:25px var(--serif);letter-spacing:-.02em;margin-bottom:10px}.process p{max-width:380px;color:var(--muted);font-size:15px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:110px}.contact>div>p:not(.eyebrow){margin-top:26px;color:var(--muted)}.text-link{display:inline-flex;align-items:center;min-height:44px;margin-top:16px;font-size:14px}.contact-details{display:grid;grid-template-columns:1.2fr 1fr;gap:35px 24px;padding-top:8px}.contact-details h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}.contact-details p,.contact-details address,.contact-details a{font-style:normal;font-size:14px;line-height:1.7}.contact-details a{display:inline-flex;min-height:44px;align-items:center}.footer{background:var(--ink);color:#e6ddd5;padding:33px 0}.footer-inner{display:flex;justify-content:space-between;gap:30px;align-items:center}.footer p{font:25px var(--serif)}.footer span,.footer a{font-size:12px}.mobile-contact{display:none}
@media(min-width:1600px){.hero{max-height:820px;height:74svh}}
@media(max-width:1000px){.container{width:calc(100% - 56px)}.header nav{gap:22px}.section{padding-block:76px}.hero h1{font-size:64px}.product-line{align-items:start}.product-line strong{font-size:23px}.product-line>span{font-size:11px}.quote-layout,.contact{gap:60px}.footer-inner{flex-wrap:wrap}.section-heading{gap:40px}}
@media(max-width:760px){html{scroll-padding-top:80px;scroll-padding-bottom:calc(74px + env(safe-area-inset-bottom))}body{padding-bottom:74px}.container{width:calc(100% - 40px)}.header-inner{min-height:76px}.brand{font-size:25px}.brand span{font-size:8px}.menu-toggle{display:block}.header nav{display:none;position:absolute;left:0;right:0;top:100%;padding:16px 20px 24px;background:white;border-bottom:1px solid var(--line);box-shadow:0 15px 20px #0001}.header nav.is-open{display:flex;align-items:stretch;flex-direction:column;gap:6px}.header nav>a:not(.button){font-size:16px;padding-block:8px}.header nav>.button{margin-top:8px}.hero{min-height:650px;height:calc(92svh - 76px);max-height:820px;align-items:flex-end;padding-bottom:105px}.hero-photo{object-position:67% center}.hero-shade{background:linear-gradient(0deg,#362a23f5 0%,#362a23c2 45%,#362a230a 100%)}.hero h1{font-size:clamp(40px,8vw,58px);max-width:550px}.hero-text{font-size:16px;margin-block:24px 27px}.hero .eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:20px}.hero-bottom{font-size:10px;bottom:24px;display:block}.hero-bottom a{display:none}.section{padding-block:62px}.section-heading{display:block;margin-bottom:34px}.section-heading>p{max-width:510px;margin-top:24px;font-size:15px}.eyebrow{font-size:11px;margin-bottom:18px}h2{font-size:39px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 18px}.product img{aspect-ratio:.85}.product-line{display:block;margin-top:14px}.product-line strong{font-size:23px;display:block}.product-line>span{display:inline-block;font-size:11px;margin-top:9px}.product-desc{font-size:13px;line-height:1.5;max-width:170px}.extra-grid{gap:24px;grid-template-columns:1fr}.extra-grid .product{display:grid;grid-template-columns:130px 1fr;gap:20px;align-items:center}.extra-grid .image-wrap img{height:125px;aspect-ratio:auto}.extra-grid .product-line{margin-top:0}.extra-grid .product-line strong{font-size:26px}.quote-layout,.contact{grid-template-columns:1fr;gap:40px}.quote-layout>div>p:not(.eyebrow){font-size:15px}.process li{padding-block:22px}.process h3{font-size:25px}.contact-details{gap:30px 18px}.footer-inner{display:block}.footer span{display:block;margin-top:12px}.footer a{display:inline-flex;align-items:center;min-height:44px;margin-top:14px}.mobile-contact{display:flex;position:fixed;z-index:35;bottom:0;left:0;right:0;min-height:64px;padding-bottom:calc(14px + env(safe-area-inset-bottom));font-size:15px;border-top:1px solid rgb(255 255 255 / .28)}}
@media(max-width:360px){.container{width:calc(100% - 32px)}.hero h1{font-size:37px}.hero-text{font-size:15px}.hero{min-height:630px}.product-grid{gap:28px 14px}.product-line strong{font-size:21px}.product-desc{font-size:12px}.extra-grid .product{grid-template-columns:115px 1fr;gap:16px}.contact-details{grid-template-columns:1fr}.hero .button{font-size:13px;padding-inline:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
@media print{body{padding:0}.hero{height:500px;min-height:0}.section{padding-block:40px}.product{break-inside:avoid}}

/* Logo publicado en el perfil oficial; sustituir por original al recibirlo. */
.brand{position:relative;width:192px;height:58px;overflow:hidden;flex-shrink:0;background:white}.brand img{position:absolute;top:50%;left:0;width:192px;height:192px;max-width:none;transform:translateY(-50%)}

/* Galerías completas: medios contenidos, navegación manual y miniaturas. */
.contact-email{grid-column:1/-1}.contact-email a{overflow-wrap:anywhere;word-break:break-word}.footer-socials{display:flex;align-items:center;gap:24px}.footer-socials a{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:760px){.footer-socials{margin-top:8px}.footer-socials a{margin-top:0}}

.brand{width:225px;height:75px}.brand img{position:static;width:100%;height:100%;object-fit:contain;transform:none}@media(max-width:760px){.brand{width:190px;height:64px}.header-inner{min-height:80px}}


/* Visor: cabecera y acción fijas, contenido acotado a la pantalla. */
html{scrollbar-gutter:stable}.section{padding-block:80px}.products{padding-bottom:64px}.extras{padding-top:64px}.header nav{gap:24px}.related-gallery[hidden],.media-filters[hidden],.carousel-nav[hidden]{display:none!important}
.detail-dialog{padding:0;border:0;border-radius:6px;background:white;color:var(--text);width:min(1080px,calc(100vw - 32px));max-width:none;height:min(640px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);overflow:hidden;margin:auto;box-shadow:0 24px 90px #0004}
.detail-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.detail-dialog::backdrop{background:#362a23c9;backdrop-filter:blur(3px)}
.detail-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;border-bottom:1px solid var(--line);background:white;z-index:3;min-width:0}.detail-header .eyebrow{font-size:10px;margin:0 0 3px}.detail-header h2{font-size:28px;line-height:1.1;letter-spacing:-.03em}.close-dialog{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;background:#f2ebe5;border:1px solid var(--line);border-radius:4px;font-size:13px}.close-dialog:hover{background:#e9ded5}.close-dialog svg,.carousel-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.detail-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);min-height:0;overflow:hidden}.detail-media{min-width:0;min-height:0;background:#f3ede8;padding:16px;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"filters" "image" "caption" "thumbs";gap:10px;overflow:hidden}.media-filters{grid-area:filters;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.media-filters button{min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:20px;background:transparent;font-size:12px;white-space:nowrap;line-height:1.4}.media-filters button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.media-filters button:hover{border-color:var(--ink)}.media-filters button:focus-visible,.media-thumbs button:focus-visible{outline-offset:-4px}
.media-viewport{grid-area:image;position:relative;min-width:0;min-height:0;background:#e8dfd7;border-radius:3px;overflow:hidden}.media-stage{position:relative;height:100%;width:100%;min-height:0;min-width:0}.media-stage img,.media-stage video,.media-stage>svg{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:100%;object-fit:contain}.carousel-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#ffffffed;color:var(--ink);box-shadow:0 2px 10px #0003;z-index:1}.carousel-nav.previous{left:10px}.carousel-nav.next{right:10px}.carousel-nav:hover{background:white;box-shadow:0 2px 12px #0005}.media-status{position:absolute;right:10px;top:10px;pointer-events:none;background:#362a23c9;color:white;border-radius:20px;padding:4px 10px;font-size:12px;line-height:1.4}.media-caption{grid-area:caption;font-size:12px;line-height:1.5;color:var(--muted);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-thumbs{grid-area:thumbs;position:relative;display:flex;gap:7px;overflow-x:auto;min-width:0;padding:3px 3px 7px;scrollbar-width:thin;overscroll-behavior-x:contain}.media-thumbs button{position:relative;flex:0 0 60px;width:60px;height:48px;padding:0;border:2px solid transparent;background:#e4d7ce;border-radius:2px;overflow:hidden}.media-thumbs button[aria-pressed=true]{border-color:var(--ink)}.media-thumbs img{width:100%;height:100%;object-fit:cover}.media-thumbs span{position:absolute;bottom:0;right:0;left:0;background:#362a23e6;color:white;font-size:9px;line-height:1.5}
.detail-content{min-height:0;overflow-y:auto;padding:24px 22px;scroll-padding:16px}.detail-content h3{font-size:15px;font-weight:600;margin-bottom:12px}.detail-content>p{font-size:14px;line-height:1.65;color:var(--muted)}.detail-content ul{padding-left:18px;margin:18px 0;line-height:1.9;font-size:14px}.related-gallery{font-size:13px;background:transparent;padding:8px 0;min-height:44px;text-align:left;text-decoration:underline;text-underline-offset:4px;color:var(--ink)}.detail-action{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:12px 20px;border-top:1px solid var(--line);background:white;z-index:3}.detail-action p{font-size:13px;color:var(--muted)}.detail-action .button{font-size:14px;min-height:46px;padding:10px 24px}
.motorization{background:var(--warm)}.motorization-layout{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:64px}.motorization-photo{position:relative;display:block;padding:0;background:#d9cec4;overflow:hidden;width:100%}.motorization-photo img{height:auto;aspect-ratio:1.45;object-fit:cover;transition:transform .3s}.motorization-photo:hover img{transform:scale(1.025)}.motorization-photo span{position:absolute;left:18px;bottom:18px;padding:10px 16px;background:#ffffffeb;color:var(--ink);font-size:13px}.motorization-layout>div>p:not(.eyebrow){margin-top:22px;color:var(--muted);font-size:16px;max-width:420px}.motorization-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:26px}.motorization-actions .text-link{margin:0}
@media(max-width:900px){.motorization-layout{gap:36px}.header nav{gap:16px}.header nav>a:not(.button){font-size:13px}.header .button.small{font-size:12px;padding-inline:12px}.brand{width:200px;height:67px}}
@media(max-width:760px){.section{padding-block:52px}.products{padding-bottom:44px}.extras{padding-top:48px}.header nav>a:not(.button){font-size:16px}.header .button.small{font-size:14px}.detail-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:5px}.detail-header{padding:10px 12px;gap:12px}.detail-header h2{font-size:24px}.detail-header .eyebrow{font-size:9px}.close-dialog{padding:8px 10px;min-width:44px}.close-dialog span{display:none}.detail-layout{display:block;overflow-y:auto;overscroll-behavior:contain;scroll-padding:12px}.detail-media{padding:12px;grid-template-rows:auto auto auto auto;gap:9px;overflow:visible}.media-filters{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none}.media-filters button{min-height:44px;padding:8px 12px;font-size:12px}.media-filters::-webkit-scrollbar{display:none}.media-viewport{height:clamp(160px, 40dvh, 340px)}.carousel-nav.previous{left:8px}.carousel-nav.next{right:8px}.media-thumbs button{flex-basis:56px;width:56px;height:46px}.detail-content{overflow:visible;padding:18px 20px 20px}.detail-content ul{columns:2;column-gap:24px;margin-bottom:6px}.detail-content li{break-inside:avoid}.detail-action{padding:10px 12px calc(10px + env(safe-area-inset-bottom));display:block}.detail-action p{display:none}.detail-action .button{width:100%;min-height:48px}.motorization-layout{grid-template-columns:1fr;gap:28px}.motorization-photo img{aspect-ratio:1.5}.motorization-layout h2{font-size:38px}.motorization-actions{gap:8px 18px}.motorization-actions .button{font-size:14px}.motorization-layout>div>p:not(.eyebrow){font-size:15px}.brand{width:190px;height:64px}}
@media(max-height:500px) and (min-width:761px){.detail-header{padding-block:8px}.detail-header h2{font-size:23px}.detail-media{gap:6px;padding:10px}.media-thumbs{display:none}.detail-action{padding-block:8px}}
@media(max-width:760px) and (max-height:500px){.detail-header h2{font-size:21px}.media-viewport{height:160px;max-height:none;min-height:0}.detail-content ul{columns:2}}



/* Proyectos: una sola cuadrícula y un encuadre por desarrollo. */
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 28px}.project-card{display:block;width:100%;min-width:0;text-align:left;color:inherit;background:transparent;padding:0}.project-image{display:block;aspect-ratio:4/3;overflow:hidden;background:rgb(0 0 0 / .14)}.project-image>img,.project-image>svg{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}.project-card:hover .project-image>img,.project-card:hover .project-image>svg{transform:scale(1.025)}.project-name{display:block;font:24px/1.25 var(--serif);letter-spacing:-.02em;margin-top:14px}.media-thumbs svg{display:block;width:100%;height:100%}.media-thumbs[hidden],.media-status[hidden]{display:none!important}.detail-dialog.is-project{width:min(960px,calc(100vw - 32px));height:fit-content}.detail-dialog.is-project .detail-layout{display:block;overflow-y:auto}.detail-dialog.is-project .detail-content{display:none}.detail-dialog.is-project .detail-media{grid-template-rows:auto auto auto auto}.detail-dialog.is-project .media-viewport{height:clamp(140px, calc(100dvh - 320px), 520px)}.detail-dialog.is-project .media-caption{display:none}
@media(max-width:1000px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.detail-dialog.is-project{width:calc(100vw - 16px)}.project-image{aspect-ratio:4/3}.detail-dialog.is-project .detail-media{grid-template-rows:auto auto auto auto}}

.project-card {
  align-self: start;
}
.project-location {
  display: block;
  margin-top: 4px;
  color: #e6ddd5;
  font: 14px/1.4 var(--sans);
}
#detail-location {
  display: none;
}
.is-project #detail-location {
  display: block;
  min-height: 1.4em;
  color: var(--muted);
}
.is-project .detail-header {
  min-height: 101px;
}
@media (max-width: 760px) {
  .detail-dialog.is-project .media-viewport {
    height: clamp(140px, 42dvh, 355px);
  }
  .is-project .detail-header {
    min-height: 120px;
  }
}
@media (max-height: 500px) and (min-width: 500px) and (max-width: 760px) {
  .is-project .detail-header {
    min-height: 96px;
  }
}

.project-toggle {
  display: none;
}
@media (max-width: 600px) {
  .projects {
    padding-block: 26px 44px;
  }
  .projects .section-heading {
    margin-bottom: 22px;
  }
  .projects .section-heading > p {
    margin-top: 12px;
  }
  .project-grid {
    gap: 20px 14px;
  }
  .project-name {
    font-size: 20px;
    margin-top: 9px;
  }
  .project-location {
    font-size: 12px;
  }
  .project-grid.is-collapsed > :nth-child(n+5) {
    display: none;
  }
  .project-toggle:not([hidden]) {
    display: block;
    margin: 16px auto 0;
    min-height: 44px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
  }
}

.project-tours {
  margin-top: 30px;
  border-block: 1px solid #faf8f14f;
}
.project-tours summary {
  cursor: pointer;
  padding: 13px 4px;
  min-height: 46px;
  font-weight: 600;
}
.project-tours p {
  color: #e6ddd5;
  margin: 0 0 10px 4px;
  font-size: 14px;
}
.project-tours ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  list-style: none;
  padding: 0 4px 10px;
  margin: 0;
}
.project-tours a {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 7px 0;
  text-underline-offset: 3px;
  font-size: 14px;
}
.project-tours a span {
  color: #e6ddd5;
  font-size: 12px;
}
@media (max-width: 600px) {
  .project-tours {
    margin-top: 18px;
  }
  .project-tours ul {
    grid-template-columns: 1fr;
  }
}

.whatsapp-cta {
  gap: 10px;
}
.whatsapp-cta > .whatsapp-icon {
  flex: none;
  width: 23px;
  height: 23px;
  object-fit: contain;
}
