/* AGIMAX ELECTRICALS website. Palette from the logo: charcoal, electric blue, gold (sparingly), silver. */
:root {
  --charcoal: #161B22; --charcoal-deep: #0D1015; --ink: #1B2029; --muted: #5E6771; --muted-2: #8A939D;
  --blue: #1A62C8; --blue-deep: #154FA3; --blue-light: #4FB4F5; --blue-tint: #EAF2FD;
  --gold: #D6AA4E; --gold-light: #F7E3A6; --gold-deep: #A67628;
  --silver: #C3CAD2; --paper: #F4F6F8; --line: #E3E7EC; --white: #fff;
  --green: #1F9D55; --wa: #1FAF55;
  --r: 14px; --r-lg: 20px; --shadow: 0 1px 2px rgba(13,16,21,.05), 0 8px 24px rgba(13,16,21,.06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16.5px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; color: var(--charcoal); letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 10px; font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s, box-shadow .15s, color .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn i { font-size: 1.1em; }
.btn-sm { padding: .5rem .8rem; font-size: .85rem; border-radius: 8px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(26,98,200,.25); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-deep)); color: var(--charcoal); box-shadow: 0 6px 18px rgba(214,170,78,.25); }
.btn-gold:hover { color: var(--charcoal); filter: brightness(1.04); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #179447; color: #fff; }
.btn-line { border-color: var(--line); color: var(--charcoal); background: #fff; }
.btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { border-color: rgba(195,202,210,.45); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- announcement + nav */
.announce { background: var(--gold); color: var(--charcoal); text-align: center; font-weight: 600; font-size: .9rem; padding: .45rem 1rem; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13,16,21,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 2px solid var(--gold); }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.logo { display: flex; align-items: center; gap: .6rem; color: #fff; }
.logo:hover { color: #fff; }
.logo img { width: 44px; height: 44px; }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 1.2rem; letter-spacing: .08em; font-weight: 800; }
.logo small { font-size: .62rem; letter-spacing: .38em; color: var(--silver); margin-top: .25rem; }
.links { display: flex; align-items: center; gap: .15rem; }
.links a { color: #D5DAE0; font-weight: 600; font-size: .92rem; padding: .55rem .75rem; border-radius: 8px; }
.links a:hover, .links a.on { color: #fff; background: rgba(255,255,255,.06); }
.links a.on { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.links .nav-cta { margin-left: .5rem; color: var(--charcoal); padding: .6rem 1rem; }
.links .nav-cta:hover { color: var(--charcoal); background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-deep)); }
.nav-right { display: flex; align-items: center; gap: .5rem; }
.nav-call { color: var(--gold-light); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.nav-call:hover { color: #fff; }
.burger { display: none; background: none; border: 1px solid rgba(195,202,210,.35); color: #fff; border-radius: 10px; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 1080px) {
  .nav-call span { display: none; }
  .nav-call { width: 44px; height: 44px; justify-content: center; border: 1px solid rgba(214,170,78,.4); border-radius: 10px; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem;
    background: var(--charcoal-deep); border-bottom: 2px solid var(--gold); display: none; }
  .links.open { display: flex; }
  .links a { padding: .85rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .links a.on { box-shadow: inset 3px 0 0 var(--gold); }
  .links .nav-cta { margin: 1rem 0 0; border-radius: 10px; }
}

.flash { margin: 1rem 0 0; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 600; }
.flash-danger, .flash-warning { background: #FDECEC; color: #9B1C1C; }
.flash-success { background: #E7F7EE; color: #11663A; }

/* ---------- sections */
.section { padding: 4.5rem 0; }
.section.tint { background: var(--paper); }
.section.tight { padding: 3rem 0; }
.head { max-width: 46rem; margin: 0 auto 2.25rem; text-align: center; }
.head.left { margin-left: 0; text-align: left; }
.head h2, .h-title { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; }
.head p { color: var(--muted); margin: .8rem 0 0; font-size: 1.05rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.eyebrow.gold { color: var(--gold); }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.row-head .head { margin: 0; }
.more { font-weight: 700; white-space: nowrap; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(55rem 28rem at 15% -10%, rgba(26,98,200,.30), transparent 60%), radial-gradient(40rem 22rem at 100% 110%, rgba(214,170,78,.16), transparent 65%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--charcoal-deep) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 4.5rem 0 5rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--blue-light), #9ED6FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #C9D0D8; font-size: 1.15rem; margin: 1.2rem 0 1.8rem; max-width: 36rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero .facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.8rem; color: #AEB6C0; font-size: .95rem; }
.hero .facts a { color: #E3E7EC; }
.hero .facts i { color: var(--gold); margin-right: .35rem; }
.hero-art { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); }
.hero-emblem { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; max-width: 380px; margin-left: auto;
  background: radial-gradient(circle at 50% 45%, rgba(79,180,245,.18), rgba(13,16,21,0) 65%); }
.hero-emblem img { width: 78%; filter: drop-shadow(0 20px 40px rgba(79,180,245,.25)); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent); }

/* ---------- trust strip */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; }
.trust li { font-weight: 600; color: var(--charcoal); display: flex; align-items: center; gap: .45rem; font-size: .95rem; }
.trust i { color: var(--green); }

/* ---------- search */
.search { display: flex; gap: .5rem; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: .4rem; box-shadow: var(--shadow); }
.search:focus-within { border-color: var(--blue-light); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: .6rem .8rem; min-width: 0; background: transparent; }
.search .btn { padding: .7rem 1.2rem; }
.search-hints { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.search-hints a { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.search-hints a:hover { color: var(--blue); border-color: var(--blue-light); }

/* ---------- category cards */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.cat { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(79,180,245,.55); color: var(--ink); }
.cat .cimg { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--charcoal), #243040); display: grid; place-items: center; overflow: hidden; }
.cat .cimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat:hover .cimg img { transform: scale(1.04); }
.cat .cimg i { font-size: 2.8rem; color: var(--blue-light); }
.cat:nth-child(3n+2) .cimg i { color: var(--gold); }
.cat .cbody { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.cat h3 { font-size: 1.15rem; font-weight: 700; }
.cat p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.cat .go { font-weight: 700; color: var(--blue); font-size: .9rem; margin-top: .4rem; }
.cat .count { position: absolute; top: .75rem; right: .75rem; background: rgba(13,16,21,.75); color: #fff; font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; }

/* ---------- product cards */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(79,180,245,.5); }
.pimg { display: block; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pimg img { transform: scale(1.04); }
.pimg .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; color: var(--silver); background: linear-gradient(135deg, #F6F8FA, #E9EDF2); }
.pbody { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.pcat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.pbody h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.pbody h3 a { color: var(--charcoal); }
.pbody h3 a:hover { color: var(--blue); }
.pspecs { list-style: none; margin: .1rem 0 0; padding: 0; font-size: .85rem; color: var(--ink); }
.pspecs span { color: var(--muted-2); }
.pmeta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem .6rem; margin-top: auto; padding-top: .5rem; }
.price { font-weight: 800; color: var(--charcoal); font-size: 1.05rem; }
.per { color: var(--muted); font-size: .85rem; }
.price-req { font-weight: 600; color: var(--muted); font-size: .9rem; }
.avail { font-size: .8rem; font-weight: 600; display: inline-flex; gap: .3rem; align-items: center; }
.avail.in { color: var(--green); }
.avail.ask { color: var(--muted); }
.pactions { display: flex; gap: .4rem; margin-top: .6rem; }
.pactions .btn { flex: 1; }

/* ---------- catalogue layout */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem; }
.filters h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .5rem; }
.filters h4:first-child { margin-top: 0; }
.filters a.f { display: flex; justify-content: space-between; padding: .45rem .6rem; border-radius: 8px; color: var(--ink); font-size: .93rem; }
.filters a.f:hover { background: var(--paper); }
.filters a.f.on { background: var(--blue-tint); color: var(--blue); font-weight: 700; }
.filters a.f small { color: var(--muted-2); }
.filters details summary { cursor: pointer; font-weight: 700; list-style: none; }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin: 1.2rem 0 1rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--blue-tint); color: var(--blue); border-radius: 999px; padding: .25rem .7rem; font-size: .85rem; font-weight: 600; }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; text-align: center; padding: .55rem .8rem; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.pager .on { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.empty { text-align: center; padding: 3rem 1rem; background: var(--paper); border-radius: var(--r); }
.empty i { font-size: 2.5rem; color: var(--silver); }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; gap: 1rem; }
  .filters { position: static; }
  .filters .fbody { margin-top: .8rem; }
}
@media (min-width: 901px) { .filters details summary { display: none; } }

/* ---------- product page */
.crumbs { font-size: .88rem; color: var(--muted); padding: 1.2rem 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 1.5rem 0 3rem; align-items: start; }
.pgallery { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); }
.pgallery img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pgallery .ph { font-size: 6rem; color: var(--silver); }
.pinfo h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; margin: .3rem 0 .8rem; }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.spec-table th, .spec-table td { text-align: left; padding: .6rem .2rem; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; }
.pricebox { background: var(--paper); border-radius: var(--r); padding: 1.1rem 1.2rem; margin: 1.2rem 0; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between; }
.pricebox .price { font-size: 1.5rem; }
.stack { display: grid; gap: .6rem; }
.assist { border: 1px dashed var(--silver); border-radius: var(--r); padding: 1rem 1.2rem; margin-top: 1.2rem; display: flex; gap: 1rem; align-items: center; }
.assist i { font-size: 1.8rem; color: var(--blue); }
.assist p { margin: 0; color: var(--muted); font-size: .93rem; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .3rem; }

/* ---------- bands, grids, cards */
.band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%); color: #fff; border-radius: var(--r-lg);
  padding: 2.8rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.band::before { content: ""; position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; background: url("agimax-mark-on-dark.svg") center / contain no-repeat; opacity: .07; }
.band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.band p { color: #C3CAD2; margin: .8rem 0 0; }
.band-actions { display: grid; gap: .7rem; position: relative; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: .9rem;
  color: var(--blue); background: linear-gradient(135deg, rgba(79,180,245,.18), rgba(26,98,200,.08)); }
.feature:nth-child(even) .ic { color: var(--gold-deep); background: linear-gradient(135deg, rgba(247,227,166,.6), rgba(214,170,78,.15)); }
.feature h3 { font-size: 1.1rem; font-weight: 700; }
.feature p { color: var(--muted); margin: .45rem 0 0; font-size: .95rem; }
.help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 2rem 2.2rem; border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--blue-tint), #fff); border: 1px solid #D6E6FB; }
.help h2 { font-size: 1.5rem; font-weight: 800; }
.help p { margin: .4rem 0 0; color: var(--muted); }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.brand-logo { display: grid; place-items: center; width: 160px; height: 84px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; }
.brand-logo img { max-height: 100%; object-fit: contain; filter: grayscale(.2); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--paper); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; margin: 0; }
.quote-card blockquote { margin: 0 0 1rem; font-size: 1.02rem; }
.quote-card blockquote::before { content: "\201C"; color: var(--gold); font-size: 2.5rem; line-height: 0; vertical-align: -.4em; margin-right: .2rem; }
.quote-card figcaption b { display: block; color: var(--charcoal); }
.quote-card figcaption span { color: var(--muted); font-size: .9rem; }
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.project img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project .pb { padding: 1.1rem 1.2rem; }
.project .tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.project h3 { font-size: 1.1rem; margin: .3rem 0; }
.project p { color: var(--muted); font-size: .93rem; margin: .3rem 0 0; }
.serve { display: flex; flex-wrap: wrap; gap: .5rem; }
.serve span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .93rem; }
.twocol { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.panel { background: var(--paper); border-radius: var(--r-lg); padding: 1.8rem; }

/* ---------- visit / contact */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.2rem; align-items: stretch; }
.vcards { display: grid; gap: .8rem; }
.vcard { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; color: var(--ink); transition: border-color .2s; }
.vcard:not(.static):hover { border-color: var(--blue-light); color: var(--ink); }
.vcard > i { font-size: 1.3rem; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: var(--blue); background: var(--blue-tint); }
.vcard div { min-width: 0; }
.vcard small { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.vcard b { display: block; font-size: 1.05rem; color: var(--charcoal); }
.vcard span { font-size: .88rem; color: var(--blue); font-weight: 600; }
.brk { overflow-wrap: anywhere; }
.hours { border-collapse: collapse; font-size: .93rem; margin-top: .3rem; }
.hours td { padding: .15rem 1.2rem .15rem 0; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 340px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; box-shadow: var(--shadow); }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label, .legend { font-weight: 700; font-size: .9rem; color: var(--charcoal); }
.field input, .field textarea, .field select { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(79,180,245,.18); }
.field small { color: var(--muted); }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; }
.opts span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.opts input:checked + span { background: var(--blue-tint); border-color: var(--blue); color: var(--blue); }
.opts input:focus-visible + span { outline: 3px solid var(--blue-light); }
.req { color: #C0392B; }
.hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.success { text-align: center; padding: 2.5rem 1.5rem; }
.success i.big { font-size: 3.5rem; color: var(--green); }

/* ---------- footer, mobile bar, floating buttons */
.foot { background: var(--charcoal-deep); color: #AEB6C0; margin-top: 2rem; border-top: 3px solid var(--gold); }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 3.2rem 0 2rem; }
.foot h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.fmuted { margin: 1rem 0; font-size: .92rem; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.flist i { color: var(--gold); margin-right: .45rem; }
.foot a { color: #D5DAE0; }
.foot a:hover { color: var(--gold-light); }
.foot .hours td { color: #D5DAE0; }
.social { display: flex; gap: .5rem; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: 1.1rem; }
.fbar { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0 1.4rem; font-size: .88rem; }
.fbar a { color: var(--gold); font-weight: 700; }
.fbar a.staff { color: #8A939D; font-weight: 500; }
.mbar { display: none; }
.wa-fab { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff;
  font-size: 1.75rem; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.wa-fab:hover { color: #fff; background: #179447; }
.edit-chip { position: fixed; left: 1rem; bottom: 1.2rem; z-index: 45; background: var(--charcoal); color: var(--gold-light); border: 1px solid var(--gold); border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .88rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.edit-chip:hover { color: #fff; }

/* ---------- reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive */
@media (max-width: 980px) {
  .hero-grid, .band, .twocol, .visit, .pdetail { grid-template-columns: 1fr; }
  .hero-grid { padding: 3rem 0 3.5rem; gap: 2rem; }
  .hero-emblem { max-width: 240px; margin: 0 auto; }
  .fgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .section { padding: 3.2rem 0; }
  .band { padding: 1.8rem 1.4rem; }
  .help { padding: 1.6rem 1.4rem; }
  .form { padding: 1.3rem; }
  .fgrid2 { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2.4rem; }
  .hero .ctas .btn { flex: 1 1 100%; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .pbody { padding: .8rem; }
  .pactions { flex-direction: column; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .cat .cbody { padding: .8rem; }
  .cat p { display: none; }
  .wa-fab { display: none; }
  .edit-chip { bottom: 76px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(13,16,21,.08); }
  .mbar a { flex: 1; text-align: center; font-size: .7rem; font-weight: 600; color: var(--muted); padding: .45rem 0 .4rem; }
  .mbar a i { display: block; font-size: 1.3rem; color: var(--charcoal); }
  .mbar a.wa { color: var(--wa); }
  .mbar a.wa i { color: var(--wa); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .cat, .pcard, .feature, .pimg img, .cat .cimg img, .gallery img { transition: none; }
}
@media print { .nav, .mbar, .wa-fab, .edit-chip, .foot, .announce { display: none !important; } }
