/* ============================================================
   Privonta Shield — Global Stylesheet
   Brand: Navy #16324F  |  Green #2F9E44  (from Privonta Shield logo)
   ============================================================ */
:root {
  --navy: #16324f;
  --navy-dark: #0e2338;
  --navy-light: #24476b;
  --green: #2f9e44;
  --green-dark: #25803a;
  --green-light: #e6f4e9;
  --ink: #1f2933;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg-soft: #f5f8fa;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(22, 50, 79, 0.10);
  --font: 'Segoe UI', 'Inter', system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); line-height: 1.65; background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(22,50,79,0.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-text { line-height: 1.1; }
.brand-text .b1 { font-weight: 800; font-size: 1.15rem; color: var(--navy); letter-spacing: .5px; }
.brand-text .b1 span { color: var(--green); }
.brand-text .b2 { font-size: .62rem; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--green-light); text-decoration: none; color: var(--green-dark); }
.main-nav a.active { color: var(--green-dark); }
.dropdown { position: relative; }
.dropdown > a::after { content: " ▾"; font-size: .7rem; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 8px; z-index: 200;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 14px; font-size: .9rem; }
.dropdown-menu a small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; cursor: pointer; border: none; transition: all .2s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff !important; }
.btn-white { background: #fff; color: var(--navy) !important; }
.nav-cta { margin-left: 8px; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.7rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #1d4a35 100%);
  color: #fff; padding: 90px 0 80px;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero.hero-single .container { display: block; max-width: 850px; text-align: center; }
.eyebrow { display: inline-block; background: rgba(47,158,68,.18); border: 1px solid rgba(47,158,68,.5); color: #8fe0a0; font-size: .8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: 2.9rem; line-height: 1.15; font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { color: #4fc768; }
.hero p.lead { font-size: 1.13rem; color: #c9d6e2; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero.hero-single .hero-actions { justify-content: center; }
.hero-ticks { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; font-size: .88rem; color: #a9c3b3; }
.hero-ticks span::before { content: "✓ "; color: #4fc768; font-weight: 700; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); border-radius: 18px; padding: 28px; backdrop-filter: blur(4px); }
.hero-card h3 { font-size: 1rem; color: #8fe0a0; margin-bottom: 16px; letter-spacing: .5px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: rgba(255,255,255,.07); border-radius: 12px; padding: 16px; text-align: center; }
.stat .num { font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat .lbl { font-size: .78rem; color: #b7c7d6; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--navy); color: #fff; }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head .eyebrow { background: var(--green-light); border-color: var(--green); color: var(--green-dark); }
.sec-head h2 { font-size: 2.1rem; color: var(--navy); line-height: 1.25; margin-bottom: 14px; }
.section.navy .sec-head h2 { color: #fff; }
.sec-head p { color: var(--muted); font-size: 1.05rem; }
.section.navy .sec-head p { color: #c9d6e2; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: all .25s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--green); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 18px; }
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; }
.card .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--green-dark); background: var(--green-light); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.card ul { list-style: none; margin-top: 12px; }
.card ul li { font-size: .9rem; color: var(--muted); padding: 5px 0 5px 24px; position: relative; }
.card ul li::before { content: "✓"; color: var(--green); font-weight: 800; position: absolute; left: 0; }
.card a.more { font-weight: 700; font-size: .9rem; display: inline-block; margin-top: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; position: relative; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.1rem; }
.step h3 { color: var(--navy); font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .88rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--navy)); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-band p { color: #d7e6dc; margin-bottom: 28px; font-size: 1.05rem; }

/* penalty strip */
.penalty-strip { background: var(--navy-dark); color: #fff; padding: 34px 0; }
.penalty-strip .container { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; text-align: center; }
.penalty-strip .pen { flex: 1; min-width: 180px; }
.penalty-strip .pen .num { font-size: 1.7rem; font-weight: 800; color: #4fc768; }
.penalty-strip .pen .lbl { font-size: .82rem; color: #b7c7d6; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: 2.3rem; margin-bottom: 14px; }
.page-hero p { color: #c9d6e2; max-width: 720px; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: #8ba3ba; margin-bottom: 18px; }
.breadcrumb a { color: #8fe0a0; }

/* ---------- Content / prose ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { color: var(--navy); font-size: 1.6rem; margin: 40px 0 14px; }
.prose h3 { color: var(--navy); font-size: 1.2rem; margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; color: #33424f; }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: #33424f; }
.prose li { margin-bottom: 8px; }
.prose blockquote { border-left: 4px solid var(--green); background: var(--green-light); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .92rem; }
.prose th { background: var(--navy); color: #fff; text-align: left; padding: 10px 14px; }
.prose td { border: 1px solid var(--line); padding: 10px 14px; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.post-meta { font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.post-meta .cat { color: var(--green-dark); font-weight: 700; }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .thumb { height: 150px; border-radius: 10px; background: linear-gradient(120deg, var(--navy), var(--green-dark)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.4rem; margin-bottom: 18px; }
.post-card .date { font-size: .78rem; color: var(--muted); margin-bottom: 6px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: .95rem; background: var(--bg-soft); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); background: #fff; }

/* contact info */
.info-tile { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-tile .icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.info-tile h4 { color: var(--navy); font-size: .98rem; }
.info-tile p { color: var(--muted); font-size: .9rem; }

/* FAQ */
details.faq { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 22px; list-style: none; position: relative; }
details.faq summary::after { content: "+"; position: absolute; right: 22px; color: var(--green); font-size: 1.3rem; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 22px 18px; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b7c7d6; padding: 60px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-grid h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .5px; }
.footer-grid a { display: block; color: #b7c7d6; padding: 4px 0; }
.footer-grid a:hover { color: #4fc768; text-decoration: none; }
.footer-brand .b1 { font-weight: 800; font-size: 1.3rem; color: #fff; }
.footer-brand .b1 span { color: #4fc768; }
.footer-brand p { margin-top: 12px; max-width: 300px; font-size: .87rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; }
.footer-bottom a { color: #b7c7d6; margin-left: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .dropdown-menu { display: block; position: static; border: none; box-shadow: none; padding-left: 16px; }
  .hero .container, .grid-3, .grid-2, .grid-4, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .sec-head h2 { font-size: 1.6rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
