/* ===== CSS RESET & NORMALIZATION ===== */
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, menu, 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, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  background: #F4E6C2;
  color: #273145;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.04em;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
:root {
  --primary: #273145;
  --secondary: #F4E6C2;
  --accent: #8C5E00;
  --retro-red: #B18036;
  --retro-green: #4A6348;
  --retro-blue: #457891;
  --retro-yellow: #E5C292;
  --white: #fff;
  --shadow: 0 4px 16px rgba(39, 49, 69, 0.12), 0 1.5px 6px rgba(140, 94, 0, 0.08);
  --radius: 14px;
  --font-display: 'Merriweather', 'Georgia', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ===== BASE TYPOGRAPHY ===== */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.13;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 900;
  text-shadow: 1px 2px 0 var(--retro-yellow);
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}
h4, .h4 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.subheadline {
  color: var(--retro-blue);
  font-family: var(--font-body);
  font-size: 1.13rem;
  margin-bottom: 26px;
  font-style: italic;
}
.tagline {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.13rem;
  margin: 16px 0;
  letter-spacing: 0.08em;
  text-shadow: 1px 1px 0 var(--retro-yellow);
}
strong, b {
  font-weight: 700;
  color: var(--retro-red);
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--primary);
  color: var(--secondary);
  padding: 0;
  box-shadow: 0 2px 10px rgba(39,49,69, 0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 5px;
  border-radius: 6px;
  transition: background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: var(--white);
}
header img {
  width: 146px;
  height: auto;
}
.cta-btn {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: 12px 32px;
  margin-left: 14px;
  box-shadow: 0 4px 14px rgba(140, 94, 0, 0.13);
  cursor: pointer;
  transition: background 0.2s, transform 0.16s, box-shadow 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-blue);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 24px rgba(140, 94, 0, 0.20);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  color: #fff;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 120;
  box-shadow: 0 2px 8px rgba(39,49,69,0.09);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-red);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 340px;
  height: 100vh;
  background: var(--primary);
  color: var(--secondary);
  box-shadow: -4px 0 18px rgba(39,49,69,0.20);
  z-index: 130;
  padding-top: 38px;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.7,.01,.29,1), box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  box-shadow: 0 2px 8px rgba(140,94,0,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 7;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-red);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 44px 0 0 0;
  padding: 0 28px;
}
.mobile-nav a {
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--secondary);
  font-weight: 600;
  border-bottom: 1.5px solid rgba(244,230,194,0.14);
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: rgba(244,230,194,0.06);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1100px) {
  header .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    margin-right: 54px;
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  header .container {
    padding: 10px 8px;
  }
  .cta-btn {
    padding: 9px 18px;
    font-size: 1rem;
  }
}

/* ===== SECTIONS ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: var(--shadow);
  background: var(--secondary);
  border-radius: var(--radius);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 24px 10px;
  }
}

/* ===== FLEXBOX LAYOUTS - RETRO PATTERNS ===== */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #FFF8EE;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(180,128,54,0.09);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(140,94,0,0.11), 0 2px 10px rgba(39,49,69,0.08);
  transform: translateY(-4px) scale(1.012);
}
.content-grid, .team-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 1.25rem;
}
.feature-grid > div, .team-grid > div, .content-grid > div {
  background: var(--white);
  border: 2.5px dashed var(--retro-yellow);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(39,49,69,0.08);
  padding: 32px 20px 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, border-color 0.14s;
  position: relative;
}
.feature-grid > div:hover {
  border-color: var(--retro-red);
  box-shadow: 0 5px 32px rgba(180,128,54,0.18);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 2.5px dotted var(--retro-blue);
  border-radius: var(--radius);
  box-shadow: 0 2px 15px rgba(69,120,145,0.08);
  padding: 20px 28px;
  margin-bottom: 28px;
  margin-top: 14px;
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 700px;
}
.testimonial-card p {
  font-size: 1.06rem;
  font-weight: 500;
  margin-bottom: 0.5em;
}
.testimonial-card .reviewer {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  margin-left: 14px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

.map-snippet {
  display: flex;
  align-items: center;
  background: #FFF8EE;
  border: 2.5px dashed var(--retro-red);
  border-radius: var(--radius);
  padding: 16px 18px;
  gap: 18px;
  margin: 30px 0;
}

@media (max-width: 1100px) {
  .content-grid, .feature-grid, .team-grid {
    gap: 18px;
  }
  .feature-grid > div, .team-grid > div {
    min-width: 180px;
  }
}
@media (max-width: 810px) {
  .content-grid, .feature-grid, .team-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .team-grid > div {
    min-width: unset;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 12px;
  }
  .map-snippet {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 700px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 18px 4px;
    margin-bottom: 32px;
  }
  h1, .h1 {font-size: 1.5rem;}
  h2, .h2 {font-size: 1.15rem;}
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===== CARDS & PATTERNS ===== */
.card {
  border: 1.7px solid var(--retro-yellow);
  background: #FFF8EE;
  box-shadow: 0 2px 9px rgba(244, 230, 194, 0.15);
  border-radius: var(--radius);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--secondary);
  width: 100%;
  padding: 40px 0 16px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-menu {
  font-family: var(--font-body);
  font-size: 0.96rem;
  margin-bottom: 18px;
}
.footer-menu a {
  color: var(--secondary);
  padding: 0 7px;
  transition: color 0.20s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
}
.brand-info {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  font-size: 0.97rem;
}
.brand-info img {
  width: 38px;
  height: 38px;
}
.brand-info p {
  color: var(--secondary);
  font-family: var(--font-body);
}
@media (max-width: 750px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .brand-info {
    flex-direction: column;
    gap: 6px;
    font-size: 0.92rem;
  }
}

/* ===== LISTS, ICONS, UTILITIES ===== */
ul li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 1rem;
}
ul li img {
  width: 24px;
  height: 24px;
  opacity: .85;
}
dt, strong {
  font-weight: 700;
  color: var(--accent);
}

/* ===== BUTTONS GENERAL ===== */
button, .btn, .cta-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: var(--radius);
  border: none;
  outline: none;
  cursor: pointer;
  background: var(--accent);
  color: #FFF;
  transition: background 0.16s, color 0.19s, box-shadow 0.13s;
  box-shadow: 0 1.5px 7px rgba(140,94,0,0.08);
  margin-right: 8px;
}
button:hover, .btn:hover, .cta-btn:hover,
button:focus, .btn:focus, .cta-btn:focus {
  background: var(--retro-red);
  color: #fff;
  transform: translateY(-1.5px) scale(1.015);
}

/* ===== FORM & CONFIRMATION ===== */
.confirmation {
  color: var(--accent);
  background: #FFF8EE;
  border-radius: var(--radius);
  padding: 22px 20px;
  font-size: 1.14rem;
  margin-top: 20px;
  box-shadow: 0 1.5px 9px rgba(180,128,54,0.09);
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--retro-yellow);
  color: var(--primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 38px;
  justify-content: space-between;
  padding: 22px 28px;
  box-shadow: 0 -2px 13px rgba(183, 128, 54, 0.08);
  font-size: 1.03rem;
  z-index: 300;
  animation: slide-up-cookie 0.6s cubic-bezier(.6,1.8,.43,.94);
}
@keyframes slide-up-cookie {
  from {transform: translateY(120%);opacity:0;}
  to {transform: none;opacity:1;}
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .cta-btn {
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  padding: 9px 20px;
  margin: 0 5px 0 0;
  transition: background 0.17s, color 0.19s, box-shadow 0.13s;
  box-shadow: 0 1px 7px rgba(140,94,0,0.09);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: var(--retro-yellow);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--accent);
  padding-left: 12px;
  padding-right: 12px;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--retro-red);
  color: #fff;
  border-color: var(--retro-red);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 12px 6px;
    font-size: 0.97rem;
  }
}

/* === COOKIE CONSENT MODAL POPUP === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,49,69,0.22);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-cookie-modal 0.45s cubic-bezier(.63,1.66,.32,.87);
}
@keyframes fade-in-cookie-modal {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(39,49,69,0.18);
  min-width: 300px; max-width: 360px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: scale-in-cookie-modal 0.33s cubic-bezier(.78,2.2,.42,.89);
}
@keyframes scale-in-cookie-modal {
  from {transform: scale(0.9); opacity: 0.3;}
  to {transform: none; opacity: 1;}
}
.cookie-modal h3 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
  margin-top: 18px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: var(--retro-red);
  color: #fff;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.14s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--accent);
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
section, .card, .feature-grid > div, .testimonials, .cta-btn, .cookie-banner, .mobile-menu {
  transition: box-shadow 0.23s, background 0.19s, border 0.15s, transform 0.17s;
}
a, .cta-btn, .footer-menu a, .btn {
  transition: color 0.15s, background 0.14s, border 0.13s, box-shadow 0.17s;
}

/* ===== RETRO VINTAGE DECORATIVE TOUCHES ===== */
.feature-grid > div::before, .card::before {
  content: '';
  display: block;
  position: absolute;
  top: -10px;
  left: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, var(--retro-yellow), var(--retro-yellow) 6px, transparent 6px, transparent 10px);
  opacity: 0.16;
  z-index: 0;
}
.card::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: repeating-linear-gradient(-45deg, var(--retro-blue), var(--retro-blue) 6px, transparent 6px, transparent 10px);
  opacity: 0.09;
  z-index: 0;
}

/* ======= ADDITIONAL: RETRO PATTERN DECORATION (HEADER/FOOTER) ======= */
header::after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow), var(--retro-yellow) 22px, transparent 22px, transparent 44px);
}
footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--accent), var(--accent) 22px, transparent 22px, transparent 44px);
  opacity: 0.15;
}

/* ===== PRINT STYLES ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  .section {box-shadow: none;}
  body {background: #fff;}
}
