*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #CC1111;
  --blue: #1177CC;
  --dark: #0d0d0d;
  --light: #f5f5f0;
  --gray: #e8e8e3;
  --mid: #888;
}

body {
  background: var(--light);
  font-family: 'Barlow', sans-serif;
  color: var(--dark);
  min-height: 100vh;
}

/* ── HEADER STRIPE ── */
.top-stripe {
  height: 6px;
  background: linear-gradient(90deg, var(--blue) 50%, var(--red) 50%);
}

/* ── HERO ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 36px;
  background: #fff;
  border-bottom: 2px solid var(--gray);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(0,0,0,0.012) 40px,
    rgba(0,0,0,0.012) 41px
  );
  pointer-events: none;
}

.logo-wrap {
  width: 200px;
  height: 200px;
  position: relative;
  animation: floatUp 0.9s ease both;
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.14));
}

.brand-name {
  margin-top: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  animation: floatUp 0.9s 0.15s ease both;
}

.brand-name .part-red  { color: var(--red); }
.brand-name .part-blue { color: var(--blue); }

.tagline {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  animation: floatUp 0.9s 0.28s ease both;
}

/* road badge */
.road-badge {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px 6px 14px;
  border-radius: 2px;
  animation: floatUp 0.9s 0.38s ease both;
}
.road-badge svg { flex-shrink: 0; }

/* ── SERVICES ── */
.services-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 24px 64px;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 36px;
  border-left: 5px solid var(--red);
  padding-left: 14px;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--gray);
  border-top: 4px solid var(--blue);
  padding: 26px 22px 22px;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-top-color 0.22s ease;
  animation: fadeCard 0.6s ease both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; border-top-color: var(--blue); }
.service-card:nth-child(2) { animation-delay: 0.2s; border-top-color: var(--red);  }
.service-card:nth-child(3) { animation-delay: 0.3s; border-top-color: var(--blue); }
.service-card:nth-child(4) { animation-delay: 0.4s; border-top-color: var(--red);  }
.service-card:nth-child(5) { animation-delay: 0.5s; border-top-color: var(--blue); }

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.11);
}

.card-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.service-card p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
.footer strong { color: rgba(255,255,255,0.75); }

/* ── ANIMATIONS ── */
@keyframes floatUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeCard {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
