/* ===== CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F7F4EC;
  color: #2f2823;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* ===== VINTAGE RETRO COLOR & TYPOGRAPHY VARIABLES ===== */
:root {
  --primary: #174273;
  --secondary: #96D0E7;
  --accent: #FFF7E6;
  --vintage-bg: #F7F4EC;
  --vintage-cream: #FDF7E3;
  --vintage-brown: #5E473B;
  --vintage-blue: #1A4975;
  --vintage-mustard: #DEB259;
  --vintage-red: #C34A36;
  --vintage-green: #A2A663;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== BASE TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 1px 1px 0 #f5e9cb80;
}
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul li, ol li {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.65;
  color: #2f2823;
}
.subheadline {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--vintage-brown);
  margin-bottom: 18px;
  opacity: 0.9;
}
strong, b {
  font-weight: 700;
  color: var(--vintage-brown);
}

/* ===== PAGE STRUCTURE & SPACING ===== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 16px;
  box-shadow: 0 1px 5px 0 #7f685035, 0 8px 32px 0 #a5947730;
}
section {
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}
section:last-child {
  margin-bottom: 36px;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 28px 8px;
  }
  .container {
    padding-left: 0;
    padding-right: 0;
  }
  section {
    margin-bottom: 38px;
  }
}

/* ===== HEADER STYLE ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--vintage-blue);
  border-bottom: 6px solid var(--vintage-mustard);
  box-shadow: 0 2px 10px #d7c5ad30;
  position: relative;
  z-index: 40;
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
  filter: saturate(0.73) drop-shadow(0 3px 5px #f6e0b195);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-left: 28px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--vintage-mustard);
  position: relative;
  padding: 7px 3px;
  border-radius: 3px;
  border-bottom: 2px solid transparent;
  transition: background 0.2s, border-bottom 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #deb25943;
  border-bottom: 2px solid #fff;
  outline: none;
}
.header .cta-button {
  margin-left: 36px;
}

.cta-button {
  font-family: var(--font-display);
  padding: 10px 30px;
  font-size: 1.08rem;
  border-radius: 8px;
  background: var(--vintage-mustard);
  color: #3c2e1f;
  font-weight: bold;
  box-shadow: 0 1px 4px #947a521b;
  letter-spacing: 0.04em;
  border: 2px solid var(--vintage-mustard);
  transition: background 0.25s, color 0.2s, box-shadow 0.22s, border 0.2s;
  position: relative;
  z-index: 1;
}
.cta-button:hover, .cta-button:focus {
  background: #fff;
  color: var(--vintage-brown);
  border: 2px solid var(--vintage-brown);
  box-shadow: 0 2px 10px #deb2593f, 0 2px 20px #c7b48b19;
  outline: none;
  text-decoration: underline wavy var(--vintage-brown) 1.3px;
}


/* ====== MOBILE MENU ====== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 16px;
  top: 16px;
  background: var(--vintage-mustard);
  color: #3c2e1f;
  font-size: 2.1rem;
  padding: 7px 15px;
  border-radius: 7px;
  z-index: 100;
  border: 2px solid var(--vintage-mustard);
  transition: box-shadow 0.18s, border 0.15s, background 0.20s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FDF7E3;
  border: 2px solid #C34A36;
  color: var(--vintage-red);
  outline: none;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: #2f2823ee;
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.44s cubic-bezier(.6,.3,.2,1.0);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 35px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: var(--vintage-cream);
  color: var(--vintage-red);
  padding: 7px 18px;
  margin-left: 10px;
  border-radius: 10px;
  border: 2px solid var(--vintage-red);
  align-self: flex-end;
  margin-bottom: 22px;
  transition: background 0.18s, border 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--vintage-red);
  color: #fff;
  border: 2px solid #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding-left: 36px;
  gap: 23px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 11px 0;
  color: #fff;
  background: none;
  border-radius: 5px;
  border-bottom: 2px solid transparent;
  transition: background 0.19s, border-bottom 0.17s, color 0.18s;
  margin-right: 16px;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vintage-mustard);
  background: #fff2db19;
  border-bottom: 2px solid var(--vintage-mustard);
  outline: none;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ====== SECTION & CONTENT FLEX PATTERNS ====== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-cream);
  border-radius: 16px;
  box-shadow: 0 1px 5px 0 #96866a28, 0 8px 18px #f6deaf0a;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.card-container, .content-grid, .feature-grid, .description-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: #fffbeec8;
  border: 2px solid #e3d0ab77;
  border-radius: 16px;
  box-shadow: 0 6px 18px #947a5220, 0 1px 3px #f6eacc10;
  margin-bottom: 20px;
  padding: 28px 22px 20px 22px;
  max-width: 315px;
  position: relative;
  transition: box-shadow 0.2s, border 0.18s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card:hover, .card:focus-within {
  background: #faf3e3;
  border: 2px solid var(--vintage-mustard);
  box-shadow: 0 12px 36px #96866a2c, 0 2px 12px #f1e1b17e;
  z-index: 2;
}
@media (max-width: 1050px) {
  .card-container, .content-grid, .feature-grid, .description-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card {
    max-width: 100%;
  }
}

/* .text-image-section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .section {
    padding: 20px 2px;
    gap: 16px;
  }
}

/* .feature-item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* .testimonial-card */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffbe9fa;
  border: 2px solid #e3d0ab99;
  border-radius: 15px;
  box-shadow: 0 3px 17px #3a250c19;
  max-width: 380px;
  min-width: 280px;
  color: #372d24;
  transition: border 0.14s, box-shadow 0.18s, background 0.2s;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-family: var(--font-body);
  font-size: 1.13rem;
  color: #221c15;
  line-height: 1.6;
}
.testimonial-card .testimonial-name {
  font-weight: 600;
  color: var(--vintage-blue);
  font-family: var(--font-display);
  font-size: 1.02rem;
  opacity: 0.82;
}
.testimonial-card:hover, .testimonial-card:focus {
  border: 2px solid var(--vintage-mustard);
  box-shadow: 0 10px 36px #deb25930, 0 4px 20px #bea36c18;
  background: #fff6daea;
  outline: none;
}

.rating-summary {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  color: var(--vintage-brown);
  gap: 9px;
  font-size: 1.1rem;
}
.rating-summary img {
  height: 25px;
  margin-right: 4px;
}

/* .service-list and .detailed-service-cards */
.service-list, .detailed-service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.service-list li, .detailed-service-cards li {
  flex: 1 1 320px;
  background: #fffbeaee;
  border: 2px solid #e6ceab6a;
  border-radius: 12px;
  padding: 24px 19px 18px 19px;
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  box-shadow: 0 3px 16px #e9d29c16;
  transition: border 0.19s, box-shadow 0.20s, background 0.2s;
}
.service-list li:hover, .detailed-service-cards li:hover, .service-list li:focus-within, .detailed-service-cards li:focus-within {
  border: 2px solid var(--vintage-blue);
  box-shadow: 0 11px 32px #1a497517, 0 1px 10px #de9a5d15;
  background: #fdf7e3;
  outline: none;
}
.price {
  font-family: var(--font-display);
  color: var(--vintage-blue);
  font-size: 1.2rem;
  font-weight: bold;
  position: absolute;
  right: 16px;
  top: 22px;
  letter-spacing: 0.04em;
}

/* FEATURE-LIST, METHOD-ICONS, LEARNING-BENEFITS, etc.  */
.feature-list, .training-list, .learning-benefits, .evaluation-criteria, .method-icons, .example-reports {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  justify-content: flex-start;
  margin-bottom: 18px;
}
.feature-list li, .training-list li, .learning-benefits li, .evaluation-criteria li, .method-icons li, .example-reports li {
  background: #f7f3e7b8;
  border-radius: 8px;
  padding: 14px 18px 12px 15px;
  font-size: 1.08rem;
  color: var(--vintage-blue);
  font-family: var(--font-body);
  box-shadow: 0 1px 7px #5e473b0a;
  flex: 0 1 210px;
  margin-bottom: 12px;
  transition: background 0.17s;
}
.feature-list li img, .method-icons li img, .certification-info img, .address-details img {
  vertical-align: middle;
  height: 30px;
  margin-right: 6px;
  filter: saturate(0.8) drop-shadow(0 1px 3px #deb25937);
}
.feature-list li strong {
  display: block;
  margin-bottom: 2px;
}

/* MAP & CONTACT BLOCKS */
.address-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.address-details p {
  font-size: 1.09rem;
  color: #392c21;
  margin-bottom: 0;
}
.opening-hours, .map-embed, .contact-disclaimer, .certification-info, .webinar-schedule {
  margin-bottom: 16px;
  background: #fdfaebd2;
  padding: 15px 13px;
  border-radius: 9px;
  box-shadow: 0 1px 7px #deb25915;
  font-size: 1rem;
  color: #4a392c;
}

@media (max-width: 900px) {
  .feature-list, .training-list, .learning-benefits, .evaluation-criteria, .method-icons, .example-reports {
    flex-direction: column;
    gap: 11px;
  }
}

/* FOOTER */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--vintage-blue);
  color: var(--vintage-cream);
  padding: 32px 0 18px 0;
  box-shadow: 0 -2px 15px #1A497517;
  margin-top: 24px;
  position: relative;
  z-index: 10;
}
.footer-logo img {
  width: 66px;
  margin-bottom: 15px;
  filter: saturate(0.8) drop-shadow(0 2px 2px #deb25947);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: var(--vintage-mustard);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: color 0.15s, text-decoration 0.15s;
  opacity: 0.92;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline wavy var(--vintage-mustard) 1.2px;
}
.footer-contact {
  font-size: 1.05rem;
  color: #fff;
  opacity: 0.88;
  margin-top: 4px;
  text-align: center;
}
.footer-contact a {
  color: var(--vintage-mustard);
  text-decoration: underline;
}
@media (max-width: 768px) {
  footer {
    padding: 19px 0 8px 0;
  }
  .footer-logo img {
    width: 48px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff6e0;
  box-shadow: 0 -3px 18px #b0905630;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 20px 22px 24px;
  border-top: 4px solid var(--vintage-mustard);
  font-family: var(--font-body);
  font-size: 1.06rem;
  animation: cookie-slidein 0.6s cubic-bezier(.62,.25,.3,1.1);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__message {
  color: #4a392c;
  max-width: 670px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--vintage-mustard);
  color: #3c2e1f;
  border-radius: 6px;
  padding: 7px 18px;
  margin: 0 5px;
  border: 2px solid var(--vintage-mustard);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s, color 0.18s, border 0.14s;
  box-shadow: 0 1px 4px #cf9d446d;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: var(--vintage-brown);
  border: 2px solid var(--vintage-brown);
  outline: none;
}
.cookie-btn--accept {
  background: var(--vintage-green);
  border: 2px solid var(--vintage-green);
  color: #222;
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
  background: #fff;
  color: var(--vintage-green);
  border: 2px solid var(--vintage-green);
}
.cookie-btn--reject {
  background: var(--vintage-red);
  border: 2px solid var(--vintage-red);
  color: #fff;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
  background: #fff;
  color: var(--vintage-red);
  border: 2px solid var(--vintage-red);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #221c1580;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookie-modal-fadein 0.28s cubic-bezier(.62,.25,.3,1.1);
}
@keyframes cookie-modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe9;
  border-radius: 13px;
  box-shadow: 0 4px 36px #deb25935, 0 1px 7px #947a5211;
  padding: 34px 30px 32px 30px;
  max-width: 440px;
  width: 90vw;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--vintage-blue);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--vintage-mustard);
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.cookie-category label {
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: #392c21;
}
.cookie-category--essential label {
  font-weight: 700;
  color: #568035;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 18px;
  font-size: 2rem;
  background: none;
  color: var(--vintage-red);
  border: none;
  border-radius: 5px;
  padding: 2px 12px;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--vintage-red);
  color: #fff;
  outline: none;
}

/* ======= BUTTONS, LINKS, ANIMATIONS ======= */
a, .cta-button, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: color 0.18s, background 0.17s, border 0.16s, box-shadow 0.19s, transform 0.18s;
}
a:focus, .cta-button:focus, .cookie-btn:focus {
  outline: 2px solid var(--vintage-mustard);
  outline-offset: 2px;
}

/* Microinteractions for cta-button, links */
.cta-button:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* STYLE CHECKBOXES FOR COOKIE MODAL */
input[type=checkbox] {
  appearance: none;
  background: #f3e6b5;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--vintage-brown);
  vertical-align: middle;
  margin-right: 4px;
  transition: background 0.18s, border 0.15s;
  position: relative;
}
input[type=checkbox]:checked {
  background: var(--vintage-green);
  border: 2px solid var(--vintage-blue);
}
input[type=checkbox]:checked::after {
  content: '\2713';
  display: block;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  line-height: 21px;
}

/* ========== SCROLLBARS FOR VINTAGE FEEL ========== */
::-webkit-scrollbar {
  width: 13px;
  background: #e1c693;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #dedbc8;
  border-radius: 7px;
  border: 3px solid #e1c693;
}
::-webkit-scrollbar-thumb:hover {
  background: #dea44b;
}

/* ======= VINTAGE RETRO PATTERNS & DECOS ======= */
/* (Add subtle background patterns and details as box-shadows/borders, no gradients) */
.section {
  border: 4px double #e2c285;
  background-image: repeating-linear-gradient(135deg, #fcf6db 0 1px, transparent 1px 33px), repeating-linear-gradient(-45deg, #ede0b3 0 1px, transparent 1px 33px);
  background-size: 44px 44px;
  background-blend-mode: lighten;
}
.testimonial-card {
  border-style: dashed;
  background-image: repeating-linear-gradient(90deg,#fff7e512 0 10px, transparent 10px 22px);
}
@media (max-width: 600px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 11px;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    margin-bottom: 11px;
  }
}

/* ======= RESPONSIVE RULES ======= */
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .footer-contact, .footer-nav, .cookie-banner { font-size: 0.96rem; }
}
@media (max-width: 450px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 17px 6px 12px 10px;
    font-size: 0.92rem;
  }
  .cookie-btn {
    padding: 4px 10px;
    font-size: 0.98rem;
  }
}

/* ======= CONFIRMATION & MISC ======= */
.confirmation-message {
  font-size: 1.12rem;
  color: var(--vintage-green);
  margin-bottom: 18px;
  font-weight: 500;
  background: #f2f8eb;
  border-left: 5px solid var(--vintage-green);
  padding: 16px 14px;
  border-radius: 7px;
}

/* ========== END ========== */
