/* ===========================
   RESET & BASE STYLES
   =========================== */
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, 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.6;
  font-family: 'Arial', Verdana, sans-serif;
  background: #fcfaf3;
  color: #29485A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

/* Scrollbar (Vintage thin) */
::-webkit-scrollbar { width:8px; background: #F6EDD9; }
::-webkit-scrollbar-thumb { background: #A4BD54; border-radius: 10px; }

/* ===========================
   VINTAGE RETRO COLORS & FONTS
   =========================== */
:root {
  --primary: #29485A;
  --primary-light: #315569;
  --secondary: #fcfaf3;
  --accent: #A4BD54;
  --accent-soft: #d7eab1;
  --brown: #9D8674;
  --retro-orange: #F4B266;
  --retro-green: #A4BD54;
  --retro-yellow: #FFD67F;
  --retro-blue: #6A99A6;
  --dark-text: #3D2716;
  --light-bg: #fcfaf3;
  --white: #fff;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), local('Montserrat-Regular'),
    url('https://fonts.gstatic.com/s/montserrat/v25/JTUQjIg1_i6t8kCHKm4532VJOt5-QNFgpCk3.woff2') format('woff2');
  font-display: swap;
}

body {
  font-family: 'Arial', Verdana, sans-serif;
  font-size: 16px;
  background: var(--light-bg);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol { color: var(--dark-text); margin-bottom: 14px; }
strong { font-weight: 700; }
em { color: var(--brown); }

/* VINTAGE NUMBERS & PRICES */
.price {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--retro-yellow);
  color: var(--primary);
  padding: 2px 10px 2px 10px;
  border-radius: 18px 8px 18px 8px;
  font-weight: 900;
  font-size: 1.1em;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

/* ===========================
   LAYOUT CONTAINERS & SECTIONS
   =========================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  background: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 26px;
  box-shadow: 0 3px 12px 0 rgba(41,72,90,0.09), 0 1.5px 0px 0 var(--accent-soft);
}
@media (max-width: 768px) {
  .section { padding: 22px 5px; margin-bottom: 38px; border-radius: 14px; }
  .container { padding: 0 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff9ed;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 18px 0 rgba(204,169,85,0.08), 0 1.5px 0px 0 var(--accent-soft);
  padding: 28px 26px 26px 26px;
  min-width: 270px;
  flex: 1 1 320px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 24px 0 rgba(165,120,20,0.23);
  transform: translateY(-4px) scale(1.025);
}

/* Specific service grid */
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-card {
  background: #FCF7E7;
  border-radius: 22px;
  border: 1.5px solid var(--retro-yellow);
  box-shadow: 0 3px 16px 0 rgba(41,72,90,0.13);
  flex: 1 1 245px;
  min-width: 220px;
  max-width: 340px;
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
  transition: box-shadow 0.21s, background 0.4s;
}
.service-card:hover {
  box-shadow: 0 10px 32px 0 rgba(244,178,102,0.22);
  background: var(--retro-yellow);
}

.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;
}
@media (max-width: 768px) {
  .service-grid, .content-grid, .card-container, .text-image-section {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
  }
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
header {
  width: 100%;
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 2px 8px 0 rgba(41,72,90,0.07);
  border-bottom: 5px solid var(--accent);
  position: relative;
  z-index: 21;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  padding: 14px 18px 10px 18px;
}
header a img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07em;
  align-items: center;
}
.main-nav a {
  color: var(--secondary);
  padding: 8px 12px;
  position: relative;
  border-radius: 10px;
  transition: background 0.18s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.cta.primary {
  background: var(--retro-orange);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 30px;
  border-radius: 22px 13px 22px 13px;
  border: none;
  font-size: 1.10em;
  box-shadow: 0 1px 12px 0 rgba(244,178,102,0.19);
  transition: background 0.18s, color 0.13s, box-shadow 0.20s;
  margin-left: 10px;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 4px 32px 0 rgba(44,41,32,0.15);
  text-decoration: underline;
}
.cta.secondary {
  background: var(--primary-light);
  color: var(--secondary);
  border-radius: 14px 24px 14px 24px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 26px;
  box-shadow: 0 2px 6px 0 rgba(41,72,90,0.08);
  margin-top: 24px;
  border: none;
  font-size: 1em;
  transition: background 0.18s, color 0.13s;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--accent);
  color: var(--primary);
}

/* Hamburger menu styles */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--accent);
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  margin-left: 12px;
  transition: color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--retro-orange);
}
@media (max-width:900px) {
  .main-nav { display: none !important; }
  .cta.primary { display: none !important; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--secondary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.45,0,0.55,1);
  padding: 0;
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.3rem;
  margin: 18px 22px 4px auto;
  outline: none;
  cursor: pointer;
  z-index: 14;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  padding: 18px 38px;
  margin-top: 8px;
}
.mobile-nav a {
  color: var(--retro-yellow);
  font-size: 1.25em;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 0;
  border-bottom: 2.5px dotted var(--retro-orange);
  transition: color 0.13s, background 0.1s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  background: rgba(255,255,255,0.08);
}
@media (max-width:900px) {
  .mobile-menu { display: flex; }
  .container { max-width: 100vw; }
}
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ===========================
   HERO/INTRO SECTION
   =========================== */
section:first-of-type .content-wrapper {
  padding: 30px 10px 36px 10px;
  align-items: flex-start;
  background: repeating-linear-gradient(45deg, var(--accent-soft), var(--light-bg) 20px, var(--retro-yellow) 23px, var(--light-bg) 28px);
  border-radius: 26px;
  box-shadow: 0 8px 30px 0 rgba(163,95,22,0.06);
  margin-bottom: 20px;
  gap: 18px;
}
section:first-of-type h1 {
  color: var(--primary-light);
  text-shadow: 1.5px 2px 0px var(--retro-yellow);
  font-size: 2.1rem;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
section:first-of-type p {
  max-width: 650px;
  font-size: 1.08em;
  margin-bottom: 12px;
  color: var(--brown);
  letter-spacing: 0.01em;
}

/* ===========================
   LISTS & ICONS
   =========================== */
ul {
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 7px 0;
  font-size: 1em;
  line-height: 1.7;
  color: var(--dark-text);
}
ul li img, ol li img {
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border-radius: 14px;
  padding: 3.5px;
  margin-right: 5px;
  box-shadow: 0 1.5px 6px 0 rgba(119,95,36,0.08);
}

@media (max-width: 768px) {
  ul li, ol li { font-size:1em; gap: 11px; }
  ul li img, ol li img { width: 26px; height: 26px; padding: 3px; }
}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--retro-yellow);
  color: #3D2716;
  border-radius: 12px 26px 16px 26px;
  border: 1.5px solid var(--accent-soft);
  margin-bottom: 22px;
  box-shadow: 0 2px 14px 0 rgba(44,41,32,0.10);
  position: relative;
  font-size: 1.02em;
  transition: box-shadow 0.14s, background 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 22px 0 rgba(218,156,65,0.14);
  background: var(--retro-orange);
}
.testimonial-card p {
  color: #503808;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-card span {
  color: #6A4B18;
  font-size: 0.95em;
  font-style: italic;
}

/* Dark text on light bg for contrast (critical) */
.testimonial-card, .testimonial-card * {
  color: #3D2716;
}

/* ===========================
   TABLES (PRICING TABLES)
   =========================== */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 18px 0 rgba(41,72,90,0.10);
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  overflow: hidden;
  font-size: 1.09em;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 14px 18px;
  line-height: 1.6;
}
.pricing-table thead {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pricing-table tbody tr {
  border-bottom: 1.5px solid var(--accent-soft);
  background: #fcfaf3;
}
.pricing-table strong { color: var(--primary); }
@media (max-width: 576px) {
  .pricing-table th, .pricing-table td { padding: 8px 8px; font-size: 0.93em; }
  .pricing-table th { font-size: 1.00em; }
}

/* ===========================
   CTA BANNERS
   =========================== */
.cta-banner {
  background: var(--retro-green);
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(164,189,84,0.18);
  padding: 32px 10px 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: 16px;
  gap: 18px;
}
.cta-banner h2 {
  color: var(--primary);
  font-size: 1.6em;
  text-shadow: 1.5px 2px 0px var(--secondary);
  margin-bottom: 7px !important;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--primary-light);
  color: var(--secondary);
  border-top: 3.5px solid var(--accent);
  font-size: 1em;
  margin-top: 80px;
  padding: 26px 0 18px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-nav, .footer-contact, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--retro-yellow);
  font-size: 1em;
  letter-spacing: .02em;
  transition: color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
}
.footer-contact p {
  color: var(--retro-yellow);
}
.footer-social {
  flex-direction: row;
  gap: 16px;
  margin-top: 7px;
}
.footer-social a img {
  width: 30px;
  height: 30px;
  background: var(--accent);
  border-radius: 8px;
  padding: 4px;
  transition: box-shadow .12s, background .15s;
}
.footer-social a:hover img, .footer-social a:focus img {
  background: var(--retro-yellow);
  box-shadow: 0 0 12px 0 var(--accent-soft);
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===========================
   CONTACT-INFO BLOCKS
   =========================== */
.contact-info {
  background: var(--accent-soft);
  border-radius: 15px;
  padding: 18px 20px;
  font-size: 1.02em;
  margin-bottom: 14px;
  box-shadow: 0 1.5px 10px 0 rgba(164,189,84,0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
}
.contact-info p {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .contact-info { flex-direction: column; gap: 8px; padding: 11px 10px; }
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #F4B266;
  color: #3D2716;
  width: 100vw;
  min-height: 58px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 32px 0 rgba(44,41,32,0.08);
  padding: 16px 10px 14px 10px;
  font-size: 1.09em;
  gap: 24px;
  transition: transform 0.32s cubic-bezier(0.45,0,0.55,1), opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  flex: 1 1 320px;
  max-width: 650px;
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 13px;
  padding: 8px 22px;
  font-size: 1em;
  color: var(--primary);
  background: var(--accent-soft);
  margin-top: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}
.cookie-banner .accept {
  background: var(--accent);
  color: #29485A;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--primary-light);
  color: var(--retro-yellow);
}
.cookie-banner .reject {
  background: transparent;
  border: 2px solid var(--retro-yellow);
  color: #3D2716;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
.cookie-banner .settings {
  background: var(--primary-light);
  color: var(--retro-yellow);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
    padding: 13px 4px 11px 4px;
    font-size: 0.99em;
  }
  .cookie-btn-group {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
  }
}

/* Cookie Modal Dialog */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,72,90,0.16);
  z-index: 10010;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  opacity: 1;
  animation: cookieIn 0.32s cubic-bezier(0.45,0,0.55,1) forwards;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookieIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: var(--secondary);
  border-radius: 22px;
  box-shadow: 0 5px 44px 0 rgba(164,189,84,0.13);
  max-width: 388px;
  padding: 37px 29px 22px 29px;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  z-index: 10;
  position: relative;
  min-width: 220px;
}
.cookie-modal h3 {
  font-size: 1.16em; margin-bottom: 14px;
}
.cookie-modal label {
  font-weight: 600;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}
.cookie-modal input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  border-radius: 4px;
}
.cookie-modal .cookie-cat.essential label {
  color: #4b854d;
  opacity: 0.69;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  border: none;
  border-radius: 13px;
  padding: 8px 20px;
  color: var(--secondary);
  background: var(--primary-light);
  transition: background 0.17s, color 0.13s;
  cursor: pointer;
}
.cookie-modal button.save {
  background: var(--retro-green);
  color: var(--primary);
}
.cookie-modal button.close {
  background: var(--retro-orange);
  color: var(--primary);
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
/* Close (X) position for modal */
.cookie-modal .modal-content .close-modal {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.55em;
  position: absolute;
  right: 17px; top: 13px;
  cursor: pointer;
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */
@media (max-width: 1040px) {
  .container { max-width: 95vw; }
  .service-card, .card, .testimonial-card { min-width:180px; }
}
@media (max-width: 900px) {
  .footer-nav, .footer-contact, .footer-social {
    margin-bottom: 8px;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }
  .cta-banner, .cta.primary, .cta.secondary { font-size: 1em; }
}
@media (max-width: 410px) {
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1rem; }
}

/* ===========================
   ANIMATIONS & TRANSITIONS
   =========================== */
.card, .service-card, .testimonial-card, .cta-banner {
  transition: box-shadow 0.22s, background 0.25s, transform 0.22s;
}
.button, .cta, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.14s, box-shadow 0.17s;
}

/* =======================
   PRINT TWEAKS
   ======================= */
@media print {
  nav, .mobile-menu, .cookie-banner, .cookie-modal, .mobile-menu-toggle, .footer-social { display: none !important; }
}

/* =======================
   HELPER CLASSES
   ======================= */
.text-section {
  max-width: 738px;
  margin: 0 auto;
  width: 100%;
}

/* =======================
   OVERRIDES FOR CLASSES
   ======================= */
@media (max-width: 768px) {
  .cookie-modal .modal-content { padding:18px 6px 11px 14px; min-width:90vw; }
  .cta-banner { padding: 18px 2px 13px 7px; }
}
