/* -------------------
   CSS RESET
-------------------- */
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 {
  line-height: 1.15;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F9F5F0;
  color: #143042;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.2px;
  position: relative;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------
   VINTAGE RETRO BRAND COLOR PALETTE
------------------------------------ */
:root {
  --primary: #143042;
  --primary-dark: #0d2231;
  --secondary: #E6E9ED;
  --accent: #D7A153;
  --retro-coral: #F68B60;
  --retro-mint: #B5DAD9;
  --retro-rose: #F9D1C9;
  --retro-brown: #907C6B;
  --base-bg: #F9F5F0;
  --text-dark: #143042;
  --text-body: #324759;
  --shadow: 0 4px 24px rgba(20,48,66,0.08);
}

/* ------------------------------------------
   TYPOGRAPHY | Retro, Elegant, Nostalgic
------------------------------------------ */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap') format('woff2');
}
body,
p,
li, dd, dt {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-body);
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text-dark);
  text-shadow: 1px 1px 0 rgba(215,161,83,0.07);
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 2px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1.8px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1.4px;
}
h4 {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.tagline {
  color: var(--accent);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 24px;
  font-style: italic;
  letter-spacing: 1px;
}
.price-highlight {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent);
  background: var(--retro-mint);
  border-radius: 999px;
  display: inline-block;
  padding: 3px 18px;
  font-size: 1.1rem;
  margin-top: 4px;
  letter-spacing: 1px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
address {
  font-style: normal;
  color: var(--text-body);
}

/* ------------------------------
   CONTAINER & LAYOUT STRUCTURE
------------------------------ */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  width: 100%;
  max-width: 800px;
}

/* -----------------  SECTIONS -----------------*/
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--base-bg);
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 32px 8px;
    border-radius: 18px;
  }
}

/* ------------ CARD & FLEX UTILITIES -------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 12px 0 rgba(20,48,66,0.07);
  margin-bottom: 20px;
  padding: 32px 24px;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--retro-rose);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  background: #fff9e3;
  border-radius: 16px;
  border: 1.5px solid var(--accent);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px 0 rgba(215,161,83,0.05);
  font-size: 1.11rem;
  color: #272626;
}
.testimonial-card p {
  color: #272626;
  font-style: italic;
  flex: 1;
}
.testimonial-card strong {
  color: var(--retro-brown);
  font-size: 1rem;
  letter-spacing: 1.2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
}

/*-----------------------------
   HEADER & NAVIGATION
------------------------------*/
header {
  width: 100%;
  padding: 0;
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(87, 57, 34, 0.07);
  border-bottom: 2px solid var(--retro-coral);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 16px;
}
header img {
  height: 50px;
  width: auto;
  margin-right: 12px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 7px 11px;
  border-radius: 7px;
  transition: background 0.18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--retro-rose);
}
.cta-btn {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 50px;
  padding: 10px 24px;
  margin-left: 6px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px 0 rgba(215,161,83,0.13);
  border: 1.5px solid var(--retro-brown);
  transition: background 0.18s, color 0.18s, box-shadow 0.19s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(26,41,61,0.11);
}

/* ------------ MOBILE MENU -------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: 8px;
  padding: 7px 13px;
  border: none;
  box-shadow: 0 1px 4px 0 rgba(20,48,66,0.08);
  transition: background 0.15s, color 0.16s;
  z-index: 1200;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--retro-coral);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fef8f4;
  z-index: 1500;
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(.73,.09,.54,.97);
  box-shadow: -4px 0 18px 0 rgba(20,48,66,0.18);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 22px;
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--retro-brown);
  transition: background 0.15s, color 0.16s;
  z-index: 1550;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-coral);
  color: #fff;
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-left: 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.27rem;
  padding: 11px 8px;
  border-radius: 9px;
  color: var(--primary);
  background: none;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-mint);
  color: var(--primary-dark);
}

@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------ FOOTER ------------------ */
footer {
  background: var(--primary);
  color: #fff;
  border-top: 5px dotted var(--accent);
  padding: 38px 0 22px 0;
  margin-top: 60px;
  position: relative;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer img {
  height: 40px;
  margin-bottom: 10px;
}
footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--accent);
  background: transparent;
  padding: 2px 9px;
  font-size: 0.97rem;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  transition: background 0.14s;
}
footer nav a:focus,
footer nav a:hover {
  background: var(--retro-mint);
  color: var(--primary-dark);
}
.footer-contact-info {
  font-size: 1rem;
  color: #fff;
  text-align: center;
  line-height: 1.8;
}
.footer-contact-info a { color: var(--accent); }
@media (max-width: 768px) {
  footer .container {
    gap: 14px;
  }
}

/* ---------------------
   RETRO DETAILS
----------------------*/
section {
  border: 2px solid var(--retro-coral);
  box-shadow: 0 3px 19px 0 rgba(20,48,66,0.07),
              0 0px 0px 4px var(--retro-mint);
  background: linear-gradient(90deg, #F9F5F0 90%, #E6E9ED 100%);
}
section:nth-child(even) {
  background: linear-gradient(90deg, #E6E9ED 98%, #F9F5F0 100%);
  border-color: var(--retro-brown);
}

.card,
.service-listings > div {
  border: 2px dashed var(--retro-brown);
}

/* Retro Patterned Top Stripe */
section:before {
  content: "";
  display: block;
  height: 13px;
  width: 72px;
  background: repeating-linear-gradient(135deg, var(--accent) 0 8px, var(--retro-coral) 8px 16px);
  border-radius: 24px 24px 3px 3px;
  margin-bottom: 18px;
  margin-left: 0;
}
section:first-child:before { margin-bottom: 22px; }

/* ------------ Services Cards Grid -------------- */
.service-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
  margin-top: 10px;
}
.service-listings > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 7px 0 rgba(20,48,66,0.08);
  padding: 24px 22px;
  min-width: 240px;
  flex: 1 1 255px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  border: 2px dashed var(--retro-coral);
  transition: box-shadow 0.15s, border-color 0.18s;
  border-top: 6px solid var(--accent);
}
.service-listings > div:hover {
  box-shadow: 0 6px 24px 0 rgba(215,161,83,0.15);
  border-color: var(--accent);
}
@media (max-width: 900px) {
  .service-listings { flex-direction: column; gap: 20px; }
}

/* ------------- LIST & TABLES -------------- */
ul, ol {
  margin-left: 20px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
  padding-left: 22px;
}
ul li:before {
  content: '\2B29'; /* heavy retro dot/bullet */
  position: absolute;
  left: 0;
  color: var(--retro-coral);
  font-size: 1rem;
  top: 2px;
}
ol li:before {
  display: none;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 700;
}
dd {
  margin-bottom: 10px;
  margin-left: 16px;
}

/* ------------ MICRO INTERACTIONS ------------- */
a, .cta-btn, button {
  outline: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s, border 0.2s;
}
.cta-btn:active {
  background: var(--retro-coral);
  color: #fff;
}

.service-listings > div:hover h3 {
  color: var(--retro-coral);
}
.service-listings > div:hover .price-highlight {
  background: var(--accent);
  color: #fff;
}

input, textarea, select {
  font-family: inherit;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--retro-coral);
  background: #fff;
  font-size: 1rem;
  color: var(--primary);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  outline: none;
  background: var(--retro-mint);
}

/* ----------- UTILITIES & SECTION GAPS ----------- */
.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;
}
@media (max-width: 768px) {
  .section {
    padding: 30px 7px;
  }
}

/* --------- CONTACT DETAILS -------- */
.contact-details {
  margin: 24px 0 6px 0;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--retro-mint);
  border-radius: 12px;
  padding: 18px 18px;
}
.contact-details a {
  color: var(--primary);
  text-decoration: underline;
}

/* --------- RETRO ANIMATIONS --------- */
@keyframes retroBannerIn {
  0% { transform: translateY(150px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes modalFadeIn {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------------- Cookie Consent ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  right: 0;
  width: 100vw;
  background: #fff8ec;
  border-top: 5px dotted var(--retro-coral);
  box-shadow: 0 -4px 18px 0 rgba(20,48,66, 0.12);
  padding: 22px 24px 20px 24px;
  z-index: 2500;
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  animation: retroBannerIn 0.44s cubic-bezier(.67,-0.19,.46,.96);
}
.cookie-banner p {
  flex: 1 1 220px;
  margin-right: 20px;
  color: var(--primary-dark);
}
.cookie-banner .cookie-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 22px;
  padding: 7px 22px;
  margin-left: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid var(--retro-brown);
  box-shadow: 0 1px 5px 0 rgba(215,161,83,0.11);
  transition: background 0.18s, color 0.17s;
}
.cookie-banner .cookie-btn:focus, .cookie-banner .cookie-btn:hover {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner .cookie-btn.reject {
  background: var(--retro-coral);
  color: #fff;
  margin-left: 0;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: var(--accent);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--retro-mint);
  color: var(--primary);
  border-color: var(--primary);
  margin-left: 0;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: var(--accent);
  color: #fff;
}

/* ------------ Cookie Modal ------------- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2600;
  background: rgba(20,48,66,0.54);
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-dialog {
  background: #fff8ec;
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(20,48,66,0.19);
  padding: 36px 30px 30px 30px;
  max-width: 390px;
  width: 90vw;
  animation: modalFadeIn 0.36s cubic-bezier(.67,-0.19,.46,.96);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 6px;
}
.cookie-modal-dialog .cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}
.cookie-modal-dialog .essential {
  opacity: 0.67;
  font-weight: 700;
}
.cookie-modal-dialog label {
  font-size: 1.04rem;
  color: var(--primary);
}
.cookie-modal-dialog input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal-dialog .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal-dialog .cookie-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 19px;
  padding: 6px 19px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 1px 5px 0 rgba(215,161,83,0.10);
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 19px;
  font-size: 1.8rem;
  background: none;
  color: var(--primary-dark);
  border: none;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.13s, color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus{
  background: var(--accent);
  color: #fff;
}

/* Cookie Banner/Modal Responsive */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner p {
    margin-right: 0;
  }
  .cookie-modal-dialog {
    padding: 23px 6vw 18px 6vw;
    min-width: 0;
    max-width: 98vw;
  }
}

/* ---------- THANK YOU PAGE BUTTON --------- */
@media (max-width: 480px) {
  .cta-btn {
    width: 100%;
    padding: 11px 0;
  }
}

/* ----------- ACCESSIBILITY ----------- */
:focus-visible {
  outline: 2.5px dashed var(--accent);
  outline-offset: 4px;
}

/* -------------- HOVER/ACTIVE for BUTTON LINKS -------------- */
a:focus, a:active { outline: none; }
.cta-btn:active { background: var(--primary-dark); color: #fff; }

/* -------------- PRINT -------------- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  section, main, .container {
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
    color: #000 !important;
  }
}
