/* ===== 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;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #f5eee6;
  color: #2e2a27;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
a {
  color: #203364;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus,
a:hover {
  color: #b26b13;
}
* {
  box-sizing: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}
hr {
  border: none;
  height: 1px;
  background: #e4e0dc;
  margin: 32px 0;
}

/* ==== Vintage Retro Brand Palette ==== */
:root {
  --brand-blue: #203364;
  --brand-teal: #18A798;
  --brand-bg: #f8f4e7;
  --brand-accent-bg: #F9FBFE;
  --brand-gold: #eebd60;
  --brand-orange: #dd7747;
  --brand-brown: #9b7e61;
  --neutral-800: #2e2a27;
  --neutral-700: #5f5147;
  --neutral-100: #f5eee6;
  --card-shadow: 0 5px 18px rgba(52,28,13,0.12),0 1.5px 3px 0 rgba(195,170,118,0.11);
}

body {
  background: var(--brand-bg);
  color: var(--neutral-800);
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1144px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  margin-bottom: 20px;
  font-size: 16px;
}

/* ========= Typography ========= */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', 'Arial', sans-serif;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0px 1.5px 0px #eed6b4;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.38rem;
  font-weight: 600;
}
h4 {
  font-size: 1.13rem;
  font-weight: 500;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--neutral-800);
  margin-bottom: 1em;
}
strong {
  font-weight: 600;
  color: var(--brand-gold);
  font-family: 'Montserrat', Arial, sans-serif;
}

.service-price, .service-price-box {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-orange);
  background: #fff7ef;
  border-radius: 10px;
  padding: 4px 13px;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  margin: 4px 0 0 8px;
  letter-spacing: 0.02em;
}
.service-price-box {
  display: block;
  padding: 12px 28px;
  margin: 12px 0 4px 0;
  border: 2px dashed var(--brand-brown);
  border-radius: 16px;
  background: #fff7ef;
  color: var(--brand-brown);
}

/* Retro-styled Classic List Dots */
ul, ol {
  font-family: inherit;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 6px;
  position: relative;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 13px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 1px 0 0 var(--brand-brown);
  position: relative;
  top: 1.5px;
}
ol li:before {
  content: counter(li) '.';
  counter-increment: li;
  margin-right: 10px;
  color: var(--brand-blue);
  font-weight: 600;
}
ol {
  counter-reset: li;
}

/* Retrofuturistic Patterns (Header/Fab Patterns) */
header, .footer-copy {
  background: repeating-linear-gradient(135deg,#f8f4e7 0px, #f8f4e7 30px, #f5eee6 40px,#f8f4e7 55px);
}

/* ====== Header & Navigation ====== */
header {
  padding: 0;
  border-bottom: 4px solid var(--brand-orange);
  box-shadow: 0 3px 16px rgba(51,42,32,0.06);
  background-color: #f9f9f4;
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px 12px 16px;
  gap: 20px;
}
header img {
  height: 48px;
  margin-right: 16px;
  filter: sepia(0.55) hue-rotate(-12deg) saturate(70%);
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-blue);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 10px 4px 10px;
  border-radius: 10px;
  border: 2.5px solid transparent;
  position: relative;
  transition: background .2s, color .2s, border .23s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-teal);
  color: #fff;
  border-color: var(--brand-teal);
  text-decoration: none;
}
.main-nav .cta-primary {
  background: var(--brand-orange);
  color: #fff7ef;
  font-size: 1.02rem;
  font-weight: 800;
  padding: 9px 24px;
  border-radius: 36px;
  border: 2.5px solid var(--brand-orange);
  box-shadow: 0 3px 8px rgba(151,90,41,0.09);
  letter-spacing: .05em;
  margin-left: 16px;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--brand-gold);
  color: var(--brand-blue);
  border-color: var(--brand-brown);
}

/* ==== Mobile Menu Navigation ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: var(--brand-blue);
  background: #fff7ef;
  border: 2px solid var(--brand-orange);
  border-radius: 11px;
  padding: 2px 17px 4px 17px;
  margin-left: 12px;
  transition: box-shadow 0.22s;
  z-index: 130;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  box-shadow: 0 2px 8px rgba(151,90,41,0.11);
  background: var(--brand-gold);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff7efee;
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 0 0 0;
  transform: translateX(-110vw);
  transition: transform 0.34s cubic-bezier(.72,-0.34,.58,1.22);
  box-shadow: 7px 0 22px 0 rgba(63,48,32,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--brand-orange);
  background: #ffe5d1;
  border-radius: 9px;
  border: 0;
  margin: 0 20px 12px 0;
  padding: 2px 19px 6px 19px;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--brand-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 34px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.29rem;
  color: var(--brand-blue);
  font-weight: 700;
  padding: 10px 8px 6px 6px;
  border-radius: 14px;
  margin-right: 24px;
  transition: color .2s, background .18s;
  min-width: 160px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-orange);
  color: #fff7ef;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 12px 6px 6px 10px;
    gap: 7px;
  }
}


/* ==== HERO SECTION ===== */
.hero {
  background: repeating-linear-gradient(135deg, #fffbee 0px, #f8f4e7 40px, #ffeecc 60px, #f8f4e7 95px);
  border-bottom: 3.5px solid var(--brand-orange);
  padding: 42px 0 38px 0;
  margin-bottom: 36px;
  box-shadow: 0 3px 19px 0 rgba(204,153,51,0.11);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 65px;
  }
}
.hero h1 {
  color: var(--brand-blue);
  font-size: 2.8rem;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 1px 2px 0 #eed6b4, 0.5px 2px 0 #fffdfa;
}
.hero p {
  font-size: 1.22rem;
  color: var(--neutral-700);
}

/* ==== Cards & Container Patterns ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.card {
  background: #fff;
  border-radius: 19px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  border: 2.5px solid #e4dece;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(190,148,91,0.16);
  transform: translateY(-4px) scale(1.026);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px 20px 18px 22px;
  font-size: 1.01rem;
}

/* ==== Testimonials Section ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff7ef;
  border-left: 6px solid var(--brand-orange);
  padding: 20px 22px 20px 26px;
  margin-bottom: 20px;
  border-radius: 15px;
  box-shadow: 0 3px 13px 0 rgba(218,175,90,0.10);
  position: relative;
  font-size: 1.09rem;
  color: #2e2a27;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px 0 rgba(190,148,91,0.13);
}
.testimonial-card p {
  font-size: 1.07rem;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.018em;
  color: #372810;
}
.testimonial-meta {
  color: var(--brand-brown);
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 14px;
  font-style: italic;
  opacity: 0.95;
}

/* ==== Features, Grids, Layouts using Flex ==== */
.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;
}

/* === BUTTONS & CTA === */
.cta-primary,
.cta-secondary,
.cta-tertiary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  display: inline-block;
  cursor: pointer;
  border: none;
  border-radius: 33px;
  font-weight: 700;
  padding: 12px 32px;
  margin-top: 9px;
  box-shadow: 0 2px 7px rgba(121,71,13,0.10);
  transition: background .19s, color .19s, box-shadow .19s;
  text-align: center;
  letter-spacing: 0.05em;
}
.cta-primary {
  background: var(--brand-orange);
  color: #fff7ef;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--brand-gold);
  color: var(--brand-blue);
  box-shadow: 0 5px 16px rgba(233,151,47,0.17);
}
.cta-secondary {
  background: var(--brand-teal);
  color: #fff;
  border: 2px dotted var(--brand-blue);
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: var(--brand-gold);
  color: var(--brand-blue);
  border-color: var(--brand-brown);
}
.cta-tertiary {
  background: #fff7ef;
  color: var(--brand-blue);
  border: 2px dashed var(--brand-orange);
  font-weight: 600;
}
.cta-tertiary:hover,
.cta-tertiary:focus {
  background: var(--brand-orange);
  color: #fff7ef;
  border-color: var(--brand-orange);
}

/* === Footer Styles === */
footer {
  background: #f5eee6;
  border-top: 3.5px solid var(--brand-orange);
  padding-top: 13px;
  margin-top: 44px;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 17px;
  padding-bottom: 8px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  width: 100%;
}
.footer-logo img {
  height: 42px;
  margin-bottom: 8px;
  filter: sepia(0.45) hue-rotate(-9deg);
}
.newsletter-signup {
  background: #fff7ef;
  border-radius: 18px;
  padding: 22px 22px 18px 22px;
  box-shadow: 0 2px 7px 0 rgba(204,178,101,0.09);
  text-align: center;
}
.newsletter-signup h3 {
  font-size: 1.23rem;
  color: var(--brand-orang);
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 0 0;
  font-size: 1rem;
}
.footer-menu a {
  color: var(--brand-blue);
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-social-links {
  display: flex;
  gap: 13px;
}
.footer-social-links a img {
  width: 32px; height: 32px;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(121,71,13,0.10);
  background: #fafffc;
  padding: 6px;
  transition: background 0.14s, box-shadow .16s;
}
.footer-social-links a:hover img {
  background: var(--brand-orange);
  box-shadow: 0 5px 12px rgba(233,151,47,0.14);
  border-radius: 50%;
}
.footer-copy {
  font-size: 0.98rem;
  color: var(--brand-brown);
  opacity: 0.89;
  letter-spacing: 0.013em;
  text-align: center;
  padding: 6px 0 0 0;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff7eedd;
  box-shadow: 0 -2px 18px 0 rgba(173,141,74,0.13);
  z-index: 2000;
  padding: 22px 18px 17px 18px;
  font-size: 1.01rem;
  border-top: 3.5px solid var(--brand-orange);
  gap: 16px;
  animation: fadeInCookie 1.3s cubic-bezier(0.7,0,0.2,1);
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}
.cookie-consent-btn,
.cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  padding: 10px 28px;
  border-radius: 33px;
  border: 2px solid var(--brand-orange);
  transition: background 0.16s, color 0.16s;
  margin-bottom: 0;
}
.cookie-consent-btn.accept {
  background: var(--brand-orange);
  color: #fff7ef;
  border-color: var(--brand-orange);
}
.cookie-consent-btn.accept:hover,
.cookie-consent-btn.accept:focus {
  background: var(--brand-gold);
  color: var(--brand-blue);
}
.cookie-consent-btn.reject {
  background: #fff7ef;
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}
.cookie-consent-btn.reject:hover,
.cookie-consent-btn.reject:focus {
  background: var(--brand-orange);
  color: #fff7ef;
}
.cookie-settings-btn {
  background: var(--brand-teal);
  color: #fff;
  border: 2px dotted var(--brand-teal);
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #fff7ef;
  color: var(--brand-teal);
}

/* === Cookie Preferences Modal === */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  background: #fff7ef;
  border-radius: 22px;
  box-shadow: 0 9px 40px 0 rgba(151,119,62,0.16);
  padding: 38px 24px 27px 24px;
  z-index: 3000;
  width: 94vw;
  max-width: 420px;
  animation: cookieModalSlide .42s cubic-bezier(.81,-0.23,.18,1.11);
}
@keyframes cookieModalSlide {
  from { opacity: 0; transform: translate(-50%, 30%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap: 13px;
  font-size: 1.01rem;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  color: var(--brand-blue);
}
.cookie-modal .cookie-category input[type=checkbox]:not(:checked) + label {
  color: #9e8365;
  text-decoration: line-through;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: var(--brand-orange);
  margin-right: 3px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 13px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  background: transparent;
  color: #9b7e61;
  font-size: 1.7rem;
  margin-right: 5px;
  margin-bottom: 4px;
  border: none;
  cursor: pointer;
  opacity: 0.62;
  position: absolute;
  right: 21px; top: 19px;
}
.cookie-modal .cookie-modal-close:hover {
  opacity: 1;
  color: var(--brand-orange);
}

/* === Responsive Patterns === */
@media (max-width: 1000px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.37rem; }
  .hero .container {
    flex-direction: column;
    gap: 26px;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0px 6px;
  }
  .section {
    padding: 25px 5px;
    margin-bottom: 30px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 10px 12px 13px;
    gap: 12px;
  }
  .footer-menu {
    gap: 7px;
    font-size: 0.95rem;
  }
  .newsletter-signup {
    padding: 14px 7px 10px 8px;
  }
  footer .container {
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.1rem; }
  .section {
    padding: 13px 2px;
    margin-bottom: 19px;
  }
  .footer-social-links a img { width: 25px; height: 25px; padding: 5px; }
  .cookie-modal { padding: 23px 3vw 17px 3vw; }
  .cookie-banner { padding-left: 6px; padding-right: 6px; }
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
a,
button,
.cta-primary,
.cta-secondary,
.cta-tertiary,
.mobile-menu-toggle,
.mobile-menu-close,
.cookie-banner button,
.cookie-consent-btn,
.cookie-settings-btn {
  transition: color 0.18s, background 0.18s, border 0.16s, box-shadow 0.18s, transform 0.13s;
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 12px;
  background: #efe7dc;
}
::-webkit-scrollbar-thumb {
  background: var(--brand-brown);
  border-radius: 11px;
}
::-webkit-input-placeholder { color: #a0865f; opacity: 1; }
::-moz-placeholder { color: #a0865f; opacity: 1; }
:-ms-input-placeholder { color: #a0865f; opacity: 1; }
::placeholder { color: #a0865f; opacity: 1; }

/* Hide visually but keep accessible */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============= Section Spacing and Flex Alignment ============= */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure all content sections and cards have spacing */
.content-wrapper > * { margin-bottom: 18px; }
.content-wrapper > *:last-child { margin-bottom: 0; }

/* Prevent overlap and ensure breathing room */
.card, .testimonial-card, .newsletter-signup, .service-price-box {
  margin-bottom: 22px;
}

/* ========== END OF STYLE.CSS ========== */
