/* ==========================================================================
   Marketing site styles for kavisharora.com
   Isolated from app.css (the booking shell) so the two never collide.
   Palette mirrors the KLOCK booking app tokens.
   ========================================================================== */

:root {
  --site-bg: #f4f7f6;
  --site-ink: #142524;
  --site-muted: #5c6b6b;
  --site-line: rgba(11, 87, 88, 0.14);
  --site-teal: #0b5758;
  --site-teal-deep: #083e41;
  --site-teal-soft: #e8f2f1;
  --site-gold: #c8a34a;
  --site-surface: #ffffff;
  --site-shadow: 0 24px 60px rgba(7, 55, 57, 0.12);
  --site-shadow-sm: 0 10px 30px rgba(7, 55, 57, 0.08);
  --site-radius: 22px;
  --site-radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--site-ink);
  background: var(--site-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--site-teal); text-decoration: none; }
a:hover { color: var(--site-teal-deep); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ---- Top navigation ---------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 247, 246, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-line);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  color: var(--site-ink);
  letter-spacing: -0.01em;
}
.site-brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-brand small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--site-muted); letter-spacing: 0.02em; }
.site-nav-links { display: flex; align-items: center; gap: 4px; }
.site-nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--site-muted);
  transition: background 0.15s, color 0.15s;
}
.site-nav-links a:hover { background: var(--site-teal-soft); color: var(--site-teal-deep); }
.site-nav-links a.is-active { color: var(--site-teal-deep); background: var(--site-teal-soft); }
.site-nav-cta {
  padding: 10px 18px !important;
  background: var(--site-teal);
  color: #fff !important;
  box-shadow: var(--site-shadow-sm);
}
.site-nav-cta:hover { background: var(--site-teal-deep) !important; color: #fff !important; }
.nav-toggle { display: none; }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s;
}
.btn-primary { background: var(--site-teal); color: #fff; box-shadow: var(--site-shadow-sm); }
.btn-primary:hover { background: var(--site-teal-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--site-teal-deep); border-color: var(--site-line); }
.btn-ghost:hover { background: var(--site-teal-soft); color: var(--site-teal-deep); }

/* ---- Generic section --------------------------------------------------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--site-teal);
  margin: 0 0 12px;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; color: var(--site-ink); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0 0 16px; }
.lead { font-size: 1.12rem; color: var(--site-muted); max-width: 62ch; }

/* ---- Hero -------------------------------------------------------------- */
.hero { padding: 68px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 14px 0 18px; }
.hero .lead { font-size: 1.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--site-teal-deep);
  box-shadow: var(--site-shadow-sm);
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--site-shadow);
  border: 6px solid #fff;
  aspect-ratio: 4 / 5;
  background: var(--site-teal-soft);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Stat strip -------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--site-teal-deep);
  color: #fff;
  border-radius: var(--site-radius);
  padding: 30px 26px;
  box-shadow: var(--site-shadow);
}
.stat-strip .stat strong { display: block; font-size: 2rem; letter-spacing: -0.02em; }
.stat-strip .stat span { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.stat-strip .stat b { color: var(--site-gold); }

/* ---- Cards ------------------------------------------------------------- */
.card-grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  padding: 28px;
  box-shadow: var(--site-shadow-sm);
}
.card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.card p { color: var(--site-muted); margin: 0 0 14px; }
.card .card-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--site-teal-soft);
  color: var(--site-teal-deep);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ---- Product / company cards ------------------------------------------ */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  padding: 30px;
  box-shadow: var(--site-shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--site-shadow); }
.product-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.product-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--site-teal); background: var(--site-teal-soft);
  padding: 5px 11px; border-radius: 999px;
}
.product-card h3 { font-size: 1.35rem; margin: 8px 0 6px; }
.product-role { font-size: 0.9rem; color: var(--site-gold); font-weight: 700; margin: 0 0 12px; }
.product-card p { color: var(--site-muted); margin: 0 0 16px; }
.product-features { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.product-features li { position: relative; padding-left: 24px; color: var(--site-ink); font-size: 0.94rem; }
.product-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--site-teal); font-weight: 800;
}
.product-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--site-teal-deep);
}
.product-link:hover { gap: 10px; }

/* ---- Split content ----------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.prose p { color: var(--site-muted); margin: 0 0 16px; }
.prose p strong { color: var(--site-ink); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--site-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
}

/* ---- Feature panel (teal) --------------------------------------------- */
.panel-teal {
  background: linear-gradient(140deg, var(--site-teal) 0%, var(--site-teal-deep) 100%);
  color: #fff;
  border-radius: 28px;
  padding: 52px 46px;
  box-shadow: var(--site-shadow);
}
.panel-teal h2 { color: #fff; }
.panel-teal .lead { color: rgba(255, 255, 255, 0.82); }

/* ---- Timeline ---------------------------------------------------------- */
.timeline-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.timeline-item {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--site-line);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-weight: 800; color: var(--site-teal); font-size: 1.05rem; }
.timeline-item h3 { font-size: 1.15rem; margin: 0 0 6px; }
.timeline-item p { color: var(--site-muted); margin: 0; }

/* ---- Contact / hire ---------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-tile {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--site-line);
  border-radius: var(--site-radius-sm); padding: 18px 20px;
  box-shadow: var(--site-shadow-sm);
  color: var(--site-ink); font-weight: 600;
}
.contact-tile:hover { border-color: var(--site-teal); color: var(--site-teal-deep); }
.contact-tile .ct-icon {
  width: 40px; height: 40px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px; background: var(--site-teal-soft); font-size: 1.2rem;
}
.contact-tile small { display: block; color: var(--site-muted); font-weight: 500; font-size: 0.82rem; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band {
  text-align: center;
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: 28px;
  padding: 52px 32px;
  box-shadow: var(--site-shadow-sm);
}
.cta-band h2 { margin: 0 0 12px; }
.cta-band .lead { margin: 0 auto 26px; }

/* ---- FAQ accordion ----------------------------------------------------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-group { margin-bottom: 34px; }
.faq-group-title {
  font-size: 1.3rem;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--site-teal-soft);
  color: var(--site-teal-deep);
}
.faq-item {
  background: var(--site-surface);
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-sm);
  margin-bottom: 10px;
  box-shadow: var(--site-shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--site-ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--site-teal-deep); }
.faq-mark {
  flex: none;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--site-teal-soft);
  color: var(--site-teal-deep);
  font-size: 1.15rem; font-weight: 700; line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] .faq-mark { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 20px; }
.faq-answer p { margin: 0; color: var(--site-muted); line-height: 1.65; }

/* ---- Footer ------------------------------------------------------------ */
.site-foot {
  background: var(--site-teal-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 30px;
  margin-top: 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-foot h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.site-foot a { color: rgba(255, 255, 255, 0.78); display: block; padding: 5px 0; }
.site-foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 700; margin-bottom: 14px; }
.foot-brand img { width: 34px; height: 34px; border-radius: 9px; }
.foot-note { max-width: 40ch; color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.55);
}

/* ---- Skill cloud ------------------------------------------------------- */
.skill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-chip {
  font-size: 0.98rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--site-surface);
  color: var(--site-teal-deep);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow-sm);
}

/* ---- WhatsApp floating chat widget ------------------------------------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 62px;
  height: 62px;
  padding: 0 22px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 34px rgba(37,211,102,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37,211,102,0.55); color: #fff; }
.wa-fab svg { flex: none; }
.wa-fab-label { font-weight: 700; font-size: 0.98rem; white-space: nowrap; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid, .split, .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-portrait { max-width: 360px; margin: 0 auto; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .wa-fab { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); min-width: 56px; width: 56px; height: 56px; padding: 0; gap: 0; }
  .wa-fab-label { display: none; }
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 20px; }
  .cols-2, .cols-3, .contact-grid { grid-template-columns: 1fr; }
  .panel-teal { padding: 36px 24px; }
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline-year { font-size: 0.95rem; }
  .site-nav-links { display: none; }
  .site-nav-links.is-open {
    display: flex; position: absolute; top: 100%; right: 20px; left: 20px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--site-line); border-radius: 16px;
    padding: 10px; box-shadow: var(--site-shadow);
  }
  .site-nav-links.is-open a { padding: 12px 14px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--site-line); background: #fff; cursor: pointer;
    font-size: 1.3rem; color: var(--site-teal-deep);
  }
}
