:root {
  --red: #c40e0e;
  --red-dark: #8f0a0a;
  --black: #111111;
  --white: #ffffff;
  --gray-bg: #f4f4f4;
  --gray-line: #e2e2e2;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  color: var(--black);
  line-height: 1.5;
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--red);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.nav a:hover { text-decoration: underline; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.brand-box {
  background: var(--white);
  border: 3px solid var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 18px 6px 6px;
}

.brand-logo {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: 6px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: bold;
  font-size: 0.7rem;
  text-align: center;
  color: var(--black);
  line-height: 1.1;
}

.brand-text {
  color: var(--red);
}

.brand-text .company-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: bold;
  font-size: 1.15rem;
  display: block;
}

.brand-text .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 420px;
  background: linear-gradient(135deg, #2b2b2b, #444);
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 24px;
}

.hero.center {
  text-align: center;
}

.hero.center .hero-content { display: flex; flex-direction: column; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--black);
}
.btn-red:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

/* ---------- Sections ---------- */
section { padding: 64px 24px; }

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-sub {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.bg-gray { background: var(--gray-bg); }
.bg-red { background: var(--red); color: var(--white); }
.bg-black { background: var(--black); color: var(--white); }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(160deg, #555, #222);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: 20px;
}

.card .card-inner h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card .card-inner p { font-size: 0.9rem; margin-bottom: 14px; }

.placeholder-note {
  font-size: 0.7rem;
  opacity: 0.75;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Feature cards (2x2 with dark caption bar) */
.feature-card {
  border-radius: 10px;
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient(160deg, #666, #222);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  position: relative;
}

.feature-caption {
  background: rgba(0,0,0,0.65);
  margin: 16px;
  padding: 16px;
  border-radius: 8px;
}

.feature-caption h3 { margin-bottom: 10px; }
.feature-caption p { font-size: 0.9rem; margin-bottom: 14px; }

.feature-caption .btn { background: var(--white); color: var(--black); border-color: var(--white); }

/* Text block */
.text-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  color: #333;
}
.text-block p { margin-bottom: 20px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.gallery > div {
  min-height: 260px;
  background: linear-gradient(160deg, #555, #222);
}

/* Contact form */
.contact-wrap {
  background: #333;
  background-size: cover;
  padding: 64px 24px;
}

.contact-card {
  background: var(--white);
  max-width: 900px;
  margin: 0 auto;
  border-radius: 10px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.contact-photo {
  border-radius: 8px;
  min-height: 320px;
  background: linear-gradient(160deg, #666, #222);
}

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; margin-bottom: 20px; }
.checkbox-row input { width: auto; margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--red);
  color: var(--white);
  padding: 48px 24px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 30px;
  text-align: center;
}

.footer-grid h4 { margin-bottom: 14px; font-size: 1rem; }
.footer-grid a, .footer-grid p { display: block; font-size: 0.9rem; margin-bottom: 8px; opacity: 0.95; }

.social-icons { display: flex; gap: 14px; justify-content: center; }
.social-icons span {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 18px;
  opacity: 0.9;
}
.footer-bottom a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 2rem; }
}

@media (max-width: 700px) {
  .nav { display: none; flex-direction: column; width: 100%; background: var(--red); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
}
