:root {
  --brand-red-1: #a6212b;
  --brand-red-2: #e14f50;
  --ink: #101114;
  --muted: #5b5f67;
  --bg: #f6f7fb;
  --card: #ffffff;
  --ring: rgba(166, 33, 43, .25);
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--ink);
  background: var(--bg);
}
/* Header banner */
.header {
  background: linear-gradient(135deg, var(--brand-red-1), var(--brand-red-2));
  color: #fff;
}
.sticky {
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(135deg, var(--brand-red-1), var(--brand-red-2));
  backdrop-filter: saturate(120%) blur(3px);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
}
.brand .logo-text {
  font-family: Pacifico, cursive;
  font-size: 1.6rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  opacity: .95;
  padding: .5rem .75rem;
  border-radius: 999px;
}
.nav a:hover, .nav a:focus {
  background: rgba(255, 255, 255, .16);
  outline: none;
}
.links {
  display: flex;
  gap: .25rem;
  align-items: center;
}
.hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1rem 4.5rem;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1rem 3rem;
  }
  .nav-inner {
    flex-wrap: wrap;
    gap: .5rem;
  }
}
.hero h1 {
  margin: 0 0 .75rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.1;
}
.hero p.lede {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  color: #fff;
  opacity: .95;
  max-width: 44ch;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--brand-red-1);
  border: none;
  font-weight: 700;
  padding: .8rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.cta:hover, .cta:focus {
  background: #ffe7e7;
  outline: none;
}
.hero-card {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
}
.hero-card h3 {
  margin: .25rem 0 .5rem;
}
.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
}
.hero-card li {
  margin: .3rem 0;
}
/* Sections */
.section {
  max-width: 1080px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}
.card {
  background: var(--card);
  border: 1px solid #e9ebef;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(16, 17, 20, .05);
}
.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}
.muted {
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width:900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.chiplist {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .5rem 0 0;
}
.chip {
  background: #f0f2f7;
  color: #2a2d34;
  border: 1px solid #e1e4ea;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-size: .9rem;
}
/* Contact form */
form {
  display: grid;
  gap: .9rem;
}
label {
  font-weight: 600;
  font-size: .95rem;
}
input, textarea {
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 10px;
  border: 1px solid #dfe3ea;
  background: #fff;
  color: #111;
  font: inherit;
}
input:focus, textarea:focus {
  outline: 3px solid var(--ring);
  border-color: var(--brand-red-1);
}
textarea {
  min-height: 140px;
  resize: vertical;
}
.btn {
  justify-self: start;
  background: var(--brand-red-1);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .8rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.btn:hover, .btn:focus {
  background: var(--brand-red-2);
  outline: none;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  display: none; /* hidden by default */
  z-index: 9999;
}
.cookie-banner a {
  color: #4da6ff;
  text-decoration: underline;
}
.cookie-banner button {
  margin-left: 15px;
  padding: 6px 12px;
  background: #4da6ff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
/* Footer */
footer {
  max-width: 1080px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  color: #6b7078;
  font-size: .95rem;
}
footer a {
  color: #9a1f28;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
/* Helper for anchor offset under sticky nav */ :target::before {
  content: "";
  display: block;
  height: 72px;
  margin-top: -72px;
  visibility: hidden;
}
/* --- Appended for modular build (keeps visuals identical by default) --- */
/* Ensure sections with anchors don't get hidden under sticky header */ :target {
  scroll-margin-top: 80px;
}
/* Shrink behavior for header on scroll (non-intrusive defaults) */
.header.shrink img, .header.shrink .logo, .header.shrink .brand {
  transform: scale(0.9);
  transition: transform 0.2s ease-in-out;
}
/* --- Enhancements to match requested behavior --- */
/* Make nav sticky */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
/* Smooth shrink of logo on scroll */
.nav.shrink img {
  transform: scale(0.75);
  transition: transform 0.2s ease-in-out;
  transform-origin: left center;
}
/* Remove underlines and avoid default blue links */
a, a:visited {
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: none;
}
/* Remove hover effects from logo link */
.nav .brand:hover, .nav .brand:focus, .nav .brand:active {
  background: none !important;
  color: inherit !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transform: none !important;
}
/* --- Consent block layout (brand-consistent) --- */
.notice { background:#f1f5f9; border-radius:8px; padding:12px; margin:12px 0; color:#0f172a; }
.full { grid-column: 1 / -1; }
.notice.consent { display:flex; gap:12px; align-items:flex-start; }
.notice.consent input[type="checkbox"] { margin-top:4px; flex: 0 0 auto; }
.notice.consent label { margin:0; line-height:1.4; flex: 1 1 auto; }






/* Stronger layout for consent block: grid with checkbox + text */
.notice.consent { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.notice.consent input[type="checkbox"] { margin-top: 4px; }
.notice.consent label { margin: 0; line-height: 1.45; }
