/*
Theme Name: HC - Hancar Industrial (reconstrucción)
Theme URI: https://hancar.com.mx/
Author: Reconstrucción basada en archivos recuperados
Description: Base provisional del tema hc. Incluye fragmentos recuperados de páginas de Hancar; requiere revisión del proveedor antes de producción.
Version: 0.1.0
Text Domain: hc
*/
:root{--hc-yellow:#FFCC00;--hc-black:#1E1E1E;--hc-font:Inter,Arial,sans-serif}
html{scroll-behavior:smooth}body{margin:0;font-family:var(--hc-font);color:#1e1e1e}img{max-width:100%;height:auto}.hc-site-header{background:#1e1e1e;color:#fff;padding:14px 4%;display:flex;align-items:center;justify-content:space-between;gap:20px}.hc-site-header a{color:#fff;text-decoration:none}.hc-brand{font-weight:800;letter-spacing:.04em}.hc-nav{display:flex;flex-wrap:wrap;gap:18px}.hc-nav a:hover{color:var(--hc-yellow)}.hc-site-footer{background:#1e1e1e;color:#fff;padding:24px 4%;margin-top:40px}.hc-site-footer a{color:var(--hc-yellow)}.hc-recovery-notice{padding:10px 4%;background:#fff4c2;color:#4a3b00;font-size:13px}

.hc-about{max-width:72rem;margin:3rem auto;padding:0 5%;line-height:1.65}
.hc-about h2{border-left:5px solid #fc0;padding-left:1rem}
.hc-wa{position:fixed;bottom:1rem;right:1rem;z-index:999;background:white;border-radius:1rem;box-shadow:0 4px 24px #0003;overflow:hidden}
.hc-wa summary,.hc-wa a{display:block;padding:.8rem 1.2rem}
.hc-wa summary{cursor:pointer;background:#076942;color:white;font-weight:700}
.hc-wa a{color:#163d2f}
@media(prefers-reduced-motion:no-preference){.hc-wa{animation:hc-enter .4s ease-out}@keyframes hc-enter{from{transform:translateY(1rem);opacity:0}to{transform:translateY(0);opacity:1}}}

.hc-catalog{position:relative}.hc-catalog summary{cursor:pointer;font-weight:700}
.hc-catalog-panel{position:absolute;right:0;top:100%;z-index:1000;width:min(50rem,88vw);max-height:65vh;overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;background:white;color:#222;padding:1.25rem;box-shadow:0 8px 24px #0003}
.hc-catalog:not([open]) .hc-catalog-panel{display:none}
.hc-catalog-panel ul{display:block;margin:.5rem 0;padding:0;list-style:none}.hc-catalog-panel li{display:block;margin:.5rem 0}.hc-catalog-panel a{color:#222;white-space:normal}
@media(max-width:720px){.hc-site-header,.hc-nav{flex-wrap:wrap}.hc-catalog{position:static}.hc-catalog-panel{position:static;width:auto;grid-template-columns:1fr}}

.hc-services{max-width:68rem;margin:clamp(2rem,6vw,5rem) auto;padding:0 5%}
.hc-service{padding:clamp(1.5rem,4vw,3rem) 0;border-top:1px solid #d6d5d1}
.hc-service h2{margin:0 0 .6rem;padding-left:.8rem;border-left:5px solid #fc0;font-size:clamp(1.55rem,3vw,2.4rem)}
.hc-service p{max-width:66ch;font-size:1.125rem;line-height:1.65;margin:.75rem 0}
.hc-services img{max-width:100%;height:auto;border:0}
.hc-service-contact{display:inline-block;padding:.85rem 1.2rem;background:#fc0;color:#191919;font-weight:700}
