:root {
  --navy: #0c1442;
  --navy-deep: #070b2b;
  --copper: #0891b2;
  --copper-light: #22d3ee;
  --bone: #f5f2ea;
  --white: #ffffff;
  --steel: #6b7280;
  --steel-light: #9ca3af;
  --line: rgba(12,20,66,0.12);
  --radius: 2px;
  --whatsapp: #22c55e;
  --whatsapp-dark: #1ea34e;
  --bronze: #c86a3c;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Archivo', sans-serif;
  background:var(--bone);
  color:var(--navy);
  line-height:1.5;
}
h1,h2,h3,.display { font-family:'Archivo Black', sans-serif; letter-spacing:-0.01em; }
.mono { font-family:'JetBrains Mono', monospace; }

/* ===== Header ===== */
header {
  position:relative;
  background:var(--white);
  border-bottom:3px solid var(--copper);
}
.header-inner {
  max-width:1200px; margin:0 auto; padding:10px 24px;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.brand { display:flex; align-items:center; justify-content:center; gap:12px; }
.brand img { height:144px; width:auto; }

/* ===== Intro band (headline + contact pills) ===== */
.intro-band {
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding:40px 24px; text-align:center;
}
.intro-inner { max-width:820px; margin:0 auto; }
.intro-headline {
  font-size:clamp(1.3rem, 3.4vw, 2rem);
  line-height:1.2; color:var(--bone); margin-bottom:24px;
}
.intro-actions { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.pill-btn {
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 26px; border-radius:50px;
  font-weight:700; text-decoration:none; font-size:0.95rem; color:var(--white);
  transition:background 0.15s ease, transform 0.15s ease;
}
.pill-btn:hover { transform:translateY(-1px); }
.pill-btn svg { width:19px; height:19px; flex-shrink:0; }
.pill-btn.wa { background:var(--whatsapp); }
.pill-btn.wa:hover { background:var(--whatsapp-dark); }
.pill-btn.fb { background:#1877f2; }
.pill-btn.fb:hover { background:#145dc4; }

/* ===== Hero ===== */
.hero {
  background:linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:var(--bone);
  padding:64px 24px 56px;
  position:relative;
  overflow:hidden;
}
.hero::before {
  content:"";
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(90deg, rgba(8,145,178,0.05) 0px, rgba(8,145,178,0.05) 1px, transparent 1px, transparent 80px);
  pointer-events:none;
}
.hero-inner { max-width:1200px; margin:0 auto; position:relative; }
.hero h1 {
  font-size:clamp(2rem, 5vw, 3.4rem);
  line-height:1.05;
  max-width:820px;
  margin-bottom:20px;
}
.hero h1 span { color:var(--copper-light); }
.hero p {
  font-size:1.05rem; color:rgba(245,242,234,0.72);
  max-width:560px; margin-bottom:32px;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.btn-primary {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--copper); color:var(--white);
  padding:14px 26px; border-radius:var(--radius);
  font-weight:700; text-decoration:none; font-size:0.95rem;
  transition:transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover { background:var(--copper-light); transform:translateY(-1px); }
.btn-secondary {
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--bone);
  padding:14px 26px; border-radius:var(--radius);
  font-weight:700; text-decoration:none; font-size:0.95rem;
  border:1.5px solid rgba(245,242,234,0.3);
  transition:border-color 0.15s ease;
}
.btn-secondary:hover { border-color:var(--copper-light); }
.hero-stats {
  display:flex; gap:40px; margin-top:40px; flex-wrap:wrap;
  border-top:1px solid rgba(245,242,234,0.15); padding-top:28px;
}
.stat .num { font-family:'Archivo Black'; font-size:1.8rem; color:var(--copper-light); }
.stat .lbl { font-size:0.78rem; color:rgba(245,242,234,0.6); text-transform:uppercase; letter-spacing:0.06em; margin-top:2px; }

/* ===== Custom project section ===== */
.custom-section {
  background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.custom-inner {
  max-width:1200px; margin:0 auto; padding:44px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.custom-text { max-width:640px; }
.custom-text .eyebrow {
  font-family:'JetBrains Mono'; font-size:0.92rem; color:var(--copper);
  text-transform:uppercase; letter-spacing:0.08em; font-weight:600; margin-bottom:8px; display:block;
}
.custom-text h2 { font-size:1.5rem; margin-bottom:10px; }
.custom-text p { color:var(--steel); font-size:0.95rem; }
.custom-cta {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--whatsapp); color:var(--white);
  padding:14px 24px; border-radius:var(--radius);
  font-weight:700; text-decoration:none; font-size:0.92rem;
  transition:background 0.15s ease; white-space:nowrap;
  flex-shrink:0;
}
.custom-cta:hover { background:var(--whatsapp-dark); }
.custom-cta svg { width:18px; height:18px; }

/* ===== Location section ===== */
.location-section {
  max-width:1200px; margin:0 auto; padding:44px 24px 56px;
}
.location-head { margin-bottom:24px; }
.location-head h2 { font-size:1.5rem; margin-bottom:6px; }
.location-head p { color:var(--steel); font-size:0.92rem; }
.location-grid {
  display:grid; grid-template-columns:1fr 1.4fr; gap:24px;
  background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius);
  overflow:hidden;
}
.location-info { padding:28px; display:flex; flex-direction:column; gap:18px; }
.location-info .addr-line {
  display:flex; align-items:flex-start; gap:12px;
}
.location-info .addr-line svg { width:20px; height:20px; color:var(--copper); flex-shrink:0; margin-top:2px; }
.location-info .addr-text { font-size:0.95rem; color:var(--navy); line-height:1.5; }
.location-info .addr-text strong { display:block; font-family:'Archivo'; font-weight:800; margin-bottom:2px; }
.location-actions { display:flex; gap:12px; flex-wrap:wrap; }
.location-cta {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--navy); color:var(--white);
  padding:12px 20px; border-radius:var(--radius);
  font-weight:700; text-decoration:none; font-size:0.88rem;
  transition:background 0.15s ease; width:fit-content;
}
.location-cta:hover { background:var(--navy-deep); }
.location-cta.fb { background:#1877f2; }
.location-cta.fb:hover { background:#145dc4; }
.location-cta svg { width:16px; height:16px; }
.location-map { min-height:320px; }
.location-map iframe { width:100%; height:100%; border:0; display:block; min-height:320px; }

/* ===== Search ===== */
.search-section {
  background:var(--white); border-bottom:1px solid var(--line);
  padding:20px 24px; position:relative; z-index:90;
}
.search-inner { max-width:1200px; margin:0 auto; }
.search-box {
  display:flex; align-items:center; gap:12px;
  background:var(--bone); border:1.5px solid var(--line);
  border-radius:var(--radius); padding:12px 16px;
  transition:border-color 0.15s ease;
}
.search-box:focus-within { border-color:var(--copper); }
.search-box svg { width:20px; height:20px; color:var(--steel); flex-shrink:0; }
.search-box input {
  border:none; background:transparent; outline:none;
  font-family:'Archivo'; font-size:0.95rem; width:100%; color:var(--navy);
}
.search-box input::placeholder { color:var(--steel-light); }
#result-count { font-size:0.78rem; color:var(--steel); font-family:'JetBrains Mono'; white-space:nowrap; }

/* ===== Categories grid ===== */
.catalog-section { max-width:1200px; margin:0 auto; padding:48px 24px 100px; }
.section-head { margin-bottom:32px; }
.section-head h2 { font-size:1.7rem; margin-bottom:8px; }
.section-head p { color:var(--steel); font-size:0.95rem; }

.cat-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(280px,1fr));
  gap:16px;
}
.cat-card {
  background:var(--white); border:1.5px solid var(--line);
  border-radius:var(--radius); padding:0; overflow:hidden;
  cursor:pointer; transition:border-color 0.15s ease, box-shadow 0.15s ease;
}
.cat-card:hover { border-color:var(--copper); box-shadow:0 4px 16px rgba(12,20,66,0.08); }
.cat-card-top {
  padding:22px 22px 18px; border-left:4px solid var(--bronze);
  display:flex; flex-direction:column; gap:6px;
}
.cat-card.open .cat-card-top { border-left-color:var(--copper); }
.cat-collage { display:flex; gap:6px; margin-bottom:4px; }
.cat-collage img {
  width:60px; height:60px; object-fit:contain; padding:6px;
  background:var(--bone); border:1px solid var(--line); border-radius:var(--radius);
}
.cat-card-top .cat-count {
  font-family:'JetBrains Mono'; font-size:0.72rem; color:var(--copper);
  text-transform:uppercase; letter-spacing:0.08em; font-weight:600;
}
.cat-card-top h3 { font-size:1.15rem; font-family:'Archivo'; font-weight:800; }
.cat-card-top .cat-desc { font-size:0.85rem; color:var(--steel); }
.cat-card-arrow {
  display:flex; justify-content:flex-end; padding:0 22px 16px;
}
.cat-card-arrow svg { width:18px; height:18px; color:var(--steel); transition:transform 0.2s ease; }
.cat-card.open .cat-card-arrow svg { transform:rotate(180deg); color:var(--copper); }

.cat-detail {
  grid-column:1 / -1;
  background:var(--white); border:1.5px solid var(--copper);
  border-radius:var(--radius);
  padding:0; margin-top:-4px;
  display:none;
}
.cat-detail.show { display:block; }
.cat-detail-inner { padding:28px; }
.subcat-block { margin-bottom:28px; }
.subcat-block:last-child { margin-bottom:0; }
.subcat-title {
  font-family:'JetBrains Mono'; font-size:0.75rem; color:var(--copper);
  text-transform:uppercase; letter-spacing:0.08em; font-weight:600;
  margin-bottom:14px; padding-bottom:8px; border-bottom:1px solid var(--line);
}
.prod-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(160px,1fr));
  gap:14px;
}
.prod-card {
  background:var(--bone); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration:none; cursor:pointer; position:relative;
}
.prod-card:hover { border-color:#22c55e; transform:translateY(-2px); box-shadow:0 4px 14px rgba(34,197,94,0.18); }
.prod-card .prod-img-wrap {
  width:100%; aspect-ratio:1/1; background:var(--white);
  display:flex; align-items:center; justify-content:center;
  border-bottom:1px solid var(--line); overflow:hidden; position:relative;
}
.prod-card img { width:100%; height:100%; object-fit:contain; padding:8px; }
.prod-card .prod-noimg {
  color:var(--steel-light); font-size:1.6rem; display:flex; align-items:center; justify-content:center;
  width:100%; height:100%;
}
.prod-card .prod-name {
  font-size:0.78rem; padding:10px 10px 12px; color:var(--navy); font-weight:500;
  line-height:1.3; flex-grow:1;
}
.prod-card .wa-hint {
  position:absolute; top:6px; right:6px; background:#22c55e; color:white;
  width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity 0.15s ease;
}
.prod-card:hover .wa-hint { opacity:1; }
.prod-card .wa-hint svg { width:13px; height:13px; }

.no-results {
  text-align:center; padding:60px 20px; color:var(--steel); display:none;
}
.no-results.show { display:block; }
.no-results svg { width:40px; height:40px; margin-bottom:12px; color:var(--steel-light); }

/* ===== WhatsApp floating button ===== */
.wa-float {
  position:fixed; bottom:24px; right:24px; z-index:200;
  display:flex; align-items:center; gap:10px;
  background:var(--whatsapp); color:white; text-decoration:none;
  padding:14px 20px; border-radius:50px;
  box-shadow:0 6px 20px rgba(0,0,0,0.25);
  font-weight:700; font-size:0.9rem;
  transition:transform 0.15s ease;
}
.wa-float:hover { transform:scale(1.05); }
.wa-float svg { width:22px; height:22px; }

/* ===== Footer ===== */
footer {
  background:var(--navy-deep); color:rgba(245,242,234,0.6);
  padding:40px 24px; text-align:center;
}
footer .brand { justify-content:center; margin-bottom:16px; }
footer .brand img { height:56px; }
footer p { font-size:0.85rem; }
footer .foot-loc { font-family:'JetBrains Mono'; font-size:0.75rem; color:var(--copper-light); margin-top:8px; }

@media (max-width:640px) {
  .header-inner { padding:8px 16px; }
  .brand img { height:100px; }
  .hero { padding:40px 16px 40px; }
  .hero-stats { gap:24px; }
  .search-section { padding:14px 16px; }
  .catalog-section { padding:32px 16px 100px; }
  .custom-inner { padding:32px 16px; flex-direction:column; align-items:flex-start; }
  .custom-cta { width:100%; justify-content:center; }
  .location-section { padding:32px 16px 40px; }
  .location-grid { grid-template-columns:1fr; }
  .location-map { min-height:260px; }
  .location-map iframe { min-height:260px; }
  .cat-detail-inner { padding:18px; }
  .prod-grid { grid-template-columns:repeat(2, 1fr); }
  .wa-float span { display:none; }
  .wa-float { padding:14px; }
}
