*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #a00a15;
  --primary-dark: #7a0710;
  --dark: #161412;
  --gray: #6b6560;
  --light: #f4f1ec;
  --white: #fffcf8;
  --max-width: 1100px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1c1917;
  background: var(--light);
}

img { max-width: 100%; display: block; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

header {
  background: var(--dark);
  color: var(--white);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 3px solid var(--primary);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 56px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

nav a:hover,
nav a.active { color: var(--primary); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 4.5rem 1rem;
}

.hero-logo {
  height: 240px;
  width: auto;
  margin: 0 auto 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--primary-dark); }

.btn-outline {
  background: transparent;
  border: 2px solid white;
  margin-left: 0.75rem;
}

.btn-outline:hover { background: white; color: var(--dark); }

section { padding: 3.5rem 0; }

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 6px;
  border-top: 4px solid var(--primary);
}

.card h3 { margin-bottom: 0.5rem; }

.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-logo {
  height: 240px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

form input,
form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

form textarea { min-height: 120px; resize: vertical; }

.contact-info p { margin-bottom: 0.75rem; }

footer {
  background: var(--dark);
  color: #ccc;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 0.75rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .logo-img { height: 48px; }

  .hero-logo { height: 110px; }

  .about-logo { height: 140px; }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    display: none;
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .contact-grid { grid-template-columns: 1fr; }

  .btn-outline { margin-left: 0; margin-top: 0.75rem; display: inline-block; }
}