/* ===========================================================
   Triveni Health Cure Private Limited: site stylesheet
   Design direction: clinical trust. Navy/white/steel palette,
   technical mono accents for device model names (the real
   content, actual product codes, carries the signature,
   not decoration).
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  --navy: #14532D;
  --navy-light: #1B6B3A;
  --steel: #4F8F6C;
  --teal: #1B9C63;
  --bg: #F2FAF5;
  --white: #FFFFFF;
  --ink: #16241C;
  --muted: #5C6E63;
  --line: #DCEAE1;

  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
header.site{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.wordmark{
  display: flex;
  align-items: center;
  gap: 12px;
}
.wordmark .wm-text{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark .top{
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.wordmark .bottom{
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin-top: 3px;
}
nav.links{
  display: flex;
  gap: 32px;
}
nav.links a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease;
  position: relative;
}
nav.links a:hover, nav.links a.active{ color: var(--navy); }
nav.links a.active::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom:-19px;
  height:2px;
  background: var(--teal);
}
.nav-cta{
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
}
.menu-toggle{ display:none; background:none; border:none; cursor:pointer; }

/* ---------- Hero ---------- */
.hero{
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--line);
}
.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
h1{
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 20px;
  max-width: 15ch;
}
.lede{
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 32px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap: wrap; }

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-illustration{ width: 100%; height: auto; }

.illustration-band{
  padding: 8px 0 0;
}
.illustration-band svg{ width: 100%; height: auto; }

.btn{
  display: inline-block;
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
}
.btn-primary{ background: var(--navy); color: var(--white); }
.btn-primary:hover{ background: var(--navy-light); }
.btn-ghost{ border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-ghost:hover{ border-color: var(--steel); }

/* ---------- Stat strip ---------- */
.stat-strip{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat{
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child{ border-right: none; }
.stat .num{
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
}
.stat .label{
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ---------- Sections ---------- */
section{ padding: 72px 0; }
section.alt{ background: var(--bg); }
.section-head{ margin-bottom: 40px; max-width: 60ch; }
.section-head .eyebrow{ margin-bottom: 12px; }
h2{
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--navy);
  margin: 0 0 14px;
}
.section-head p{ color: var(--muted); font-size: 16.5px; margin:0; }

/* ---------- Category cards ---------- */
.cat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 22px;
  background: var(--white);
  transition: border-color .15s ease, transform .15s ease;
}
.cat-card:hover{ border-color: var(--steel); transform: translateY(-3px); }
.cat-card .icon-badge{
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.cat-card .icon{ width: 26px; height: 26px; margin-bottom: 0; color: var(--teal); }
.cat-card h3{
  font-family: var(--display);
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 8px;
}
.cat-card p{ font-size: 14px; color: var(--muted); margin: 0; }
.cat-card .count{
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  margin-top: 14px;
  display: inline-block;
}

/* ---------- Hospital strip ---------- */
.hosp-strip{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hosp-chip{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--navy);
  background: var(--white);
}

/* ---------- Product tables ---------- */
.product-category{ margin-bottom: 56px; }
.product-category:last-child{ margin-bottom: 0; }
.pc-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.pc-head h3{
  font-family: var(--display);
  font-size: 22px;
  color: var(--navy);
  margin: 0;
}
.pc-head .pc-index{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--steel);
}
.product-list{ list-style: none; margin: 0; padding: 0; }
.product-list li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.product-list li:hover{ background: var(--bg); }
.product-list .pname{ color: var(--ink); font-weight: 500; }
.product-list .pcode{
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.note-box{
  background: var(--bg);
  border-left: 3px solid var(--teal);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 18px;
  border-radius: 0 4px 4px 0;
}

/* ---------- About / two column ---------- */
.two-col{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.pull-fact{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
  background: var(--bg);
}
.pull-fact .num{
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
}
.pull-fact .label{ font-size: 14px; color: var(--muted); margin-top: 6px; }
.fact-list{ margin-top: 22px; display: grid; gap: 16px; }
.fact-row{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.fact-row .k{ color: var(--muted); }
.fact-row .v{ color: var(--navy); font-weight: 600; font-family: var(--mono); font-size: 13px; text-align:right; }

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card{
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px;
}
.contact-card h3{ font-family: var(--display); color: var(--navy); margin: 0 0 18px; font-size: 18px; }
.contact-line{ display:flex; gap:12px; margin-bottom:16px; font-size: 15px; }
.contact-line .k{ color: var(--muted); min-width: 90px; }
.contact-line .v{ color: var(--ink); }
form.quote-form{ display: grid; gap: 16px; }
.form-row{ display:grid; gap:6px; }
.form-row label{ font-size: 13px; color: var(--muted); font-weight: 500; }
.form-row input, .form-row select, .form-row textarea{
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 13px;
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
}
.form-row textarea{ resize: vertical; min-height: 90px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: 2px solid var(--steel);
  outline-offset: 1px;
}

/* ---------- Footer ---------- */
footer.site{
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 44px 0 28px;
  margin-top: 40px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand img{ border-radius: 6px; }
.footer-brand span{
  color: var(--white);
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
}
footer.site h4{
  color: var(--white);
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
footer.site p, footer.site a{ font-size: 14px; line-height: 1.7; }
footer.site a:hover{ color: var(--white); }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 12.5px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Leadership ---------- */
.leader-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.leader-card{
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 28px;
  background: var(--white);
}
.leader-photo{
  width: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.leader-photo img{
  width: 100%;
  height: auto;
  display: block;
}
.leader-photo.placeholder{
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
}
.leader-card h3{
  font-family: var(--display);
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 2px;
}
.leader-card .role{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.leader-card p{
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}
.leader-note{
  margin-top: 32px;
  font-size: 16px;
  color: var(--muted);
  max-width: 80ch;
}


.donut-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.donut-chart{
  width: 260px;
  height: 260px;
}
.donut-seg{
  transition: opacity .15s ease;
  cursor: pointer;
}
.donut-legend{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.donut-legend li{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 4px;
  transition: background .15s ease;
  cursor: pointer;
}
.donut-legend li.active{ background: var(--white); }
.donut-legend .dot{
  width: 12px; height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.donut-legend .lv{
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  margin-left: 8px;
}


.photo-banner{
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.photo-banner img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.photo-banner .cap{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(15,61,34,0.92));
  color: #fff;
  padding: 34px 28px 20px;
}
.photo-banner .cap .eyebrow{ color: #7FE8C4; margin-bottom: 6px; }
.photo-banner .cap h3{
  font-family: var(--display);
  font-size: 22px;
  margin: 4px 0 0;
  color: #fff;
  max-width: 40ch;
}
.photo-text{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.photo-text img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.photo-strip{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.photo-strip figure{ margin: 0; }
.photo-strip img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.photo-strip figcaption{
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  font-family: var(--mono);
}


.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{ opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px){
  .stat-strip{ grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2){ border-right: none; }
  .cat-grid{ grid-template-columns: repeat(2, 1fr); }
  .two-col, .contact-grid, .hero-grid, .photo-text, .photo-strip, .leader-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 24px; }
  nav.links{
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 18px;
  }
  nav.links.open{ display: flex; }
  .menu-toggle{ display: block; }
}
@media (max-width: 560px){
  .cat-grid{ grid-template-columns: 1fr; }
}
