/* === 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, 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; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; -webkit-font-smoothing: antialiased; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a { text-decoration: none; color: inherit; }
img {
  max-width: 100%;
  height: auto;
  border-style: none;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

/* === VINTAGE RETRO COLOR SCHEME === */
:root {
  --green-primary: #235452;
  --green-secondary: #68B684;
  --accent-light: #F5F2EF;
  --retro-orange: #FFB960;
  --retro-yellow: #FEF5C3;
  --retro-pink: #EF99A6;
  --retro-blue: #83B5D1;
  --retro-brown: #AF8B62;
  --text-dark: #2C302B;
  --text-light: #FFF;
  --shadow-color: rgba(44, 48, 43, 0.09);
  --shadow-lg: 0 6px 28px 0 rgba(44, 48, 43, 0.14);
  --border-radius: 16px;
  --border-radius-sm: 7px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* === 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,400i,700,700i&display=swap');

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background-color: var(--accent-light);
  line-height: 1.6;
  letter-spacing: 0.02em;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 900;
  color: var(--green-primary);
}

h1 {
  font-size: 2.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 var(--retro-yellow);
}
h2 {
  font-size: 2rem;
  color: var(--retro-orange);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  color: var(--green-secondary);
}

strong, b {
  color: var(--green-primary);
  font-weight: 700;
}

p {
  margin-bottom: 16px;
  font-size: 1rem;
}

/* === CONTAINERS & GENERAL SPACING === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 650px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent-light);
}

/* === NAVIGATION & HEADER === */
header {
  background: var(--retro-yellow);
  border-bottom: 4px solid var(--green-secondary);
  padding-top: 0;
  position: sticky;
  z-index: 50;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0 12px 0;
  font-size: 1.05rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--green-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
}
.main-nav a.cta-primary {
  background: var(--retro-orange);
  color: var(--text-dark);
  padding: 7px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px 0 rgba(175,139,98,0.10);
  font-size: 1.09rem;
  margin-left: 12px;
  text-shadow: 0 1px 0 var(--retro-yellow);
  border: 2px solid var(--green-secondary);
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: var(--green-secondary);
  color: var(--text-light);
  box-shadow: 0 2px 12px var(--shadow-color);
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--green-primary);
  color: var(--retro-yellow);
  border-color: var(--green-primary);
  box-shadow: 0 4px 18px var(--shadow-color);
}
.main-nav img {
  height: 46px;
  margin-right: 12px;
}

/* --- Hamburger (Mobile menu) --- */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  color: var(--green-primary);
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 4px 12px;
  margin-left: auto;
  border: 2px solid var(--green-secondary);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--green-secondary);
  color: var(--text-light);
  box-shadow: 0 0 6px var(--shadow-color);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--retro-yellow);
  z-index: 9999;
  box-shadow: 0 4px 22px rgba(44, 48, 43,0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.43,0,.3,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  color: var(--green-primary);
  background: none;
  border: none;
  align-self: flex-end;
  margin-top: 22px;
  margin-bottom: 18px;
  padding: 2px 16px;
  border-radius: 50%;
  border: 2px solid var(--green-secondary);
  transition: background var(--transition);
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--green-secondary);
  color: var(--text-light);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  padding: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-primary);
  background: none;
  margin-bottom: 6px;
  border-bottom: 2px dashed var(--green-secondary);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--retro-orange);
  background: var(--green-secondary);
}

@media (max-width: 1110px) {
  .container {
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
}
@media (max-width: 980px) {
  .main-nav {
    gap: 18px;
    font-size: 0.98rem;
  }
  .main-nav img { height: 38px; }
}
@media (max-width: 860px) {
  .main-nav img { height: 30px; }
  .main-nav { gap: 9px; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 19px;
    right: 20px;
    z-index: 100;
  }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* === HERO SECTIONS & CTA === */
.hero {
  background: repeating-linear-gradient(-45deg, var(--retro-yellow) 0 18px, var(--retro-orange) 18px 34px, var(--retro-yellow) 34px 52px);
  padding: 60px 0 30px 0;
  border-bottom: 4px solid var(--green-secondary);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  color: var(--green-primary);
  text-shadow: 2px 2px 0 var(--retro-brown),0 1px 0 var(--retro-yellow);
  margin-bottom: 16px;
  font-size: 2.35rem;
}
.hero p {
  color: var(--green-primary);
  font-size: 1.13rem;
  margin-bottom: 14px;
}

.cta {
  background: var(--retro-yellow);
  margin-bottom: 0;
  border-top: 3px dashed var(--retro-brown);
  border-bottom: 3px dashed var(--green-primary);
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  font-size: 2rem;
  color: var(--green-primary);
  margin-bottom: 14px;
}
.cta p {
  max-width: 540px;
}
.cta-primary {
  display: inline-block;
  background: var(--green-secondary);
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  padding: 13px 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px var(--shadow-color);
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 16px;
  border: 2px solid var(--green-primary);
  text-shadow: 1px 1px 0 var(--green-primary), 0 1px 0 var(--accent-light);
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--green-primary);
  color: var(--retro-yellow);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 26px var(--shadow-color);
}

/* === FLEX PATTERN MANDATORY CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--retro-yellow);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 18px var(--shadow-color);
  padding: 26px 20px;
  border: 2px solid var(--green-secondary);
}
.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: var(--retro-yellow);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 14px var(--shadow-color);
  border: 2px solid var(--green-secondary);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  max-width: 670px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURE & SERVICE GRID === */
.features .feature-grid, .features .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature {
  background: var(--accent-light);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--shadow-color);
  border: 2px solid var(--green-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 22px 20px 22px;
  min-width: 170px;
  max-width: 230px;
  flex: 1 0 220px;
  margin-bottom: 20px;
  gap: 12px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.feature img {
  height: 48px; width: auto; margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px var(--shadow-color));
}
.feature:hover, .feature:focus-within {
  background: var(--retro-yellow);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 34px var(--shadow-color);
}

.services ul, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 8px;
}
.service-list li, .service-detail {
  background: var(--accent-light);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 12px var(--shadow-color);
  border: 2px solid var(--green-secondary);
  flex: 1 0 230px;
  padding: 24px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
}
.service-list h3, .service-detail h3 {
  color: var(--green-primary);
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.price {
  color: var(--retro-brown);
  font-size: 1.07rem;
  background: var(--retro-yellow);
  border-radius: var(--border-radius-sm);
  padding: 2px 11px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--accent-light);
  border-top: 4px solid var(--green-secondary);
  border-bottom: 4px solid var(--green-primary);
  padding-top: 30px; padding-bottom: 35px;
}
.testimonials h2 {
  color: var(--retro-brown);
}
.testimonial-slider {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testimonial-card strong {
  color: var(--green-primary);
}

/* === LEGAL, MAP, THANK YOU === */
.legal {
  background: var(--retro-yellow);
  border: 3px double var(--green-secondary);
  border-radius: var(--border-radius);
  padding: 40px 0;
  margin-bottom: 60px;
}
.legal h1 {
  color: var(--green-primary);
  font-size: 2.3rem;
  margin-bottom: 30px;
  text-shadow: 0 1px 0 var(--retro-yellow);
}

.map {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--retro-pink);
  border-radius: var(--border-radius);
  margin-top: 20px;
}

/* === FOOTER === */
.footer {
  background: var(--green-primary);
  color: var(--retro-yellow);
  padding-top: 36px;
  padding-bottom: 30px;
  margin-top: 60px;
  box-shadow: 0 -4px 20px var(--shadow-color);
  font-size: 1rem;
}
.footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}
.brand-info img {
  height: 38px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: var(--retro-yellow);
  font-size: 1rem;
  opacity: 0.92;
  transition: opacity var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  opacity: 1;
}
.contact-short {
  font-size: 0.97rem;
  line-height: 1.5;
}

/* === ABOUT, THANK YOU, ETC. === */
.about-section, .thank-you-section, .contact-section {
  background: var(--accent-light);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px var(--shadow-color);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1000px) {
  .features .feature-grid, .features .feature-list, .services ul, .service-list {
    gap: 18px;
  }
  .footer .content-wrapper {
    gap: 20px;
  }
}

@media (max-width: 960px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 820px) {
  .features .feature-grid, .features .feature-list, .services ul, .service-list {
    flex-direction: column;
    align-items: stretch;
  }
  .service-list li, .feature {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, .legal {
    padding: 32px 6px;
    margin-bottom: 40px;
  }
  .footer {
    padding-top: 25px;
    padding-bottom: 22px;
  }
  .footer .content-wrapper {
    gap: 12px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.1rem; }
  h2 { font-size: 1rem; }
  .hero { padding: 32px 0 18px 0; }
  .cta-primary, .main-nav a.cta-primary {
    font-size: 0.96rem;
    padding: 11px 12px;
  }
  .container { padding-left: 6px; padding-right: 6px; }
}

/* === ANIMATION & MICRO-INTERACTIONS === */
.feature, .card, .service-list li, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}
.feature:hover, .card:hover, .service-list li:hover, .testimonial-card:hover {
  box-shadow: 0 9px 28px var(--shadow-color);
  transform: translateY(-2px) scale(1.02);
}
.cta-primary, .main-nav a.cta-primary {
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: var(--retro-brown);
  color: var(--retro-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 24px 18px 20px 18px;
  font-size: 1rem;
  box-shadow: 0 -4px 20px var(--shadow-color);
  border-radius: 7px 7px 0 0;
  animation: slideup 0.7s cubic-bezier(.38,0,.39,1) both;
}
@keyframes slideup {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 0;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 19px;
  background: var(--retro-orange);
  color: var(--green-primary);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 12px var(--shadow-color);
  border: 2px solid var(--green-secondary);
  font-size: 1rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--green-secondary);
  color: var(--text-light);
  border-color: var(--green-primary);
}
.cookie-btn.reject {
  background: var(--retro-pink);
  color: var(--green-primary);
  border-color: var(--green-secondary);
}
.cookie-btn.settings {
  background: var(--retro-yellow);
  color: var(--green-primary);
  border-color: var(--green-secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--green-primary);
  color: var(--retro-yellow);
  transform: scale(1.06);
}

/* === COOKIE MODAL === */
.cookie-modal-backdrop {
  background: rgba(44,48,43, 0.7);
  position: fixed;
  z-index: 10100;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.4s both;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent-light);
  max-width: 370px;
  width: 93vw;
  border-radius: var(--border-radius);
  box-shadow: 0 7px 28px var(--shadow-color);
  padding: 30px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: pop-in 0.5s cubic-bezier(.41,0,.39,1) both;
  color: var(--text-dark);
}
@keyframes pop-in {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--green-primary);
  font-size: 1.17rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.cookie-category .cookie-switch {
  min-width: 36px;
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.cookie-switch input[type='checkbox'] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 21px;
  background: var(--retro-yellow);
  border-radius: 22px;
  transition: background 0.24s;
  margin-right: 6px;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--green-secondary);
}
.cookie-slider:before {
  content: "";
  position: absolute;
  left: 3px; top: 2.5px;
  width: 16px; height: 16px;
  background: var(--accent-light);
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(.5,.2,.3,1);
  box-shadow: 0 2px 6px var(--shadow-color);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(13px);
  background: var(--green-primary);
}
.cookie-modal .cookie-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 7px 14px;
}

/* === UTILITY CLASSES & MISC === */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Remove blue highlight on tap (mobile) */
*:focus { outline: 2px solid var(--green-secondary); outline-offset: 2px; }

::-webkit-scrollbar {
  width: 8px;
  background: var(--retro-yellow);
}
::-webkit-scrollbar-thumb {
  background: var(--green-secondary);
  border-radius: 7px;
}

/* === END === */
