/* ====================== 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; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; display: block; height: auto; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; }
button { cursor: pointer; }

/* ================== VINTAGE RETRO COLOR PALETTE ================== */
:root {
  /* Contemporary brand colors (with retro context) */
  --primary: #163145;
  --secondary: #F1A208;
  --accent: #E3E4E8;
  --vintage-burgundy: #8C593B;
  --vintage-sage: #B1B695;
  --vintage-coral: #F0776C;
  --vintage-cream: #FAF3E3;
  --vintage-olive: #6F6B4A;
  --vintage-blue: #567CA7;
  --vintage-shadow: rgba(37,37,37,0.13);
}

/* ================== TYPOGRAPHY ================== */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--primary);
  background: var(--vintage-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1.5px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }
h5 { font-size: 1rem; }
h6 { font-size: .87rem; }
p, li { font-size: 1rem; line-height: 1.75; margin-bottom: 12px; color: var(--vintage-olive); }
strong { color: var(--primary); font-weight: bold; }

/* Retro font accent for tagline or logo */
.logo, .brand-vintage {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--vintage-burgundy);
  letter-spacing: 2px;
  text-shadow: 1px 1px 0 var(--vintage-shadow);
}

/* ================ LAYOUT CONTAINERS & FLEX =============== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--accent);
  position: relative;
  border-radius: 16px;
  box-shadow: 1px 2px 10px var(--vintage-shadow);
  padding: 28px 24px;
  border: 2px solid var(--vintage-sage);
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 2px 6px 32px rgba(44,24,6,0.19);
  transform: translateY(-5px) scale(1.03);
}
.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--vintage-cream);
  padding: 18px 22px;
  border-radius: 12px;
  border: 1.5px dashed var(--vintage-burgundy);
}
.features,
.features-grid {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.feature-block {
  background: var(--accent);
  border-radius: 16px;
  padding: 32px 24px 26px 24px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  min-width: 258px;
  box-shadow: 1.5px 2.5px 12px var(--vintage-shadow);
  border: 2px solid var(--vintage-sage);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.12s;
  position: relative;
}
.feature-block img {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  filter: sepia(0.44) hue-rotate(-10deg) brightness(0.96);
}
.feature-block:hover {
  box-shadow: 2.5px 6px 22px rgba(60,36,10,0.19);
  transform: translateY(-2.5px) scale(1.02);
  background: var(--vintage-sage);
}

/* ================== HERO SECTION ================== */
.hero {
  background: repeating-linear-gradient(135deg, #FAF3E3 0px, #FAF3E3 40px, #E3E4E8 40px, #E3E4E8 80px);
  border-bottom: 6px solid var(--secondary);
}
.hero h1 {
  color: var(--vintage-burgundy);
  font-size: 2.6rem;
  text-shadow: 0px 2px 0px var(--vintage-olive);
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--vintage-olive);
  margin-bottom: 26px;
}

/* ================== BUTTONS ================== */
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 40px;
  font-size: 1.1rem;
  border: 2px solid var(--secondary);
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.16s, transform 0.15s;
  box-shadow: 2px 5px 10px var(--vintage-shadow);
  margin-right: 10px;
  margin-bottom: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  border-color: var(--primary);
  box-shadow: 4.5px 6px 14px #A08E70;
  transform: scale(1.04);
}
.btn-outline {
  background: transparent;
  color: var(--vintage-burgundy);
  border: 2px solid var(--secondary);
  font-family: 'Oswald', Arial, sans-serif;
  padding: 12px 30px;
  border-radius: 40px;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.16s, color 0.16s, border 0.14s;
  margin-bottom: 10px;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--vintage-burgundy);
}

/* ================= MAIN NAV ================= */
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Oswald', Arial, sans-serif;
}
.main-nav a {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--secondary);
  border-radius: 6px;
  padding: 5px 8px;
  transition: background 0.19s, color 0.19s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* ===================== HEADER ===================== */
header {
  background: var(--primary);
  min-height: 70px;
  width: 100%;
  box-shadow: 0 2px 16px var(--vintage-shadow);
  position: relative;
  z-index: 50;
}
header .container {
  padding-top: 13px;
  padding-bottom: 13px;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 20px;
}
header .btn-primary {
  margin-left: 34px;
  margin-bottom: 0;
}

/* ================= MOBILE NAVIGATION ================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 22px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--secondary);
  z-index: 110;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: background 0.18s;
}
.mobile-menu-toggle:active {
  background: var(--secondary);
  color: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--vintage-cream);
  box-shadow: 0 2px 32px var(--vintage-shadow);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.7,.3,.3,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  align-self: flex-end;
  margin: 28px 20px 16px 0;
  z-index: 1200;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 30px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 9px 2px 9px 0px;
  border-radius: 5px;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* =============== TESTIMONIALS CARDS ================ */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fffdf9;
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  border-left: 7px solid var(--secondary);
  box-shadow: 0 2px 12px var(--vintage-shadow);
  font-style: italic;
  color: #262617;
  min-width: 260px;
  max-width: 520px;
  transition: box-shadow 0.23s, border-color 0.12s, transform 0.11s;
}
.testimonial-card p {
  color: #222;
  font-size: 1.07rem;
}
.testimonial-meta {
  font-size: 0.97rem;
  font-style: normal;
  color: var(--primary);
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 2px 8px 32px #B1B69533;
  border-left: 7px solid var(--primary);
  transform: translateY(-3px);
}

/* =================== FOOTER =================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0 0 0 0;
  margin-top: 30px;
  font-family: 'Roboto',Arial,sans-serif;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0 20px 0;
  justify-content: space-between;
}
.footer-links, .footer-legal, .footer-contact {
  min-width: 180px;
  max-width: 320px;
  flex: 1 1 180px;
}
.footer-links h3, .footer-legal h3, .footer-contact h3 {
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--secondary);
  text-transform: uppercase;
  font-family: 'Oswald', Arial, sans-serif;
}
.footer-links a, .footer-legal a, .footer-contact a {
  font-family: 'Oswald', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
  color: var(--vintage-coral);
  text-decoration: underline;
}
.footer-links ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact p {
  color: #FFF4C3;
  font-size: 0.94rem;
}
.social-media {
  display: flex;
  gap: 13px;
  margin-top: 9px;
}
.social-media a img {
  width: 28px;
  height: 28px;
}
.footer-bottom {
  border-top: 1.5px dashed var(--vintage-sage);
  margin-top: 38px;
  padding: 18px 0 8px;
  text-align: center;
  color: var(--secondary);
  font-size: 0.94rem;
  letter-spacing: 1px;
}

/* =============== COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--vintage-olive);
  color: #fff;
  padding: 30px 20px 20px 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 -2px 15px rgba(70,62,27,0.17);
  font-family: 'Roboto', Arial, sans-serif;
  animation: banner-slideup 0.55s cubic-bezier(.79,.09,.41,1.01);
}
@keyframes banner-slideup {
  from { transform: translateY(120%); }
  to { transform: translateY(0); }
}
.cookie-banner__text {
  font-size: 1rem;
  color: #FFFDEE;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  border-radius: 28px;
  padding: 9px 18px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
  cursor: pointer;
  border: none;
  outline: none;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  transition: background 0.19s, color 0.14s, transform 0.17s;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid var(--secondary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--vintage-burgundy);
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.reject {
  background: var(--vintage-coral);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c74e3d;
  color: #fff;
  transform: scale(1.05);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--primary);
  color: var(--secondary);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(22,49,69,0.76);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.35s cubic-bezier(.79,.09,.41,1.01);
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff8eb;
  color: var(--primary);
  padding: 34px 28px;
  border-radius: 16px;
  box-shadow: 0 6px 56px #2a272516;
  max-width: 90vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  color: var(--vintage-burgundy);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 12px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: var(--secondary);
  width: 20px;
  height: 20px;
}
.cookie-settings-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 10px;
}

/* =================== UTILITY CLASSES =================== */
.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* ============= CONTACT INFO/CTA CARDS ============= */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 1.06rem;
}
.contact-info img {
  width: 23px;
  height: 23px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  filter: sepia(0.35) contrast(1.01);
}
.contact-info p {
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
}
.contact-info a {
  color: var(--vintage-burgundy);
  text-decoration: underline;
}

/* ============= THANK YOU PAGE ============= */
.thankyou-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.thankyou-page .content-wrapper {
  align-items: center;
  text-align: center;
}

/* =============== LEGAL SECTION =============== */
.legal {
  background: var(--accent);
  border-radius: 20px;
  padding: 38px 22px;
  margin: 40px 0 60px 0;
  box-shadow: 0 2px 22px #2c232316;
}
.legal h1 {
  color: var(--vintage-burgundy);
}
.legal h2 {
  color: var(--primary);
  font-size: 1.45rem;
}
.legal p, .legal li {
  color: var(--vintage-olive);
  font-size: 1rem;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 950px) {
  .header-flex { flex-direction: column; align-items: flex-start; gap: 9px; }
  .footer-grid { gap: 18px; }
}
@media (max-width: 768px) {
  .content-grid,
  .features, .features-grid {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }
  .feature-block { min-width: 0; }
  .testimonial-card { min-width: 0; max-width: 100%; }
  .footer-grid { flex-direction: column; align-items: stretch; gap: 24px; }
  .about .container, .contact-info, .contact-form-section .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .header-flex { flex-direction: row; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle {
    display: block;
  }
  .btn-primary { margin-left: 0; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .cookie-modal { width: 98vw; max-width: 97vw; }
  .legal {
    margin: 20px 0 32px 0;
    padding: 22px 8px;
  }
  .section {
    margin-bottom: 38px;
    padding: 20px 6px;
  }
}
@media (max-width: 510px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .feature-block, .card {
    padding: 18px 10px;
  }
  .container { padding: 0 5px; }
  .cookie-modal { padding: 18px 4px; }
}

/* =============== MICRO-INTERACTIONS & RETRO EFFECTS =============== */
.features-grid .feature-block:before {
  content: '';
  display: block;
  position: absolute;
  top: -17px; left: -17px;
  width: 40px; height: 40px;
  background: var(--secondary);
  opacity: 0.19;
  border-radius: 18px 0 24px 0;
  z-index: 2;
  pointer-events: none;
  animation: vintage-bounce 3.5s infinite ease-in-out;
}
@keyframes vintage-bounce {
  0%,100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(7px) scale(1.06); }
}
.section {
  background: linear-gradient(150deg, #FAF3E3 62%, #E3E4E8 100%);
  border-radius: 28px;
  box-shadow: 0 0.6px 16px rgba(37,37,37,0.06);
  border: 1.7px dotted var(--vintage-burgundy);
}
.feature-block, .testimonial-card {
  border-radius: 15px;
}

/* Retro stripes in footer - decorative only */
footer:before {
  content: '';
  display: block;
  width: 100%;
  height: 11px;
  background: repeating-linear-gradient(90deg, var(--secondary), var(--secondary) 16px, #deb779 16px, #deb779 32px);
  margin-bottom: 10px;
  opacity: 0.37;
}

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