/* CSS RESET AND 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F9F7F4;
  color: #2A2935;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
  font-size: 16px;
  letter-spacing: 0.03em;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}
input, select, textarea {
  font-family: inherit;
}

/* VINTAGE RETRO - BRAND COLORS & PATTERNS */
:root {
  --primary: #324B98;
  --primary-dark: #223476;
  --secondary: #F7C948;
  --secondary-dark: #e8ae27;
  --accent: #FFFFFF;
  --vintage-pink: #FE7161;
  --vintage-green: #87A330;
  --vintage-cream: #FBF3DF;
  --text: #2A2935;
  --shadow: 0 4px 16px rgba(50,54,57,0.13), 0 1.5px 6px rgba(190,150,40,0.06);
  --radius: 14px;
  --radius-card: 18px;
  --vintage-bg-pattern: repeating-linear-gradient(-45deg, #F9F7F4 0 30px, #f6ebc2 32px 60px);
  --vintage-border: 1.5px solid #E8D2B6;
  --focus-outline: 2px solid var(--secondary);
}

/* FONT DEFINITIONS (retro/vintage style) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: var(--vintage-bg-pattern);
  color: var(--text);
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  letter-spacing: 0.03em;
  font-weight: 700;
  text-shadow: 1px 1px 0 #f6ebc2;
  /* Retro font style */
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
  color: var(--vintage-pink);
  letter-spacing: 0.01em;
}

main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.features, .services, .testimonials, .legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

.features ul, .features li, .services ul, .services li {
  margin: 0;
  padding: 0;
}
.features ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 5px;
}
.features li, .services li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
}
.features li img, .services li img {
  width: 30px;
  height: 30px;
  filter: grayscale(35%) sepia(12%) brightness(97%);
}
.features h2 {
  margin-bottom: 14px;
}

/* HERO SECTION */
.hero {
  background: var(--secondary);
  background-image: repeating-linear-gradient(-8deg, #F7C948 0 37px, #FFEC9E 37px 70px);
  text-align: left;
  border-bottom: var(--vintage-border);
  padding: 0 0 24px 0;
}
.hero h1 {
  color: var(--primary-dark);
  text-shadow: 2px 2px 0 #fffbe1;
  font-size: 2.1rem;
  margin-top: 18px;
  margin-bottom: 10px;
}
.hero p {
  color: #1a1a1a;
  font-size: 1.14rem;
  margin-bottom: 24px;
}

/* CARD CONTAINER GENERIC (if any) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--vintage-cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  min-width: 220px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffbe8;
  border-radius: 14px;
  border: var(--vintage-border);
  box-shadow: 0 2px 8px rgba(50,75,152,0.07), 0 1.5px 7px rgba(247,201,72,0.09);
  margin-bottom: 24px;
  max-width: 540px;
  transition: box-shadow 0.16s;
}
.testimonial-card p {
  color: #2A2935;
  font-size: 1.1rem;
  text-shadow: 0.7px 0.7px #ffe7b2;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--vintage-green);
  font-style: normal;
  font-size: 1rem;
}
.testimonial-card div {
  display: flex;
  gap: 4px;
  align-items: center;
}
.testimonial-card img {
  width: 20px;
  height: 20px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 28px rgba(50,75,152,0.15), 0 2px 10px rgba(247,201,72,0.13);
}

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

/* Service Cards (index) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  background: #faf7ec;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  border: 2px solid #f5deb1;
  flex: 1 1 230px;
  max-width: 270px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border 0.2s;
  position: relative;
}
.service-list > div:hover, .service-list > div:focus-within {
  border-color: var(--secondary-dark);
  box-shadow: 0 9px 34px rgba(246,235,194,0.1), 0 5px 20px rgba(50,75,152,0.18);
}
.service-list h3 {
  color: var(--vintage-pink);
  font-size: 1.13rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.service-list p {
  color: #4a432d;
  font-size: 1rem;
}
.service-list a {
  align-self: flex-start;
  background: var(--primary);
  color: var(--accent);
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 30px;
  padding: 8px 22px;
  font-size: 1rem;
  margin-top: 8px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 3px 12px rgba(50,75,152,0.08);
}
.service-list a:hover, .service-list a:focus {
  background: var(--secondary);
  color: var(--primary-dark);
  outline: none;
  box-shadow: 0 6px 24px rgba(247,201,72,0.09), 0 1.5px 8px rgba(50,75,152,0.09);
}

/* Call to Action Button */
.cta-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  padding: 12px 30px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 12px rgba(50,75,152,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  margin-left: 12px;
  margin-bottom: 0;
  margin-top: 0;
  display: inline-block;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary-dark);
  color: var(--primary-dark);
  outline: none;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(247,201,72,0.17), 0 1.5px 10px rgba(50,75,152,0.12);
}

/* HEADER + NAVIGATION */
.site-header {
  width: 100%;
  background: #fffbe9;
  border-bottom: var(--vintage-border);
  box-shadow: 0 7px 20px rgba(247,201,72,0.12);
  position: relative;
  z-index: 90;
  padding: 0;
}
.site-header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header img {
  width: 140px;
  height: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1.06rem;
  padding: 7px 16px;
  border-radius: 18px;
  background: none;
  transition: background 0.15s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--vintage-pink);
  outline: none;
}
.main-nav .current, .main-nav a.active {
  background: var(--secondary);
  color: var(--primary-dark);
}

/* MOBILE HAMBURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 18px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(50,75,152,0.10);
  font-size: 2rem;
  z-index: 121;
  border: none;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: background 0.13s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
}

/* MOBILE SLIDE-OVER MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe8;
  box-shadow: 0 0 0 100vw rgba(0,0,0,0.15);
  z-index: 120;
  transform: translateX(-110%);
  transition: transform 0.36s cubic-bezier(.45,.16,.24,1.07);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 123;
  box-shadow: 0 2px 9px rgba(247,201,72,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 80px;
  width: 100%;
  padding: 28px 28px 20px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--primary-dark);
  padding: 12px 8px;
  border-radius: 22px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--vintage-pink);
  outline: none;
}

/* Hide desktop nav and show burger on mobile */
@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* FOOTER */
.site-footer {
  background: #FEF6E8;
  border-top: var(--vintage-border);
  box-shadow: 0 -4px 18px rgba(247,201,72,0.08);
  font-size: 1rem;
  padding: 0;
  margin-top: 50px;
}
.site-footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 24px;
}
.footer-brand, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.97rem;
}
.footer-brand img {
  width: 72px;
  margin-bottom: 4px;
  filter: grayscale(20%) sepia(8%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: var(--primary-dark);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.14s, text-decoration 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vintage-pink);
  text-decoration: underline dashed var(--secondary-dark);
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 7px;
  margin-top: -3px;
}

/* LEGAL PAGES */
.legal {
  background: #fffbe8;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 32px 18px;
  margin-bottom: 42px;
}
.legal h1 {
  color: var(--vintage-pink);
  font-size: 2rem;
  margin-bottom: 22px;
}
.legal h2 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 9px;
}
.legal ul, .legal ol {
  margin-left: 16px;
  margin-bottom: 14px;
  list-style: disc inside;
  font-size: 1rem;
}
.legal li {
  margin-bottom: 5px;
}
.legal a {
  color: var(--primary);
  text-decoration: underline dotted;
  transition: color 0.13s, text-decoration 0.13s;
}
.legal a:hover, .legal a:focus {
  color: var(--vintage-pink);
  text-decoration: underline solid;
}

.confirmation {
  background: #fffbe8;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 35px 18px;
  margin-bottom: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.confirmation h1 {
  color: var(--primary-dark);
  margin-bottom: 18px;
}
.confirmation p {
  margin-bottom: 18px;
  color: #4a432d;
}

/* COOKIES CONSENT BANNER */
.cookies-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  background: #f7c948;
  color: #222;
  box-shadow: 0 -3px 20px rgba(247,201,72,0.21);
  z-index: 2220;
  padding: 22px 15px 22px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  animation: fadeInCookies 0.7s;
}
@keyframes fadeInCookies {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookies-banner .cookies-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cookies-btn, .cookies-settings-btn {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 24px;
  cursor: pointer;
  border: none;
  transition: background 0.17s, color 0.15s, box-shadow 0.12s;
  box-shadow: 0 2px 9px rgba(50,75,152,0.04);
}
.cookies-btn {
  background: var(--primary);
  color: var(--accent);
}
.cookies-btn:hover, .cookies-btn:focus {
  background: var(--primary-dark);
  color: var(--secondary);
}
.cookies-settings-btn {
  background: var(--accent);
  color: var(--primary-dark);
  border: 1.5px solid var(--primary-dark);
}
.cookies-settings-btn:hover, .cookies-settings-btn:focus {
  background: var(--secondary-dark);
  color: var(--accent);
}

/* Cookie MODAL */
.cookies-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-55%) scale(0.97);
  min-width: 305px;
  max-width: 94vw;
  background: #fffbe8;
  color: #1a1928;
  box-shadow: 0 10px 60px rgba(50,75,152,0.22),0 2px 14px rgba(247,201,72,0.05);
  border-radius: 16px;
  padding: 32px 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2230;
  animation: cookiesOpen 0.34s cubic-bezier(.48,.17,.46,1.14);
}
@keyframes cookiesOpen {
  from { opacity: 0; transform: translate(-50%,-55%) scale(0.87); }
  to { opacity: 1; transform: translate(-50%,-55%) scale(0.97); }
}
.cookies-modal h3 {
  color: var(--primary);
  margin-bottom: 6px;
  margin-top: 3px;
  font-size: 1.13rem;
}
.cookies-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 9px 0;
}
.cookies-modal .cookie-toggle {
  accent-color: var(--secondary-dark);
  width: 18px; height: 18px;
}
.cookies-modal .cookie-category label {
  font-weight: 700;
  font-size: 1rem;
}
.cookies-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookies-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: 50%;
  width: 34px; height: 34px;
  font-size: 1.32rem;
  border: none;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.13s;
}
.cookies-modal .close-modal:hover, .cookies-modal .close-modal:focus {
  background: var(--primary);
  color: #fff;
}

/* Utility: Spacing and Layout */
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }

/* Responsive Styles */
@media (max-width: 960px) {
  .container {
    max-width: 93vw;
    padding: 0 8px;
  }
  .site-header .container, .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .service-list {
    flex-wrap: wrap;
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.08rem; }
  .section, .features, .services, .testimonials, .legal, .confirmation {
    padding: 22px 4px;
    margin-bottom: 35px;
  }
  .hero {
    padding: 12px 0 16px 0;
  }
  .content-wrapper {
    gap: 15px;
  }
  .service-list {
    flex-direction: column;
    gap: 11px;
    align-items: stretch;
  }
  .service-list > div {
    max-width: 100%;
  }
  .footer-contact, .footer-brand {
    gap: 7px;
  }
  .site-footer .container {
    flex-direction: column;
    gap: 12px;
  }
  .testimonial-card {
    padding: 14px 10px;
    max-width: 98vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .hero, .section, .legal, .confirmation {
    border-radius: 11px;
    padding: 13px 2.5vw !important;
    box-shadow: 0 1.5px 9px rgba(50,75,152,0.09);
  }
  .footer-brand img {
    width: 50px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.1rem; }
  .service-list > div, .testimonial-card, .legal, .section {
    padding: 9px 3vw !important;
  }
  .mobile-nav a {
    font-size: 1.01rem;
    padding: 14px 2px;
  }
}

/* Focus states accessibility */
a:focus, button:focus, .cta-btn:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Misc Retro Thematic Details */
h1,vintage-style-title { text-transform: uppercase; letter-spacing: 0.09em; }
.section, .card, .testimonial-card, .legal, .service-list > div, .confirmation {
  background-image: repeating-linear-gradient(-19deg, rgba(247,201,72,0.08) 0 12px, transparent 12px 40px);
}

/* Hide scroll on body when modal/menu is open */
body.menu-open, body.cookies-modal-open {
  overflow: hidden;
}

/* ------ END CSS ------ */
