/* Demo base 1.0.0 — piloto local desde datos documentados, sin dependencias externas. */
:root{color-scheme:light;--brand:#245946;--paper:#faf8f2;--ink:#182720;--muted:#526159;--line:#d9dfd7;--space:clamp(3.5rem,7vw,7rem);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;line-height:1.65}img{display:block;max-width:100%;height:auto}button,a{touch-action:manipulation}button{font:inherit}a{color:inherit;text-underline-offset:.2em}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--brand);outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.08;text-wrap:balance}h1{font-size:clamp(2.8rem,5.5vw,5.8rem);letter-spacing:-.045em}h2{font-size:clamp(2rem,3.6vw,3.6rem);letter-spacing:-.025em}h3{font-size:1.1rem}p{max-width:65ch}p+p{margin-top:1rem}.shell{width:min(1180px,calc(100% - 64px));margin-inline:auto}.skip{position:absolute;left:16px;top:-100px;background:white;padding:12px;z-index:20}.skip:focus{top:12px}.notice{padding:10px 20px;text-align:center;background:var(--ink);color:white;font-size:.76rem}.nav{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;padding:24px 0;border-bottom:1px solid var(--line)}.brand{font-weight:750;text-decoration:none;max-width:34ch;line-height:1.3}.nav nav{display:flex;flex-wrap:wrap;gap:10px}.nav nav a{padding:8px}.hero{padding-block:var(--space);display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(28px,5vw,76px);align-items:center}.eyebrow{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--brand);margin-bottom:22px}.hero p:not(.eyebrow){margin-top:24px;color:var(--muted)}.hero figure img{width:100%;aspect-ratio:4/5;object-fit:cover}.hero figure{min-width:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;background:var(--brand);color:white;text-decoration:none;font-weight:650;border:0;border-radius:2px}.hero .button{margin-top:30px}.section{padding-block:var(--space);border-top:1px solid var(--line)}.section-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:38px}.section-head p{color:var(--muted)}.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.services article{padding:25px 0;border-top:2px solid var(--brand)}.services article p{margin-top:14px;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;align-items:start}.gallery:has(figure:only-child){max-width:420px;margin-inline:auto}.gallery figure{min-width:0}.gallery button{border:0;padding:0;background:transparent;width:100%;cursor:zoom-in}.gallery img{width:100%;height:auto}.gallery figcaption{margin-top:10px;font-size:.78rem;color:var(--muted)}.contact{display:flex;justify-content:space-between;align-items:center;gap:40px}.contact p{margin-top:20px}.footer{padding:30px 0;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}.footer a{display:inline-block;margin-top:12px}.viewer{width:min(1000px,calc(100% - 32px));max-height:94vh;border:0;padding:20px;background:var(--paper)}.viewer::backdrop{background:#102019d9}.viewer img{max-height:77vh;max-width:100%;width:auto;margin:auto;object-fit:contain}.viewer button{display:block;margin-left:auto;padding:8px 14px;border:1px solid var(--line);background:white;cursor:pointer}.viewer p{font-size:.85rem;margin-top:12px}[hidden]{display:none!important}
@media(max-width:700px){.shell{width:calc(100% - 36px)}.nav{padding:20px 0}.brand{max-width:25ch;font-size:.9rem}.hero,.section-head{grid-template-columns:minmax(0,1fr);gap:30px}.hero{padding-top:42px}.hero figure img{aspect-ratio:4/5}.services,.gallery{grid-template-columns:minmax(0,1fr);gap:26px}.contact{display:block}.contact .button{margin-top:28px}.notice{font-size:.69rem}h1{overflow-wrap:anywhere}.viewer{padding:14px}}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Shared document model: inherited editorial content, without legacy patches. */
.document{padding-bottom:40px;overflow-wrap:anywhere}.document .section{padding-block:clamp(40px,6vw,80px)}.document>div{margin-block:32px}.document h1{margin-block:18px 24px}.document h2{margin-block:14px 26px}.document h3,.document h4{margin-block:12px}.document p,.document ul,.document ol,.document dl{margin-block:14px}.document a{overflow-wrap:anywhere}.document a[href^="tel:"],.document a[href*="wa.me"],.document a[href^="mailto:"]{font-weight:650}.document figure{margin-block:24px}.document img{max-width:100%;width:auto;max-height:620px;object-fit:contain;margin-block:18px}.document figure img{width:100%}.document figcaption{font-size:.8rem;color:var(--muted)}.document [data-layout="grid"]{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:28px;align-items:start}.document [data-layout="grid"]>figure{min-width:0;margin:0}.document .hero-document{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center}.document .hero-media img{width:100%;max-height:650px;object-fit:contain}.document .hero-media img:first-child{aspect-ratio:4/5;object-fit:cover}.document .hero-media img:not(:first-child){max-height:180px}.document details{padding:18px;border-bottom:1px solid var(--line)}.document summary{cursor:pointer;font-weight:650}.document table{display:block;overflow:auto;max-width:100%;border-collapse:collapse}.document td,.document th{padding:12px;border-bottom:1px solid var(--line);min-width:100px}.document blockquote{padding:22px;border-left:3px solid var(--brand);background:#ffffff70}.document form{display:grid;gap:16px;max-width:700px;margin-block:30px}.document label{display:block;margin-top:10px}.document input,.document select,.document textarea{font:inherit;max-width:100%;padding:12px;border:1px solid var(--line);background:#fff;color:var(--ink)}.document input:not([type=checkbox]):not([type=radio]),.document textarea,.document select{width:100%}.document button{padding:12px 20px;border:1px solid var(--brand);color:var(--brand);background:transparent;cursor:pointer}.document button[type=submit]{background:var(--brand);color:white}.document video{display:block;width:100%;max-height:650px}.contact-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:20px;max-width:65ch}.document [data-gallery-src]{cursor:zoom-in}.viewer form{margin:0}.document .catalog-tools{display:flex;gap:12px;margin-bottom:20px}.document [data-filtered]{display:none!important}.document [data-layout="grid"] figure:empty{display:none}
@media(max-width:700px){.document .hero-document{grid-template-columns:minmax(0,1fr);gap:24px}.document h1{font-size:clamp(2.6rem,11vw,3.4rem)}.document h2{font-size:2.1rem}.document .hero-media img:first-child{aspect-ratio:auto}.document [data-layout="grid"]{grid-template-columns:minmax(0,1fr)}.document img{max-height:none}.contact{min-width:0}.contact h2{overflow-wrap:anywhere}}

.shell,.nav *,.contact>div{min-width:0}.nav *,.button,.contact-links a{overflow-wrap:anywhere}.button{max-width:100%;white-space:normal}.contact>div{flex:1}.contact>.button{min-width:0;flex-shrink:1}.contact-links a{min-width:0;max-width:100%}.document pre{white-space:pre-wrap;word-break:break-word}.document fieldset{min-width:0;max-width:100%}
