/* ════════════════════════════════════════════════
   Shyam Thapa Theme — Main Stylesheet
   ════════════════════════════════════════════════ */

:root {
  --ink:     #0d0d0d;
  --paper:   #f7f4ef;
  --cream:   #ede9e2;
  --accent:  #c94a2a;
  --accent2: #1a3a5c;
  --muted:   #6b6560;
  --rule:    #d0cbc3;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'DM Sans', sans-serif;
  --mono:    'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; font-family: var(--sans); }
p  { opacity: 0.85; }
em { font-style: italic; color: var(--accent); }

.label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

.section-intro {
  max-width: 560px;
  margin-top: 0.8rem;
  color: var(--muted);
  opacity: 1;
}

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section--alt  { background: var(--cream); }
.section--dark { background: var(--accent2); color: #fff; }
.section--dark p    { color: rgba(255,255,255,0.7); opacity: 1; }
.section--dark .label { color: #a8c4e0; }
.section--dark h2,
.section--dark h3 { color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.9rem; font-weight: 600;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a83820; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,74,42,.3); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-white  { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-ghost-white { border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); }
.btn-group  { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-group--center { justify-content: center; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════ */
.st-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(247, 244, 239, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 900;
}
.logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.88rem; font-weight: 500; opacity: 0.7; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 0.55rem 1.4rem; border-radius: 2px;
  font-size: 0.85rem; font-weight: 600;
  opacity: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: #a83820 !important; }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all 0.25s;
}
.nav-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  padding: 1rem 2rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.7rem 0;
  font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid var(--rule);
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  padding: 10rem 0 6rem;
  border-bottom: 1px solid var(--rule);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -10rem; right: -15rem;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(201,74,42,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 2rem; height: 1px; background: var(--accent); }
.hero-eyebrow span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { font-size: 1.1rem; line-height: 1.75; color: var(--muted); max-width: 540px; margin-bottom: 2.5rem; opacity: 1; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.stat-item { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; color: var(--accent); line-height: 1; display: block; }
.stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.4; }

/* Hero card */
.hero-card {
  background: var(--ink); color: #fff;
  padding: 2.5rem; position: relative;
}
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.card-label { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.card-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.card-sub   { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }
.metric { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.metric:last-child { border-bottom: none; }
.metric-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.metric-val   { font-family: var(--mono); font-size: 0.85rem; color: #6ee7b7; font-weight: 700; }

/* ════════════════════════════════════════════════
   TICKER
   ════════════════════════════════════════════════ */
.ticker {
  background: var(--ink); overflow: hidden;
  padding: 0.85rem 0;
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ticker-inner {
  display: flex; white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-item { padding: 0 2.5rem; }
.ticker-item span { color: var(--accent); margin-right: 2.5rem; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-intro { font-size: 1.05rem; margin: 1.5rem 0 1rem; opacity: 1; }
.about-points { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.about-point  { display: flex; gap: 1rem; align-items: flex-start; }
.about-point-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--cream); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.about-point-text h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.about-point-text p  { font-size: 0.88rem; color: var(--muted); opacity: 1; }

.about-visual  { position: relative; }
.about-img-frame {
  aspect-ratio: 4/5; background: var(--cream);
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,74,42,.08));
  pointer-events: none;
}
.about-img-initials { font-family: var(--serif); font-size: 6rem; font-weight: 900; color: var(--rule); user-select: none; }
.about-img-caption {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(13,13,13,0.88); color: #fff;
  padding: 1rem 1.2rem; font-size: 0.82rem;
}
.about-img-caption strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.about-badge {
  position: absolute; top: -1rem; right: -1rem;
  background: var(--accent); color: #fff;
  padding: 1rem; text-align: center;
}
.about-badge strong { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-badge span   { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card {
  border: 1px solid var(--rule); padding: 2rem;
  position: relative; transition: all 0.25s; background: var(--paper);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--accent); transition: width 0.3s; }
.service-card:hover::before { width: 100%; }
.service-num { font-family: var(--mono); font-size: 0.72rem; color: var(--rule); margin-bottom: 1.2rem; }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.6; opacity: 1; }
.service-outcome { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 0.78rem; color: var(--accent); font-weight: 600; font-family: var(--mono); letter-spacing: 0.05em; }

/* ════════════════════════════════════════════════
   RESULTS
   ════════════════════════════════════════════════ */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.result-card { border: 1px solid rgba(255,255,255,0.12); padding: 2.5rem; position: relative; }
.result-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--accent); }
.result-tag  { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.result-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 1rem; }
.result-card p  { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 1.5rem; opacity: 1; }
.result-metrics { display: flex; gap: 1.5rem; }
.result-metric strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.result-metric span   { font-size: 0.75rem; color: rgba(255,255,255,0.45); }

/* ════════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════════ */
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.process-intro p { margin-top: 1rem; color: var(--muted); opacity: 1; }
.process-steps { display: flex; flex-direction: column; }
.process-step  { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--serif); font-size: 3rem; font-weight: 900; color: var(--rule); line-height: 1; padding-top: 0.3rem; }
.step-content h3 { margin-bottom: 0.5rem; }
.step-content p  { font-size: 0.9rem; color: var(--muted); opacity: 1; }

/* ════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.testimonial { border: 1px solid var(--rule); padding: 2rem; background: var(--paper); position: relative; }
.testimonial::before { content: '\201C'; font-family: var(--serif); font-size: 5rem; color: var(--rule); position: absolute; top: 0.5rem; right: 1.5rem; line-height: 1; }
.stars { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.testimonial p  { font-size: 0.9rem; color: var(--ink); line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; opacity: 0.8; }
.testimonial-author { display: flex; gap: 0.8rem; align-items: center; }
.author-avatar { width: 2.5rem; height: 2.5rem; background: var(--accent2); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.author-name { font-size: 0.88rem; font-weight: 700; }
.author-role { font-size: 0.78rem; color: var(--muted); }

/* ════════════════════════════════════════════════
   WHY ME
   ════════════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.why-item { padding: 2rem; border-left: 3px solid var(--rule); transition: border-color 0.2s; }
.why-item:hover { border-color: var(--accent); }
.why-num  { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); margin-bottom: 0.8rem; }
.why-item h3 { margin-bottom: 0.5rem; }
.why-item p  { font-size: 0.87rem; color: var(--muted); opacity: 1; }

/* ════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════ */
.faq-container { max-width: 800px; }
.faq-list { margin-top: 3rem; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-question {
  width: 100%; padding: 1.5rem 0;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; color: var(--ink); font-family: var(--sans);
  text-align: left; gap: 1rem;
}
.faq-icon { font-size: 1.4rem; font-weight: 300; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding-bottom: 1.5rem; font-size: 0.92rem; color: var(--muted); opacity: 1; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ════════════════════════════════════════════════
   CTA STRIP
   ════════════════════════════════════════════════ */
.cta-strip { background: var(--accent); padding: 5rem 0; text-align: center; }
.cta-strip h2 { color: #fff; margin-bottom: 1rem; }
.cta-strip p  { color: rgba(255,255,255,0.8); max-width: 500px; margin: 0 auto 2rem; opacity: 1; }
.label--light { color: rgba(255,255,255,0.6); }
.em-light { color: rgba(255,255,255,0.85); }
.cta-note { margin-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.5); opacity: 1; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.st-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 2rem; }
.footer-logo { font-family: var(--serif); font-size: 1.3rem; font-weight: 900; color: #fff; display: inline-block; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.87rem; line-height: 1.7; }
.footer-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-socials a { font-size: 0.85rem; transition: color 0.2s; }
.footer-socials a:hover { color: #fff; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a  { font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-location { margin-top: 1.2rem; font-size: 0.82rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-logo-sm { font-family: var(--serif); font-weight: 900; color: #fff; font-size: 1rem; }

/* ════════════════════════════════════════════════
   FLOATING WHATSAPP
   ════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem;
  background: #25d366; color: #fff;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 300;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-card { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-grid, .process-layout { grid-template-columns: 1fr; }
  .services-grid, .testimonials-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .about-badge  { top: -0.5rem; right: 0.5rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none !important; }
  .nav-mobile-toggle { display: flex; }
  .services-grid, .testimonials-grid, .why-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-stats    { flex-wrap: wrap; }
  .hero-stats .stat-item { flex: 1 1 40%; }
}
