/* Savan Shah & Co. — ICAI-aligned palette */
:root {
  --navy: #145886;
  --deep: #0B3C5D;
  --ochre: #B8833A;
  --ivory: #F5F1E8;
  --charcoal: #1F1F1F;
  --muted: #555555;
  --line: #E4DED2;
  --white: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--charcoal);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: 2.6rem; line-height: 1.15; margin-bottom: 1rem; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: .6rem; }
p { margin-bottom: 1rem; color: var(--charcoal); }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 3px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 100;
  padding: 1rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; }
.main-nav { display: flex; gap: 2rem; }
.main-nav a {
  color: var(--charcoal);
  font-weight: 500;
  font-size: .95rem;
  padding: .3rem 0;
  position: relative;
}
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--ochre);
}
.nav-toggle {
  display: none; background: none; border: none; font-size: 1.5rem;
  color: var(--navy); cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: 0; right: -100px; bottom: 0;
  width: 400px; background: radial-gradient(circle, rgba(184,131,58,0.2) 0%, transparent 70%);
}
.hero h1 { color: var(--white); max-width: 780px; }
.hero .tag {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ochre);
  margin-bottom: 1.5rem;
}
.hero p { color: rgba(255,255,255,0.85); max-width: 680px; font-size: 1.1rem; }
.hero .cta-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .02em;
  text-decoration: none;
}
.btn-primary { background: var(--ochre); color: var(--white); border-color: var(--ochre); }
.btn-primary:hover { background: var(--white); color: var(--ochre); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.btn-secondary:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--ivory); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ochre);
  letter-spacing: .15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: .75rem;
}
.section-title h2 { margin-bottom: .5rem; }
.section-title p { color: var(--muted); max-width: 700px; margin: 0 auto; font-size: 1.05rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem;
  transition: all .25s;
  border-top: 3px solid var(--navy);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(11,60,93,0.08); }
.card.highlight { border-top-color: var(--ochre); background: var(--ivory); }
.card h3 { color: var(--navy); }
.card .card-meta { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.card .card-meta.fee { color: var(--ochre); font-weight: 600; }

/* Report card */
.report-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--ochre);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.report-card h3 { margin-bottom: .4rem; }
.report-card .code {
  font-family: 'Inter', monospace;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.report-card ul { padding-left: 1.2rem; margin: 1rem 0; color: var(--charcoal); }
.report-card ul li { margin-bottom: .3rem; font-size: .95rem; }

/* KV list */
.kv-list { list-style: none; padding: 0; }
.kv-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}
.kv-list li strong { color: var(--navy); font-weight: 600; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.form-field { margin-bottom: 1.2rem; }
.form-field label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .4rem; color: var(--charcoal); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: .75rem .9rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--navy);
}
.form-field textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer { background: var(--charcoal); color: var(--white); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--ochre); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-col h4 {
  color: var(--ochre); font-size: .85rem; font-family: 'Inter', sans-serif; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem;
}
.footer-col p, .footer-col li { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: .4rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-brand h3 { color: var(--white); margin-bottom: .5rem; }
.footer-brand p.tag { color: var(--ochre); font-style: italic; font-family: 'Playfair Display', serif; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .85rem; color: rgba(255,255,255,.5); text-align: center; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  background: #25D366; color: white;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  z-index: 99; transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 860px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: .5rem; margin-top: 1rem; }
  .main-nav.open { display: flex; }
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .report-card { grid-template-columns: 1fr; }
  .kv-list li { grid-template-columns: 1fr; }
  .kv-list li strong { margin-bottom: .2rem; }
}

/* header brand logo (added 2026-06-06) */
.wordmark { display: inline-flex; align-items: center; gap: .55rem; }
.brand-logo { height: 30px; width: auto; display: block; }
@media (max-width: 860px){ .brand-logo { height: 26px; } }

/* --- strategic upgrade components (2026-06-06) --- */
.faq-item { border: 1px solid var(--line); border-radius: 6px; margin-bottom: .8rem; background: var(--white); }
.faq-item summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--navy); font-size: 1.05rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--ochre); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 1.3rem 1.2rem; color: var(--charcoal); }
.founder-portrait { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 1.2rem; border: 3px solid var(--ivory); }
.enquiry-form .btn { margin-top: .5rem; }
.enquiry-form .form-field select { width: 100%; padding: .75rem .9rem; font-family: inherit; font-size: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }

/* --- phase 3: icons, specimens, hero texture --- */
.card-icon { color: var(--ochre); display: block; margin-bottom: .7rem; }
.card-icon svg { width: 30px; height: 30px; display: block; }
.specimen-thumb { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(11,60,93,.10); }
.specimen-card ol { padding-left: 1.15rem; margin-top: .6rem; color: var(--charcoal); font-size: .9rem; }
.specimen-card ol li { margin-bottom: .25rem; }
.hero .container { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 23px); }
