
:root{
  --bg-red: #1c682f;
  --text: #1a1a1a;
  --card: #ffffff;
  --card-2: #f6f6f6;
  --accent: #ffffff;
  --nav-btn: #e9e9e9;
  --nav-btn-hover: #ffffff;
  --nav-text: #111111;
  --shadow: 0 8px 24px rgba(0,0,0,.18);
  --radius: 14px;
  --max: 1100px;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

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

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  z-index: 999;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  border-radius: 8px;
}

.site-header{
  background: rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  color: var(--accent);
}
.brand h1{
  font-size: 1.25rem;
  margin: 0;
}
.brand p{
  margin: 2px 0 0;
  opacity: .95;
  font-size: .95rem;
}

.nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* "Normal buttons" for nav links with rollover effects */
.nav a{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--nav-btn);
  color: var(--nav-text);
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.08);
  transition: transform .08s ease, background-color .18s ease, box-shadow .18s ease;
}

.nav a:hover,
.nav a:focus-visible{
  background: var(--nav-btn-hover);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  transform: translateY(-1px);
  outline: none;
}

.nav a[aria-current="page"]{
  background: #fff;
  border-color: rgba(0,0,0,.22);
  font-weight: 600;
}

.main{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 16px 34px;
}

/* Cards */
.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin: 16px 0;
}

.card.alt{ background: var(--card-2); }

/* Hero */
.hero{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: center;
}

.hero h2{
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.hero img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(0,0,0,.10);
}

/* Two-column layout */
.columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.columns h3{ margin-top: 0; }

/* Gallery */
.gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery figure{
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
}

.gallery img{
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.gallery figcaption{
  padding: 8px 10px;
  font-size: .95rem;
}

/* Table */
.table-wrap{ overflow-x: auto; }

table{
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

caption{
  text-align: left;
  font-weight: 600;
  margin-bottom: 8px;
}

th, td{
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

thead th{
  background: rgba(179,0,0,.08);
}

/* Multimedia */
.media{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
}

.note{
  font-size: .95rem;
  color: rgba(0,0,0,.75);
}

/* Form */
form{ display: grid; gap: 12px; }

label{ font-weight: 600; }

input, select, textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  font: inherit;
  background: #fff;
}

textarea{
  min-height: 120px;
  resize: vertical;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.button{
  display: inline-block;
  width: fit-content;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.2);
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
  transition: transform .08s ease, box-shadow .18s ease;
}

.button:hover,
.button:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  outline: none;
}

.site-footer{
  color: rgba(255,255,255,.92);
  text-align: center;
  padding: 18px 16px 30px;
  font-size: .95rem;
}

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .media{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .nav{ justify-content: flex-start; }
  .columns{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}
