/*---- 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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF8F0;
  min-height: 100vh;
  color: #253858;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

/*---- Vintage Retro Theme Variables ----*/
:root {
  --primary: #253858;
  --secondary: #45C7D1;
  --accent: #F9FBFF;
  --retro-orange: #D69931;
  --retro-blue: #6CA0A8;
  --retro-red: #D94F4B;
  --retro-yellow: #FFEAA7;
  --retro-bg: #FFF8F0;
  --black: #232323;
  --white: #fff;
  --border-radius: 18px;
  --shadow: 0 8px 24px rgba(41, 39, 36, 0.07);
  --transition: all 0.2s cubic-bezier(.5,.1,.3,1);
  --text-main: #253858;
  --text-dark: #181c1f;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Montserrat Alternates', monospace;
  --font-body: 'Open Sans', 'Arial', 'Liberation Sans', sans-serif;
  --pattern-url: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' fill='%23FFEAA7'/%3E%3Ccircle cx='20' cy='20' r='3' fill='%23D69931'/%3E%3C/svg%3E");
}

/*---- Typography ----*/
body {
  font-family: var(--font-body);
  font-size: 16px;
  letter-spacing: 0.01em;
  background: var(--retro-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  text-shadow: 1px 2px 0 #FFEAA7, 0 2px 12px #fff4b0;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px #fff8cc;
}
h3 {
  font-size: 1.325rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-main);
}
strong {
  font-weight: 700;
  color: var(--retro-orange);
}

/*---- Layout & Spacing ----*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.content-wrapper {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 40px 28px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pattern-url);
  background-size: 180px 180px;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 20px rgba(123,97,55,.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  min-width: 260px;
  max-width: 320px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(78,42,14,0.13);
  transform: translateY(-4px) scale(1.03);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--retro-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 14px rgba(213,153,49,0.08);
  padding: 20px;
  margin-bottom: 24px;
  color: var(--primary);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-dark);
}
.testimonial-card span {
  display: inline-block;
  font-family: var(--font-display);
  color: var(--retro-orange);
  font-size: 1.15rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.features-grid > div {
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(106,160,168,0.09);
  padding: 32px 20px 28px 20px;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}
.features-grid > div:hover {
  box-shadow: 0 8px 24px rgba(106,160,168,0.13);
  transform: translateY(-4px) scale(1.04);
  background: #fffbe7;
}
.features-grid img {
  width: 48px;
  margin-bottom: 14px;
}

.text-section {
  margin: 24px 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

ul, ol {
  padding-left: 20px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0;
}

/*---- Buttons ----*/
.cta-btn,
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: var(--retro-orange);
  color: var(--primary);
  border-radius: 32px;
  border: 2px solid var(--retro-orange);
  box-shadow: 0 2px 8px rgba(213,153,49,0.07);
  padding: 12px 32px 13px 32px;
  margin-top: 10px;
  min-width: 170px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
}
.cta-btn:active, .cta-btn:focus,
button:active, button:focus {
  outline: 2px dashed var(--retro-red);
  outline-offset: 2px;
}
.cta-btn:hover, .btn:hover, button:hover {
  background: var(--retro-yellow);
  color: var(--primary);
  box-shadow: 0 5px 32px rgba(213,153,49,0.22);
  border-color: var(--retro-blue);
}

/*---- Header & Nav ----*/
header {
  background: var(--retro-blue);
  box-shadow: 0 2px 10px rgba(36,194,207,0.09);
  border-bottom: 3.5px dashed var(--retro-orange);
  margin-bottom: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
  padding-bottom: 11px;
  gap: 28px;
}
header img {
  height: 46px;
}
.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 24px;
}
.desktop-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.04rem;
  padding: 7px 18px;
  border-radius: 22px;
  background: transparent;
  transition: var(--transition);
  position: relative;
}
.desktop-nav a:hover, .desktop-nav a.active {
  background: var(--retro-yellow);
  color: var(--retro-red);
}
.cta-btn {
  margin-left: 20px;
}

/*---- Mobile Navigation ----*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 18px;
  z-index: 2300;
  background: var(--retro-orange);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 1px 12px rgba(213,153,49,0.13);
  border: none;
  transition: var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-red);
  color: var(--white);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 100vw;
  height: 100vh;
  background: var(--retro-blue);
  box-shadow: -8px 0 36px rgba(41, 39, 36, 0.23);
  z-index: 3000;
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(.42,.17,.02,.93);
  padding: 27px 22px 30px 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: -16px 0 64px rgba(66,138,158,.17);
}
.mobile-menu-close {
  background: transparent;
  color: var(--retro-orange);
  font-size: 2rem;
  border-radius: 50%;
  border: 1px solid var(--retro-orange);
  margin-left: auto;
  margin-bottom: 15px;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-close:hover{
  background: var(--retro-orange);
  color: var(--retro-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.04rem;
  background: var(--accent);
  padding: 13px 14px;
  border-radius: 22px;
  margin-bottom: 7px;
  color: var(--primary);
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--retro-yellow);
  color: var(--retro-red);
  border-color: var(--retro-orange);
}

/*---- Footer ----*/
footer {
  background: var(--primary);
  color: var(--retro-yellow);
  width: 100%;
  border-top: 4px dotted var(--retro-orange);
  margin-top: 84px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 42px;
  padding-bottom: 25px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 28px;
  justify-content: center;
  align-items: center;
  margin-bottom: 7px;
}
.footer-menu a {
  color: #fffbe7;
  font-size: 1.05rem;
  border-bottom: 1.7px dashed var(--retro-orange);
  border-radius: 0 0 10px 10px;
  padding-bottom: 4px;
  transition: color 0.16s;
}
.footer-menu a:hover {
  color: var(--retro-orange);
  border-bottom: 2px solid var(--retro-orange);
}
.footer-brand {
  margin: 9px 0;
}
.footer-brand img {
  height: 34px;
  filter: drop-shadow(0 1px 6px #ffeaa799);
}
.footer-copy {
  font-size: 0.98rem;
  color: #ffeaa7cc;
}

/*---- Cookie Consent Banner ----*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: var(--retro-yellow);
  color: var(--primary);
  border-top: 3px solid var(--retro-orange);
  box-shadow: 0 -2px 14px rgba(213,153,49,0.08);
  padding: 22px 10px 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: bannerIn 0.5s;
}
@keyframes bannerIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  min-width: 110px;
  border-radius: 22px;
  font-size: 0.97rem;
  padding: 8px 20px 9px 20px;
  margin-right: 10px;
  margin-left: 0;
  margin-top: 7px;
  margin-bottom: 0;
  border: 2px solid var(--retro-orange);
  background: var(--retro-orange);
  color: var(--primary);
  font-weight: bold;
  transition: var(--transition);
  cursor: pointer;
}
.cookie-banner button.cookie-settings {
  background: var(--retro-blue);
  color: var(--white);
  border-color: var(--retro-orange);
}
.cookie-banner button:hover {
  background: var(--primary);
  color: var(--retro-yellow);
  border-color: var(--retro-orange);
}

/*---- Cookie Preferences Modal ----*/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 4050;
  background: rgba(38,61,84, 0.34);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal-content {
  background: var(--retro-yellow);
  color: var(--primary);
  border-radius: 24px;
  padding: 40px 28px 32px 28px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 44px rgba(213,153,49,0.16);
  position: relative;
  animation: popupIn 0.23s;
}
@keyframes popupIn {
  0%{transform:scale(0.9); opacity:0}
  100%{transform:scale(1); opacity:1}
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 15px;
  font-size: 1.7rem;
  background: transparent;
  border-radius: 50%;
  color: var(--retro-orange);
  border: 1.5px solid var(--retro-orange);
  padding: 3px 11px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-modal-close:hover {background: var(--retro-orange); color: var(--retro-yellow);}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 25px;
}
.cookie-option-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
}
.cookie-option-row .toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: var(--retro-blue);
  border-radius: 11px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: .15s background;
}
.cookie-option-row .toggle:checked {
  background: var(--retro-orange);
}
.cookie-option-row .toggle:before {
  content: "";
  position: absolute;
  left: 2.5px; top: 2px;
  width: 15.6px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  transition: .18s transform;
}
.cookie-option-row .toggle:checked:before {
  transform: translateX(17px);
}
.cookie-option-row span {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1rem;
}

/*---- Responsive & Flexbox Adjustments ----*/
@media (max-width: 1120px){
  .container { max-width: 100%;}
  .content-wrapper { max-width: 98vw;}
}
@media (max-width: 900px){
  .features-grid {
    gap: 14px;
  }
  .features-grid > div {
    min-width: 170px;
    max-width: 210px;
    padding: 25px 7px 17px 7px;
  }
  .footer-menu {gap: 12px;}
}
@media (max-width: 768px){
  h1 { font-size: 2rem;}
  h2 { font-size: 1.3rem;}
  .section { padding: 22px 6px; }
  .content-wrapper {
    padding: 22px 7px;
    margin-bottom: 19px;
  }
  .features-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .features-grid > div {
    margin: 0 auto 16px auto;
    width: 89%;
    min-width: unset;
    max-width: unset;
    padding: 14px 7px 13px 7px;
  }
  .footer-copy { text-align: center;}
  .footer-menu {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px; 
    text-align: left;
  }
  .card {
    min-width: unset;
    width: 95vw;
    padding: 18px 7px;
  }
}
@media (max-width: 600px){
  .container { padding: 0 7px; }
  .mobile-menu {
    width: 99vw;
    min-width: unset;
    padding, 13px 8px;
  }
}

/*---- Show/Hide Nav for Desktop/Mobile ----*/
.desktop-nav { display: flex; }
@media (max-width: 950px){
  .desktop-nav, .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 951px){
  .mobile-menu, .mobile-menu-toggle { display: none !important;}
}

/*---- Accessibility & States ----*/
:focus {
  outline: 1.5px dashed var(--retro-orange);
  outline-offset: 2px;
}

/*---- Vintage/Nostalgic Decorative Elements ----*/
.section {
  position: relative;
  overflow: hidden;
}
/* Decorative corners on sections */
.section::before,
.section::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--retro-orange);
  opacity: 0.12;
}
.section::before {
  top: -27px; left: -25px;
}
.section::after {
  bottom: -34px; right: -23px;
}

/*---- Misc ----*/
ul li strong, ol li strong { color: var(--retro-red);}

hr {
  border: 0;
  border-top: 2.5px dotted var(--retro-red);
  margin: 36px 0;
}

/*---- Utilities ----*/
.d-none { display: none !important; }
.d-block { display: block !important; }

/*---- Custom Scrollbar ----*/
::-webkit-scrollbar { width: 9px; background: #ffeaa7; }
::-webkit-scrollbar-thumb { background: #f9c751; border-radius: 5px; }

/*---- Animations ----*/
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, button, .card, .features-grid > div {
    transition: var(--transition);
  }
}

/*---- Form Elements (for contact forms, cookie preferences) ----*/
input, textarea, select {
  border: 1.5px solid var(--retro-orange);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 1rem;
  background: var(--accent);
  margin-bottom: 16px;
  width: 100%;
  color: var(--primary);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--retro-red);
  outline: 1.5px dashed var(--retro-red);
}

/*---- Table styles ----*/
table {
  border-collapse: collapse;
  width: 100%;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 12px rgba(106,160,168,0.07);
  margin: 22px 0;
}
th, td {
  border: 1.2px solid var(--retro-blue);
  padding: 10px 14px;
}
th {
  background: var(--retro-yellow);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

/*---- Toast Notification (for cookie choices) ----*/
.cookie-toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%);
  z-index: 5100;
  padding: 13px 34px;
  background: var(--retro-blue);
  color: var(--white);
  border-radius: 18px;
  font-size: 1rem;
  box-shadow: 0 2px 24px #6ca0a822;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.cookie-toast.active {opacity: 1; pointer-events: auto;}

/* All designs follow retro/vintage flavor as specified, with type, colors, and shapes echoing mid-century and 70s/80s nostalgia. */
