/* NGOCyber static site — matches the WordPress/Elementor look (maroon, Merriweather + Open Sans). */
:root {
  --maroon: #7d111d;
  --maroon-dark: #5e0c16;
  --ink: #000;
  --text: #595959;
  --bg: #fff;
  --soft: #f7f7f7;
  --line: #e6e6e6;
  --footer: #000;
  --gold: #f5b51b;
  --wrap: 1140px;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Open Sans", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(30px, 4.2vw, 50px); }
h2 { font-size: clamp(26px, 3.4vw, 42px); }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.section { padding: 80px 0; }
.section.soft { background: var(--soft); }

/* Buttons */
.btn { display: inline-block; font-family: var(--serif); font-size: 16px; color: #fff; background: var(--maroon);
  padding: 12px 28px; border-radius: 6px; text-decoration: none; border: 1px solid var(--maroon); cursor: pointer; transition: background .2s; }
.btn:hover, .btn:focus-visible { background: var(--maroon-dark); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.outline { background: transparent; color: var(--maroon); }
.btn.outline:hover { background: var(--maroon); color: #fff; }
.btn[hidden] { display: none; }

/* Top bar */
.topbar { background: var(--maroon); color: #fff; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 12px; }
.topbar a { color: #fff; text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 94px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 66px; width: auto; }
.logo-text { font-family: var(--sans); font-weight: 800; color: #e0541c; letter-spacing: .5px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.nav a { font-size: 15px; font-weight: 600; color: #000; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #000; margin: 5px 0; border-radius: 2px; }

/* Hero (home) */
.hero { position: relative; color: #fff; background: #000 center/cover no-repeat; min-height: 560px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.1) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero-copy { max-width: 600px; }
.hero h1 { color: #fff; }
.hero p { font-size: 15px; font-weight: 600; color: #fff; }

/* Page banner (inner pages) */
.banner { background: var(--maroon) center/cover no-repeat; color: #fff; padding: 64px 0; position: relative; }
.banner.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.banner .wrap { position: relative; }
.banner h1 { color: #fff; margin-bottom: .3em; font-size: clamp(28px, 3.6vw, 42px); }
.crumbs { font-size: 15px; font-weight: 600; }
.crumbs a { color: #fff; text-decoration: none; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 70px; }
.card { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); text-align: center; padding: 0 28px 30px; }
.card .icon { width: 100px; height: 100px; margin: -50px auto 24px; border-radius: 50%; background: var(--maroon); display: grid; place-items: center; }
.card .icon svg { width: 46px; height: 46px; stroke: #fff; fill: none; stroke-width: 1.6; }
.card p { font-size: 18px; color: #000; }

/* Image-backed band */
.band { position: relative; color: #fff; background: #0b1530 center/cover no-repeat; padding: 90px 0; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(4,10,40,.7); }
.band .wrap { position: relative; }
.band h2 { color: #fff; }
.band .eyebrow { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.band p { color: rgba(255,255,255,.85); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.quote { position: relative; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); padding: 40px 28px 30px; text-align: center; overflow: hidden; }
.quote::after { content: "\201D"; position: absolute; top: -18px; right: -6px; width: 80px; height: 80px; background: #000; color: #fff; border-radius: 0 0 0 80px;
  font-family: var(--serif); font-size: 54px; line-height: 110px; text-align: center; }
.quote img { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; object-fit: cover; background: #eee; }
.quote .who { font-family: var(--serif); color: #000; font-weight: 700; }
.quote .role { font-size: 14px; margin-bottom: 12px; }

/* CTA band */
.cta { position: relative; color: #fff; background: #222 center/cover no-repeat; padding: 90px 0; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cta .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; }

/* Shop grid */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { text-align: center; }
.product-card .thumb { position: relative; aspect-ratio: 1 / 1; background: var(--soft); display: flex; align-items: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card h3 { font-size: 17px; margin: 18px 0 4px; }
.product-card h3 a { color: #000; text-decoration: none; }
.price { font-weight: 700; color: var(--text); margin-bottom: 14px; }
.badge { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); background: #fff; color: var(--maroon); font-weight: 700; padding: 6px 18px; font-size: 14px; letter-spacing: .5px; }

/* Product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.gallery .main { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; background: var(--soft); aspect-ratio: 1 / 1; cursor: pointer; overflow: hidden; }
.thumbs button[aria-pressed="true"] { border-color: var(--maroon); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product .cat { color: var(--maroon); font-size: 14px; margin-bottom: 6px; }
.product .price { font-size: 22px; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.note { background: var(--soft); border-left: 4px solid var(--maroon); padding: 12px 16px; font-size: 14px; }
.desc { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 32px; }
.desc ul { padding-left: 1.2em; }
.desc li { margin-bottom: .6em; }
.related h2 { font-size: 26px; margin-top: 56px; }

/* Prose pages */
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; }
.prose .kicker { color: var(--maroon); font-family: var(--serif); font-weight: 700; margin: 0 0 .3em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-box { display: flex; gap: 20px; align-items: flex-start; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.08); padding: 28px; }
.contact-box .icon { flex: 0 0 72px; height: 72px; border-radius: 50%; background: var(--maroon); display: grid; place-items: center; }
.contact-box .icon svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.6; }
.contact-box p { margin: 0 0 .4em; }

/* Footer */
.site-footer { background: var(--footer); color: #fff; font-size: 15px; padding-top: 60px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2.2fr .9fr 1.3fr 2.3fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: 20px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo img { height: 86px; margin-bottom: 14px; }
.contact-list li { display: flex; gap: 10px; }
.contact-list svg { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 6px; fill: #fff; }
.social { display: flex; flex-direction: column; gap: 10px; }
.social a { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.social svg { width: 12px; height: 12px; fill: #000; }
.footer-bottom { border-top: 1px solid #333; margin-top: 40px; padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

.to-top { position: fixed; right: 26px; bottom: 26px; width: 34px; height: 34px; background: var(--maroon); color: #fff; display: grid; place-items: center; text-decoration: none; z-index: 40; }

/* Responsive */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: 0 8px 16px rgba(0,0,0,.08); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .nav li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cards, .quotes { grid-template-columns: 1fr; }
  .cards { gap: 70px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product, .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .social { flex-direction: row; }
  .section { padding: 56px 0; }
  .hero { min-height: 460px; }
  .topbar .welcome { display: none; }
}
@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  .logo img { height: 52px; }
}
