:root {
  --primary: #b33a2d;
  --primary-dark: #4a4a4a;
  --primary-soft: #fbeaea;
  --accent: #8e8e8e;
  --accent-soft: #f2f2f2;
  --dark: #2b2b2b;
  --muted: #5b5b5b;
  --light: #f8f8f8;
  --border: rgba(179, 58, 45, 0.14);
  --shadow: 0 20px 45px rgba(61, 61, 61, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #f5f7fb;
}

img {
  max-width: 100%;
}

p {
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
}

.topbar {
  background: linear-gradient(90deg, #2f2f2f, #b33a2d);
  color: #fff;
}

.brand-logo {
  max-height: 62px;
  width: auto;
}

.navbar {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
}

.navbar-nav .nav-link {
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.8rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.hero-section {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 43, 43, 0.82), rgba(179, 58, 45, 0.62));
}

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

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #962d24;
  border-color: #962d24;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

.min-vh-60 {
  min-height: 60vh;
}

.z-1 {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #e7f1ff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-tag {
  background: var(--primary-soft);
  border-color: rgba(13, 59, 102, 0.08);
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-section h1 {
  letter-spacing: -0.04em;
  max-width: 760px;
}

.hero-section .lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #fff;
}

.section-accent {
  background: linear-gradient(180deg, #f8f3f2 0%, #f5f5f5 100%);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  letter-spacing: -0.04em;
}

.mission-box {
  background: linear-gradient(180deg, #ffffff, #eef5ff);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.mission-box h3 {
  color: var(--primary-dark);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.stats-grid {
  margin-top: 2.5rem;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-box strong {
  display: block;
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.stat-box span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.feature-card,
.service-card,
.process-card,
.contact-card,
.check-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.feature-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-card h4,
.service-card h3,
.process-card h4,
.contact-card h3 {
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card ul {
  padding-left: 1.2rem;
  margin: 1rem 0 0;
}

.service-card li {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.check-panel ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.check-panel li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.check-panel li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.process-card {
  height: 100%;
}

.process-card span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 1rem;
}

.accent-card {
  background: linear-gradient(135deg, var(--accent-soft), #fff);
}

.contact-section {
  background: linear-gradient(180deg, #faf8f7, #f3efee);
}

.contact-hero {
  background: linear-gradient(135deg, rgba(179, 58, 45, 0.97), rgba(74, 74, 74, 0.96));
  color: #fff;
  padding: 1.4rem 0 1rem;
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: none;
}

.contact-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.contact-headline-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.7rem;
  align-items: baseline;
  margin-bottom: 0.1rem;
}

.contact-title {
  color: #fff;
  max-width: 1100px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin-bottom: 0;
}

.accent-line {
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  display: inline-block;
}

.contact-intro {
  margin-top: 0.55rem;
  margin-bottom: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.accent-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
}

.contact-intro {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  margin-top: 1rem;
}

.contact-card {
  margin-top: 1rem;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0;
  box-shadow: none;
}

.contact-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.contact-card p {
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.contact-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.map-frame {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 320px;
  height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991.98px) {
  .navbar-brand {
    margin-right: auto;
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  .hero-section .display-4 {
    font-size: 2.7rem;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero-section .display-4 {
    font-size: 2.3rem;
  }

  .brand-logo {
    max-height: 52px;
  }
}
