/* --- CSS RESET & NORMALIZE (MOBILE FIRST) --- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  background: transparent;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #FAF5EF;
  color: #423027;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}

/* --- VINTAGE RETRO COLOR PALETTE --- */
:root {
  --color-primary: #423027;
  --color-primary-dark: #2d211a;
  --color-secondary: #E8CEC1;
  --color-secondary-light: #fcf8f4;
  --color-accent: #B88243;
  --color-accent-dark: #9b6a29;
  --color-bg: #FAF5EF;
  --color-cream: #F4E9DC;
  --color-highlight: #FFDCA5;
  --color-border: #cdb898;
  --color-error: #c05a36;
  --color-success: #54a379;
  --shadow-default: 0 2px 10px 0 rgba(66, 48, 39, 0.07);
  --shadow-card: 0 4px 12px 0 rgba(66, 48, 39, 0.09);
  --shadow-strong: 0 8px 24px 0 rgba(66, 48, 39, 0.14);
}

/* --- VINTAGE RETRO TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  margin-bottom: 0.7em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.15; }
h2 { font-size: 1.75rem; line-height: 1.20; }
h3 { font-size: 1.3rem; font-weight: 500; }
h4 { font-size: 1.12rem; }
p, li, ul, ol { font-size: 1.02rem; line-height: 1.7; }
strong, b { font-weight: 700; }
small { font-size: 0.95rem; color: #988173; }

/* --- BRAND CONTAINER & SPACING UTILS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary-light);
  border-radius: 18px;
  box-shadow: var(--shadow-default);
  position: relative;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 10px;
    border-radius: 10px;
  }
  .content-wrapper {
    padding: 0;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: var(--color-secondary);
  box-shadow: 0 2px 10px rgba(66,48,39,0.05);
  border-bottom: 2px solid var(--color-border);
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-primary-dark);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.18s, color 0.20s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

header .btn-primary {
  margin-left: 24px;
  padding: 10px 22px;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  border: none;
  border-radius: 7px;
  font-weight: 600;
  box-shadow: var(--shadow-default);
  text-decoration: none;
  transition: background 0.17s, box-shadow 0.18s, color 0.14s;
  cursor: pointer;
  letter-spacing: 0.04em;
  outline: none;
}
header .btn-primary:hover, header .btn-primary:focus {
  background: var(--color-accent-dark);
  color: #fffbea;
  box-shadow: var(--shadow-strong);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary-dark);
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 130;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-cream);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: var(--color-secondary);
  box-shadow: 0 0 0 2000px rgba(66, 48, 39, 0.24);
  z-index: 140;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.73,0,.28,1);
  pointer-events: none;
  opacity: 0.6;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  margin: 18px 24px 12px auto;
  background: var(--color-cream);
  color: var(--color-primary-dark);
  border: none;
  font-size: 2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-highlight);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary-dark);
  font-size: 1.27rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 8px;
  background: none;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
@media (max-width: 980px) {
  header nav { display: none; }
  header .btn-primary { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* --- HERO SECTION --- */
.hero {
  background: repeating-linear-gradient(
    135deg, var(--color-cream), var(--color-cream) 30px, var(--color-secondary-light) 30px, var(--color-secondary-light) 60px
  );
  border-bottom: 4px double var(--color-border);
  padding-top: 38px;
  padding-bottom: 42px;
  margin-bottom: 0;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: var(--color-primary-dark);
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 1em;
  text-shadow: 1px 2px 0 var(--color-highlight);
  letter-spacing: 0.05em;
}
.hero p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.13rem;
  color: var(--color-primary);
  margin-bottom: 1.25em;
  max-width: 650px;
}
.hero .btn-primary {
  font-size: 1.18rem;
  padding: 14px 32px;
  margin-top: 10px;
  box-shadow: 0 4px 28px 0 rgba(155, 106, 41, 0.09);
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.45rem; }
  .hero p { font-size: 1rem; }
}

/* --- FLEXBOX LAYOUTS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 16px;
  margin-top: 34px;
}
.features-grid > div {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 250px;
  background: var(--color-cream);
  border: 1.5px dashed var(--color-border);
  border-radius: 17px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.17s, transform 0.13s;
  position: relative;
  margin-bottom: 20px;
}
.features-grid > div:hover,
.features-grid > div:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.04);
}
.features-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  filter: sepia(0.38) contrast(1.02) brightness(1.03);
}
.features-grid h3 {
  font-size: 1.19rem;
  color: var(--color-accent-dark);
  margin-bottom: 0.55em;
}
.features-grid p {
  font-size: 1rem;
  color: var(--color-primary-dark);
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 20px;
  }
  .features-grid > div {
    min-width: unset;
    max-width: unset;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  background: var(--color-cream);
  border-radius: 13px;
  box-shadow: var(--shadow-card);
  border: 1.3px solid var(--color-border);
  position: relative;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, background 0.14s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-strong);
  background: var(--color-secondary-light);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffdfa;
  border: 1.8px solid var(--color-border);
  border-radius: 15px;
  box-shadow: var(--shadow-default);
  margin-bottom: 24px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-primary-dark);
  flex-wrap: wrap;
  min-height: 90px;
  width: 100%;
}
.testimonial-card .stars {
  color: var(--color-accent);
  font-size: 1.5rem;
  font-family: inherit;
  margin-right: 12px;
}
.testimonial-card p {
  font-style: italic;
  margin-right: 18px;
  flex: 1 1 170px;
  color: var(--color-primary-dark);
}
.testimonial-card span {
  font-size: 1rem;
  color: #988173;
  min-width: 110px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 8px;
  }
  .testimonial-card p {
    margin-right: 0;
  }
}

/* --- ULs/OLs --- */
.timeline {
  padding-left: 20px;
  border-left: 4px double var(--color-accent);
  margin-bottom: 24px;
  margin-top: 16px;
}
.timeline li {
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
}

/* --- BLOG LIST --- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 14px 0;
  justify-content: flex-start;
}
.blog-list article {
  background: var(--color-secondary-light);
  border-radius: 12px;
  box-shadow: var(--shadow-default);
  padding: 24px 20px;
  flex: 1 1 255px;
  min-width: 220px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.15s, border-color 0.12s;
}
.blog-list article:hover,
.blog-list article:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
}
.blog-list h3 {
  font-size: 1.12rem;
  color: var(--color-accent-dark);
  margin-bottom: 0.55em;
}
.blog-list p {
  color: var(--color-primary);
}
.category-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}
.category-filters strong {
  font-weight: 600;
  margin-right: 4px;
}
.category-filters span {
  padding: 2px 9px;
  background: var(--color-cream);
  border-radius: 12px;
  color: var(--color-primary-dark);
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0 2px;
}

/* --- FEATURE ITEM --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 16px 0;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary-dark);
  color: #fff;
  border-top: 2.5px solid var(--color-border);
  padding: 42px 0 18px 0;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -2px 16px 0 rgba(42,34,26,0.04);
  width: 100%;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 1200px;
}
footer nav {
  flex-direction: row;
  display: flex;
  gap: 18px;
  margin-bottom: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: #fffee5;
  text-decoration: none;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 7px 6px;
  border-radius: 5px;
  transition: background 0.13s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
footer img {
  filter: grayscale(0.42) brightness(1.01) sepia(0.09) drop-shadow(0 1px 4px #2d211a36);
}
footer .mini-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
  font-size: 1rem;
  margin-top: 19px;
  align-items: center;
  justify-content: center;
}
footer .mini-contact-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fffbea;
  font-size: 0.98rem;
}
footer .mini-contact-info img {
  width: 18px;
  height: 18px;
}
footer .social-media {
  display: flex;
  gap: 13px;
  margin-top: 12px;
  justify-content: center;
}
footer .social-media a {
  display: inline-flex;
  align-items: center;
  background: var(--color-accent);
  padding: 6px;
  border-radius: 50%;
  transition: background 0.18s, transform 0.14s;
}
footer .social-media a:hover {
  background: var(--color-accent-dark);
  transform: scale(1.11) rotate(-6deg);
}
footer .social-media img {
  width: 20px;
  height: 20px;
  filter: none;
}
footer small {
  color: #FAE3C3;
  opacity: 0.92;
  margin-top: 18px;
  letter-spacing: 0.04em;
}
@media (max-width: 600px) {
  footer .mini-contact-info { flex-direction: column; gap: 8px; }
  footer nav { gap: 10px; }
}

/* --- BUTTONS & LINKS --- */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-family: 'Playfair Display', serif;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 10px 0 rgba(155, 106, 41, 0.04);
  margin: 18px 0 0 0;
  transition: background 0.15s, color 0.13s, box-shadow 0.11s, transform 0.09s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-accent-dark);
  color: #fffddb;
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  display: inline-block;
  padding: 10px 26px;
  background: var(--color-secondary);
  color: var(--color-accent);
  border: 1.3px solid var(--color-accent);
  border-radius: 7px;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  margin: 16px 0 0 0;
  transition: background 0.13s, color 0.13s, box-shadow 0.11s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-card);
}
a {
  color: var(--color-accent);
  text-decoration: underline;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: var(--color-accent-dark);
  text-decoration: none;
}

/* --- UTILITY CLASSES --- */
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-3 { margin-top: 32px; }
.mb-3 { margin-bottom: 32px; }
.rounded { border-radius: 11px; }
.shadow-sm { box-shadow: var(--shadow-default); }

/* --- FORMS & INPUTS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #fffdfa;
  box-sizing: border-box;
  margin-bottom: 13px;
  width: 100%;
  transition: border-color 0.12s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-cream);
  outline: none;
}
label {
  display: block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5em;
  font-weight: 500;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fffdfa;
  color: var(--color-primary-dark);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -2px 18px 0 rgba(66, 48, 39, 0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 1.03rem;
  z-index: 900;
  padding: 18px 20px 15px 20px;
  animation: cookieBannerIn 0.5s ease;
}
@keyframes cookieBannerIn {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--color-primary-dark);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-consent-banner .btn-consent {
  padding: 8px 19px;
  border-radius: 7px;
  border: none;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.17s, color 0.17s, box-shadow 0.10s;
}
.cookie-consent-banner .btn-accept {
  background: var(--color-success);
  color: #fff;
}
.cookie-consent-banner .btn-accept:hover,
.cookie-consent-banner .btn-accept:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-consent-banner .btn-reject {
  background: var(--color-error);
  color: #fff;
}
.cookie-consent-banner .btn-reject:hover,
.cookie-consent-banner .btn-reject:focus {
  background: var(--color-accent-dark);
}
.cookie-consent-banner .btn-settings {
  background: var(--color-secondary);
  color: var(--color-accent);
  border: 1.1px solid var(--color-accent);
}
.cookie-consent-banner .btn-settings:hover,
.cookie-consent-banner .btn-settings:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
@media (max-width: 800px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 17px;
    font-size: 0.97rem;
    align-items: flex-start;
    padding: 17px 10px;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: row;
    width: 100%;
    gap: 12px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed; z-index: 999;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(66,48,39,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.4s cubic-bezier(.65,.01,.25,1);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-secondary-light);
  border-radius: 16px;
  padding: 38px 34px 28px 34px;
  box-shadow: var(--shadow-strong);
  width: 90vw;
  max-width: 420px;
  min-width: 250px;
  color: var(--color-primary-dark);
  display: flex;
  flex-direction: column;
  gap: 21px;
  animation: cookieModalIn 0.39s cubic-bezier(.65,.01,.25,1);
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: scale(0.86) translateY(34px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 0.44em;
  color: var(--color-primary);
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 7px;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .category-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 19px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute; top: 15px; right: 17px;
  background: transparent;
  border: none;
  color: var(--color-primary-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 8px;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--color-cream);
}

/* --- MAP EMBED (CONTACT) --- */
.map-embed {
  background: var(--color-cream);
  padding: 22px 17px;
  border-radius: 13px;
  border: 1.2px dashed var(--color-border);
  margin-top: 12px;
  color: var(--color-primary-dark);
  font-size: 1.04rem;
}

/* --- RESPONSIVE FONT SIZES --- */
@media (max-width: 560px) {
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.04rem; }
  h3 { font-size: 1.01rem; }
  body, p { font-size: 0.98rem; }
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Z-INDEX UTILS --- */
.z-top { z-index: 999; position: relative; }

/* --- RETRO NOSTALGIC PATTERNS --- */
.section:before {
  content: '';
  display: block;
  position: absolute;
  right: 0; top: 0;
  width: 52px; height: 52px;
  background: repeating-linear-gradient(135deg, transparent, transparent 10px, var(--color-accent) 11px, var(--color-cream) 20px);
  opacity: 0.085;
  border-radius: 0 0 0 16px;
  pointer-events: none;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 72px; height: 44px;
  background: repeating-linear-gradient(-45deg, transparent, transparent 10px, var(--color-primary) 12px, var(--color-secondary) 22px);
  opacity: 0.07;
  border-radius: 0 12px 0 0;
  pointer-events: none;
  z-index: 0;
}

/* --- Accessibility --- */
a[aria-current], nav a.active {
  text-decoration: underline;
  background: var(--color-accent);
  color: #fff;
}

/* --- Miscellaneous --- */
hr {
  border: 0;
  border-top: 1.3px solid var(--color-border);
  margin: 36px 0;
}

/* --- PRINT CLEANUP --- */
@media print {
  header, footer, .cookie-consent-banner { display: none !important; }
  main, .container { width: 100%; }
  body { background: #fff; color: #000; }
}
