/* ============================================================
   WATER DAMAGE RESTORATION BUFORD — Premium Redesign
   ============================================================ */

:root {
  --navy:   #0c2d48;
  --navy2:  #0a2438;
  --blue:   #14639f;
  --teal:   #0e7c7b;
  --amber:  #f2a81d;
  --ink:    #1d2b36;
  --muted:  #5a6d7a;
  --bg:     #f4f8fa;
  --card:   #ffffff;
  --line:   #dbe6ec;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12,45,72,.12);
  --shadow-lg: 0 20px 60px rgba(12,45,72,.18);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1,h2,h3 { line-height: 1.22; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .65em; }
h3 { font-size: 1.15rem; margin-bottom: .35em; }
p  { margin-bottom: 1em; }
.lead  { font-size: 1.12rem; color: #33475a; }
.small { font-size: .92rem; color: var(--muted); }
.kicker {
  display: inline-block;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  margin-bottom: 10px;
  padding: 4px 12px;
  background: rgba(14,124,123,.09);
  border-radius: 999px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #231a02;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(242,168,29,.35);
  transition: transform .18s, box-shadow .18s, filter .18s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(242,168,29,.4); filter: brightness(1.05); }
.btn.blue  { background: var(--blue); color: #fff; box-shadow: 0 4px 18px rgba(20,99,159,.3); }
.btn.blue:hover { box-shadow: 0 8px 28px rgba(20,99,159,.4); }
.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.callbtn { white-space: nowrap; }

/* ── Top Bar ──────────────────────────────────────────────── */
.topbar {
  background: var(--navy2);
  color: #cfe3f2;
  font-size: .88rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 700; }

/* ── Header / Nav ─────────────────────────────────────────── */
header.site {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(12,45,72,.07);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { font-weight: 800; color: var(--navy); font-size: 1.1rem; line-height: 1.2; }
.logo span { color: var(--teal); }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
nav.main a:hover { background: var(--bg); color: var(--navy); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}
.hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12,45,72,.85) 40%, rgba(12,45,72,.4) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: .45em; }
.hero > .wrap > div:first-child > p { color: #d8ecf9; font-size: 1.08rem; }
.hero .points { list-style: none; margin: 20px 0 28px; }
.hero .points li {
  margin: 9px 0;
  padding-left: 30px;
  position: relative;
  color: #eef6fb;
  font-size: 1rem;
}
.hero .points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--amber);
  color: #231a02;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 900;
  top: 2px;
}
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quote Form */
.quote {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(12,45,72,.22);
  border: 1px solid var(--line);
}
.quote h3 { margin-bottom: .2em; font-size: 1.2rem; }
.quote label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-top: 12px;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.quote input,
.quote select,
.quote textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  font: inherit;
  font-size: .95rem;
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
.quote input:focus,
.quote select:focus,
.quote textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,99,159,.12);
  background: #fff;
}
.quote button { width: 100%; margin-top: 16px; border: 0; cursor: pointer; font: inherit; }

/* ── Trust Strip ──────────────────────────────────────────── */
.trust { background: var(--teal); color: #fff; }
.trust .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,.18);
  font-weight: 700;
  font-size: .93rem;
}
.trust-item:last-child { border-right: none; }
.trust-item .icon {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

/* ── Section Base ─────────────────────────────────────────── */
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }

/* ── Intro (about blurb) ─────────────────────────────────── */
.section .intro { max-width: 840px; }

/* ── Services Section ─────────────────────────────────────── */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.services-header h2 { margin-bottom: 0; }

/* Service card grid (replaces alternating rows) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(12,45,72,.07);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,45,72,.14);
  text-decoration: none;
}
.svc-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.svc-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.svc-card-body h3 { font-size: 1.05rem; margin-bottom: .4em; }
.svc-card-body p  { font-size: .93rem; color: var(--muted); flex: 1; margin-bottom: .8em; }
.svc-card-body .more {
  font-weight: 700;
  color: var(--blue);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.svc-card-body .more::after { content: "→"; }

/* ── CTA Band ─────────────────────────────────────────────── */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta .wrap { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4em; }
.cta p  { color: #d4e9f7; font-size: 1.08rem; margin-bottom: 0; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── Process Section ──────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.step-card .num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(12,45,72,.07);
  line-height: 1;
  margin-bottom: -12px;
  display: block;
}
.step-card .step-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.step-card h3 { font-size: 1rem; margin-bottom: .4em; }
.step-card p:last-child { margin-bottom: 0; font-size: .92rem; color: var(--muted); }

/* ── Causes Section ───────────────────────────────────────── */
.causes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.cause-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cause-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(12,45,72,.11);
  border-color: var(--teal);
}
.cause-card h3 { font-size: .98rem; margin-bottom: .35em; }
.cause-card p  { font-size: .88rem; color: var(--muted); margin-bottom: 0; }

/* ── Why Us Section ───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.why-card {
  background: var(--card);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(12,45,72,.07);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, box-shadow .2s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(12,45,72,.13);
}
.why-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.why-card h3 { font-size: 1rem; margin-bottom: 0; }
.why-card p  { font-size: .91rem; color: var(--muted); margin-bottom: 0; }

/* ── Knowledge / Edu Section ──────────────────────────────── */
.edu-section { padding: 72px 0; }
.edu-section.alt { background: var(--bg); }
.edu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.edu-content h3 { margin-top: 1.6em; margin-bottom: .4em; font-size: 1.1rem; }
.edu-content h3:first-child { margin-top: 0; }
.edu-content p:last-child { margin-bottom: 0; }

/* Table redesign */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  margin: 16px 0 24px;
  box-shadow: 0 4px 20px rgba(12,45,72,.08);
  font-size: .91rem;
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--navy); color: #fff; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: var(--bg); }

/* ── FAQ Section ──────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
details {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
details[open] {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(20,99,159,.1);
}
details summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: 1rem;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] summary::after { content: '−'; }
details p {
  padding: 0 20px 16px;
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 0;
}
.faq-extra { padding: 28px; background: var(--bg); border-radius: 18px; border: 1px solid var(--line); }
.faq-extra h3 { font-size: 1.05rem; margin-bottom: .5em; }
.faq-extra p:last-child { margin-bottom: 0; }

/* ── Areas Section ────────────────────────────────────────── */
.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 32px;
}
.areas-block h3 { margin-bottom: 14px; font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: var(--teal); background: var(--teal); color: #fff; }

/* ── Related / Rel ────────────────────────────────────────── */
.rel { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.rel a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  transition: border-color .15s;
}
.rel a span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.rel a:hover { border-color: var(--blue); text-decoration: none; }

/* ── Footer ───────────────────────────────────────────────── */
footer.site {
  background: var(--navy2);
  color: #c8dcea;
  padding: 56px 0 28px;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
footer.site h3 { color: #fff; font-size: 1rem; margin-bottom: .7em; }
footer.site a { color: #a8c8df; transition: color .15s; }
footer.site a:hover { color: #fff; text-decoration: none; }
footer.site ul { list-style: none; }
footer.site li { margin: 7px 0; font-size: .93rem; }
footer.site .fine {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px;
  padding-top: 18px;
  font-size: .86rem;
  color: #6e92a8;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.pagehero { position: relative; color: #fff; background: var(--navy); }
.pagehero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.pagehero .wrap { position: relative; padding-top: 52px; padding-bottom: 52px; }
.pagehero h1 { color: #fff; font-size: 2.15rem; max-width: 850px; }
.pagehero p   { color: #e6f0f7; max-width: 760px; }
.crumb { font-size: .88rem; color: #bcd6ea; margin-bottom: 10px; }
.crumb a { color: #bcd6ea; }

/* ── Generic card (fallback) ─────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card .num {
  display: inline-flex;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3,1fr); }
.grid.c2 { grid-template-columns: repeat(2,1fr); }


/* ── Know Your Loss Section ──────────────────────────────── */
.know-loss-section {
  padding: 80px 0;
  background: var(--bg);
}

/* Header */
.kyl-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;
}
.kyl-header h2 { margin-bottom: .4em; }
.kyl-lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Info Cards Grid */
.kyl-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.kyl-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(12,45,72,.06);
  transition: transform .2s, box-shadow .2s;
}
.kyl-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(12,45,72,.11);
}
.kyl-info-card.kyl-urgent {
  border-color: rgba(242,168,29,.4);
  background: linear-gradient(135deg, #fffdf4 0%, #fff 100%);
}
.kyl-info-card.kyl-urgent .kyl-info-icon {
  background: rgba(242,168,29,.15);
}
.kyl-info-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(14,124,123,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
}
.kyl-info-body { flex: 1; }
.kyl-info-body h3 { font-size: 1rem; margin-bottom: .4em; }
.kyl-info-body p  { font-size: .92rem; color: var(--muted); margin-bottom: 0; line-height: 1.6; }
.kyl-info-body a  { color: var(--blue); font-weight: 600; }

/* Tables Wrap — side by side */
.kyl-tables-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.kyl-table-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(12,45,72,.07);
}

.kyl-table-header {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--navy);
}
.kyl-table-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber);
  background: rgba(242,168,29,.15);
  border: 1px solid rgba(242,168,29,.3);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.kyl-table-header h3 { color: #fff; font-size: 1.05rem; margin-bottom: .3em; }
.kyl-table-header p  { color: #c0d8ea; font-size: .88rem; margin-bottom: 0; line-height: 1.5; }

/* Category Cards */
.kyl-cat-cards { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.kyl-cat {
  border-radius: 12px;
  border: 1.5px solid transparent;
  padding: 16px 18px;
  transition: transform .15s;
}
.kyl-cat:hover { transform: translateX(4px); }
.cat-1 { background: #f0faf4; border-color: #a3d9b4; }
.cat-2 { background: #fdf6ec; border-color: #f0c97b; }
.cat-3 { background: #fdf0f0; border-color: #f0a3a3; }

.cat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.cat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cat-1 .cat-dot { background: #27ae60; }
.cat-2 .cat-dot { background: #e6a817; }
.cat-3 .cat-dot { background: #e74c3c; }
.cat-name { font-weight: 800; font-size: .93rem; color: var(--navy); }
.cat-tag {
  font-size: .76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: auto;
}
.cat-1 .cat-tag { background: #c8f0d5; color: #1a6e38; }
.cat-2 .cat-tag { background: #fce9b8; color: #7a5a00; }
.cat-3 .cat-tag { background: #fcc8c8; color: #7a0000; }

.cat-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cat-sub {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 4px !important;
}
.cat-detail p { font-size: .86rem; color: var(--ink); margin-bottom: 0; line-height: 1.5; }

.kyl-note {
  margin: 0;
  padding: 14px 20px;
  background: rgba(242,168,29,.08);
  border-top: 1px solid rgba(242,168,29,.2);
  font-size: .84rem;
  color: #6a4f00;
  line-height: 1.55;
}

/* Class Cards */
.kyl-class-grid {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kyl-class-card {
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 16px 18px;
  transition: transform .15s, box-shadow .15s;
}
.kyl-class-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(12,45,72,.08);
}
.kyl-class-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.class-badge {
  font-size: .76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  flex-shrink: 0;
}
.class-1 { background: #27ae60; }
.class-2 { background: #2e86de; }
.class-3 { background: #e67e22; }
.class-4 { background: #c0392b; }
.class-load {
  font-size: .83rem;
  color: var(--muted);
  font-weight: 600;
}
.class-what {
  font-size: .88rem;
  color: var(--ink);
  margin-bottom: 10px !important;
  font-weight: 500;
}
.class-timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--line);
  border-radius: 999px;
  height: 8px;
  position: relative;
  margin-bottom: 8px;
  overflow: hidden;
}
.timeline-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  flex-shrink: 0;
}
.timeline-label {
  position: absolute;
  right: 10px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--line);
  padding: 0 4px;
  white-space: nowrap;
  line-height: 8px;
}
.class-note {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 0 !important;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .svc-grid       { grid-template-columns: repeat(2, 1fr); }
  .causes-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero .wrap     { grid-template-columns: 1fr; }
  .trust .wrap    { grid-template-columns: repeat(2, 1fr); }
  .trust-item     { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); }
  .trust-item:nth-child(even) { border-right: none; }
  .process-grid   { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: repeat(2, 1fr); }
  .edu-layout         { grid-template-columns: 1fr; gap: 32px; }
  .faq-layout         { grid-template-columns: 1fr; }
  .areas-layout       { grid-template-columns: 1fr; gap: 32px; }
  .kyl-info-grid      { grid-template-columns: 1fr; }
  .kyl-tables-wrap    { grid-template-columns: 1fr; }
  .cat-detail         { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; }
  .hero h1        { font-size: 2rem; }
  nav.main        { display: none; }
  .rel, .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .section        { padding: 52px 0; }
  .svc-grid       { grid-template-columns: 1fr; }
  .causes-grid    { grid-template-columns: 1fr; }
  .process-grid   { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .trust .wrap    { grid-template-columns: 1fr; }
  .cta-actions    { flex-direction: column; align-items: center; }
}
