
:root {
  --primary: #C62828;
  --primary-dark: #8f0000;
  --accent: #f6c745;
  --bg-light: #f9fafb;
  --text: #333333;
  --max-width: 1000px;
}

/* Global */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg-light);
  line-height: 1.7;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container-narrow { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background-color: var(--primary); padding: 18px 0; text-align: center; }
.site-header-inner { display:flex; flex-direction:column; align-items:center; gap:8px; }
.header-logo { max-height: 90px; width:auto; border-radius:12px; box-shadow:0 4px 14px rgba(0,0,0,0.25); background:#fff; padding:6px; }
.site-title { color:#fff; font-weight:700; letter-spacing:1px; text-transform:uppercase; font-size:1rem; }

/* Header buttons */
.header-buttons { background-color:#ffffff; padding:20px 0 26px; border-bottom:4px solid var(--primary); }
.custom-buttons { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }

/* Button style replicating original decorative corners */
.btn-custom {
  padding:14px 40px;
  font-size:1.05rem;
  font-weight:600;
  position:relative;
  display:inline-block;
  letter-spacing:0.5px;
  border:3px solid transparent;
  text-align:center;
  transition:0.25s ease;
  border-radius:10px;
}
.btn-custom::before, .btn-custom::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
}
.btn-custom::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
  border-radius:4px;
}
.btn-custom::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
  border-radius:4px;
}

.btn-custom-red { background-color: var(--primary); border-color: var(--primary); color: #ffffff; }
.btn-custom-yellow { background-color: var(--accent); border-color: var(--accent); color: #000000; }

.btn-custom:hover { transform: translateY(-3px); filter: brightness(0.95); text-decoration: none; }

/* Banner */
.hero-banner { position: relative; overflow: hidden; }
.hero-banner img { width: 100%; display:block; }

/* Content card */
.content-section { margin-top: -40px; padding-bottom: 40px; }
.content-card {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 26px 20px 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .content-card { padding: 32px 36px 40px; }
}

/* Typography */
h1,h2,h3 { color: var(--primary); line-height: 1.4; }
h1 { font-size: 1.9rem; margin-top:0; margin-bottom:1rem; }
h2 { font-size: 1.5rem; margin-top:2.2rem; margin-bottom:0.75rem; }
h3 { font-size: 1.2rem; margin-top:1.6rem; margin-bottom:0.5rem; }
p { margin-top:0; margin-bottom:0.9rem; text-align:justify; }
ul { padding-left:1.3rem; margin-top:0; margin-bottom:1rem; }
li { margin-bottom:0.35rem; }
.lead-intro { font-size:1.05rem; }
.highlight-box { border-left:4px solid var(--accent); background:#fffaf0; padding:12px 14px; margin:1rem 0 1.5rem; font-size:0.98rem; }
.address-list li { font-weight:500; }

/* Footer */
.site-footer { background-color:#111; color:#ffffff; text-align:center; padding:14px 10px; font-size:0.85rem; }
.site-footer a { color:#ffffff; text-decoration:none; }
.site-footer a:hover { text-decoration:underline; }

/* Responsive */
@media (max-width:575.98px) {
  .btn-custom { width:100%; }
  h1 { font-size:1.6rem; }
  h2 { font-size:1.35rem; }
  h3 { font-size:1.1rem; }
}
