/* ===================================================================
   PT Naga Warmita Global — nwg.llc
   Static B2B website — clean, spec-first, mobile-responsive
   =================================================================== */

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.65;
  background: #ffffff;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c9a038; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; color: #0a1e3f; font-weight: 700; line-height: 1.25; }
h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* Content lists: the global reset (padding:0) removes the list gutter, which pushes
   'outside' bullet markers off the left edge on mobile. Restore a gutter. */
section ul, section ol { padding-left: 22px; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.gray { background: #f7f8fa; }
section.dark { background: #0a1e3f; color: rgba(255,255,255,0.9); }
section.dark h2, section.dark h3 { color: #ffffff; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: #666; font-size: 16px; margin: -4px auto 40px; max-width: 720px; }
section.dark .section-subtitle { color: rgba(255,255,255,0.75); }

/* ---- Top announcement bar ---- */
.top-bar {
  background: #0a1e3f;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.5px;
}
.top-bar a { color: #e6c366; margin-left: 6px; }

/* ---- Header / nav ---- */
.header {
  background: white;
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 54px; display: block; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: #0a1e3f;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.nav a:hover { color: #c9a038; text-decoration: none; }
.nav a.active { color: #c9a038; border-bottom-color: #c9a038; }
.nav-cta { background: #c9a038; color: white !important; padding: 10px 20px !important; border-radius: 4px; border-bottom: none !important; }
.nav-cta:hover { background: #8f7318; }

.hamburger { display: none; background: none; border: none; font-size: 26px; color: #0a1e3f; cursor: pointer; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #0a1e3f 0%, #123a70 100%);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 30%, rgba(201,160,56,0.10), transparent 40%),
                    radial-gradient(circle at 75% 70%, rgba(201,160,56,0.08), transparent 40%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: white; font-size: 44px; margin-bottom: 20px; }
.hero .subhead { color: #f0d17a; font-size: 15px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px; font-family: Georgia, serif; }
.hero p { font-size: 18px; opacity: 0.92; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { text-align: center; }
.hero-image img { max-width: 380px; margin: 0 auto; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #c9a038; color: white; }
.btn-primary:hover { background: #8f7318; color: white; }
.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: #0a1e3f; }
.btn-dark { background: #0a1e3f; color: white; }
.btn-dark:hover { background: #123a70; color: white; }

/* ---- Key specs strip ---- */
.specs-strip {
  background: white;
  border-top: 4px solid #c9a038;
  padding: 32px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-top: -40px;
  position: relative;
  z-index: 2;
  border-radius: 8px;
}
.specs-strip .container > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.spec-badge { text-align: center; padding: 12px; }
.spec-badge .value { font-size: 34px; font-weight: 700; color: #0a1e3f; font-family: Georgia, serif; line-height: 1; }
.spec-badge .value small { font-size: 20px; font-weight: 400; color: #c9a038; }
.spec-badge .label { color: #666; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 8px; font-weight: 600; }

/* ---- Feature cards (Why NWG) ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: white;
  padding: 32px 28px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.feature-card .icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #c9a038 0%, #8f7318 100%);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.feature-card h3 { color: #0a1e3f; margin-bottom: 8px; font-size: 18px; }
.feature-card p { color: #555; font-size: 15px; margin: 0; }

/* ---- Trust bar (credentials) ---- */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px;
  padding: 32px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: #555; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}
.trust-item::before {
  content: "✓"; color: #c9a038; font-weight: 700; font-size: 18px;
}

/* ---- Product tiles ---- */
.product-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-tile { background: white; border-radius: 8px; overflow: hidden; border: 1px solid #eaeaea; }
.product-tile-image { background: #f7f8fa; padding: 24px; text-align: center; }
.product-tile-image img { max-height: 180px; margin: 0 auto; }
.product-tile-body { padding: 24px; }
.product-tile-body h3 { margin-bottom: 8px; }
.product-tile-body p { color: #555; font-size: 14px; }

/* ---- Tables ---- */
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: white; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.spec-table th { background: #0a1e3f; color: white; padding: 14px 18px; text-align: left; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.spec-table td { padding: 14px 18px; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #fafbfc; }
.spec-table td.highlight { color: #c9a038; font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 24px 0; }

/* ---- Pricing box ---- */
.pricing-box {
  background: linear-gradient(135deg, #0a1e3f 0%, #123a70 100%);
  color: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin: 32px 0;
}
.pricing-box .price { font-family: Georgia, serif; font-size: 48px; font-weight: 700; color: #f0d17a; margin: 16px 0 4px; }
.pricing-box .price small { font-size: 20px; color: rgba(255,255,255,0.7); }
.pricing-box .terms { font-size: 14px; opacity: 0.85; margin: 16px 0 24px; }

/* ---- CTA box ---- */
.cta-box {
  background: #0a1e3f;
  color: white;
  padding: 48px;
  border-radius: 8px;
  text-align: center;
  margin: 48px 0;
}
.cta-box h2 { color: white; font-size: 28px; margin-bottom: 12px; }
.cta-box p { opacity: 0.9; margin-bottom: 24px; }

/* ---- Team cards ---- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-card { background: white; border: 1px solid #eaeaea; border-radius: 8px; padding: 32px; text-align: center; }
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, #c9a038, #8f7318);
  color: white; display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 36px; font-weight: 700;
  margin: 0 auto 20px;
}
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: #c9a038; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.team-card .contact { font-size: 14px; color: #555; }
.team-card .contact a { color: #0a1e3f; }
.team-card .contact div { margin: 4px 0; }

/* ---- Certificate cards ---- */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cert-card {
  background: white; border: 1px solid #eaeaea; border-radius: 8px; padding: 32px;
  display: flex; gap: 24px; align-items: flex-start;
}
.cert-card img {
  width: 140px; flex-shrink: 0; border: 1px solid #ddd; border-radius: 4px;
}
.cert-card h3 { margin-bottom: 8px; }
.cert-card p { color: #555; font-size: 14px; margin-bottom: 8px; }

/* ---- Contact form ---- */
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.contact-form { background: white; padding: 40px; border-radius: 8px; border: 1px solid #eaeaea; }
.contact-form label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #555; font-weight: 600; margin-bottom: 6px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid #ddd; border-radius: 4px;
  font-size: 15px; font-family: inherit;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: #c9a038;
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.contact-side .contact-block {
  background: #f7f8fa; padding: 24px; border-radius: 8px; margin-bottom: 16px;
  border-left: 4px solid #c9a038;
}
.contact-side .contact-block h4 { margin-bottom: 8px; color: #0a1e3f; }
.contact-side .contact-block .role { color: #c9a038; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; font-weight: 600; }
.contact-side .contact-block .method { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; }
.contact-side .contact-block .method a { color: #0a1e3f; }

/* ---- Footer ---- */
footer {
  background: #06132a;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: white; margin-bottom: 16px; font-family: Georgia, serif; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; }
footer a { color: rgba(255,255,255,0.75); }
footer a:hover { color: #c9a038; text-decoration: none; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin: 8px 0; font-size: 14px; }
footer .company-block img { height: 60px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
footer .company-block p { font-size: 14px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; opacity: 0.6;
  flex-wrap: wrap; gap: 12px;
}

/* ---- Floating WhatsApp button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366;
  color: white;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 99;
  transition: transform 0.15s;
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* ---- Page hero (secondary pages) ---- */
.page-hero {
  background: #0a1e3f;
  color: white;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: white; font-size: 40px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 17px; margin-top: 12px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Callout ---- */
.callout {
  background: #fdf7e8;
  border-left: 4px solid #c9a038;
  padding: 18px 24px;
  margin: 24px 0;
  font-size: 15px;
  color: #5a4a1c;
  border-radius: 0 4px 4px 0;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }

/* ---- Mobile responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 260px; }
  .hero-buttons { justify-content: center; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  h1 { font-size: 26px; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
  h2 { font-size: 22px; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 26px; line-height: 1.2; }
  .hero .subhead { font-size: 12px; letter-spacing: 2px; }
  .hero p { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 300px; }
  .hero-image img { max-width: 220px; }
  .spec-badge .value { font-size: 26px; }
  .spec-badge .label { font-size: 10px; letter-spacing: 1px; }
  .spec-badge { padding: 8px 4px; }
  .top-bar { font-size: 11px; padding: 6px 0; letter-spacing: 0; }
  .container { padding: 0 16px; }
  .pricing-box { padding: 28px 20px; }
  .pricing-box .price { font-size: 38px; }
  .cta-box { padding: 32px 24px; }
  section { padding: 48px 0; }
  .nav { display: none; }
  .hamburger { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 24px; border-bottom: 1px solid #eee; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid #f0f0f0; width: 100%; }
  .nav.open a:last-child { border-bottom: none; }
  .specs-strip .container > div { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .product-tiles, .team-grid, .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cert-card { flex-direction: column; }
  .cert-card img { width: 100%; max-width: 200px; }
}
