/* ========================================
   KAMYARSHAH.COM — Global Stylesheet
   Palette: Charcoal + Hunter Green + Cream
   ======================================== */

:root {
  --charcoal: #1C1C1C;
  --charcoal-light: #2A2A2A;
  --cream: #FAF8F5;
  --warm-white: #FFFFFF;
  --green: #1B4332;
  --green-light: #2D6A4F;
  --green-muted: #40916C;
  --green-pale: rgba(27,67,50,0.06);
  --gold: #B8860B;
  --gold-light: #D4A843;
  --gold-muted: #C9A94E;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #888;
  --border: #E5E0D8;
  --border-light: #F0ECE4;
  --red: #C53030;
}

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

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.site-nav {
  background: var(--charcoal);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--green);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
}
.nav-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
}
.nav-brand span {
  color: var(--green-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}
.nav-links { display: flex; gap: 1.4rem; align-items: center; }
.nav-links a {
  color: #B0ACA5;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: 0.5rem 1.3rem;
  border-radius: 4px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-light) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 0.65rem; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--charcoal-light);
  border: 1px solid #333;
  border-radius: 4px;
  min-width: 220px;
  padding: 0.5rem 0;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.01em;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); }

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 780px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section-alt { background: var(--warm-white); }

/* === PAGE HERO === */
.page-hero { background: var(--charcoal); padding: 5rem 2rem 4rem; }
.page-hero .container { max-width: 780px; }
.page-hero .overline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}
.page-hero h1 { font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1.25; margin-bottom: 1.2rem; }
.page-hero p { color: #B0ACA5; font-size: 1.1rem; line-height: 1.8; }

/* === HOMEPAGE HERO === */
.hero { background: var(--charcoal); padding: 6rem 2rem 5rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(27,67,50,0.1) 0%, transparent 70%); border-radius: 50%; }
.hero .hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.hero-label { font-family: 'Inter', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-muted); margin-bottom: 1.5rem; font-weight: 500; }
.hero h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--green-muted); }
.hero p { font-size: 1.15rem; color: #B0ACA5; line-height: 1.8; margin-bottom: 2.5rem; max-width: 680px; margin-left: auto; margin-right: auto; }
.hero-sub { margin-top: 1rem; font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #777; }

/* === BUTTONS === */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }

/* === STATS BAR === */
.stats-bar { background: var(--warm-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 2rem; }
.stats-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-number { font-family: 'Inter', sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--green); }
.stat-label { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.3rem; }

/* === ENTITY BAR === */
.entity-bar { background: var(--charcoal); padding: 2.5rem 2rem; text-align: center; }
.entity-bar p { max-width: 800px; margin: 0 auto; color: #B0ACA5; font-size: 1.05rem; line-height: 1.8; }
.entity-bar strong { color: var(--green-muted); font-weight: 600; }

/* === INNER PAGE HERO (section.hero-inner) === */
.section.hero-inner { background: var(--charcoal); padding: 4rem 2rem 3.5rem; text-align: center; }
.section.hero-inner h1 { color: #fff; }
.section.hero-inner .overline { color: var(--green-muted); }
.section.hero-inner .lead { color: #B0ACA5; font-size: 1.1rem; line-height: 1.8; max-width: 680px; margin: 0 auto; }

/* === SECTION HEADERS === */
.sh { text-align: center; margin-bottom: 2rem; }
.sh .overline { font-family: 'Inter', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green); font-weight: 600; margin-bottom: 0.8rem; }
.sh h1, .sh h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; }
.sh p { max-width: 600px; margin: 1rem auto 0; color: var(--text-muted); font-size: 1rem; }
.sh h3 { font-size: 1.6rem; font-weight: 700; line-height: 1.3; color: var(--charcoal); }

/* === TESTIMONIALS PAGE === */
.testimonials-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; margin-top: 2rem; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.testimonial-portrait { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--green-pale); flex-shrink: 0; }
.testimonial-portrait img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-content blockquote { font-family: "Lora", Georgia, serif; font-size: 1rem; line-height: 1.7; color: var(--charcoal); margin: 0 0 0.8rem; font-style: italic; }
.testimonial-content blockquote::before { content: none; }
.testimonial-author { font-family: "Inter", sans-serif; font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.testimonial-result { font-family: "Inter", sans-serif; font-size: 0.78rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.2rem; }
@media (max-width: 640px) { .testimonials-page-grid { grid-template-columns: 1fr; } }

/* === PROSE CONTENT SECTIONS (press, simple pages) === */
.section .container > p { max-width: 720px; margin-bottom: 1.2rem; line-height: 1.75; }
.section .container > h2 { max-width: 720px; font-size: 1.4rem; font-weight: 700; color: var(--charcoal); margin: 2rem 0 0.8rem; font-family: "Inter", sans-serif; }
.section .container > h3 { max-width: 720px; font-size: 1.2rem; font-weight: 700; color: var(--charcoal); margin: 1.5rem 0 0.6rem; font-family: "Inter", sans-serif; }

/* === ARTICLE / RELATED LINKS LIST === */
.article-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.article-list li { padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.article-list li:last-child { border-bottom: none; }
.article-list a { color: var(--green); text-decoration: none; font-family: "Inter", sans-serif; font-size: 0.95rem; font-weight: 500; }
.article-list a:hover { color: var(--green-light); text-decoration: underline; }

/* === INLINE STATS === */
.inline-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.inline-stat { text-align: center; background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; }
.inline-stat .num { font-family: 'Inter', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--green); }
.inline-stat .label { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem; }

/* === CARDS === */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-color: var(--green); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.8rem; font-weight: 600; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.card .tag { display: inline-block; background: var(--green-pale); color: var(--green); font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 3px; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.card-link { display: inline-block; margin-top: 1.2rem; font-family: 'Inter', sans-serif; font-size: 0.82rem; color: var(--green); text-decoration: none; font-weight: 600; }
.card-link:hover { text-decoration: underline; }
.card-icon { width: 48px; height: 48px; background: var(--charcoal); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.3rem; color: var(--green-muted); }

/* === PROSE === */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.8rem; }
.prose p { margin-bottom: 1.2rem; }

/* === COMPARISON TABLE === */
.comparison-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-family: 'Inter', sans-serif; font-size: 0.88rem; margin: 2rem 0; }
.comparison-table th { background: var(--charcoal); color: #fff; padding: 1rem 1.2rem; text-align: left; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.comparison-table th.hl { background: var(--green); }
.comparison-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td.hl { background: rgba(27,67,50,0.04); font-weight: 500; }
.comparison-table td:first-child { font-weight: 600; color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
.check { color: var(--green); font-weight: 700; }
.x { color: var(--red); }

/* === FAQ === */
.faq-list { max-width: 780px; margin: 2rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.8rem; }
.faq-a { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.5rem; }
.testimonial { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; padding: 2.5rem; }
.testimonial blockquote { font-size: 1rem; line-height: 1.8; color: var(--text); margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { font-family: 'Inter', sans-serif; font-size: 0.85rem; }
.testimonial-author strong { color: var(--text); font-weight: 600; }
.testimonial-author span { color: var(--text-muted); }
.testimonial-metric { display: inline-block; background: var(--green-pale); color: var(--green); font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 3px; margin-top: 0.5rem; }

/* === BOTTOM CTA === */
.bottom-cta { background: var(--charcoal); padding: 5rem 2rem; text-align: center; }
.bottom-cta h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.bottom-cta p { color: #B0ACA5; max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.8; }

/* === BLOG GRID === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.blog-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.blog-card-body { padding: 1.5rem; }
.blog-card .cat { font-family: 'Inter', sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); font-weight: 600; margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card .excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.blog-card .meta { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: var(--text-light); margin-top: 0.8rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; font-family: 'Inter', sans-serif; }
.pagination a, .pagination span { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 4px; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; }
.pagination .current { background: var(--green); color: #fff; border-color: var(--green); }
.pagination a:hover { border-color: var(--green); color: var(--green); }

/* === FOOTER === */
.site-footer { background: #111; padding: 1rem 2rem; color: #888; font-family: 'Inter', sans-serif; font-size: 0.72rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-entity { display: none; }
.footer-inner.footer-single-line { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: nowrap; align-items: center; overflow: hidden; }
.footer-links a { color: #888; text-decoration: none; font-size: 0.72rem; white-space: nowrap; }
.footer-links a:hover { color: var(--green-muted); }
.footer-copy { color: #555; font-size: 0.72rem; white-space: nowrap; flex-shrink: 0; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .inline-stats { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8rem; }
  .nav-links { display: none; }
  .nav-brand span { display: none; }
}

/* Footer single-line */
.footer-single-line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted, #888);
  padding: 0.75rem 0;
}
.footer-single-line a {
  color: inherit;
  text-decoration: none;
}
.footer-single-line a:hover {
  text-decoration: underline;
}
