:root {
  --bg-base: #fffbf0;
  --text-main: #450a0a;
  --accent-red: #dc2626;
  --border-light: rgba(69, 10, 10, 0.15);
  --radial-glow: radial-gradient(circle at center, rgba(220, 38, 38, 0.04) 0%, transparent 60%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Arial Narrow', 'Helvetica Neue', Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 1.75rem; border-bottom: 2px solid var(--text-main); padding-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }

a {
  color: var(--text-main);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-content {
  max-width: 72ch;
  margin: 0 auto;
}

/* Header */
.top-bar {
  background-color: var(--text-main);
  color: var(--bg-base);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.25rem 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 10;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-red);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero short band */
.hero-band {
  padding: 4rem 0 2rem 0;
  text-align: center;
  background: var(--radial-glow);
  position: relative;
}

/* Buttons and Links */
.btn-main {
  display: inline-block;
  background-color: var(--accent-red);
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
  text-align: center;
}

.btn-main:hover {
  background-color: #991b1b;
}

.link-underline {
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-red);
  transition: height 0.2s var(--ease);
  z-index: -1;
}

.link-underline:hover::after {
  height: 100%;
  opacity: 0.2;
}

/* List Rows (No Cards) */
.list-rows {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  background: transparent;
}

.list-rows li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.list-rows li:last-child {
  border-bottom: none;
}

.list-icon {
  font-size: 1.5rem;
  color: var(--accent-red);
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.list-content h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.list-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Panels (Tabbed & Accordion) */
.panel {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-light);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px dotted var(--border-light);
}

.stat-item {
  flex: 1 1 200px;
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-family: 'Arial Narrow', sans-serif;
  color: var(--accent-red);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-main);
  opacity: 0.5;
  transition: opacity 0.3s, color 0.3s;
  padding: 0.5rem 0;
}

.tab-btn.active {
  opacity: 1;
  color: var(--accent-red);
  border-bottom: 2px solid var(--accent-red);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Accordion */
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-red);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.accordion-content-inner {
  padding-bottom: 1.5rem;
  opacity: 0.9;
}

/* Sections */
section {
  padding: 4rem 0;
  position: relative;
}

.bg-glow {
  background: var(--radial-glow);
}

/* Images Grid */
.image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Contact Tool Form */
.tool-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.form-group input, .form-group textarea {
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: #fff;
  color: var(--text-main);
  font-family: system-ui, sans-serif;
}

.tool-output {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: rgba(69, 10, 10, 0.03);
  border: 1px dashed var(--border-light);
  border-radius: 20px;
  display: none;
}

.tool-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Footer */
.main-footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 0;
  margin-top: 4rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.footer-brand {
  font-family: 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.footer-details {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  text-decoration: underline;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-red);
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .mobile-menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-base);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    z-index: 50;
  }
  .nav-links.show { display: flex; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
