/* ========================== CSS RESET & NORMALIZE ========================== */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F7F2ED;
  color: #2B1E17;
}
ol, ul {
  list-style: none;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* ========================== VINTAGE RETRO DESIGN TOKENS ========================== */
:root {
  /* Retro-inspired palette */
  --retro-blue: #006B87;
  --retro-light: #F7F2ED;
  --retro-accent: #F7C873;
  --retro-orange: #E28E50;
  --retro-brown: #7A542E;
  --retro-green: #64A34B;
  --brand-primary: #006B87;
  --brand-accent: #64A3B5;
  --brand-secondary: #FFFFFF;
  --brand-offwhite: #F2F7FA;
  --brand-vintage-bg: #F7F2ED;
  --brand-vintage-form: #EFE0C6;
  --brand-text: #2B1E17;
  --brand-headline: #423120;
  --brand-shadow: rgba(44, 32, 22, 0.14);
  --brand-card-shadow: rgba(44,32,22,0.07);
}

/* ========================== FONTS ========================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--brand-vintage-bg);
  color: var(--brand-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--brand-headline);
  margin-bottom: 18px;
  text-shadow: 1px 1px 0 var(--brand-card-shadow);
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p, li, address { font-size: 1rem; line-height: 1.7; }
strong { font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }
  p, li { font-size: 0.97rem; }
}

/* Retro font for logo or accents */
.logo-font, .main-nav img {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.11em;
}

/* ========================== LAYOUT CONTAINERS ========================== */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-offwhite);
  border-radius: 18px;
  box-shadow: 0 3px 18px var(--brand-card-shadow);
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 30px;
    padding: 24px 8px;
    border-radius: 10px;
  }
  .container {
    padding: 0 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF8ED;
  border-radius: 15px;
  box-shadow: 0 3px 12px var(--brand-card-shadow);
  padding: 28px 24px;
  border: 2px dashed var(--retro-accent);
  min-width: 230px;
  max-width: 385px;
  flex: 0 1 340px;
  transition: transform 0.2s, box-shadow 0.24s;
}
.card:hover, .card:focus-within {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(44, 32, 22, 0.24);
  border-color: var(--retro-orange);
  z-index: 2;
}
@media (max-width: 800px) {
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .card { min-width: unset; max-width: unset; width: 100%; }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF6E2;
  border: 1.5px solid var(--retro-accent);
  border-radius: 11px;
  padding: 18px 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 7px var(--brand-shadow);
}

/* ========================== NAVIGATION ========================== */
header {
  width: 100%;
  background: var(--retro-blue);
  box-shadow: 0 7px 38px rgba(44, 32, 22, 0.11);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 12px 0 12px 0;
}
.main-nav a {
  color: #FFF8ED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border-radius: 8px;
  position: relative;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-accent);
  color: var(--retro-brown);
}
.main-nav a.cta-primary {
  margin-left: auto;
  background: var(--retro-accent);
  color: var(--retro-brown);
  font-weight: 900;
  font-size: 1.08rem;
  border: 2px solid var(--retro-orange);
  text-shadow: none;
  box-shadow: 0 2px 6px rgba(44,32,22,.06);
  transition: background 0.19s, border 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--retro-orange);
  border-color: var(--retro-blue);
  color: #fff;
}

.main-nav img {
  height: 40px;
  margin-right: 24px;
  border-radius: 20%;
  box-shadow: 1px 2px 12px var(--brand-card-shadow);
  background: #FFF5E1;
  padding: 4px 8px;
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 7px;
  }
  .main-nav a {
    font-size: 0.97rem;
    padding: 7px 8px;
  }
  .main-nav img {
    height: 36px;
    margin-right: 4px;
  }
}

/* Hide navigation on mobile, show hamburger */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 14px;
  background: var(--retro-accent);
  color: var(--retro-brown);
  font-size: 2.1rem;
  line-height: 1.1;
  border-radius: 7px;
  padding: 4px 12px 6px 12px;
  z-index: 102;
  border: 2px solid var(--retro-orange);
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--retro-orange);
  color: #fff;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========================== MOBILE MENU (BURGER) ========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--retro-blue) 80%, var(--retro-accent) 100%);
  transform: translateX(-102vw);
  transition: transform 0.33s cubic-bezier(.77,0,.175,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 6px 0 32px rgba(44, 32, 22, 0.25);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  background: var(--retro-orange);
  border-radius: 11px;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 21px 18px 5px 0;
  padding: 0 14px 3px 14px;
  transition: background 0.12s, color 0.12s;
  border: 2px solid #ffe7bd;
  z-index: 350;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fff;
  color: var(--retro-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  align-items: flex-start;
  padding: 20px 32px;
  margin-top: 17px;
}
.mobile-nav a {
  color: #fff7eb;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  padding: 9px 10px 9px 10px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-accent);
  color: var(--retro-brown);
}

@media (min-width: 921px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ========================== HERO + CTA ========================== */
.hero {
  background: repeating-linear-gradient(135deg, #F7C873 0 9px, #F6F0E6 9px 18px, #64A3B5 18px 28px, #F7F2ED 29px 38px);
  background-size: 90px 90px;
  padding: 0 0 24px 0;
}
.hero .container {
  padding-top: 48px;
  padding-bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--brand-primary);
  text-shadow: 2px 3px #F7C873, 0 1px 6px rgba(44,32,22,0.09);
  margin-bottom: 15px;
}
.hero p {
  color: var(--retro-brown);
  max-width: 550px;
  margin-bottom: 20px;
}
.hero .cta-primary {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .hero h1 { font-size: 1.45rem; }
  .hero .container { padding-top: 21px; padding-bottom: 19px; }
}

/* ========================== BUTTONS & LINKS ========================== */
.cta-primary,
.button, button, .cookie-banner button, .cookie-modal .cookie-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--retro-brown);
  background: var(--retro-accent);
  border-radius: 11px;
  font-size: 1.09rem;
  padding: 12px 28px;
  box-shadow: 0 4px 19px var(--brand-shadow);
  transition: background 0.16s, color 0.16s, box-shadow 0.19s, border 0.13s;
  border: 2px solid var(--retro-orange);
  margin-top: 4px;
}
.cta-primary:focus, .cta-primary:hover,
.button:focus, .button:hover, button:focus, button:hover {
  background: var(--retro-orange);
  color: #fff;
  box-shadow: 0 7px 25px var(--brand-shadow);
  outline: none;
  border-color: var(--retro-blue);
}

/* ========================== LISTS (BULLETS) ========================== */
ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 4px;
  margin-top: 0;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 34px;
  color: var(--brand-text);
  line-height: 1.6;
  font-size: 1.03em;
}
ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.11em;
  color: var(--retro-orange);
  font-size: 1.14em;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ========================== TESTIMONIALS ========================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff9f3;
  color: #322209;
  border-radius: 15px;
  box-shadow: 0 3px 14px var(--brand-card-shadow);
  margin-bottom: 22px;
  border-left: 7px solid var(--retro-accent);
  position: relative;
  z-index: 0;
  min-width: 210px;
  max-width: 560px;
}
.testimonial-card p {
  color: #322209;
  font-size: 1.08em;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card span {
  font-weight: bold;
  color: var(--retro-brown);
  font-size: 0.98em;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 16px;
    max-width: unset;
  }
}

/* Ensure testimonial contrast */
.testimonial-card {
  background: #fff9f3;
  color: #322209;
}
.testimonial-card a { color: var(--retro-blue); }

/* ========================== TABLE STYLING ========================== */
table {
  width: 100%;
  background: #FFF8ED;
  border-radius: 8px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(44,32,22,0.04);
  overflow: hidden;
  border: 2px solid var(--retro-accent);
}
thead {
  background: var(--retro-accent);
}
th, td {
  padding: 14px 11px;
  text-align: left;
  border-bottom: 1px solid #EAD9BD;
  font-size: 1.03em;
}
th {
  color: var(--retro-brown);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  background: var(--retro-accent);
}
tr:last-child td { border-bottom: none; }

/* ========================== FOOTER ========================== */
footer {
  background: #ead2a6;
  color: #38250c;
  padding: 30px 0 25px 0;
  margin-top: 42px;
  border-top: 7px double #D1B280;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 17px;
}
.footer-nav a {
  color: #453729;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline dotted #a38256;
  letter-spacing: 0.07em;
  padding: 7px 0 4px 0;
  transition: color 0.13s, text-decoration-color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--retro-blue);
  text-decoration-color: var(--retro-blue);
}
.footer-info {
  text-align: center;
  margin-top: 14px;
  font-size: 0.97rem;
}
.footer-info address {
  font-style: normal;
  color: #44382c;
  margin: 4px 0 2px 0;
}

/* ========================== TEXT SECTIONS ========================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.text-section ul {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .text-section {
    gap: 8px;
  }
}

/* ========================== RESPONSIVE: SECTIONS & FLEX ========================== */
@media (max-width: 768px) {
  .content-wrapper { gap: 12px; }
  .section { padding: 18px 4px; }
  .feature-item { padding: 8px 8px; }
  .card-container, .content-grid, .footer-nav {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========================== ANIMATIONS & INTERACTIONS ========================== */
section, .card, .feature-item, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.21s;
}
.card:active, .cta-primary:active {
  transform: scale(0.97);
}
.cta-primary:focus-visible {
  outline: 3px dashed var(--retro-orange);
  outline-offset: 2px;
}

/* Retro hover underline for links */
a:not(.cta-primary):not(.button):hover, a:not(.cta-primary):not(.button):focus {
  color: var(--retro-orange);
  text-decoration: underline wavy var(--retro-orange);
}

/* ========================== COOKIE CONSENT BANNER & MODAL ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff6ce;
  border-top: 6px dashed var(--retro-orange);
  box-shadow: 0 -4px 22px var(--brand-card-shadow);
  padding: 18px 12px 18px 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  justify-content: center;
  animation: slideInBottom 0.61s cubic-bezier(.41,1.6,.4,1) 1;
}
.cookie-banner p {
  flex: 1 1 260px;
  color: #2B1E17;
}
.cookie-banner .cookie-btn {
  min-width: 139px;
  margin-right: 11px;
  margin-bottom: 3px;
  font-size: 0.98em;
  font-weight: 700;
}
.cookie-banner .cookie-btn:last-child { margin-right: 0; }

@keyframes slideInBottom {
  0% { transform: translateY(+120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Cookie preferenCE modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(44,32,22,0.38);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.34s;
  pointer-events: all;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF8ED;
  border-radius: 18px;
  box-shadow: 0 8px 35px #876f4a30;
  padding: 38px 32px 29px 32px;
  min-width: 330px;
  max-width: 97vw;
  position: relative;
}
.cookie-modal-content h3 {
  color: var(--retro-blue);
  margin-bottom: 12px;
  font-size: 1.26rem;
}
.cookie-modal-content .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 23px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 600;
  color: #653F0B;
  font-size: 1em;
}
.cookie-modal-content input[type="checkbox"] {
  accent-color: var(--retro-orange);
  width: 24px;
  height: 24px;
  margin-right: 4px;
}
.cookie-modal-content .cookie-btn {
  min-width: 112px;
  margin-right: 10px;
  margin-bottom: 4px;
}
.cookie-modal-close {
  position: absolute;
  right: 12px; top: 7px;
  font-size: 2rem;
  color: var(--retro-brown);
  background: none;
  border-radius: 7px;
  padding: 2px 9px 0 9px;
  border: none;
  transition: background 0.11s, color 0.11s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffe7bd;
  color: var(--retro-orange);
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 27px 7px 22px 10px;
    min-width: unset;
    font-size: 0.92em;
  }
}

/* ========================== FORMS & MISC ========================== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  color: var(--brand-text);
  border-radius: 8px;
  border: 2px solid var(--retro-accent);
  background: var(--brand-vintage-form);
  padding: 11px 12px;
  margin-bottom: 15px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--retro-orange);
  outline: none;
  box-shadow: 0 2px 8px #FFD8A1;
}
label {
  font-weight: 600;
  color: var(--brand-headline);
  font-size: 1em;
}

/* ========================== UTILITIES & RETRO DETAILS ========================== */
.retro-pattern {
  background: repeating-linear-gradient(45deg, #f7c873 0 16px, #f7f2ed 16px 32px, #64a3b5 32px 48px, #fff6e2 48px 64px);
  background-size: 90px 90px;
}
.decorative-dot {
  width: 16px; height: 16px;
  background: var(--retro-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 6px #fff9f3;
  margin: 0 7px;
}
.vintage-border {
  border: 5px double var(--retro-brown);
  border-radius: 16px;
  padding: 10px;
  background: #fff6e2;
}

/* ========================== RETRO SHADOWS & EFFECTS ========================== */
.shadow-pop {
  box-shadow: 0 8px 20px #a3825635, 3px 3px 0 #ffe7bd;
}
.rounded-retro {
  border-radius: 15px;
}

/* ========================== PRINT STYLES ========================== */
@media print {
  header, nav, .cookie-banner, .mobile-menu, .mobile-menu-toggle, .main-nav, .footer-nav, footer { display: none !important; }
  body { color: #222; background: #fff; }
}

/* ========================== END ========================== */
