@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy: #0a1c3e;
  --navy-mid: #0f2a5a;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --cream: #faf7f0;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --dark-text: #1a1a2e;
  --border: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
}

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: #aab8d0;
  font-size: 0.78rem;
  padding: 7px 0;
  text-align: center;
  letter-spacing: 0.04em;
}
.topbar a { color: var(--gold); text-decoration: none; }

/* ---- NAVBAR ---- */
nav {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(10,28,62,0.1);
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo img { height: 56px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta,
.nav-links li a.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  border: none !important;
}
.nav-cta::after,
.nav-links li a.nav-cta::after {
  display: none !important;
}
.nav-cta:hover,
.nav-links li a.nav-cta:hover {
  background: var(--navy) !important;
  color: var(--gold) !important;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a6e 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1579621970563-ebec7560ff3e?w=1600&q=80') center/cover no-repeat;
  opacity: 0.12;
}
.hero-content {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: #aab8d0;
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 34px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  margin-right: 14px;
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); }
.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 48px;
}
.hero-stats div { text-align: center; }
.hero-stats .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-stats .lbl { font-size: 0.78rem; color: #8899bb; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-img {
  position: relative;
}
.hero-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.hero-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 22px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-card .icon { font-size: 2rem; }
.hero-card .label { font-size: 0.75rem; color: var(--gray); }
.hero-card .value { font-size: 1.2rem; font-weight: 700; color: #16a34a; }

/* ---- SECTION COMMON ---- */
section { padding: 90px 24px; }
.container { max-width: 1200px; margin: auto; }
.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 54px;
}

/* ---- CARDS ---- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(10,28,62,0.07);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(10,28,62,0.14); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.card p { color: var(--gray); font-size: 0.92rem; }
.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.card-link:hover { text-decoration: underline; }

/* ---- FEATURE STRIP ---- */
.features-strip {
  background: var(--navy);
  padding: 70px 24px;
}
.features-strip .section-title { color: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.feature-item { text-align: center; padding: 30px 20px; }
.feature-icon { font-size: 2.8rem; margin-bottom: 16px; }
.feature-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}
.feature-item p { color: #8899bb; font-size: 0.9rem; }

/* ---- NEWSLETTER ---- */
.newsletter {
  background: linear-gradient(120deg, var(--gold) 0%, #c9a227 100%);
  padding: 70px 24px;
  text-align: center;
}
.newsletter h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.newsletter p { color: #3a3000; margin-bottom: 32px; font-size: 1.05rem; }
.nl-form { display: flex; gap: 12px; max-width: 500px; margin: auto; }
.nl-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  outline: none;
}
.nl-form button {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}
.nl-form button:hover { background: #0f2a5a; }

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: #8899bb;
  padding: 70px 24px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img { height: 48px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #8899bb; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom a { color: #8899bb; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 100px 24px 70px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 16px;
}
.page-hero p { color: #aab8d0; font-size: 1.1rem; max-width: 600px; margin: auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.82rem;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: #6677aa; }

/* ---- ARTICLE ---- */
.article-body { max-width: 760px; margin: auto; }
.article-body h2 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 36px 0 14px; font-size: 1.7rem; }
.article-body h3 { font-family: 'Playfair Display', serif; color: var(--navy-mid); margin: 28px 0 10px; font-size: 1.3rem; }
.article-body p { color: #374151; margin-bottom: 18px; font-size: 1.03rem; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; color: #374151; }
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--cream);
  margin: 28px 0;
  font-style: italic;
  color: var(--navy);
  border-radius: 0 6px 6px 0;
}
.tip-box {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 28px 0;
}
.tip-box h4 { color: var(--gold); margin-bottom: 8px; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- TOOLS ---- */
.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(10,28,62,0.06);
}
.tool-card label { display: block; font-weight: 700; font-size: 0.88rem; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.04em; }
.tool-card input, .tool-card select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 20px;
  outline: none;
  transition: border 0.2s;
}
.tool-card input:focus, .tool-card select:focus { border-color: var(--gold); }
.tool-card button {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.tool-card button:hover { background: var(--gold); color: var(--navy); }
.result-box {
  background: var(--cream);
  border-radius: 8px;
  padding: 22px;
  margin-top: 22px;
  text-align: center;
}
.result-box .big-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--navy);
  font-weight: 700;
}
.result-box p { color: var(--gray); font-size: 0.9rem; margin-top: 6px; }

/* ---- ABOUT ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.team-card {
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 36px 24px;
  box-shadow: 0 4px 24px rgba(10,28,62,0.07);
}
.team-card img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--gold);
}
.team-card h4 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 4px; }
.team-card p { color: var(--gray); font-size: 0.88rem; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: start; }
.contact-info h3 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 1.4rem; margin-bottom: 22px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-detail .ico { font-size: 1.5rem; margin-top: 2px; }
.contact-detail strong { display: block; color: var(--navy); font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.contact-detail p, .contact-detail a { color: var(--gray); text-decoration: none; font-size: 0.95rem; }
.contact-form { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 30px rgba(10,28,62,0.08); }
.contact-form h3 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 28px; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit {
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.04em;
}
.form-submit:hover { background: var(--gold); color: var(--navy); }

/* ---- PRIVACY / TERMS ---- */
.policy-body { max-width: 800px; margin: auto; }
.policy-body h2 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 40px 0 14px; font-size: 1.5rem; }
.policy-body p { color: #374151; margin-bottom: 16px; }
.policy-body ul { padding-left: 22px; color: #374151; margin-bottom: 16px; }
.policy-body li { margin-bottom: 7px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 14px; }
}

/* ---- MOBILE HAMBURGER ---- */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.hamburger span { display:block; width:24px; height:2px; background:var(--navy); border-radius:2px; transition:all 0.3s; }
@media (max-width:900px) {
  .hamburger { display:flex; }
  .nav-links {
    display:none; flex-direction:column; position:absolute; top:100%; left:0; right:0;
    background:#fff; padding:20px 24px; box-shadow:0 10px 30px rgba(10,28,62,0.12);
    gap:16px; z-index:999;
  }
  .nav-links.open { display:flex; }
  .nav-links a { font-size:1rem; }
  .nav-cta { display:inline-block; text-align:center; }
}

/* ---- STICKY CTA BAR (mobile) ---- */
@media(max-width:600px) {
  .hero-buttons { display:flex; flex-direction:column; gap:12px; }
}

/* ---- TABLE RESPONSIVE ---- */
@media(max-width:700px) {
  table { font-size:0.78rem; }
  table th, table td { padding:9px 10px; }
  .featured-post { grid-template-columns:1fr !important; }
}

/* ---- CSS-ONLY MOBILE NAV (no JS buttons) ---- */
#nav-toggle:checked ~ .nav-links { display: flex; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    box-shadow: 0 10px 30px rgba(10,28,62,0.12);
    gap: 14px;
    z-index: 999;
  }
}

/* ---- BLOG FILTER NAV LINKS (styled as buttons but are real <a> tags) ---- */
.blog-filter a.filter-btn {
  text-decoration: none;
  display: inline-block;
}
.blog-filter a.filter-btn:hover,
.blog-filter a.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
