/* Layout D 2027 — hybrid light homepage */
html[data-layout=d],html[data-layout=d] body{background:#ececec;color:#161616}
html[data-layout=d] .d-page{background:#ececec;color:#161616;min-height:100vh}
.d-head{position:sticky;top:0;z-index:50;backdrop-filter:blur(16px);background:rgba(255,255,255,.78);border-bottom:1px solid #00000014}
.d-head-in{display:flex;align-items:center;gap:1rem;max-width:90rem;margin:0 auto;padding:.7rem 1.25rem}
.d-brand{display:flex;align-items:center;gap:.5rem;text-decoration:none;color:#111;font-family:var(--font-display);font-weight:800;letter-spacing:.16em;font-size:.95rem}
.d-brand img{width:28px;height:28px;outline:none}
.d-nav{display:none;gap:1.1rem;margin-left:auto;font-size:.82rem;color:#444}
.d-nav a{text-decoration:none;color:inherit}
.d-nav a:hover{color:#111}
@media(min-width:900px){.d-nav{display:flex}}
.d-lang{margin-left:.4rem;font-weight:700}
.d-wa{margin-left:auto;display:inline-flex;align-items:center;min-height:2.4rem;padding:0 1rem;border-radius:999px;background:#25d366;color:#fff;font-weight:800;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
@media(min-width:900px){.d-wa{margin-left:.8rem}}
.d-hero{max-width:90rem;margin:0 auto;padding:2.2rem 1.25rem 1.5rem}
.d-kicker{letter-spacing:.18em;text-transform:uppercase;color:#8a6b2a;font-size:.72rem;font-weight:700;margin:0 0 .8rem}
.d-hero h1{font-family:var(--font-display);font-weight:800;letter-spacing:-.04em;line-height:.92;font-size:clamp(2.4rem,7vw,4.6rem);margin:0 0 .7rem;max-width:14ch}
.d-sub{color:#555;font-size:1.05rem;margin:0 0 1.25rem}
.d-cta{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 1.5rem}
.d-btn{display:inline-flex;align-items:center;justify-content:center;min-height:2.8rem;padding:0 1.2rem;border-radius:.7rem;text-decoration:none;font-family:var(--font-display);font-weight:800;letter-spacing:.1em;text-transform:uppercase;font-size:.85rem}
.d-btn-gold{background:linear-gradient(180deg,#f0dc9c,#c9a44a 50%,#8f6b28);color:#1a140c;box-shadow:0 2px 0 #5c4516}
.d-btn-dark{background:#161616;color:#f3ede3}
.d-btn-wa{background:#25d366;color:#fff;box-shadow:0 2px 0 #128c7e}
.d-visual{position:relative;border-radius:1.1rem;overflow:hidden;background:#111;min-height:220px}
.d-visual .city{width:100%;height:min(42vw,280px);object-fit:cover;display:block;outline:none}
.d-visual picture{display:block}
.d-visual .sedan{position:absolute;right:4%;bottom:-6%;width:min(54%,420px);height:auto;outline:none;filter:drop-shadow(0 18px 28px #0008)}
.d-visual .d-ph-lab{position:absolute;left:.9rem;bottom:.8rem;color:#fff;font-family:var(--font-display);font-weight:800;letter-spacing:.04em;text-shadow:0 1px 8px #000a}
.d-photos{display:grid;gap:.8rem;max-width:90rem;margin:0 auto;padding:0 1.25rem 2rem}
@media(min-width:800px){.d-photos{grid-template-columns:1fr 1fr}}
.d-ph{position:relative;display:block;border-radius:1rem;overflow:hidden;background:#111;text-decoration:none;color:#fff}
.d-ph img.ph,.d-ph picture,.d-ph picture img{width:100%;height:12.5rem;object-fit:cover;display:block}
.d-ph b{position:absolute;left:.85rem;bottom:.7rem;font-family:var(--font-display);font-weight:800;font-size:1.05rem;text-shadow:0 1px 10px #000c}
.d-ph .pin{position:absolute;left:50%;top:44%;width:22px;height:28px;transform:translate(-50%,-100%);outline:none;filter:drop-shadow(0 2px 4px #0008)}
.d-cards{display:grid;gap:.8rem;max-width:90rem;margin:0 auto;padding:0 1.25rem 2rem}
@media(min-width:800px){.d-cards{grid-template-columns:repeat(3,1fr)}}
.d-card{background:#fff;border-radius:.9rem;padding:1.1rem 1.15rem 1.2rem;box-shadow:0 1px 0 #00000012;text-decoration:none;color:inherit;display:block}
.d-card h2{font-family:var(--font-display);font-weight:800;font-size:1.15rem;margin:0 0 .35rem}
.d-card p{color:#555;font-size:.9rem;margin:0;line-height:1.45}
.d-cor{max-width:90rem;margin:0 auto;padding:0 1.25rem 2rem}
.d-cor h2{font-family:var(--font-display);font-weight:800;font-size:1.6rem;margin:0 0 .7rem}
.d-table{width:100%;border-collapse:collapse;background:#fff;border-radius:.9rem;overflow:hidden}
.d-table th{text-align:left;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:#8a6b2a;padding:.7rem .9rem;background:#f7f7f7}
.d-table td{padding:.7rem .9rem;border-top:1px solid #eee;font-size:.92rem}
.d-table a{color:#8a6b2a;font-weight:700;text-decoration:none}
.d-f1{max-width:90rem;margin:0 auto 2rem;padding:0 1.25rem}
.d-f1 a{display:grid;grid-template-columns:1.1fr .9fr;background:#111;color:#f3ede3;border-radius:1rem;overflow:hidden;text-decoration:none;min-height:10rem}
@media(max-width:700px){.d-f1 a{grid-template-columns:1fr}}
.d-f1 .copy{padding:1.2rem 1.3rem}
.d-f1 .k{letter-spacing:.16em;text-transform:uppercase;color:#c9a44a;font-size:.68rem;font-weight:700}
.d-f1 h2{font-family:var(--font-display);font-weight:800;font-size:1.5rem;margin:.3rem 0}
.d-f1 img{width:100%;height:100%;object-fit:cover;min-height:9rem;outline:none}
.d-trust{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;max-width:90rem;margin:0 auto;padding:0 1.25rem 2rem;color:#555;font-size:.82rem}
.d-trust span{white-space:nowrap}
.d-article{max-width:42rem;margin:0 auto;padding:0 1.25rem 2rem}
.d-article h2{font-family:var(--font-display);font-weight:800;font-size:1.35rem;margin:1.6rem 0 .4rem}
.d-article p,.d-article li{color:#444;font-size:.95rem;line-height:1.6}
.d-article a{color:#8a6b2a}
.d-faq{max-width:42rem;margin:0 auto;padding:0 1.25rem 3rem}
.d-faq h2{font-family:var(--font-display);font-weight:800;font-size:1.5rem;margin:0 0 1rem}
.d-faq details{border-top:1px solid #ddd;padding:.85rem 0}
.d-faq summary{cursor:pointer;font-weight:600}
.d-faq p{color:#555;margin:.4rem 0 0;font-size:.92rem}
.d-foot{border-top:1px solid #ddd;padding:2rem 1.25rem;max-width:90rem;margin:0 auto;color:#555;font-size:.88rem}
.d-foot .n{font-family:var(--font-display);font-weight:800;color:#111;letter-spacing:.12em;margin:0 0 .3rem}
.d-float{position:fixed;right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom));z-index:40;background:#25d366;color:#fff;border-radius:999px;min-height:2.75rem;padding:0 1.05rem;font-weight:800;font-size:.8rem;text-decoration:none;display:inline-flex;align-items:center;box-shadow:0 8px 24px #25d36666}
.d-foot-cta{display:flex;flex-wrap:wrap;gap:.6rem;margin:.9rem 0 0}
html[data-layout=d] img{outline:none}

html[data-layout=d] .cinema-title{color:#111}
html[data-layout=d] .text-muted{color:#555}
html[data-layout=d] .cinema-kicker{color:#8a6b2a}
html[data-layout=d] .article h2,html[data-layout=d] .faq h2{color:#111}
html[data-layout=d] .article p,html[data-layout=d] .faq p,html[data-layout=d] .faq summary{color:#444}
html[data-layout=d] .cinema-strip{background:#fff;color:#111}
html[data-layout=d] .cinema-chip{background:#fff;color:#111}
html[data-layout=d] .cinema-sticky-wa{display:none}
html[data-layout=d] .glossary summary{color:#8a6b2a}
html[data-layout=d] .gitem h2{color:#111}
.d-chips{display:flex;gap:.45rem;overflow-x:auto;padding:.35rem 1.25rem .65rem;scrollbar-width:none}
.d-chips::-webkit-scrollbar{display:none}
@media(min-width:900px){.d-chips{display:none}}
.d-chips a{flex:none;white-space:nowrap;min-height:2.1rem;padding:0 .75rem;border-radius:999px;background:#fff;color:#222;text-decoration:none;font-size:.75rem;font-weight:600;display:inline-flex;align-items:center;box-shadow:0 1px 0 #00000014}
html[data-layout=d] .cinema-cta-row a.seg-cta{background:linear-gradient(180deg,#f0dc9c,#c9a44a 50%,#8f6b28);color:#1a140c}

.d-ph-map{background:#e9e6df;padding:0;overflow:hidden}
.d-ph-map svg,.seg-map svg{width:100%;height:12.5rem;display:block}
.seg-map{max-width:90rem;margin:0 auto 2rem;padding:0 1.25rem}
.seg-map svg{height:auto;aspect-ratio:16/9;background:#e9e6df;border-radius:1rem}
.eu-pin{fill:#c9a44a;stroke:#1a140c;stroke-width:1.2}
.eu-hub{fill:#8a6b2a}
.eu-lab{font-family:Manrope,sans-serif;font-size:13px;font-weight:700;fill:#1a140c}
.eu-t{font-family:Manrope,sans-serif;font-size:11px;fill:#6a5a40}
.d-ph-map a:hover .eu-pin,.seg-map a:hover .eu-pin{fill:#8a6b2a}

.d-faq a,.faq a,.article a{color:#8a6b2a;text-decoration:underline}
.glossary{margin-top:2rem;font-size:.88rem;color:#666}
.glossary summary{cursor:pointer;font-weight:600}

/* Layout D tokens — align cinema.css / cinema-extra.css on every page (no HTML change) */
html[data-layout=d]{
  --z-bg:#ececec;
  --z-surface:#ffffff;
  --z-fg:#161616;
  --z-muted:#555555;
  --z-bronze:#8a6b2a;
  --z-line:#00000014;
  --z-border:0 0 0 1px #00000014;
  --z-border-hover:0 0 0 1px #8a6b2a80;
  --z-img-line:#00000010;
  --color-bg:#ececec;
  --color-surface:#ffffff;
  --color-fg:#161616;
  --color-muted:#555555;
  --color-bronze:#8a6b2a;
  --color-line:#00000014;
}
html[data-layout=d],
html[data-layout=d] body{
  background:#ececec;
  color:#161616;
}
html[data-layout=d] h1,
html[data-layout=d] .cinema-title{
  color:#111;
  text-shadow:none;
}
html[data-layout=d] .cinema-kicker,
html[data-layout=d] .kicker{
  color:#8a6b2a;
}
html[data-layout=d] .lede,
html[data-layout=d] .text-muted,
html[data-layout=d] .article p,
html[data-layout=d] .prose p,
html[data-layout=d] .faq p,
html[data-layout=d] .gitem p,
html[data-layout=d] ol.book,
html[data-layout=d] .foot,
html[data-layout=d] .footer-note{
  color:#555;
}
html[data-layout=d] .article h2,
html[data-layout=d] .prose h2,
html[data-layout=d] .faq h2,
html[data-layout=d] .gitem h2{
  color:#111;
}
html[data-layout=d] .faq summary,
html[data-layout=d] .article li,
html[data-layout=d] .prose li{
  color:#333;
}
html[data-layout=d] .cinema-frame{
  border-radius:1.1rem;
  overflow:hidden;
  background:#111;
}
html[data-layout=d] .cinema-frame img,
html[data-layout=d] .cinema-frame picture img{
  width:100%;
  height:min(42vw,280px);
  object-fit:cover;
  display:block;
}
html[data-layout=d] .cinema-cta-row a,
html[data-layout=d] .rel a{
  background:#fff;
  color:#222;
}
html[data-layout=d] table.corridors th{color:#8a6b2a}
html[data-layout=d] table.corridors td{color:#222;border-bottom-color:#eee}
html[data-layout=d] .map{background:#fff}
html[data-layout=d] .hud-top,
html[data-layout=d] .hud-foot,
html[data-layout=d] .chips,
html[data-layout=d] .cinema-sticky-wa{display:none !important}
html[data-layout=d] .stage{
  position:relative;
  min-height:auto;
  background:#ececec;
  color:#161616;
}
html[data-layout=d] .stage img{
  height:min(42vw,280px);
  min-height:0;
  width:100%;
  object-fit:cover;
  border-radius:1.1rem;
  filter:none;
}
html[data-layout=d] .veil,
html[data-layout=d] .frame{display:none}
html[data-layout=d] .hud{
  position:static;
  display:block;
  inset:auto;
  color:#161616;
}
html[data-layout=d] details.q,
html[data-layout=d] .faq details{
  border-top:1px solid #ddd;
}
