/* Kazhan Advertising website. Designed and built by Ahmed Salam Rasool, 2026. */
/* =====================================================================
   17 Oct · design tidy-up (TRIAL: loaded on the Home page only, for approval)
   One set of text sizes, one corner size, even spacing, the site's own
   font on every button, and a shorter Home page on phones.
   ===================================================================== */
:root{
  --t-small:14px;      /* links, notes, captions */
  --t-body:16px;       /* normal text */
  --t-lead:18px;       /* the first line under a big title */
  --t-card:17px;       /* card titles */
  --t-h2:32px;         /* section titles */
  --r-card:10px;       /* card corners */
  --gap-section:88px;  /* space above and below a section */
}
@media (max-width:640px){
  :root{ --t-h2:26px; --t-lead:17px; --gap-section:56px; }
}

/* buttons and form boxes use the site's font (some fell back to Arial) */
button, input, select, textarea{font-family:inherit;}

/* section titles and the small label above them */
.section-title{font-size:var(--t-h2) !important;line-height:1.2;letter-spacing:-.01em;text-wrap:balance;}
.eyebrow{font-size:13px !important;letter-spacing:.09em !important;margin-bottom:12px;}

/* normal text: one size, comfortable line spacing, not too wide to read */
section p{font-size:var(--t-body);line-height:1.65;}
.section-sub, .section-title + p{font-size:var(--t-lead);max-width:62ch;}
.hero p, .page-hero p{font-size:var(--t-lead);}

/* even spacing between sections */
section.content-section, section.why, section.stat-band, section.story-band, section.kz-home-logos, section.reviews{padding-block:var(--gap-section);}

/* cards: one corner size, one title size, one text size */
.promo-card, .feat-card, .why-item, .related-card, .mat-card, .quote-card, .google-review-card{border-radius:var(--r-card) !important;}
.promo-card h4, .feat-card h3, .why-item h3, .why-item h4{font-size:var(--t-card) !important;line-height:1.3;}
.promo-card p, .feat-card p, .why-item p{font-size:15px !important;line-height:1.6;}
.promo-card .lnk, .lnk{font-size:var(--t-small) !important;}

/* phones: the services two per row with a smaller picture, so the page is half as long */
@media (max-width:560px){
  .promo-grid{grid-template-columns:1fr 1fr !important;gap:12px !important;}
  .promo-card .ph{height:92px !important;}
  .promo-card .ph svg{width:38px;height:38px;}
  .promo-card .body{padding:14px 12px 16px !important;}
  .promo-card h4{font-size:15px !important;}
  .promo-card:last-child:nth-child(odd){grid-column:1 / -1;}  /* no card left alone in its row */
  .promo-card p{font-size:13.5px !important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
}
