/* CSS RESET & BASELINE 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F1FAFC;
  color: #244B63;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
}
:root {
  --primary: #244B63;
  --secondary: #F1FAFC;
  --accent: #49A078;
  --accent-dark: #23623B;
  --vintage-yellow: #FFD95A;
  --vintage-orange: #F28F3B;
  --vintage-rose: #E98A8A;
  --vintage-bg: #FEF6E4;
  --vintage-border: #DCB7A0;
  --vintage-brown: #887169;
}

/* TYPOGRAPHY - VINTAGE/RETRO FEEL */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary);
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.1;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 12px;
  line-height: 1.14;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #4d3c3a;
  margin-bottom: 12px;
  line-height: 1.7;
}
strong {
  color: var(--accent-dark);
}

/* VINTAGE RETRO DECORATION & PATTERNS */
body {
  background-color: var(--vintage-bg);
  /* Subtle vintage faded paper texture (base color only for compatibility) */
}

section, .section {
  background: #fffce9;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 5px 32px rgba(217, 130, 43, 0.06);
  border: 2px solid var(--vintage-border);
  position: relative;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/***** VINTAGE RETRO BUTTONS *****/
.cta-btn,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  padding: 13px 38px;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 30px;
  color: #fff;
  background: var(--accent);
  border: 2.5px solid var(--vintage-yellow);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(73,160,120,0.10);
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.19s, color 0.19s, transform 0.13s, box-shadow 0.15s;
  text-shadow: 0 2px 0 #32825430;
}
.cta-btn:hover,
button:hover, input[type="submit"]:hover {
  background: var(--vintage-orange);
  color: var(--primary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 24px rgba(241, 133, 16, 0.15);
}
.cta-btn:focus, button:focus, input[type="submit"]:focus {
  outline: 2px dotted var(--primary);
  outline-offset: 2px;
}

/***** HEADER & NAVIGATION *****/
header {
  background: var(--vintage-yellow);
  border-bottom: 4px double var(--vintage-brown);
  box-shadow: 0 1px 10px 0 #e7c87230;
  padding: 0 0 0.2em 0;
  position: relative;
  z-index: 10;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 12px 8px 12px;
  position: relative;
}
header img {
  max-height: 54px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 12px 4px 12px;
  color: var(--primary);
  border-radius: 4px;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  background: #fffce9;
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 4px 16px;
  margin-left: 8px;
  border: 2px solid var(--vintage-brown);
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s;
  z-index: 2100;
}
.mobile-menu-toggle:focus {
  outline: 2px dotted var(--accent);
}

/***** MOBILE MENU OVERLAY *****/
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--vintage-bg);
  box-shadow: 0 4px 64px 0 #98725030;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.39s cubic-bezier(0.79,0,0.18,1);
  padding: 0 0 0 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.35rem;
  color: var(--primary);
  border-radius: 50%;
  padding: 9px 16px 4px 16px;
  background: #f8ecd5;
  border: 2px solid var(--vintage-rose);
  margin: 18px 22px 10px 0;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.2s;
  z-index: 2200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--vintage-rose);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.26rem;
  font-weight: 800;
  background: #fffce9;
  padding: 10px 32px;
  border-radius: 16px;
  color: var(--primary);
  margin: 0 0 2px 0;
  transition: background 0.15s, color 0.14s;
  border-bottom: 2px solid var(--vintage-border);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-yellow);
  color: var(--accent);
}

/***** HERO SECTION *****/
.hero {
  background: linear-gradient(90deg, #FFD95A 0%, #F1FAFC 70%);
  border: 6px double var(--vintage-border);
  box-shadow: 0 12px 60px 0 #844c0b15;
  margin-bottom: 60px;
  padding: 56px 0 48px 0;
  border-radius: 32px;
}
@media (max-width: 1024px) {
  .hero {
    padding: 44px 0 36px 0;
  }
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 670px;
  gap: 18px;
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
}
.hero p {
  font-size: 1.15rem;
  color: #55423b;
}

/***** SERVICE CARDS - RETRO CARDS GRID *****/
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 36px 0 #49A07815;
  padding: 36px 26px 30px 26px;
  flex: 1 1 270px;
  max-width: 310px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 200px;
  gap: 7px;
  transition: box-shadow 0.16s, border 0.2s, transform 0.13s;
}
.service-card:hover, .service-card:focus-within {
  border-color: var(--vintage-orange);
  box-shadow: 0 10px 32px -2px #FFD95A36, 0 2px 22px 0 #49A07813;
  transform: translateY(-5px) scale(1.035);
  z-index: 7;
}
.service-card h3 {
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.service-card strong {
  color: var(--accent);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  margin-top: auto;
  font-family: 'Montserrat', Arial, sans-serif;
}

/***** TESTIMONIALS - VINTAGE CARDS *****/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px 14px 30px;
  background: #fff9e2;
  border-radius: 14px;
  box-shadow: 0px 4px 28px 0 #b4a07c30;
  border: 2px dashed var(--vintage-brown);
  margin-bottom: 22px;
  max-width: 540px;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #5b4a39;
  font-style: italic;
}
.testimonial-card span strong {
  color: var(--accent-dark);
}
.stars {
  font-size: 1.42rem;
  color: var(--vintage-orange);
  letter-spacing: 2px;
  margin-top: -12px;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 0 1px 3px #f2d38650;
}

/***** FOOTER *****/
footer {
  background: var(--vintage-yellow);
  border-top: 3.5px double var(--vintage-brown);
  padding: 34px 0 18px 0;
  font-size: 1rem;
  color: var(--primary);
}
footer .container {
  flex-direction: column;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.footer-nav a {
  color: var(--primary);
  text-decoration: underline dashed var(--vintage-brown);
  transition: color 0.14s;
}
.footer-nav a:hover {
  color: var(--accent-dark);
}
.footer-contact {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  color: #4e3a0e;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.footer-logo img {
  max-height: 44px;
}

/***** FAQ ACCORDION (minimal fallback styling) *****/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  border: 2px solid var(--vintage-rose);
  border-radius: 11px;
  background: #fffef9;
  padding: 18px 18px 10px 18px;
  margin-bottom: 12px;
  box-shadow: 0 2px 14px #e98a8a17;
  transition: box-shadow 0.14s, border 0.14s;
}
.faq-item:hover, .faq-item:focus-within {
  border-color: var(--accent);
  box-shadow: 0 4px 25px #23623B15;
}
.faq-item h3 {
  margin-bottom: 6px;
  color: var(--primary);
}

/***** TABLES (RETRO FLAT) *****/
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  background: #fff9ec;
  border: 2px solid var(--vintage-border);
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 1px 13px #fad6832a;
  overflow: hidden;
  margin-bottom: 16px;
}
th, td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px dotted #b7ae9c;
}
th {
  background: var(--vintage-yellow);
  color: var(--primary);
  font-family: 'Montserrat';
  font-weight: 800;
}
tr:last-child td {
  border-bottom: none;
}

/***** ICON GRID (FEATURES, ECO ICONS, etc) *****/
.features-icons, .eco-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.features-icons img, .eco-icons img {
  width: 50px;
  height: 50px;
  background: #fffce0;
  border: 1.5px solid #eedc8e;
  border-radius: 50%;
  padding: 7px;
  box-shadow: 0 2px 8px #ffd95a36;
}

/***** TEXT-IMAGES SECTION (fallback for usage if needed) *****/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/***** SECTION GAP & CARD CONTAINER LAYOUTS *****/
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** CTA SECTION (RETRO-COLOR SPOT) *****/
.cta-section {
  background: #E98A8A;
  border-radius: 22px;
  border: 3px dashed var(--vintage-brown);
  box-shadow: 0 6px 35px #e98a8a22;
  color: #fff;
  margin-bottom: 0;
}
.cta-section h2, .cta-section p {
  color: #fff;
}
.cta-section .cta-btn {
  background: #FFD95A;
  color: var(--primary);
  border-color: var(--vintage-border);
  margin-top: 16px;
}
.cta-section .cta-btn:hover {
  background: #FCB760;
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}
/***** ADDRESS MAP HIGHLIGHT *****/
.address-map p {
  background: #fffbe7;
  border-radius: 8px;
  padding: 11px 16px;
  color: var(--primary);
  font-style: italic;
  border: 1.5px solid #eedc8e;
  box-shadow: 0 1px 4px #ffd95a17;
}

/***** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #244B63;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 4000;
  box-shadow: 0 -2px 26px #244b6344;
  padding: 18px 10px 20px 10px;
  animation: fadeinbanner 0.6s cubic-bezier(.465,.183,.153,.946);
}
@keyframes fadeinbanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 18px;
  background: var(--vintage-yellow);
  color: var(--primary);
  font-weight: bold;
  border: 2px solid var(--vintage-rose);
  padding: 8px 23px;
  margin-right: 8px;
  transition: background 0.16s, color 0.13s;
  box-shadow: 0 1px 2px #fffbe1;
  cursor: pointer;
  font-size: 1rem;
}
.cookie-banner .cookie-btn:hover {
  background: var(--vintage-orange);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #fff9e2;
  color: var(--vintage-brown);
  border-color: var(--vintage-yellow);
  margin-left: 4px;
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--vintage-yellow);
  color: var(--primary);
}
/***** COOKIE MODAL *****/
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 46px;
  transform: translate(-50%,30px);
  background: #fffce9;
  color: var(--primary);
  border-radius: 26px;
  box-shadow: 0 10px 32px #244b6322;
  border: 3px solid var(--vintage-rose);
  min-width: 320px;
  max-width: 96vw;
  z-index: 4020;
  padding: 34px 32px 24px 32px;
  flex-direction: column;
  gap: 18px;
  font-size: 1.03rem;
  animation: cookiefadeinmodal 0.44s cubic-bezier(.3,0,.38,1.28);
}
.cookie-modal.open { display: flex; }
@keyframes cookiefadeinmodal {
  from { transform: translate(-50%,90px); opacity: 0; }
  to   { transform: translate(-50%,30px); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--accent-dark);
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: bold;
  color: var(--primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
}
.cookie-category.essential label {
  color: var(--accent-dark);
  font-weight: 700;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  border-radius: 13px;
}

/***** UTILITIES *****/
.hide {
  display: none!important;
}

/***** RESPONSIVENESS & MOBILE RULES (MOBILE FIRST) *****/
@media (max-width: 1140px) {
  .container {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .service-cards {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .header-top {
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav {
    gap: 7px;
    font-size: 0.96rem;
  }
}
@media (max-width: 820px) {
  .service-cards {
    gap: 13px;
  }
  .service-card {
    padding: 22px 13px 16px 13px;
    min-width: 140px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .header-top {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px 5px 4px 5px;
    gap: 0;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: 10px;
  }
  .hero {
    padding: 32px 0 28px 0;
  }
  .section, section:not(.hero) {
    padding: 24px 8px;
    margin-bottom: 38px;
  }
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .service-cards {
    flex-direction: column;
    gap: 16px;
  }
  .service-card {
    max-width: 100%;
    width: 100%;
  }
  .cta-section {
    padding: 20px 5px;
    border-radius: 15px;
    margin-bottom: 0;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 13px 12px 7px 12px;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  table {
    font-size: 0.98rem;
  }
}
@media (max-width: 525px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.10rem; }
  .hero h1 { font-size: 1.22rem; }
  .section, section:not(.hero) {
    padding: 15px 2px;
  }
  .cookie-modal { min-width: 0; padding: 20px 7px 15px 7px; }
  .mobile-menu { padding: 0; }
  .footer-logo img { max-height: 34px; }
}

/* Prevent overlapping and enforce minimum margin between cards & sections */
.section, section {
  margin-bottom: 60px;
}
.card, .service-card, .testimonial-card {
  margin-bottom: 20px;
}
.card-container, .content-grid, .service-cards, .features-icons, .eco-icons, .faq-accordion {
  gap: 20px;
}

/***** MICROINTERACTIONS *****/
.cta-btn, .cookie-btn, button, input[type="submit"] {
  transition: background 0.16s, color 0.14s, transform 0.12s, box-shadow 0.11s;
}
.cta-btn:active, button:active, input[type="submit"]:active, .cookie-btn:active {
  transform: scale(0.97) translateY(1px);
}
.service-card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 40px #e98a8a23;
}

/***** PRINT STYLES - Clean up for print *****/
@media print {
  header, footer, .cookie-banner, .cookie-modal, .mobile-menu { display: none !important; }
  body { background: #fff; }
  .section, section, .service-card { box-shadow: none; border: none; }
}
