:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --secondary: #111827;
  --light: #f8fafc;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.topbar {
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav > a:not(.btn) {
  color: #e5e7eb;
  font-weight: 600;
  text-decoration: none;
}

.hero,
.page-hero {
  background:
    linear-gradient(rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.92)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero {
  padding: 80px 0 70px;
}

.page-hero {
  padding: 70px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.hero-text h1,
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 18px;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #fca5a5;
  border: 1px solid rgba(252, 165, 165, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.08rem;
  color: #e5e7eb;
}

.max-width {
  max-width: 900px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  color: #fff;
}

.hero-card p {
  color: #f3f4f6;
}

.hero-card a {
  color: #fecaca;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}

.hero-actions.center {
  justify-content: center;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: #e5e7eb;
}

.hero-points li::before {
  content: "•";
  color: #fca5a5;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.btn {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.25s ease;
  border: 2px solid transparent;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--bg);
}

.btn-secondary:hover {
  background: #f3f4f6;
}

.btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #f8fafc;
}

.section.dark {
  background: var(--bg);
  color: #fff;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 24px;
}

.section p {
  margin-bottom: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #eef2f7;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
}

.cta-block {
  text-align: center;
  max-width: 920px;
}

.footer {
  background: #0b1220;
  color: #d1d5db;
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 20px;
}

.footer h3 {
  margin-top: 0;
  color: #fff;
}

.footer a {
  color: #fca5a5;
}

.small {
  font-size: 0.95rem;
  color: #d1d5db;
}

.service-list {
  display: grid;
  gap: 28px;
}

.service-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.service-item h2 {
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-columns,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero,
  .page-hero,
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-card,
  .card,
  .service-item {
    padding: 22px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 52px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
}

.hero-logo {
  width: min(100%, 460px);
  height: auto;
  display: block;
  margin: 0 0 18px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.32));
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 34px;
  align-items: center;
}

.page-hero-logo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.3));
}

.page-hero-copy {
  min-width: 0;
}

@media (max-width: 980px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-brand {
    display: flex;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand a {
    gap: 10px;
  }

  .brand-logo {
    width: 42px;
  }

  .brand a span {
    font-size: 1.05rem;
  }

  .hero-logo,
  .page-hero-logo {
    max-width: 280px;
  }
}
