@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap");

:root {
  --bg: #f5f5f4;
  --bg-soft: #fafaf9;
  --surface: #ffffff;
  --surface-muted: #f7f7f6;
  --text: #1c1917;
  --muted: #57534e;
  --line: rgba(28, 25, 23, 0.12);
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-soft: #fef2f2;
  --dark: #0c0a09;
  --dark-soft: #1c1917;
  --gold: #f59e0b;
  --shadow: 0 22px 50px rgba(28, 25, 23, 0.08);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.brand strong,
.site-footer h3,
.hero-copy h1,
.subhero h1,
.article-hero h1,
.section-heading h2,
.hero-panel h2,
.info-panel h3,
.service-card h3,
.article-card h3,
.step-card h3,
.cluster-card h3,
.article-cta-box h2,
.article-content h2 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.site-header {
  position: static;
  z-index: 30;
  background: #ffffff;
  border-bottom: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.header-nav-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: 680px;
}

.brand img { height: 34px; width: auto; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: 0.77rem; }

.brand strong span {
  display: block;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 6px;
  border-radius: 18px;
  background: rgba(245, 245, 244, 0.9);
  border: 1px solid rgba(231, 229, 228, 0.95);
  flex: 1 1 640px;
  min-width: 0;
}

.nav a {
  color: #44403c;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav a:hover {
  background: white;
  color: var(--text);
}

.nav,
.header-btn {
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 16px 30px rgba(220, 38, 38, 0.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.52);
  box-shadow: 0 14px 30px rgba(12, 10, 9, 0.18);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}
.btn-ghost { background: white; color: var(--text); border-color: rgba(231, 229, 228, 1); }
.header-btn {
  white-space: nowrap;
  margin-left: auto;
}
.btn-lg { padding: 16px 28px; }

.hero,
.subhero,
.article-hero {
  position: relative;
  overflow: clip;
  min-height: 34rem;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(220, 38, 38, 0.18), transparent 30%),
    linear-gradient(135deg, #0c0a09 0%, #191412 55%, #241b17 100%);
}

.hero-media,
.subhero-media,
.article-hero-media,
.hero-overlay,
.subhero-overlay,
.article-hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.subhero-media img,
.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-overlay,
.subhero-overlay,
.article-hero-overlay {
  background: linear-gradient(90deg, rgba(12, 10, 9, 0.96) 0%, rgba(12, 10, 9, 0.78) 48%, rgba(12, 10, 9, 0.36) 100%);
}

.hero-grid,
.subhero-inner,
.article-hero-inner {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding: 84px 0 60px;
}

.hero-copy,
.subhero-inner,
.article-hero-inner {
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fca5a5;
}

.hero-copy h1,
.subhero h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 12px;
  color: #fca5a5;
  font-style: italic;
}

.subhero h1 span,
.article-hero h1 span {
  display: block;
  margin-top: 16px;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.lead {
  margin-top: 22px;
  max-width: 760px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions,
.cta-band-actions,
.urgent-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.pill-row span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 700;
}

.pill-row span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fca5a5;
  flex-shrink: 0;
}

.hero-panel,
.info-panel,
.article-cta-box {
  background: white;
  color: var(--text);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(231, 229, 228, 0.95);
  box-shadow: var(--shadow);
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,249,0.98));
}

.footer-proof img {
  width: 88px;
  height: auto;
}

.footer-proof strong {
  display: block;
  font-size: 0.95rem;
}

.footer-proof span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.subhero-inner,
.article-hero-inner {
  max-width: 760px;
  padding: 84px 0 56px;
}

.hero-panel ul,
.plain-list {
  padding-left: 18px;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  border: 1px solid rgba(220, 38, 38, 0.14);
}

.panel-link:hover {
  background: #fee2e2;
}

.info-panel .btn-secondary,
.hero-panel .btn-secondary {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: rgba(220, 38, 38, 0.16);
  box-shadow: none;
}

.info-panel .btn-secondary:hover,
.hero-panel .btn-secondary:hover {
  background: #fee2e2;
}

.urgent-band {
  background: var(--primary);
  color: white;
}

.urgent-band-dark {
  background: linear-gradient(135deg, #111827, #7f1d1d);
}

.urgent-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.urgent-band p {
  margin: 0;
  font-size: 0.98rem;
}

.urgent-band-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
  font-weight: 800;
  text-align: center;
}

.urgent-band-actions a:first-child {
  background: white;
  color: var(--primary);
}

.urgent-band-actions a:last-child {
  background: #1f2937;
  border-color: rgba(255,255,255,0.18);
  color: white;
}

.section {
  padding: 84px 0;
}

.section-soft { 
  background: var(--surface-muted); 
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-dark { 
  background: linear-gradient(135deg, #0c0a09 0%, #1c1917 100%); 
  color: white; 
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-heading.center { text-align: center; margin-inline: auto; }
.heading-nowrap { white-space: nowrap; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.05; }
.section-heading p:last-child { color: var(--muted); }
.section-dark .section-heading p:last-child { color: rgba(255,255,255,0.78); }

.cards-grid,
.cluster-grid,
.article-grid,
.steps-grid,
.case-grid {
  display: grid;
  gap: 22px;
}

.cards-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid-centered {
  max-width: 1060px;
  margin-inline: auto;
}
.cluster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps-grid.steps-grid-centered {
  grid-template-columns: repeat(3, minmax(260px, 320px));
  justify-content: center;
}
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card,
.cluster-card,
.article-card,
.step-card,
.case-card {
  background: var(--surface);
  border: 1px solid rgba(231, 229, 228, 1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card-image img,
.article-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111827;
}

.service-card-body,
.article-card-body,
.cluster-card,
.step-card,
.case-card {
  padding: 24px;
}

.service-card,
.article-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card-body a {
  margin-top: auto;
  padding-top: 18px;
}

.article-card-body .article-link {
  margin-top: auto;
  padding-top: 18px;
}

.service-card:hover,
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 52px rgba(28, 25, 23, 0.12);
}

.service-card h3,
.article-card h3,
.cluster-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.service-card p,
.article-card p,
.cluster-card li,
.info-panel p,
.faq-item p,
.article-content p {
  color: var(--muted);
}

.service-card a,
.article-link,
.site-footer a,
.article-sidebar a {
  color: var(--primary);
  font-weight: 800;
}

.card-kicker,
.article-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.mini-flag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-tag-big {
  background: rgba(252, 165, 165, 0.12);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fecaca;
}

.split-grid,
.article-layout,
.footer-grid {
  display: grid;
  gap: 30px;
}

.split-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.article-layout { grid-template-columns: 1.1fr 0.5fr; align-items: start; }
.footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }

.service-extension {
  align-items: stretch;
}

.service-extension .info-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-extension .info-panel .btn {
  margin-top: auto;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.service-extension {
  margin-top: 22px;
}

.check-list div,
.aside-cta {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(231, 229, 228, 1);
}

.aside-cta {
  margin: 18px 0;
  background: var(--primary-soft);
}

.aside-cta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary-dark);
}

.case-ref {
  display: block;
  margin-top: 12px;
  color: #78716c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.case-source {
  color: var(--primary);
  font-weight: 800;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 1.42rem;
  line-height: 1.15;
}

.case-card p {
  margin: 0;
  color: var(--muted);
}

.step-card {
  background: white;
  color: var(--text);
  min-height: 100%;
  border-color: rgba(255,255,255,0.08);
}

.step-card span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.18;
}

.section-dark .step-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,249,0.95));
}

.steps-grid-centered .step-card {
  text-align: center;
}

.steps-grid-centered .step-card span {
  margin-inline: auto;
}

.faq-wrap {
  max-width: none;
}

.faq-item {
  border-radius: 20px;
  background: white;
  border: 1px solid rgba(231, 229, 228, 1);
  padding: 0 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  padding: 22px 0;
}

.faq-item p {
  margin: 0 0 22px;
}

.cta-band {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.26), transparent 28%),
    linear-gradient(135deg, #1f2937, #7f1d1d 68%, #991b1b);
  color: white;
}

.cta-band-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-band-actions .btn {
  width: 240px;
}

.article-page .section {
  padding-top: 66px;
  padding-bottom: 66px;
}

.article-content section {
  margin-bottom: 32px;
}

.article-content h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.article-content h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.18rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
}

.article-content p + h2,
.article-content ul + h2,
.article-content ol + h2 {
  margin-top: 34px;
}

.article-sidebar {
  position: sticky;
  top: 104px;
}

.site-footer {
  padding: 42px 0 48px;
  background: #1f2937;
  color: rgba(255,255,255,0.78);
}

.site-footer h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 1.45rem;
}

.site-footer p {
  margin: 14px 0 0;
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: #dbe4f0;
}

.footer-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .header-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-grid,
  .cards-grid-3,
  .steps-grid-3,
  .cluster-grid,
  .article-grid,
  .steps-grid,
  .case-grid,
  .split-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-nav-group { flex-direction: column; align-items: stretch; }
  .header-btn { margin-left: 0; }
}

@media (max-width: 760px) {
  .hero-grid,
  .cards-grid-3,
  .steps-grid-3,
  .cluster-grid,
  .article-grid,
  .steps-grid,
  .case-grid,
  .split-grid,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-inner { padding: 14px 0; }

  .header-nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav {
    flex: 0 1 auto;
    justify-content: flex-start;
    border-radius: 20px;
  }

  .nav a {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    text-align: center;
  }

  .hero-actions,
  .cta-band-inner,
  .urgent-band-inner,
  .cta-band-actions,
  .urgent-band-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-band-actions .btn,
  .urgent-band-actions a {
    width: 100%;
    min-width: 0;
  }

  .steps-grid.steps-grid-centered {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .step-card {
    min-width: 0;
  }

  .hero, .subhero, .article-hero { min-height: auto; }
  .hero-grid { padding: 72px 0 42px; }
  .hero-copy h1, .subhero h1, .article-hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .header-btn { width: 100%; }
  .article-sidebar { position: static; }
  .heading-nowrap { white-space: normal; }
}
