:root {
  --red: #c8102e;
  --red-dark: #9a0c23;
  --ink: #1f1f1f;
  --grey: #555;
  --grey-light: #8a8a8a;
  --line: #e3e3e3;
  --bg: #ffffff;
  --bg-alt: #f7f6f4;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: normal;
  color: var(--ink);
  margin: 0 0 0.6em 0;
  line-height: 1.25;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em 0; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { display: block; height: 60px; width: auto; }
.brand-text { display: none; }

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}
nav.primary a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}
nav.primary a:hover { background: var(--bg-alt); color: var(--red); text-decoration: none; }
nav.primary a.active { color: var(--red); }
nav.primary .cta {
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
}
nav.primary .cta:hover { background: var(--red-dark); color: #fff; }

/* Hero */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 90px 0 80px;
  background-image: linear-gradient(rgba(20,20,20,0.78), rgba(20,20,20,0.85)), url("../images/AdobeStock_45285275.jpg");
  background-size: cover;
  background-position: center;
}
.hero h1 { color: #fff; font-size: 2.8rem; max-width: 820px; }
.hero h1 .accent { color: var(--red); }
.hero p.lead {
  font-size: 1.2rem;
  max-width: 720px;
  color: #d8d8d8;
  margin-top: 18px;
}
.hero .actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  border-radius: 3px;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; text-decoration: none; }
.btn.outline { background: transparent; color: #fff; }
.btn.outline:hover { background: rgba(255,255,255,0.08); }

/* Sections */
section { padding: 70px 0; }
section.alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 2rem; }
.section-head p { color: var(--grey); font-size: 1.05rem; }

/* 5W card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,0.06); border-color: #d4d4d4; }
.card .w {
  font-family: var(--serif);
  color: var(--red);
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: var(--grey); font-size: 0.96rem; flex: 1; }
.card .more {
  margin-top: 12px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Article (inner pages) */
.page-head {
  background: var(--bg-alt);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-head .crumbs {
  font-size: 0.85rem;
  color: var(--grey-light);
  margin-bottom: 12px;
}
.page-head .crumbs a { color: var(--grey); }
.page-head h1 { margin-bottom: 0; }
.page-head .subtitle { color: var(--grey); margin-top: 12px; font-size: 1.1rem; }

.article {
  padding: 60px 0;
  max-width: 760px;
  margin: 0 auto;
}
.article p { font-size: 1.05rem; }
.article h2 { margin-top: 1.6em; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 0.4em; }

.note {
  background: #fff8e6;
  border-left: 4px solid #d9a73b;
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 24px 0;
  font-size: 0.95rem;
  color: #6b531a;
}

/* Subpages list under main page */
.subpages {
  margin-top: 40px;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 4px;
}
.subpages h3 { margin-top: 0; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey); }
.subpages ul { list-style: none; padding: 0; margin: 0; }
.subpages li { padding: 10px 0; border-top: 1px solid var(--line); }
.subpages li:first-child { border-top: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-top: 18px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: 4px 0 0; font-size: 1.05rem; color: var(--ink); }

form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 600;
}
form.contact-form input,
form.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  width: 100%;
}
form.contact-form textarea { resize: vertical; min-height: 140px; }
form.contact-form input:disabled,
form.contact-form textarea:disabled { background: #f3f3f3; color: #aaa; cursor: not-allowed; }
form.contact-form button:disabled { opacity: 0.45; cursor: not-allowed; }
form.contact-form button:disabled:hover { background: var(--red); border-color: var(--red); }
form.contact-form input:focus,
form.contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: -1px; border-color: var(--red); }
form.contact-form button { align-self: flex-start; }

/* Footer */
.site-footer {
  background: #161616;
  color: #b8b8b8;
  padding: 50px 0 30px;
  margin-top: 80px;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .legal {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #777;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 760px) {
  h1 { font-size: 1.9rem; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2rem; }
  nav.primary a { padding: 6px 8px; font-size: 0.8rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .brand img { height: 48px; }
}
