/* ========== Base Styles ========== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #d00000;       /* Red */
  --primary-dark: #890000;  /* Dark Red */
  --accent: #ff2b2b;        /* Accent Red */
  --bg: #000000;            /* Black */
  --bg-light: #f7f5f5;
  --text: #1f2933;
  --muted: #6b7280;
  --white: #ffffff;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.22);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: var(--text);
  line-height: 1.6;
}

/* ========== Layout Helpers ========== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ========== Top Bar ========== */

.top-bar {
  background-color: var(--bg);
  color: var(--white);
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
}

.top-bar a {
  color: var(--accent);
  text-decoration: none;
}

/* ========== Header / Nav ========== */

.site-header {
  background-color: #111111;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo span {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--accent);
}

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #e5e7eb;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a.active {
  background-color: rgba(255, 0, 0, 0.12);
  color: var(--white);
}

.btn-nav {
  border: 1px solid var(--primary);
  color: var(--white);
}

.btn-nav:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #f9fafb;
}

/* Mobile nav menu */

.nav-mobile {
  display: none;
  background-color: #111111;
  border-bottom: 1px solid #1f2937;
}

.nav-mobile ul {
  list-style: none;
  padding: 8px 16px 16px;
}

.nav-mobile li + li {
  margin-top: 6px;
}

.nav-mobile a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background-color: rgba(255, 0, 0, 0.18);
  color: #ffffff;
}

.nav-mobile.open {
  display: block;
}

/* ========== Hero ========== */

.hero {
  background: radial-gradient(circle at top left, #ffcccc 0, #ffffff 50%, #ffd6d6 100%);
  padding: 48px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 2.6vw + 1.4rem, 2.7rem);
  margin-bottom: 14px;
  color: #111827;
}

.hero-text p {
  font-size: 1rem;
  max-width: 520px;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}

.hero-tags span {
  background-color: rgba(0, 0, 0, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Hero Side Box */

.hero-box {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 20px 20px 18px;
}

.hero-box h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.hero-box p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Quick Form */

.quick-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(208, 0, 0, 0.25);
}

.quick-form textarea {
  resize: vertical;
}

.btn-block {
  width: 100%;
}

.form-note {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.08s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 0, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 0, 0, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid #fca5a5;
  color: var(--primary-dark);
}

.btn-outline:hover {
  background-color: rgba(255, 0, 0, 0.06);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-dark);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* ========== Grid & Cards ========== */

.grid {
  display: grid;
  gap: 20px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-outline {
  background-color: transparent;
  box-shadow: none;
  border: 1px dashed rgba(208, 0, 0, 0.5);
}

.tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 999px;
  background-color: rgba(255, 0, 0, 0.10);
  color: var(--primary-dark);
}

/* Helpers */

.center {
  text-align: center;
}

.mt-24 {
  margin-top: 24px;
}

/* ========== CTA Section ========== */

.cta {
  background: linear-gradient(135deg, #000000, #3d0000);
  color: var(--white);
  padding: 42px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-inner h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.cta-inner p {
  font-size: 0.95rem;
  color: #faccd7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== Footer ========== */

.site-footer {
  background-color: #020202;
  color: #e5e7eb;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px;
  padding: 32px 0 18px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 8px;
}

.footer-col p {
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-col ul {
  list-style: none;
}

.footer-col li + li {
  margin-top: 4px;
}

.footer-col a {
  color: #fecaca;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 8px 0 16px;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
}

/* ========== Responsive ========== */

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-box {
    max-width: 420px;
    margin: 0 auto;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav ul {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}
