/* ============================================================
   Midastouch Global Law Firm — Stylesheet
   Dark charcoal & gold
   ============================================================ */

:root {
  --bg: #101114;
  --bg-alt: #16181d;
  --panel: #1b1e24;
  --panel-2: #22262e;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --gold-dark: #a8861d;
  --text: #eae8e2;
  --muted: #a6a8b0;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  --radius: 6px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold); }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.22; color: #f4f2ec; }

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

section { padding: 90px 0; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 12px; font-weight: 600; color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ""; width: 42px; height: 1px; background: var(--gold); }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 34px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 3px; cursor: pointer; transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #17130a; }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #17130a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 162, 39, 0.28); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.btn-sm { padding: 11px 24px; font-size: 12px; }

/* ---------- Top bar ---------- */
.topbar {
  background: #0b0c0e; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
  position: relative; z-index: 60;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--gold-light); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 26px; align-items: center; }
.topbar svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; stroke: var(--gold); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 14, 17, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border: 1.5px solid var(--gold); border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--gold);
  background: linear-gradient(160deg, rgba(201,162,39,0.14), transparent);
}
.brand-text { line-height: 1.25; }
.brand-text .brand-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #f4f2ec; letter-spacing: 0.02em; }
.brand-text .brand-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 0.34em; color: var(--gold); }

.main-nav ul { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  color: var(--text); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold-light); }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; position: relative; z-index: 70;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--text);
  margin: 6px auto; transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 120px 0;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 11, 13, 0.94) 25%, rgba(10, 11, 13, 0.72) 60%, rgba(10, 11, 13, 0.45));
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin-bottom: 26px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero p.lede { font-size: 19px; color: #cfcec9; max-width: 600px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 34px; margin-top: 60px; flex-wrap: wrap; }
.hero-badges .hb { border-left: 2px solid var(--gold); padding-left: 16px; }
.hero-badges .hb strong { display: block; font-family: var(--font-head); font-size: 21px; color: #fff; }
.hero-badges .hb span { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 110px 0 90px;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.82));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 14px; }
.page-hero p { color: #cfcec9; max-width: 640px; font-size: 18px; }
.breadcrumb { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px 34px; position: relative; overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 39, 0.45); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; margin-bottom: 24px;
  border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
  background: radial-gradient(circle at 30% 25%, rgba(201, 162, 39, 0.16), transparent 70%);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }
.card-link {
  margin-top: 22px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light);
  display: inline-flex; align-items: center; gap: 8px;
}
.card-link::after { content: "→"; transition: transform 0.3s; }
.service-card:hover .card-link::after { transform: translateX(6px); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.split-img::after {
  content: ""; position: absolute; inset: 24px -24px -24px 24px;
  border: 1px solid rgba(201, 162, 39, 0.4); border-radius: var(--radius); z-index: -1;
}
.split-img .img-tag {
  position: absolute; bottom: 28px; left: -30px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #17130a; padding: 22px 28px; border-radius: 4px; box-shadow: var(--shadow);
}
.split-img .img-tag strong { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1; }
.split-img .img-tag span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.split-body h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 20px; }
.split-body p { color: var(--muted); margin-bottom: 18px; }
.ticks { margin: 26px 0 34px; display: grid; gap: 13px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
.ticks li::before {
  content: "✓"; color: var(--gold); font-weight: 700; flex: none;
  width: 22px; height: 22px; border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; margin-top: 3px;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(135deg, #17130a, #241d0d), var(--panel);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  padding: 70px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat strong { font-family: var(--font-head); font-size: clamp(38px, 4.4vw, 56px); color: var(--gold-light); display: block; line-height: 1.1; }
.stat span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.team-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 39, 0.45); box-shadow: var(--shadow); }
.team-photo { position: relative; overflow: hidden; aspect-ratio: 3/3.4; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: saturate(0.9); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 14, 17, 0.9));
}
.team-meta { padding: 22px 22px 26px; text-align: center; }
.team-meta h3 { font-size: 19px; margin-bottom: 4px; }
.team-meta .role { color: var(--gold-light); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; display: block; margin-bottom: 4px; }
.team-meta .spec { color: var(--muted); font-size: 13.5px; }

/* Team detail modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 9, 11, 0.85); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-backdrop.show { display: flex; }
.modal {
  background: var(--panel-2); border: 1px solid rgba(201, 162, 39, 0.35); border-radius: 8px;
  max-width: 860px; width: 100%; max-height: 88vh; overflow: auto;
  display: grid; grid-template-columns: 320px 1fr; box-shadow: var(--shadow);
}
.modal img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 40px 38px; position: relative; }
.modal-body h3 { font-size: 27px; margin-bottom: 6px; }
.modal-body .role { color: var(--gold-light); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; display: block; margin-bottom: 18px; }
.modal-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }
.modal-body .edu { font-size: 13.5px; color: var(--text); border-left: 2px solid var(--gold); padding-left: 14px; margin-bottom: 16px; }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--gold); }

/* ---------- Testimonials ---------- */
.testimonial-wrap { position: relative; max-width: 850px; margin: 0 auto; text-align: center; }
.testimonial-track { overflow: hidden; }
.testimonial-slide { display: none; padding: 10px 20px; animation: fadeUp 0.6s ease; }
.testimonial-slide.active { display: block; }
.testimonial-slide .quote-mark { font-family: var(--font-head); font-size: 90px; line-height: 0.6; color: var(--gold); display: block; margin-bottom: 30px; }
.testimonial-slide blockquote { font-family: var(--font-head); font-size: clamp(19px, 2.4vw, 25px); font-style: italic; color: #e9e7e0; margin-bottom: 28px; line-height: 1.55; }
.testimonial-slide cite { display: block; font-style: normal; }
.testimonial-slide cite strong { color: var(--gold-light); font-size: 16px; display: block; }
.testimonial-slide cite span { color: var(--muted); font-size: 13.5px; }
.testimonial-nav { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.testimonial-nav button {
  width: 34px; height: 4px; border: none; cursor: pointer; border-radius: 2px;
  background: rgba(255, 255, 255, 0.18); transition: background 0.3s;
}
.testimonial-nav button.active { background: var(--gold); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Insights ---------- */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.insight-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.insight-card:hover { transform: translateY(-8px); border-color: rgba(201, 162, 39, 0.45); box-shadow: var(--shadow); }
.insight-img { aspect-ratio: 16/9.5; overflow: hidden; }
.insight-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.insight-card:hover .insight-img img { transform: scale(1.06); }
.insight-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.insight-tags { display: flex; gap: 14px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px; }
.insight-tags .cat { color: var(--gold); font-weight: 700; }
.insight-tags .date { color: var(--muted); }
.insight-body h3 { font-size: 19.5px; margin-bottom: 12px; }
.insight-body h3 a { color: #f4f2ec; }
.insight-body h3 a:hover { color: var(--gold-light); }
.insight-body p { color: var(--muted); font-size: 14.5px; flex: 1; }

/* Article page */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-wrap .lead-img { border-radius: var(--radius); margin: 0 0 40px; box-shadow: var(--shadow); }
.article-wrap p { color: #c9c8c2; margin-bottom: 24px; font-size: 17px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 30px; }
.article-meta .cat { color: var(--gold); font-weight: 700; }

/* ---------- FAQ accordions ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: rgba(201, 162, 39, 0.45); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px; text-align: left;
  font-family: var(--font-head); font-size: 18.5px; font-weight: 600; color: #f4f2ec;
}
.faq-q .chev { flex: none; width: 26px; height: 26px; border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: 14px; transition: transform 0.35s; font-family: var(--font-body); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.faq-a p { padding: 0 26px 26px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background-size: cover; background-position: center; padding: 100px 0; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(10, 11, 13, 0.88); }
.cta-band .container { position: relative; z-index: 1; max-width: 760px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.cta-band p { color: var(--muted); margin-bottom: 36px; font-size: 17.5px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; align-items: start; }
.info-cards { display: grid; gap: 18px; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; }
.info-card .ic { flex: none; width: 48px; height: 48px; border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.info-card .ic svg { width: 21px; height: 21px; }
.info-card h4 { font-size: 17px; margin-bottom: 5px; }
.info-card p, .info-card a { color: var(--muted); font-size: 15px; }
.info-card a:hover { color: var(--gold-light); }

.form-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 44px; }
.form-panel h3 { font-size: 25px; margin-bottom: 8px; }
.form-panel > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 16px; color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a227' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #e08585; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0564f; }
.field.invalid .err { display: block; }
.form-success {
  display: none; text-align: center; padding: 50px 20px;
}
.form-success.show { display: block; }
.form-success .tick-big { width: 72px; height: 72px; margin: 0 auto 24px; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: var(--gold); }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; accent-color: var(--gold); }

.map-wrap { margin-top: 80px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; filter: grayscale(0.9) invert(0.92) hue-rotate(180deg); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Values / why us ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; }
.value-card .num { font-family: var(--font-head); font-size: 44px; color: rgba(201, 162, 39, 0.35); line-height: 1; display: block; margin-bottom: 18px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* ---------- Service detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.detail-main .lead-img { border-radius: var(--radius); margin-bottom: 40px; box-shadow: var(--shadow); aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.detail-main .intro { font-size: 20px; font-family: var(--font-head); font-style: italic; color: #e9e7e0; border-left: 3px solid var(--gold); padding-left: 24px; margin-bottom: 30px; line-height: 1.6; }
.detail-main p { color: #c9c8c2; margin-bottom: 22px; }
.detail-main h2 { font-size: 27px; margin: 40px 0 22px; }
.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 14px 18px; }
.offer-list li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 24px; }
.sidebar-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.sidebar-panel h4 { font-size: 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sidebar-panel ul li { border-bottom: 1px solid var(--line); }
.sidebar-panel ul li:last-child { border-bottom: none; }
.sidebar-panel ul a { display: block; padding: 11px 0; color: var(--muted); font-size: 14.5px; transition: all 0.25s; }
.sidebar-panel ul a:hover, .sidebar-panel ul a.current { color: var(--gold-light); padding-left: 8px; }
.sidebar-cta { background: linear-gradient(150deg, #241d0d, #17130a); border: 1px solid rgba(201, 162, 39, 0.4); text-align: center; }
.sidebar-cta p { color: var(--muted); font-size: 14.5px; margin: 10px 0 22px; }
.sidebar-cta .phone-big { font-family: var(--font-head); font-size: 21px; color: var(--gold-light); display: block; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b0c0e; border-top: 1px solid var(--line); padding: 80px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer-grid h4 { font-size: 16px; margin-bottom: 22px; letter-spacing: 0.04em; }
.footer-grid p { color: var(--muted); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--muted); align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #7d7f88; font-size: 13px; }
.footer-legal { max-width: 640px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ---------- Utilities ---------- */
.bg-alt { background: var(--bg-alt); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .insights-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .split { grid-template-columns: 1fr; gap: 60px; }
  .split-img .img-tag { left: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .topbar .tb-left span.hide-m { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 60;
    background: rgba(11, 12, 14, 0.98); backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .main-nav.open { opacity: 1; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .main-nav a { font-size: 17px; }
  .hero { min-height: 80vh; padding: 90px 0; }
  .hero-badges { gap: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 32px 26px; }
  .offer-list { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; max-height: 90vh; }
  .modal > img { max-height: 300px; }
  .footer-bottom .container { flex-direction: column; }
}

@media (max-width: 520px) {
  .services-grid, .insights-grid, .values-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-text .brand-name { font-size: 16px; }
  body { font-size: 15.5px; }
}
