:root {
  color-scheme: dark;
  --ink: #f3f0eb;
  --muted: #c0c3c4;
  --paper: #202327;
  --line: #45494f;
  --action: #ffa476;
}
body, .topbar, .nav-links, footer { background: #141619; color: var(--ink); }
.topbar { border-color: #373b40; }
.cover, .product-hero { background: #1b1e22; }
.about, .contact, .dark-panel { background: #212429; color: var(--ink); }
.story { color: var(--ink); background: #22262b; }
.story-top, .diagram figcaption, .story-detail p, .step, .cover-foot,
.catalog p, .details p, td, .gallery figcaption { color: var(--muted); }
.step.active { color: white; }
.step:hover, .choices button:hover { background: #3e444b; }
.diagram svg { background: #272c32; }
.primary, .primary:hover { background: #f5ede3; color: #201b18; }
.primary:hover { background: #fff; }
.links a:last-child, .eyebrow { color: var(--action); }
.catalog article { border-color: #51565b; }
.catalog article:first-child { grid-column: span 2; }
.catalog img { height: clamp(185px, 19vw, 265px); background: #272a2e; }
.gallery-projects { grid-template-columns: 1fr 1fr; }
.gallery-projects img { height: clamp(200px, 33vw, 430px); }
.gallery img, .explore, .about-art { background: #282d33; border-color: #494e55; }
.about-art small { color: #c0c3c4; }
.form, .outline, .choices button, .calc input { background: #202327; color: #f3f0eb; }
.form input, .form select, .form textarea, #result { background: #141619; color: #f3f0eb; border-color: #6a7077; }
.form label, .form .note { color: #dedfe0; }
.conar-canales { list-style: none; padding: 0; margin: 30px 0 0; }
.conar-canales li { display: grid; gap: 4px; border-top: 1px solid #5b5e63; padding: 12px 0; }
.conar-canales li span { font-weight: 700; }
.conar-canales a { color: var(--action); text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .catalog article:first-child { grid-column: auto; }
  .gallery-projects { grid-template-columns: 1fr; }
}
.menu { color: var(--ink); }
.choices button[aria-pressed="true"] { background: #ffe7d9; color: #231a16; }
.brand img, .foot img { background: transparent; padding: 3px; object-fit: contain; }
@media (min-width: 1080px) {
  .catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.catalog .photo-link img { object-fit: contain; background: #202327; }

/* Shared contact action in the catalog, header and quote form. */
body :is(a,button).conar-chat {
 display:inline-flex; align-items:center; justify-content:center; gap:.55em;
 box-sizing:border-box; max-width:100%; min-height:44px; padding:.65em 1em;
 border:1px solid #ff6900; border-radius:8px; background:#ff6900; color:#111;
 font-weight:700; line-height:1.25; text-decoration:none; text-align:center;
}
body :is(a,button).conar-chat::before {
 content:""; display:block; position:static; width:1.45em; height:1.45em;
 flex:none; background:transparent url("whatsapp.svg") center/contain no-repeat;
}
body :is(a,button).conar-chat:hover { background:#ff812b; color:#111; }
body a.conar-explorar { display:inline-flex; align-items:center; padding:.65em 1em;
 min-height:44px; box-sizing:border-box; border:1px solid #bbb; border-radius:8px; color:white; background:transparent; }
body :is(.conar-chat,.conar-explorar):focus-visible { outline:3px solid white; outline-offset:3px; }

.nav:has(.nav-cta) {grid-template-columns:auto minmax(0,1fr) max-content}
.nav a.nav-cta.conar-chat,
#bob-catalogo .actions a.action.conar-chat {
 display:inline-flex; flex-flow:row nowrap; align-items:center; justify-content:center;
 gap:8px; width:max-content; min-width:max-content; max-width:none; height:44px;
 min-height:44px; box-sizing:border-box; padding:0 14px; margin:0;
 font-size:16px; line-height:1.2; white-space:nowrap; text-indent:0;
}
.nav a.nav-cta.conar-chat::before,
#bob-catalogo .actions a.action.conar-chat::before {
 position:static; width:20px; height:20px; flex:0 0 20px; margin:0; transform:none;
}

#productos .catalog {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
#productos .catalog article {grid-column:span 2;display:flex;flex-direction:column;min-width:0;padding:0 0 20px;background:#1b1e21;border:0;border-radius:6px;overflow:hidden}
#productos #familia-plataformas {grid-column:2 / span 2}
#productos .catalog article .photo-link img {width:100%;aspect-ratio:1.65;height:auto;object-fit:contain;margin:0;background:#222629}
#productos .catalog h3 {margin:16px 18px 0}
#productos .catalog p {margin:8px 18px 16px}
#productos .catalog .links {margin:auto 18px 0;gap:10px 16px;align-items:center}
#productos .catalog .links a {color:#eee}
#productos .catalog .links a.conar-chat {color:#111;min-height:44px;text-decoration:none}
#productos .catalog-services-title {text-align:center;margin:36px 0 16px}
#productos .catalog-services article {grid-column:span 3}
@media(max-width:800px) {
 #productos .catalog {grid-template-columns:minmax(0,1fr)}
 #productos .catalog article,#productos #familia-plataformas {grid-column:1}
}

.ubicacion-panel {display:grid;grid-template-columns:1fr 1.12fr;align-items:center;gap:clamp(20px,4vw,48px);padding:clamp(18px,3vw,36px);background:#1b1e21;border:1px solid #45484c;border-radius:10px}
.ubicacion-panel h2::before {content:"";display:block;width:44px;height:4px;margin-bottom:16px;background:#ff6900}
.ubicacion-panel address {margin:18px 0 24px;font-style:normal;line-height:1.5}
.ubicacion-enlace {display:inline-flex;gap:8px;align-items:center;padding:10px 16px;min-height:44px;color:white;border:1px solid #bbb;border-radius:8px;text-decoration:none}
.ubicacion-panel iframe {width:100%;height:clamp(220px,22vw,310px);border:0;border-radius:8px;background:#292c30}
@media(max-width:700px){.ubicacion-panel{grid-template-columns:1fr}}
