/* ===== S S Associates - Chartered Accountants ===== */
:root {
  --navy: #0b3d63;
  --navy-dark: #072a46;
  --gold: #c9a227;
  --light-bg: #f6f8fa;
  --text: #2c3339;
  --text-light: #6b7580;
  --border: #e4e8ec;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(11, 61, 99, 0.08);
}

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

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 70px 0; }
.section-tag { color: var(--gold); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.section-title { font-size: 32px; color: var(--navy); margin: 8px 0 16px; }
.section-desc { color: var(--text-light); max-width: 680px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: #b8931f; }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Placeholder banner ---------- */
.placeholder-banner {
  background: #fff4d6;
  color: #8a6d1a;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cfe0ee;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cfe0ee; }
.topbar span { margin-right: 18px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: 0.5px; }
.logo span { color: var(--gold); }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--text-light); letter-spacing: 1px; }
nav.main-nav ul { display: flex; gap: 30px; align-items: center; }
nav.main-nav a { font-weight: 600; font-size: 15px; color: var(--text); }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 10px 20px; border-radius: 6px; }
.nav-cta:hover { background: var(--navy-dark); border-bottom: none !important; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.menu-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0;
}
.hero .container { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1.1; }
.hero-text h1 { font-size: 42px; line-height: 1.25; margin-bottom: 18px; }
.hero-text h1 span { color: var(--gold); }
.hero-text p { color: #d5e2ee; font-size: 16px; margin-bottom: 28px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #b9c9d8;
  text-align: center;
}

/* stat strip */
.stats { background: var(--white); border-top: 4px solid var(--gold); }
.stats .container { display: flex; justify-content: space-between; flex-wrap: wrap; padding: 36px 24px; }
.stat-item { text-align: center; flex: 1; min-width: 140px; }
.stat-item .num { font-size: 30px; font-weight: 800; color: var(--navy); }
.stat-item .lbl { color: var(--text-light); font-size: 14px; margin-top: 4px; }

/* ---------- About intro ---------- */
.about-intro { background: var(--light-bg); }
.about-intro .container { display: flex; gap: 50px; align-items: center; }
.about-intro .about-visual {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light);
  font-size: 15px;
  text-align: center;
  padding: 30px;
}
.about-intro .about-content { flex: 1.2; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--gold); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(201,162,39,0.12);
  color: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.service-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 14.5px; margin-bottom: 14px; }
.service-card a.more { color: var(--navy); font-weight: 600; font-size: 14px; }
.view-all-wrap { text-align: center; margin-top: 40px; }
.btn-primary-outline { border: 2px solid var(--navy); color: var(--navy); padding: 12px 26px; border-radius: 6px; font-weight: 600; display: inline-block; }
.btn-primary-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Why choose us ---------- */
.why-us { background: var(--navy-dark); color: var(--white); }
.why-us .section-title, .why-us .section-tag { color: var(--white); }
.why-us .section-tag { color: var(--gold); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 26px; }
.why-card .why-icon { font-size: 26px; color: var(--gold); margin-bottom: 14px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { color: #c3d2e0; font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--light-bg); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p.quote { color: var(--text); font-size: 14.5px; margin-bottom: 16px; font-style: italic; }
.testi-card .name { font-weight: 700; color: var(--navy); }
.testi-note { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-light); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--gold) 0%, #b8931f 100%);
  text-align: center;
}
.cta h2 { color: var(--navy-dark); font-size: 30px; margin-bottom: 14px; }
.cta p { color: #4a3b0f; max-width: 620px; margin: 0 auto 26px; }
.cta .btn-primary { background: var(--navy); color: var(--white); }
.cta .btn-primary:hover { background: var(--navy-dark); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.faq-item p { color: var(--text-light); font-size: 14.5px; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 55px 0;
  text-align: center;
}
.page-header h1 { font-size: 32px; margin-bottom: 8px; }
.page-header .crumb { color: #cfe0ee; font-size: 14px; }
.page-header .crumb a { color: var(--gold); }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 46px; }
.contact-info-card { background: var(--light-bg); border-radius: var(--radius); padding: 30px; margin-bottom: 18px; }
.contact-info-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { color: var(--text-light); font-size: 14.5px; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14.5px; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); }
.form-msg { padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; font-size: 14px; }
.form-msg.success { background: #e5f7ea; color: #1e7b3a; }
.form-msg.error { background: #fdeaea; color: #b3261e; }
.map-embed { margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 220px; display: flex; align-items: center; justify-content: center; background: var(--light-bg); color: var(--text-light); font-size: 14px; text-align: center; padding: 20px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-dark); color: #c3d2e0; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: var(--white); font-size: 16px; margin-bottom: 18px; }
.footer-grid .logo { color: var(--white); margin-bottom: 14px; }
.footer-grid p { font-size: 14px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 14px; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; color: #8fa3b5; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container, .about-intro .container, .contact-wrap { flex-direction: column; grid-template-columns: 1fr; }
  .services-grid, .why-grid, .testi-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  nav.main-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); display: none; }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .menu-toggle { display: flex; }
  .hero-text h1 { font-size: 30px; }
  .services-grid, .why-grid, .testi-grid, .footer-grid, .stats .container { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
}
