/* QACO — Qasim Adeel & Co. site styles */
:root {
  --red: #b22d30;
  --red-dark: #8f2124;
  --ink: #1d2228;
  --ink-2: #2b323a;
  --text: #3a424b;
  --muted: #6b7580;
  --line: #e4e1dc;
  --paper: #ffffff;
  --sand: #f6f4f0;
  --radius: 10px;
  --wrap: 1180px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--text); max-width: 46rem; }
.section { padding: 88px 0; }
.section.sand { background: var(--sand); }
.section-head { max-width: 50rem; margin-bottom: 48px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 6px; font-weight: 600; font-size: .98rem;
  background: var(--red); color: #fff; border: 2px solid var(--red);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); text-decoration: none; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn.outline { background: transparent; color: var(--red); }
.btn.outline:hover { background: var(--red); color: #fff; }

/* Top bar + header */
.topbar { background: var(--ink); color: #c9ced4; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar span + span { margin-left: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.brand-text small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; color: var(--ink); font-weight: 500; font-size: .96rem; border-radius: 6px; }
.nav a:hover { background: var(--sand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { color: #fff; margin-left: 8px; padding: 10px 18px; }
.nav .btn:hover { background: var(--red-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: #e8eaed; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(178,45,48,.35), transparent 60%),
    linear-gradient(115deg, transparent 58%, rgba(255,255,255,.035) 58%, rgba(255,255,255,.035) 74%, transparent 74%);
}
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #c9ced4; margin-bottom: 32px; }
.hero .eyebrow { color: #f0a5a7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.accent-rule { width: 64px; height: 4px; background: var(--red); border: 0; margin: 0 0 28px; }

.page-hero { background: var(--ink); color: #c9ced4; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 360px at 90% -20%, rgba(178,45,48,.35), transparent 60%); }
.page-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: #c9ced4; }
.crumbs { font-size: .85rem; margin-bottom: 12px; color: #9aa3ad; }
.crumbs a { color: #c9ced4; }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--red); line-height: 1.1; font-weight: 600; }
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding: 24px 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
}

/* Cards */
.grid { display: grid; gap: 24px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid.c3, .grid.c2, .grid.c4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; border-color: var(--red); box-shadow: 0 10px 30px rgba(29,34,40,.08); transform: translateY(-2px); }
.card .icon { width: 48px; height: 48px; border-radius: 10px; background: #fbeeee; color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--red); font-size: .95rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.panel { background: var(--ink); color: #c9ced4; border-radius: var(--radius); padding: 44px; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(178,45,48,.25); }
.panel h3 { color: #fff; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.panel .checks li::before { border-color: #f0a5a7; }

/* Values */
.value { border-top: 3px solid var(--red); padding-top: 20px; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); font-size: .96rem; }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc ul { columns: 2; column-gap: 32px; margin: 0; }
.svc li { break-inside: avoid; margin-bottom: 10px; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 20px; } .svc ul { columns: 1; } }
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.svc-nav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .92rem; background: #fff; }
.svc-nav a:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 20px; font-weight: 500; color: var(--ink); }

/* Team */
.person { text-align: left; }
.avatar { width: 112px; height: 112px; overflow: hidden; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; margin-bottom: 16px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.person h3 { font-size: 1.1rem; margin-bottom: 2px; }
.person p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Quote */
.quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--ink); margin: 0 0 20px; }
.quote-by { font-size: .95rem; color: var(--muted); }
.quote-by b { color: var(--ink); }

/* Offices */
.office h3 { font-size: 1.15rem; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 16px; }
.map { border: 0; width: 100%; height: 360px; border-radius: var(--radius); background: var(--sand); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; color: var(--red); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 12px; max-width: 52rem; }

/* Form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; color: var(--ink);
  border: 1px solid #cfcac2; border-radius: 6px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(178,45,48,.25); border-color: var(--red); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 6px; display: none; }
.form-status.ok { display: block; background: #eaf6ee; color: #1d5b33; }
.form-status.err { display: block; background: #fbeeee; color: var(--red-dark); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.contact-box { background: var(--sand); border-radius: var(--radius); padding: 32px; }
.contact-box dl { margin: 0; }
.contact-box dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.contact-box dt:first-child { margin-top: 0; }
.contact-box dd { margin: 4px 0 0; color: var(--ink); font-weight: 500; }

/* CTA band */
.cta { background: var(--red); color: #fff; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #f7d9da; }
.cta .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Footer */
.site-footer { background: var(--ink); color: #9aa3ad; font-size: .94rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9ced4; }
.site-footer a:hover { color: #fff; }
.foot-brand img { height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; margin-bottom: 16px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.svc .icon { width: 48px; height: 48px; border-radius: 10px; background: #fbeeee; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.svc .icon svg { width: 24px; height: 24px; }
.panel b { color: #fff; }

/* Photo banners (cover images) behind hero and page headers */
.has-bg::before {
  background:
    radial-gradient(800px 420px at 90% -10%, rgba(178,45,48,.35), transparent 60%),
    linear-gradient(90deg, rgba(22,26,31,.92) 0%, rgba(22,26,31,.72) 42%, rgba(22,26,31,.12) 100%),
    var(--bg) center / cover no-repeat;
}
.page-hero.has-bg::before {
  background:
    radial-gradient(700px 360px at 90% -20%, rgba(178,45,48,.3), transparent 60%),
    linear-gradient(90deg, rgba(22,26,31,.9) 0%, rgba(22,26,31,.62) 50%, rgba(22,26,31,.15) 100%),
    var(--bg) center / cover no-repeat;
}
.hero.has-bg .wrap { padding-top: 140px; padding-bottom: 140px; }
@media (max-width: 760px) {
  .has-bg::before, .page-hero.has-bg::before {
    background: linear-gradient(rgba(22,26,31,.72), rgba(22,26,31,.72)), var(--bg-sm) center / cover no-repeat;
  }
  .hero.has-bg .wrap { padding-top: 90px; padding-bottom: 90px; }
}

/* Team: portrait cards (head and shoulders), Baker Tilly style */
.team { gap: 32px 24px; }
.team .person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.team .person:hover { box-shadow: 0 10px 30px rgba(29,34,40,.08); transform: translateY(-2px); }
.team .photo { aspect-ratio: 1 / 1; background: #fff; border-bottom: 3px solid var(--red); }
.team .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.team .person h3 { font-size: 1.12rem; margin: 18px 20px 4px; }
.team .person p { margin: 0 20px 20px; }

/* ---- One-page layout (A&A-style sections) ---- */
html { scroll-padding-top: 90px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 30px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .85rem; color: #fff; background: rgba(255,255,255,.06); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f0a5a7; }

.quick { position: relative; z-index: 2; margin-top: -48px; }
.quick-card { display: block; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--radius); padding: 24px 26px; color: inherit; box-shadow: 0 12px 30px rgba(29,34,40,.08); transition: transform .15s, box-shadow .15s; }
.quick-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(29,34,40,.12); }
.quick-card .eyebrow { margin-bottom: 8px; font-size: .72rem; }
.quick-card h3 { margin-bottom: 6px; font-size: 1.2rem; }
.quick-card p { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.quick-card .more { font-weight: 600; color: var(--red); font-size: .92rem; }
@media (max-width: 760px) { .quick { margin-top: 24px; } }
.stats { border-top: 0; }

.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; scroll-margin-top: 100px; }
.svc-card .icon { width: 48px; height: 48px; border-radius: 10px; background: #fbeeee; color: var(--red); display: grid; place-items: center; margin-bottom: 18px; }
.svc-card .icon svg { width: 24px; height: 24px; }
.svc-card > p { color: var(--muted); font-size: .96rem; }
.svc-card .checks li { font-size: .95rem; margin-bottom: 8px; }
.svc-card:target { border-color: var(--red); box-shadow: 0 0 0 3px rgba(178,45,48,.12); }

/* Team cards link to profiles */
a.person { color: inherit; display: block; }
a.person:hover { text-decoration: none; }
.team .person .role { margin: 0 20px 4px; color: var(--red); font-weight: 600; font-size: .9rem; }
.team .person .quals { display: block; margin: 0 20px 6px; font-size: .82rem; color: var(--ink); letter-spacing: .02em; }
.team .person .focus { margin: 0 20px 12px; color: var(--muted); font-size: .9rem; }
.team .person .more { display: block; margin: 0 20px 20px; font-weight: 600; font-size: .88rem; color: var(--red); }
.team .person h3 { margin-bottom: 6px; }

/* Profile pages */
.profile { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.profile-photo img { border-radius: var(--radius); border: 1px solid var(--line); border-bottom: 3px solid var(--red); background: #fff; }
.profile p { font-size: 1.05rem; }
.profile h3 { margin-top: 28px; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 820px) { .profile { grid-template-columns: 1fr; gap: 28px; } .profile-photo { max-width: 320px; } }

/* Forms: radios, file */
.radios { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 4px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: .98rem; margin: 0; cursor: pointer; }
.radios input { width: auto; }
.form input[type="file"] { padding: 10px; background: var(--sand); }
.form h3 { font-size: 1.4rem; }

/* Tax calculator */
.calc { margin-bottom: 20px; }
.calc input { font-size: 1.3rem; font-weight: 600; }
.calc-result { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calc-result div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.calc-result div:first-child { border-top: 0; }
.calc-result div:nth-child(2) { background: var(--ink); color: #fff; }
.calc-result div:nth-child(2) span { color: #c9ced4; }
.calc-result span { color: var(--muted); }
.calc-result b { color: inherit; font-family: var(--serif); font-size: 1.15rem; }
.slabs { width: 100%; border-collapse: collapse; margin: 12px 0 14px; font-size: .95rem; }
.slabs th, .slabs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.slabs th { background: var(--sand); color: var(--ink); font-weight: 600; }

/* Justified body text (paragraphs, intros, list items); hyphenation keeps
   word gaps even on narrow screens. Headings, labels and buttons stay as they are. */
p, .lead, .checks li, .faq details p, .quick-card p, .svc-card > p, .value p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
/* Short bullet points in narrow cards: justification only opens gaps between a few words */
.svc-card .checks li, .team .person p, .stat span, .crumbs, .form-status, .contact-box p, .foot-bottom span { text-align: left; hyphens: manual; }

/* Hero title on one line on desktop; wraps naturally on smaller screens */
.hero h1 { max-width: none; font-size: clamp(2.2rem, 3.9vw, 3.5rem); }
.hero .lead { max-width: 62rem; }
@media (min-width: 1000px) { .hero h1 { white-space: nowrap; } }

/* Industries: dark band with icon tiles */
.industries { background: var(--ink); color: #c9ced4; position: relative; overflow: hidden; }
.industries::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 100% 0%, rgba(178,45,48,.28), transparent 60%), radial-gradient(600px 380px at 0% 100%, rgba(178,45,48,.14), transparent 60%); pointer-events: none; }
.industries .wrap { position: relative; }
.industries h2 { color: #fff; }
.industries .eyebrow { color: #f0a5a7; }
.industries .lead { color: #c9ced4; margin: 0; }
.ind-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .2s, border-color .2s, transform .2s; }
.ind:hover { background: rgba(178,45,48,.14); border-color: rgba(240,165,167,.55); transform: translateY(-2px); }
.ind-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(178,45,48,.2); color: #f4b3b5; }
.ind-icon svg { width: 24px; height: 24px; }
.ind-name { color: #fff; font-weight: 500; font-size: 1rem; line-height: 1.35; }
@media (max-width: 1080px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .ind-head { grid-template-columns: 1fr; gap: 16px; } .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ind { padding: 14px; gap: 12px; } .ind-icon { flex-basis: 38px; height: 38px; } .ind-name { font-size: .92rem; } }

/* FAQ grouped by topic */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; }
.faq-group h3 { font-size: 1.25rem; padding-bottom: 12px; margin-bottom: 0; border-bottom: 3px solid var(--red); display: inline-block; }
.faq-group .faq { border-top: 0; }
.faq-group .faq summary { font-size: 1.08rem; padding: 18px 40px 18px 0; }
.faq-group .faq summary::after { top: 12px; }
.faq-note { margin-top: 40px; padding: 18px 22px; background: var(--sand); border-left: 3px solid var(--red); border-radius: 6px; font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) { .faq-groups { grid-template-columns: 1fr; } }

/* Services: cards with a dark header band */
.services { gap: 28px; }
.svc-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(29,34,40,.04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29,34,40,.12); border-color: transparent; }
.svc-top { position: relative; padding: 28px 28px 24px; background: var(--ink); overflow: hidden; }
.svc-top::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(178,45,48,.45), transparent 70%); }
.svc-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(.18); transform-origin: left; transition: transform .35s; }
.svc-card:hover .svc-top::after { transform: scaleX(1); }
.svc-top > * { position: relative; }
.svc-num { position: absolute; right: 22px; top: 14px; font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; color: rgba(255,255,255,.08); }
.svc-card .svc-top .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--red); color: #fff; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(178,45,48,.35); }
.svc-card .svc-top .icon svg { width: 28px; height: 28px; }
.svc-top h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.svc-body { padding: 24px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-body > p { color: var(--muted); font-size: .97rem; }
.svc-body .checks { margin-bottom: 20px; }
.svc-link { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--red); }
.svc-link:hover { text-decoration: none; color: var(--red-dark); }
.svc-card:target { box-shadow: 0 0 0 3px rgba(178,45,48,.25); }

/* Stats: a self-contained, centred panel below the quick cards */
.stats { background: transparent; border: 0; padding: 40px 0 8px; }
.stats .wrap { display: block; }
.stats-panel { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 6px rgba(29,34,40,.04); }
.stats .stat { text-align: center; padding: 30px 16px; border: 0; position: relative; }
.stats .stat:first-child { padding-left: 16px; }
.stats .stat + .stat::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.stats .stat b { font-size: 2.6rem; }
.stats .stat span { display: block; margin-top: 6px; text-align: center; }
@media (max-width: 760px) {
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stats .stat { padding: 22px 12px; border: 0; }
  .stats .stat + .stat::before { display: none; }
  .stats .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Team portraits: smaller figure on a soft tinted backdrop so they sit within the theme.
   multiply turns the photos' white backgrounds into the backdrop colour. */
.team .photo { position: relative; background: radial-gradient(120% 90% at 50% 100%, #ffffff 0%, #efeae3 55%, #e3dcd2 100%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.team .photo img { width: 80%; height: auto; object-fit: contain; mix-blend-mode: multiply; filter: saturate(.88) contrast(.97); transition: transform .3s; }
.team .person:hover .photo img { transform: scale(1.03); }
.profile-photo { background: radial-gradient(120% 90% at 50% 100%, #ffffff 0%, #efeae3 55%, #e3dcd2 100%); border-radius: var(--radius); border: 1px solid var(--line); border-bottom: 3px solid var(--red); display: flex; justify-content: center; align-items: flex-end; overflow: hidden; aspect-ratio: 1 / 1; }
.profile-photo img { width: 82%; border: 0 !important; border-radius: 0 !important; background: transparent !important; mix-blend-mode: multiply; filter: saturate(.88) contrast(.97); }
/* Soft edges: fade the photo's sides and top into the backdrop so no hard crop lines show */
.team .photo img, .profile-photo img {
  filter: saturate(.9);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 14%);
  mask-composite: intersect;
}

/* Team cards: equal height, "View profile" pinned to the bottom so links line up across a row */
.team .person { display: flex; flex-direction: column; height: 100%; }
.team .person .more { margin-top: auto; padding-top: 4px; }
