/* TIANQUIXTLI / detalles de marca · Fase 4.1
   Refinamiento progresivo del sitio V3. Preserva contenido, retícula y navegación.
   La escena es una ilustración original inspirada en geometría mesoamericana;
   no es un glifo arqueológico ni implica certificación cultural. */
:root{--limestone:#f1ebdd;--jade-art:#123c35;--maize:#d3aa66;--barro-art:#b9603f}
.site-header{box-shadow:0 5px 22px #0c2b2310}
.site-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:7px;background:url('/greca-tianquixtli.svg') left center/72px 8px repeat-x;opacity:.65;pointer-events:none}
.logo img,.screen-top img{object-fit:contain}
.nav-cta{background:#e9ede1}
.nav-cta:hover{background:var(--jade);color:white}
.hero{background-image:radial-gradient(ellipse at 12% 95%,#234a3b45,transparent 40%);}
.hero-right::before{content:"";position:absolute;width:125%;max-width:770px;height:440px;right:-17%;bottom:-123px;background:url('/escena-tianquixtli.svg') right bottom /contain no-repeat;opacity:.51;pointer-events:none;z-index:-1}
.hero-right::after{content:"";position:absolute;right:-24px;top:-52px;width:93px;height:93px;background:radial-gradient(circle,#d4a26c 0 39%,transparent 40%);opacity:.15;pointer-events:none}
.tech-deck{filter:drop-shadow(0 15px 30px #040f0b50)}
.tech-deck::after{border-color:var(--maize)}
.screen-top{background:linear-gradient(100deg,#103a33 0%,#174e40 100%);border-bottom:2px solid #c89a71}
.screen-top img{border:1px solid #bbaf92;border-radius:3px}
.screen-controls{background:#f0ede4}
.screen-controls button{border-radius:4px}
.screen-controls button.active,.screen-controls button[aria-pressed="true"]{background:var(--jade-art)}
.screen-content{background:#fbf9f3}
.screen-sale-cta{border-radius:5px;background:#145346;color:#fff;box-shadow:inset 0 -3px 0 #0d382f}
.screen-footer{border-top:1px solid #d7c4a9}
.hero-stairline{height:21px;background:#dfc39b1b;opacity:.95}
.hero-stairline>path{stroke:none}
.identity-ribbon{position:relative;background:var(--limestone)}
.identity-ribbon::before{content:"";height:8px;position:absolute;top:0;left:0;right:0;background:url('/greca-tianquixtli.svg') 0 50%/72px 8px repeat-x;opacity:.4}
.ribbon-grid{padding-top:7px}
.ribbon-mark{border-color:#af704e}
.module-card{background:#f3f0e7;min-height:275px;box-shadow:0 2px 0 #e0d8c6}
.module-card::before{width:52px;height:52px;border-color:#b9865e}
.module-card::after{inset:auto 0 0;height:8px;background:url('/greca-tianquixtli.svg') left center/72px 8px repeat-x;opacity:.4;pointer-events:none}
.module-icon{width:61px;height:61px;border:1px solid #becfc0;border-radius:11px;background:#e1e9dc;box-shadow:inset 0 0 0 5px #edf2e9}
.module-card:nth-child(3n+2) .module-icon{background:#f3e2cd;box-shadow:inset 0 0 0 5px #f8ede0}
.module-card:nth-child(3n+3) .module-icon{background:#e5e6d7;box-shadow:inset 0 0 0 5px #f2f0e6}
.sector-section{background:#e9eee5}
.sector-panel{box-shadow:0 8px 19px #193e2c0c}
.sector-tab[aria-selected="true"]{box-shadow:inset 0 4px 0 #e2c19a}
.sector-art{background:linear-gradient(120deg,#193f37,#0b2d28)}
.sector-art::after{border:0;right:-46px;bottom:-65px;width:360px;height:240px;transform:none;opacity:.37;background:url('/escena-tianquixtli.svg') right bottom /contain no-repeat}
.sector-art .art-title{color:#e6bc8f}
.sector-art .art-word{max-width:100%;overflow-wrap:anywhere}
.origin-section{background-color:#113c33}
.origin-section::after{content:"";position:absolute;bottom:0;left:0;right:0;height:11px;background:url('/greca-tianquixtli.svg') left center/72px 11px repeat-x;opacity:.65;pointer-events:none}
.origin-glyph{background:radial-gradient(circle at center,#d9aa7940 0%,transparent 62%)}
.origin-glyph::before{border:1px solid #dbb38575}
.origin-glyph::after{border-color:#e3c8a250}
.origin-glyph img{background:var(--limestone);border-radius:4px}
.origin-value{border-top-color:#bb9e7c88}
.step{border-top-color:#d6d1bc}
.step .step-no{color:#b26745}
.faq-section{background:#f0eadf}
.faq-column details[open]{background:#fffef735;padding-inline:14px}
.last-cta{background-image:radial-gradient(circle at 92% 40%,#356f593b,transparent 35%),linear-gradient(#123c35,#0b2c26)}
.last-cta::before{background:linear-gradient(135deg,transparent 80%,#d6a56810)}
.site-footer{position:relative;background:#082720}
.site-footer::before{content:"";display:block;height:10px;background:url('/greca-tianquixtli.svg') left center/72px 10px repeat-x;opacity:.72;margin:-38px 0 28px}
.footer-lower{border-top-color:#af97665d}
@media(max-width:900px){.hero-right::before{right:-14%;bottom:-88px;width:122%;height:380px}.sector-art::after{opacity:.28}.site-header::after{height:6px}}
@media(max-width:630px){.hero-right::before{width:115%;right:-8%;bottom:-65px;height:270px;opacity:.3}.hero-right::after{display:none}.site-header::after{height:5px}.module-card{min-height:250px}.sector-art::after{right:-90px;bottom:-45px;width:320px;height:210px;opacity:.25}.site-footer::before{margin:-38px 0 26px}}
@media(prefers-reduced-motion:reduce){.tech-deck{transition:none!important}.module-card{transition:none!important}}
