/* ========= 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, 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 {
  scroll-behavior: smooth;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F3EF;
  color: #2C2A23;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  box-sizing: border-box;
}

/* ======= VINTAGE RETRO CSS VARIABLES & FONTS ======= */
:root {
  --color-primary: #245545;
  --color-secondary: #79705A;
  --color-accent: #E9F2E3;
  --color-light-bg: #FFF9EF;
  --color-offwhite: #FCFAF6;
  --color-dark: #2C2A23;
  --color-retro-orange: #DA8B4A;
  --color-retro-yellow: #FFE366;
  --color-retro-red: #C04A1E;
  --color-retro-blue: #397CA6;
  --color-gold: #B69239;
  --color-footer-bg: #e0ddb2;
  --color-grey-1: #EFECE3;
  --shadow-soft: 0 2px 12px rgba(34,30,20,0.12);
  --radius-soft: 14px;
  --radius-round: 40px;
  --transition: 0.25s cubic-bezier(.45,.08,.52,1.09);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', 'Poppins', sans-serif;
  --font-body: 'Lato', 'Arial', sans-serif;
  --font-vintage: 'Montserrat', 'Lato', 'Arial', sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Lato:400,700&display=swap');

/* ======= TYPOGRAPHY SCALE & HEADINGS ======= */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.18;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 2px 0 #E9F2E3, 0 1px 10px #beb6892a;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.19;
  font-weight: 700;
  color: var(--color-retro-orange);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 24px 0 10px 0;
}
h4, .h4 {
  font-family: var(--font-vintage);
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0 8px;
}
p, li, span {
  font-family: var(--font-body);
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
small, .small {
  font-size: 0.9rem;
  color: var(--color-secondary);
}
a {
  color: var(--color-retro-blue);
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-retro-red);
  text-decoration: underline;
}

/* Vintage/retro font accents for display */
.hero h1, .main-nav a, .btn-primary {
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--color-gold);
  text-shadow: 2px 2px 0 #E9F2E3, 3px 3px 5px #B692390f;
}


/* ============= LAYOUT SPACING & FLEX CONTAINERS ============= */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.bg-accent {
  background: var(--color-accent);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}
.text-section {
  padding: 20px 12px 12px 5px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-offwhite);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  padding: 28px 24px 22px 24px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: transform .22s cubic-bezier(.47,.98,.62,.99), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-8px) scale(1.025) rotate(-1deg);
  box-shadow: 0 8px 40px -8px #C04A1E22, var(--shadow-soft);
  z-index: 2;
}

.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;
  margin-bottom: 40px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffef9;
  border-left: 8px solid var(--color-retro-orange);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 8px 32px -4px #24554514, var(--shadow-soft);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Special service card grid */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: var(--color-grey-1);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  flex: 1 1 280px;
  min-width: 220px;
  padding: 24px 16px 18px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), background-color var(--transition);
  border: 1.5px solid #f7f3e4;
}
.service-card:hover {
  background: var(--color-accent);
  box-shadow: 0 0 16px #B6923933, var(--shadow-soft);
}
.service-card .service-price {
  font-family: var(--font-display);
  color: var(--color-retro-red);
  background: var(--color-retro-yellow);
  border-radius: 8px;
  padding: 4px 13px;
  font-weight: 600;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* Section block styles */
.features-block, .contact-block, .contact-info-block {
  margin-bottom: 60px;
  padding-bottom: 8px;
}

/* .footer-wrapper layout */
.footer-wrapper {
  background: var(--color-footer-bg);
  border-top: 3px dotted #e1ad84;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 18px 20px 18px;
  border-radius: 40px 40px 0 0 / 36px 36px 0 0;
  box-shadow: 0 5px 24px #857b6622 inset;
}
.footer-wrapper ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-wrapper ul li a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
  padding-bottom: 3px;
  border-bottom: 2px dotted transparent;
  transition: border-color var(--transition), color var(--transition);
}
.footer-wrapper ul li a:hover {
  color: var(--color-retro-orange);
  border-bottom: 2px dotted var(--color-retro-orange);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 1rem;
  color: var(--color-secondary);
  font-family: var(--font-body);
}
.footer-contact img {
  width: 17px;
  margin-right: 7px;
  vertical-align: -3px;
}
.footer-wrapper small {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 20px;
  color: var(--color-secondary);
}

/* ======= HEADER, NAV, HERO ======= */
header {
  background: var(--color-light-bg);
  box-shadow: 0 4px 16px 0 #857b6612;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 17px 16px 17px 16px;
}
.main-nav > a img {
  height: 46px;
  width: auto;
  margin-right: 24px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 17px;
}
.main-nav ul li a {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  padding: 10px 6px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--color-retro-yellow);
  color: var(--color-retro-red);
}
.main-nav .btn-primary {
  margin-left: 20px;
}

/* HERO Section */
.hero {
  background: repeating-linear-gradient(135deg, #F6F3EF 0 64px, #E9F2E3 0 80px);
  border-bottom: 6px double var(--color-retro-orange);
  padding: 46px 0 36px 0;
}
.hero .container {
  padding: 0 13px;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 10px;
}
.hero p {
  font-size: 1.18rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

/* ======= BUTTONS ======= */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--color-retro-orange);
  color: var(--color-dark);
  font-size: 1.09rem;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: var(--radius-soft);
  text-transform: uppercase;
  letter-spacing: 1.7px;
  box-shadow: 0 2px 12px #da8b4a25, var(--shadow-soft);
  transition: background var(--transition), color var(--transition), transform .14s cubic-bezier(.51,1,.31,1.09);
  border: 2.5px solid var(--color-gold);
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-retro-red);
  color: #fff9ef;
  border-color: var(--color-retro-yellow);
  transform: scale(1.05) rotate(-1deg);
  text-shadow: 0 2px 8px #1e4a3a25;
}
.btn-primary:active {
  transform: scale(0.97) rotate(1deg);
}

/* ======= ICON LISTS & DETAILS ======= */
ul li, .text-section ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
}

/* ====== MOBILE NAVIGATION BURGER ====== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 20px;
  background: var(--color-retro-orange);
  color: var(--color-dark);
  font-size: 2.2rem;
  border-radius: var(--radius-round);
  border: 3px solid var(--color-gold);
  width: 52px;
  height: 52px;
  cursor: pointer;
  z-index: 1021;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 16px #C04A1E11;
  transition: background-color 0.19s, color 0.15s, border-color 0.15s;
}
.mobile-menu-toggle:focus {
  background: var(--color-retro-red);
  color: #fff9ef;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF9EF;
  z-index: 1100;
  transform: translateX(100vw);
  transition: transform 0.36s cubic-bezier(.76,0,.18,1), opacity 0.19s;
  opacity: 0;
  box-shadow: 0 0 40px #857b6640;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-retro-red);
  font-size: 2.2rem;
  margin: 20px 0 0 22px;
  align-self: flex-start;
  border: none;
  cursor: pointer;
  z-index: 1102;
  transition: color var(--transition);
}
.mobile-menu-close:hover {
  color: var(--color-retro-blue);
}
.mobile-nav {
  margin: 40px 0 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding-left: 42px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-retro-red);
  padding: 12px 0;
  transition: color var(--transition), background .18s;
  border-bottom: 1.6px dashed transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border-bottom: 1.6px dashed var(--color-retro-orange);
  padding-left: 7px;
}


/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fcf7ea;
  color: var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 23px 12px 23px 12px;
  box-shadow: 0 -2px 22px #e7bd8750;
  border-top: 3px dotted var(--color-retro-orange);
  gap: 18px;
  font-size: 1.01rem;
  animation: cookiebounceIn 0.35s cubic-bezier(.51,.06,.44,.97);
  transition: bottom 0.37s;
}
@keyframes cookiebounceIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.cookie-banner__actions {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: var(--font-display);
  background: var(--color-retro-yellow);
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 20px;
  border: 2.2px solid var(--color-retro-orange);
  padding: 10px 25px;
  margin-top: 0;
  cursor: pointer;
  box-shadow: 0 2px 10px #FFD70011;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-retro-red);
  color: #fff9ef;
  border-color: #C04A1E;
}
.cookie-banner__settings {
  background: none;
  color: var(--color-retro-blue);
  border: 2px dashed var(--color-retro-blue);
  margin-left: 6px;
  box-shadow: none;
}
.cookie-banner__settings:hover {
  color: var(--color-retro-red);
  border-color: var(--color-retro-red);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%) translateY(100vh);
  z-index: 1212;
  background: #FFF9EF;
  border: 3px solid var(--color-retro-orange);
  border-radius: 24px;
  padding: 32px 26px 28px 26px;
  box-shadow: 0 3px 32px #79705a40, 0 2px 12px #da8b4a13;
  width: 92vw;
  max-width: 420px;
  animation: cookieModalIn 0.39s cubic-bezier(.62,.12,.42,1.12);
  display: none;
}
.cookie-modal.open {
  display: block;
  transform: translateX(-50%) translateY(0);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateX(-50%) translateY(90px) scale(0.94); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-modal h3 {
  color: var(--color-retro-red);
  margin-top: 0;
}
.cookie-modal__categories {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 4px;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-retro-orange);
  width: 19px;
  height: 19px;
  border-radius: 5px;
  margin-right: 10px;
  border: 1.7px solid var(--color-gold);
}
.cookie-category input[disabled] {
  opacity: 0.55;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.cookie-modal__close {
  position: absolute;
  right: 16px;
  top: 8px;
  background: none;
  color: var(--color-retro-blue);
  font-size: 1.6rem;
  cursor: pointer;
  border: none;
}
.cookie-modal__close:hover {
  color: var(--color-retro-red);
}

/* ============ MISC RETRO ELEMENTS & DECOR ============ */
.section {
  background: none;
  border-radius: var(--radius-soft);
  box-shadow: none;
}
.features-block, .contact-block, .testimonial {
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}

.bg-accent {
  background: var(--color-accent);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
}

/* Nostalgic pattern for accent backgrounds */
.bg-accent {
  background-image: repeating-linear-gradient(-45deg, #e9f2e3, #e9f2e3 12px, #fff9ef 12px, #fff9ef 24px);
}

/* Subtle retro badges */
.badge-retro {
  display: inline-block;
  background: var(--color-retro-red);
  color: #fff9ef;
  font-family: var(--font-display);
  border-radius: 13px;
  font-size: .95rem;
  font-weight: 700;
  padding: 3.5px 13px;
  margin: 0 0 7px 5px;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 6px #c04a1e18;
}

/* ========== UTILITIES & REUSABLES ========== */
.mt-2  { margin-top: 16px !important; }
.mb-2  { margin-bottom: 16px !important; }
.mt-4  { margin-top: 32px !important; }
.mb-4  { margin-bottom: 32px !important; }
.flex-center {
  display: flex; align-items: center; justify-content: center;
}
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============ TRANSITIONS & MICRO-INTERACTIONS ============ */
.card, .btn-primary, .service-card, .main-nav ul li a {
  transition: box-shadow .18s, background .23s, color .18s, transform .15s, border-color .17s;
}
.testimonial-card, .footer-contact, .footer-wrapper ul li a {
  transition: background-color .17s, color .14s, border-color .13s;
}
input[type="checkbox"] {
  accent-color: var(--color-retro-orange);
  outline: none;
}

/* ========== RESPONSIVE/MOBILE ========== */
@media (max-width: 1080px) {
  .main-nav, .container {
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 12px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 30px 7vw;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.22rem; }
  .main-nav ul, .main-nav .btn-primary {
    display: none;
  }
  .main-nav {
    padding: 12px 8px 10px 10px;
  }
  .main-nav > a img {
    height: 37px;
    margin-right: 12px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 7px;
    max-width: 97vw;
  }
  .hero {
    padding: 22px 0 15px 0;
    border-bottom-width: 4px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 6px 24px 7px;
  }
  .card-container,
  .service-grid,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card, .service-card, .bg-accent, .testimonial-card {
    margin-bottom: 18px;
    padding: 12px 7px 17px 13px;
    min-width: unset;
    box-shadow: var(--shadow-soft);
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.98rem;
  }
  .features-block, .contact-block {
    margin-bottom: 32px;
    padding-bottom: 6px;
  }
  .footer-wrapper {
    border-radius: 25px 25px 0 0 / 17px 17px 0 0;
    padding: 20px 3vw 13px 3vw;
    gap: 8px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
  .text-image-section { flex-direction: column; gap: 11px; }
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.19rem; }
  h2, .h2 { font-size: 1.02rem; }
  .main-nav > a img { height: 29px; }
  .cookie-modal { padding: 20px 12px; max-width: 98vw; }
}

/* ========== PRINT FRIENDLY ========== */
@media print {
  .main-nav, .mobile-menu, .btn-primary, .cookie-banner, .cookie-modal, .footer-wrapper { display: none !important; }
  .container, .content-wrapper, .section, .hero, .text-section, .features-block, .testimonial-card { box-shadow: none !important; background: #fff !important; border: none !important; }
}
