/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f7f7f7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */

.site-header {
  background-color: #111;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  opacity: 0.8;
}

.main-nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background-color: #e82027;
}

/* Hero */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(to bottom right, #111 0%, #333 40%, #e82027 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle at 10% 20%, #fff, transparent 60%);
}

.hero-content {
  position: relative;
  padding: 4rem 1.5rem 4.5rem;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-text {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: #e82027;
  color: #fff;
  border-color: #e82027;
}

.btn-primary:hover {
  background-color: #c8161d;
  border-color: #c8161d;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
}

/* Strips & Sections */

.strip {
  padding: 1.25rem 0;
}

.strip-dark {
  background-color: #111;
  color: #ddd;
}

.strip-inner {
  text-align: center;
  font-size: 0.95rem;
}

.section {
  padding: 3rem 0;
  background-color: #f7f7f7;
}

.section-alt {
  background-color: #ffffff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #222;
}

/* Two column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: flex-start;
}

.panel {
  background-color: #111;
  color: #fff;
  padding: 1.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* Checklist */

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  margin-bottom: 0.5rem;
  padding-left: 1.3rem;
  position: relative;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #e82027;
}

/* Page hero */

.page-hero {
  background-color: #222;
  color: #fff;
  padding: 2.5rem 0;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
}

/* Service list */

.service-list article {
  margin-bottom: 2rem;
}

/* Callout */

.callout {
  text-align: center;
  max-width: 650px;
}

.callout p {
  margin-bottom: 1.5rem;
}

/* Footer */

.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: right;
}

/* Responsive */

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
  }

  .hero {
    min-height: 55vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}
