:root {
  --blue-900: #1c130a;
  --blue-700: #c65b00;
  --blue-500: #ff7900;
  --accent: #ffb703;
  --green: #1c9a5b;
  --bg: #faf8f6;
  --text: #241b12;
  --text-muted: #6b6058;
  --white: #ffffff;
  --border: #ece5df;
  --radius: 10px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue-900); }
h3 { font-size: 1.05rem; color: var(--blue-900); }

.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-lead { color: var(--text-muted); max-width: 640px; margin-bottom: 2rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--blue-500); }
.nav-cta {
  background: var(--blue-700);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--blue-500); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--blue-900);
  display: block;
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(28, 19, 10, .88), rgba(255, 121, 0, .55)),
    url('../img/hero/hero-bg.jpg') center 20% / cover no-repeat;
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
}
.hero-badge {
  width: 96px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 16px;
}
.hero-sub {
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 1.1rem;
  opacity: .92;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: .95rem;
  opacity: .9;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  background: var(--accent);
  color: var(--blue-900);
}
.btn-primary:hover { background: #ffc233; }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.info-card p { margin: 0; color: var(--text-muted); }

/* Categories */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cat-name {
  font-size: 1.4rem;
  font-weight: 800;
}
.cat-date {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 600;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.video-item {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe6ec;
}
.video-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: .9rem;
}

/* Form */
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 720px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row-full { grid-column: 1 / -1; }
.form-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form label { font-size: .9rem; font-weight: 600; color: var(--blue-900); }
.form input,
.form select,
.form textarea {
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 1px;
}
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
}
.checkbox-option:has(input:checked) {
  border-color: var(--blue-500);
  background: #fff3e6;
}
.checkbox-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-500);
}
.form-feedback {
  grid-column: 1 / -1;
  font-weight: 600;
  min-height: 1.2em;
}
.form-feedback.success { color: var(--green); }
.form-feedback.error { color: #c0392b; }

@media (max-width: 640px) {
  .form { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--blue-900);
  color: var(--white);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .9rem;
  opacity: .85;
}
.footer-inner a { color: var(--white); }

/* Mobile nav */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
}
