:root {
  --primary: #d1151e;
  --secondary: #ffffff;
  --primary-light: color-mix(in srgb, var(--primary) 18%, white);
  --primary-dark: color-mix(in srgb, var(--primary) 70%, black);
  --text: #1a1a1a;
  --muted: #5f6368;
  --surface: #f7f8fa;
  --border: #e4e6eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Prompt', sans-serif;
  color: var(--text);
  background: var(--secondary);
  line-height: 1.65;
}

a { color: var(--primary-dark); }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a {
  text-decoration: none;
  color: #252525;
  font-weight: 500;
}

.section {
  padding: 72px 0;
}

.hero-section {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(209, 21, 30, 0.82), rgba(30, 30, 30, 0.55));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

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

.btn-outline {
  border-color: #fff;
  color: #fff;
}

.services-preview-section {
  background: var(--surface);
}

.grid-two {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.service-item,
.portfolio-card,
.team-card,
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 26px rgba(209, 21, 30, 0.08);
}

.about-story-section {
  background: #fff;
}

.brand-story-image-wrap img,
.team-card img {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  display: block;
}

.team-section {
  background: var(--surface);
}

.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
}

.services-list-section {
  background: #fff;
}

.service-grid,
.portfolio-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.seo-knowledge-section {
  background: var(--surface);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.contact-main-section {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.contact-list li { margin-bottom: 8px; }

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  background: #fff;
}

.contact-form {
  background: var(--surface);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 6px 0 12px;
  padding: 11px 12px;
  border: 1px solid #cfd4dc;
  border-radius: 9px;
  font-family: inherit;
}

.branches-location-section {
  background: var(--surface);
}

.site-footer {
  background: #111;
  color: #f5f5f5;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

[data-section-id].is-selected {
  outline: 3px solid color-mix(in srgb, var(--primary) 42%, white);
  outline-offset: -3px;
}

.hero-logo-front {
  margin-bottom: 14px;
}

.hero-logo-front img {
  width: 170px;
  max-width: 42vw;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
  .grid-two,
  .service-grid,
  .portfolio-grid,
  .gallery-grid,
  .contact-layout,
  .team-card {
    grid-template-columns: 1fr;
  }

  .section { padding: 58px 0; }
}

@media (max-width: 480px) {
  .navbar { align-items: flex-start; padding: 10px 0; }
  .nav-links { gap: 8px 10px; }
  .hero-content h1 { font-size: 1.8rem; }
  .btn { width: 100%; text-align: center; }
}
