/*--------------------------------------------------------------
# typo.css - Matritava typography system
#
# Saari font sizes fluid (clamp) hain: mobile (360px) se desktop
# (1440px+) tak automatically scale hoti hain, media queries ke bina.
#
# Classes:
#   Banner   : .t-banner-title  .t-banner-sub  .t-banner-desc  .t-banner-list
#   Section  : .t-section-title .t-section-sub
#   Body     : .t-desc  (+ .t-desc-lg / .t-desc-sm)  .t-list
#   Box/Card : .t-box-title  .t-box-desc  (ya wrapper .t-box)
#   Others   : .t-stat  .t-label  .t-caption  .t-btn-text
#
# Elementor widget par class lagane ke liye:
#   Advanced > CSS Classes me class likho (e.g. t-section-title).
#   Class widget wrapper par ho ya andar ke h1-h6 / p / li par, dono chalega.
--------------------------------------------------------------*/

:root {
  --t-font: "Nunito", sans-serif;

  /* font sizes (fluid) */
  --t-banner-title: clamp(28px, 22px + 1.9vw, 52px);
  --t-banner-sub:   clamp(18px, 15px + 1vw, 28px);
  --t-banner-desc:  clamp(15px, 13.5px + 0.45vw, 20px);
  --t-section-title: clamp(24px, 19px + 1.5vw, 40px);
  --t-section-sub:  clamp(16px, 14px + 0.6vw, 22px);
  --t-desc:         clamp(15px, 14px + 0.3vw, 18px);
  --t-desc-lg:      clamp(16px, 14.5px + 0.5vw, 20px);
  --t-desc-sm:      clamp(13px, 12.5px + 0.2vw, 15px);
  --t-box-title:    clamp(18px, 16px + 0.6vw, 24px);
  --t-box-desc:     clamp(14px, 13.5px + 0.2vw, 16px);
  --t-stat:         clamp(30px, 24px + 2vw, 48px);
  --t-label:        clamp(12px, 11px + 0.2vw, 14px);
  --t-caption:      clamp(12px, 11.5px + 0.15vw, 14px);

  /* weights */
  --t-w-regular: 400;
  --t-w-medium:  500;
  --t-w-semibold: 600;
  --t-w-bold:    700;

  /* line heights */
  --t-lh-tight: 1.2;
  --t-lh-snug:  1.35;
  --t-lh-body:  1.65;
}

/*--------------------------------------------------------------
# Banner
--------------------------------------------------------------*/
.t-banner-title,
.t-banner-title h1, .t-banner-title h2, .t-banner-title h3,
.t-banner-title .elementor-heading-title {
  font-family: var(--t-font) !important;
  font-size: var(--t-banner-title) !important;
  font-weight: var(--t-w-bold) !important;
  line-height: var(--t-lh-tight) !important;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.t-banner-sub,
.t-banner-sub h2, .t-banner-sub h3, .t-banner-sub h4, .t-banner-sub p {
  font-family: var(--t-font) !important;
  font-size: var(--t-banner-sub) !important;
  font-weight: var(--t-w-semibold) !important;
  line-height: var(--t-lh-snug) !important;
  margin-bottom: 0.6em;
}

.t-banner-desc,
.t-banner-desc p {
  font-family: var(--t-font) !important;
  font-size: var(--t-banner-desc) !important;
  font-weight: var(--t-w-regular) !important;
  line-height: var(--t-lh-body) !important;
  margin-bottom: 1em;
}

.t-banner-list,
.t-banner-list p, .t-banner-list li {
  font-family: var(--t-font) !important;
  font-size: var(--t-banner-desc) !important;
  font-weight: var(--t-w-medium) !important;
  line-height: var(--t-lh-snug) !important;
}

/*--------------------------------------------------------------
# Section (main heading + sub heading)
--------------------------------------------------------------*/
.t-section-title,
.t-section-title h1, .t-section-title h2, .t-section-title h3,
.t-section-title .elementor-heading-title {
  font-family: var(--t-font) !important;
  font-size: var(--t-section-title) !important;
  font-weight: var(--t-w-bold) !important;
  line-height: var(--t-lh-tight) !important;
  letter-spacing: -0.005em;
  margin-top: 0;
  margin-bottom: 0.5em;
}

.t-section-sub,
.t-section-sub p, .t-section-sub h3, .t-section-sub h4 {
  font-family: var(--t-font) !important;
  font-size: var(--t-section-sub) !important;
  font-weight: var(--t-w-medium) !important;
  line-height: var(--t-lh-snug) !important;
  margin-bottom: 0.8em;
}

/*--------------------------------------------------------------
# Description (poori website ka body text)
--------------------------------------------------------------*/
.t-desc,
.t-desc p, .t-desc li, .t-desc span,
.t-list, .t-list li {
  font-family: var(--t-font) !important;
  font-size: var(--t-desc) !important;
  font-weight: var(--t-w-regular) !important;
  line-height: var(--t-lh-body) !important;
}
.t-desc p { margin-bottom: 1em; }

.t-desc-lg, .t-desc-lg p, .t-desc-lg li { font-size: var(--t-desc-lg) !important; }
.t-desc-sm, .t-desc-sm p, .t-desc-sm li { font-size: var(--t-desc-sm) !important; }

/*--------------------------------------------------------------
# Box / card headings and descriptions
# .t-box wrapper: andar ke h3-h6 box title, p / li box desc ban jate hain
--------------------------------------------------------------*/
.t-box-title,
.t-box h3, .t-box h4, .t-box h5, .t-box h6,
.t-box .elementor-image-box-title,
.t-box .elementor-icon-box-title,
.t-box-title .elementor-heading-title {
  font-family: var(--t-font) !important;
  font-size: var(--t-box-title) !important;
  font-weight: var(--t-w-semibold) !important;
  line-height: var(--t-lh-snug) !important;
  margin-top: 0;
  margin-bottom: 0.4em;
}

.t-box-desc,
.t-box p, .t-box li,
.t-box .elementor-image-box-description,
.t-box .elementor-icon-box-description {
  font-family: var(--t-font) !important;
  font-size: var(--t-box-desc) !important;
  font-weight: var(--t-w-regular) !important;
  line-height: var(--t-lh-body) !important;
}

/*--------------------------------------------------------------
# Counter / stat
--------------------------------------------------------------*/
.t-stat .elementor-counter-number-wrapper,
.t-stat .elementor-counter-number,
.t-stat .elementor-counter-number-suffix,
.t-stat .elementor-counter-number-prefix {
  font-family: var(--t-font) !important;
  font-size: var(--t-stat) !important;
  font-weight: var(--t-w-bold) !important;
  line-height: var(--t-lh-tight) !important;
}
.t-stat .elementor-counter-title {
  font-family: var(--t-font) !important;
  font-size: var(--t-box-desc) !important;
  font-weight: var(--t-w-medium) !important;
  line-height: var(--t-lh-snug) !important;
}

/*--------------------------------------------------------------
# Small helpers
--------------------------------------------------------------*/
.t-label {
  font-family: var(--t-font) !important;
  font-size: var(--t-label) !important;
  font-weight: var(--t-w-semibold) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: var(--t-lh-snug) !important;
}

.t-caption {
  font-family: var(--t-font) !important;
  font-size: var(--t-caption) !important;
  font-weight: var(--t-w-regular) !important;
  line-height: var(--t-lh-snug) !important;
}

.t-btn-text {
  font-family: var(--t-font) !important;
  font-size: var(--t-desc) !important;
  font-weight: var(--t-w-semibold) !important;
  line-height: 1.2 !important;
}

/* font-weight helpers */
.t-regular  { font-weight: var(--t-w-regular) !important; }
.t-medium   { font-weight: var(--t-w-medium) !important; }
.t-semibold { font-weight: var(--t-w-semibold) !important; }
.t-bold     { font-weight: var(--t-w-bold) !important; }
