/* RESET & 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, 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;
}
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* VINTAGE RETRO COLOR SCHEME & VARIABLES */
:root {
  --color-primary: #27465C;
  --color-secondary: #86B8C6;
  --color-accent: #F1E9DA;
  --color-retro1: #F5CF86;
  --color-retro2: #B97850;
  --color-retro3: #265250;
  --color-retro4: #DA5C4A;
  --color-retro-border: #DDBE97;
  --color-bg: #F9F6F2;
  --color-bg-strong: #F1E9DA;
  --color-text: #22201B;
  --color-header-bg: #F5CF86;
  --color-footer-bg: #B97850;
  --shadow-card: 0 4px 20px rgba(60,44,33,0.08), 0 1.5px 0 rgba(205,157,102, 0.07);
}

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

body {
  background: var(--color-bg);
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-text);
  font-size: 16px;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  color: var(--color-primary);
  text-shadow: 0 2px 0 #f1e9da44;
}
h1 { font-size: 2.3rem; font-weight: 900; margin-bottom: 18px; letter-spacing: 1.5px; }
h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 1.2px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 1px; }
.subtitle {
  font-size: 1.05rem; color: var(--color-retro2); margin-bottom: 24px; font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
}

strong { color: var(--color-retro4); font-weight: bold; }

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}

main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-strong);
  border-radius: 26px;
  box-shadow: var(--shadow-card);
}

main > section:nth-child(even) {
  background: var(--color-accent);
}

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

.text-section {
  font-size: 1.07rem;
  color: var(--color-text);
  background: transparent;
  border-radius: 8px;
  padding: 0;
  margin-bottom: 12px;
  line-height: 1.7;
}
.text-section ul {
  margin-left: 1.1em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: disc inside;
}
.text-section li {
  padding-left: 0;
  color: var(--color-retro3);
}
.text-section p img { vertical-align: middle; margin-right: 8px; }

/* Header */
header {
  background: var(--color-header-bg);
  border-bottom: 2px dashed var(--color-retro-border);
  box-shadow: 0 2px 0 #dabe97cc, 0 6px 16px #e9e2cc22;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 18px 18px;
}
header img { height: 44px; width: auto; display: block; }
nav {
  display: flex; gap: 18px;
}
nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  position: relative;
  padding: 6px 0;
  transition: color 0.16s;
}
nav a:after {
  content:'';
  display:block;
  height: 2px;
  background: var(--color-retro3);
  width: 0%;
  transition: width 0.25s;
  border-radius: 1px;
}
nav a:hover,
nav a:focus {
  color: var(--color-retro4);
}
nav a:hover:after,
nav a:focus:after {
  width: 100%;
}
.primary-btn {
  background: var(--color-secondary);
  color: var(--color-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 14px 34px;
  border-radius: 36px;
  box-shadow: 0 2px 0 var(--color-retro-border);
  border: 2px solid var(--color-retro-border);
  outline: none;
  margin-left: 24px;
  transition: background 0.23s, box-shadow 0.2s, color 0.2s, transform 0.1s;
  position: relative;
}
.primary-btn:hover, .primary-btn:focus {
  background: var(--color-retro4);
  color: #fff;
  border-color: var(--color-retro4);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 18px #b9785055;
}

.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 9px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  z-index: 1102;
  border: 2px solid var(--color-retro-border);
  box-shadow: 0 2px 0 var(--color-retro-border);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { background: var(--color-retro4); color: #fff; }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-retro1);
  box-shadow: 0 8px 40px #b9785022;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  padding-top: 20px;
  padding-right: 14px;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.64,.02,.29,1.01);
  will-change: transform;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  font-size: 32px;
  background: var(--color-retro4);
  color: #fff;
  border-radius: 9px;
  width: 46px; height: 46px;
  margin-bottom: 18px; border: 2px solid var(--color-retro-border);
  box-shadow: 0 2px 0 var(--color-retro-border);
  align-items: center; justify-content: center; display: flex;
}
.mobile-nav {
  display: flex; flex-direction: column;
  gap: 18px;
  width: 100vw; align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 12px 8px;
  border-radius: 8px;
  width: calc(100vw - 72px);
  background: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-retro3);
  color: #fff;
}

@media (max-width: 1040px) {
  nav { gap: 10px; }
}
@media (max-width: 900px) {
  nav { display: none; }
  .primary-btn { margin-left: 12px; font-size: 0.98rem; padding: 13px 24px; }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  header img { height: 32px; }
  .primary-btn { font-size: 0.93rem; padding: 12px 18px; }
}

/* SECTION PATTERNS */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--color-accent); border-radius: 18px; box-shadow: var(--shadow-card); padding: 28px 18px; }
.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: #fffbe6; border-radius: 15px; box-shadow: 0 2px 8px #b9785022; border: 1px solid var(--color-retro-border); margin-bottom: 14px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* FEATURES GRID */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  margin-bottom: 12px;
}
.features-grid > div {
  background: #fffbef;
  border: 1.5px dashed var(--color-retro-border);
  border-radius: 14px;
  box-shadow: 0 2px 12px #ceb07416;
  flex: 1 1 190px;
  min-width: 220px; max-width: 270px;
  padding: 22px 18px;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  transition: box-shadow .2s, transform .18s;
  margin-bottom: 20px;
}
.features-grid > div:hover, .features-grid > div:focus {
  box-shadow: 0 8px 28px #b9785044, 0 2px 0 #f5cf86cc;
  transform: translateY(-2.5px) scale(1.028);
}
.features-grid img {
  height: 46px; width: 46px;
  margin-bottom: 8px;
}
.features-grid h3 {
  color: var(--color-retro3);
  margin-bottom: 6px;
}
.features-grid p {
  color: var(--color-retro2);
  font-size: 0.98rem;
}

/* SERVICE LISTS */
.service-list, .service-list > div, .service-list > li {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-list > li, .service-list > div {
  background: #fffbe4;
  border: 1.5px solid var(--color-retro-border);
  border-radius: 11px;
  box-shadow: 0 1.5px 7px #ffeece17;
  padding: 22px 18px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .17s, transform .1s;
}
.service-list > li:hover, .service-list > div:hover {
  box-shadow: 0 7px 24px #b9785054, 0 2px 0 #ccb17ccc;
  transform: translateY(-2px) scale(1.019);
}
.service-list img {
  height:32px; width:32px; margin-bottom: 8px;
}
.service-price {
  color: var(--color-retro3);
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 900;
  font-size: 1.03rem;
  display: inline-block;
  margin-top: 8px;
  background: var(--color-retro1);
  border-radius: 7px;
  padding: 5px 16px;
  border: 1px solid var(--color-retro-border);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fffbe6;
  border: 1.5px solid var(--color-retro-border);
  box-shadow: 0px 2px 10px #ffc07f1a;
  border-radius: 15px;
  padding: 20px 24px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.14s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--color-retro3);
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-retro2);
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.3px;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 35px #b9785066, 0 2px 0 #f9e6c2;
  transform: translateY(-1.5px) scale(1.014);
}

/* INFO MESSAGE */
.info-message {
  padding: 18px 24px;
  background: var(--color-retro1);
  border-radius: 11px;
  border: 1.2px solid var(--color-retro-border);
  color: var(--color-primary);
  font-size: 1.04rem;
  margin-top: 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 14px #ffd2671a;
  display: flex; flex-direction: column; gap:14px;
  align-items: flex-start;
}

/* FOOTER */
footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 42px 0 18px 0;
  border-top: 3px dotted var(--color-retro-border);
  box-shadow: 0 -1.5px 0 #eedab7cc;
  letter-spacing: 0.05em;
}
footer .container {
  max-width: 1150px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  max-width: 340px;
}
.footer-brand img { height: 50px; width:auto; }
.footer-brand p { font-size: 1.03rem; color: #fff2de; line-height: 1.7; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-nav a {
  color: #fffbe1;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--color-retro1); }

/* COOKIE CONSENT BANNER */
#cookie-consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--color-retro2);
  color: #fffbe7;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1300;
  box-shadow: 0 -4px 24px #95613840;
  animation: cookieBannerFadeIn 0.85s cubic-bezier(.18,.46,.46,1.01);
  font-size: 1.09rem;
}
@keyframes cookieBannerFadeIn { from { opacity: 0; transform: translateY(48px);} to { opacity:1;} }
#cookie-consent-banner .cookie-btn-group {
  display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 24px;
  border: none;
  margin: 0 3px;
  background: var(--color-secondary);
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  border: 1.8px solid var(--color-retro-border);
  box-shadow: 0 1.5px 0 var(--color-retro-border);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-retro4);
  color: #fff;
  transform: translateY(-2px);
}
#cookie-consent-banner .cookie-btn.cookie-settings {
  background: var(--color-retro1);
  color: var(--color-primary);
}
#cookie-consent-banner .cookie-btn.cookie-settings:hover { background: var(--color-primary); color: #fff; }

/* COOKIE MODAL */
#cookie-modal-backdrop {
  position: fixed; left:0; top:0; width:100vw; height:100vh; z-index: 1400; background: rgba(28,18,10,0.37); display: flex; align-items:center; justify-content:center; opacity:1; animation: cookieModalFadeIn 0.34s cubic-bezier(.30,.72,.52,0.93);
  pointer-events: auto;
}
@keyframes cookieModalFadeIn { from { opacity:0;} to{opacity:1;} }
#cookie-modal {
  background: #fffbe6;
  color: var(--color-primary);
  border-radius: 20px;
  max-width: 430px;
  width: 98vw;
  box-shadow: 0 10px 36px #b9785055, 0 2px 0 #f5cf86cc;
  padding: 38px 26px 26px 26px;
  position: relative;
  font-size: 1.06rem;
  display: flex; flex-direction: column;
  gap: 23px;
}
#cookie-modal h2 {
  font-size: 1.45rem;
  color: var(--color-retro3);
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-category {
  background: var(--color-retro1);
  color: var(--color-primary);
  border-radius: 8px;
  padding: 11px 16px;
  border: 1.3px solid var(--color-retro-border);
  display: flex; align-items: center; gap: 12px;
}
.cookie-toggle-label {
  font-size: 1rem; font-family: 'Montserrat', Arial, sans-serif; flex: 1;
}
.cookie-switch {
  width: 44px; height: 24px; border-radius: 12px; background: var(--color-secondary); position: relative; transition: background .19s;
  cursor: pointer; flex-shrink: 0; border: 1.5px solid var(--color-retro-border);
}
.cookie-switch[aria-checked="true"] {
  background: var(--color-retro4); border-color: var(--color-retro4);
}
.cookie-switch-inner {
  width: 100%; height: 100%; display: block;
}
.cookie-switch-knob {
  position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fffbe7; box-shadow: 0 0.5px 1.5px #2221; transition: left .2s, background .17s;
}
.cookie-switch[aria-checked="true"] .cookie-switch-knob { left: 22px; background: #ffe3d2; }
#cookie-modal .modal-btn-group { display: flex; gap: 14px; margin-top:8px; }
#cookie-modal .cookie-modal-close {
  position: absolute; right: 18px; top: 14px;
  background: var(--color-retro4); color: #fff; border-radius: 9px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; border: 1px solid var(--color-retro-border);
}
#cookie-modal .cookie-modal-close:hover { background: var(--color-primary); }

/* CARD & LAYOUT SPACING */
.card, .features-grid > div, .service-list > li, .service-list > div, .testimonial-card {
  margin-bottom: 20px;
}
.section:not(:last-child) { margin-bottom: 60px; }

/* Responsive & Mobile -- MOBILE FIRST */
@media (max-width: 900px) {
  main > section { padding: 30px 4vw; }
  .container { padding: 0 8px; }
  .footer-brand img { height: 36px; }
  .footer-brand { max-width: 250px; }
  .testimonials-grid { gap: 14px; }
  .features-grid { gap: 14px; }
  .features-grid > div { min-width: 155px; max-width: 100%; padding: 14px 8px; }
}
@media (max-width: 768px) {
  .content-wrapper, main > section, .testimonials-grid, .features-grid, .footer-brand, .footer-nav, .info-message {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .features-grid { justify-content: flex-start; }
  .testimonials-grid { justify-content: flex-start; }
  .footer-brand, .footer-nav { align-items: flex-start; }
  .footer-brand img { height: 28px; }
  footer .content-wrapper { flex-direction: column; gap: 18px; align-items: stretch; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.03rem; }
  main > section { padding: 23px 2vw; border-radius: 13px; }
  .features-grid > div,
  .service-list > li, .service-list > div, .testimonial-card {
    padding: 13px 7px;
  }
  .primary-btn, .cookie-btn, #cookie-consent-banner .cookie-btn {
    font-size: 0.94rem; padding: 11px 14px;
  }
}

/* VISUAL RETRO EFFECTS AND PATTERNS */
.section, .features-grid > div, .card, .info-message, .testimonial-card {
  background-image:
    repeating-linear-gradient(135deg, #efddc6 0px, #f1e9da 8px, transparent 18px, transparent 24px);
  background-blend-mode: multiply;
}
.card {
  border: 2px solid var(--color-retro-border);
  box-shadow: var(--shadow-card);
}

/* Miscellaneous */
::-webkit-scrollbar { width: 10px; background: #eedab7; }
::-webkit-scrollbar-thumb {
  background: var(--color-retro2);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-retro4); }

/* Animations for micro-interactions */
.primary-btn, .cookie-btn, .service-list > li, .testimonial-card, .features-grid > div {
  transition: box-shadow .21s, background .23s, color .18s, transform .12s;
}

/* Accessibility / Focus */
a:focus, .primary-btn:focus, button:focus, .cookie-btn:focus, .footer-nav a:focus {
  outline: 3px dotted var(--color-retro4);
  outline-offset: 2px;
}

/* Disabled element */
[aria-disabled="true"], [disabled] {
  opacity: 0.57;
  pointer-events: none;
  filter: grayscale(0.35);
}
