/* RESET AND 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: #FFFBF3;
  color: #462D1F;
}
ul, ol {
  list-style: none;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
}
img {
  border: none;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
}

:root {
  --color-primary: #324E67;
  --color-accent: #F7C873;
  --color-secondary: #B9C5B9;
  --color-neutral-bg: #FFFBF3;
  --color-contrast: #462D1F;
  --color-card-bg: #FFF8E1;
  --color-border: #B8A281;
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', 'Tahoma', Arial, sans-serif;
}

/* WEBFONTS (with vintage fallback) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');


/* BODY & TYPOGRAPHY */
body {
  font-family: var(--font-body);
  background: var(--color-neutral-bg);
  color: var(--color-contrast);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  text-shadow: 2px 2px 0 #FFF8E1,0 1px 0 #B8A281;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul li, ol li {
  font-size: 1rem;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-section {
  max-width: 700px;
}

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

.icon-list {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.icon-list li, .icon-list img {
  border-radius: 50%;
  background: var(--color-card-bg);
  border: 2px solid var(--color-border);
  padding: 8px;
  box-shadow: 3px 3px 12px rgba(50, 78, 103, 0.11);
  height: 48px;
  width: 48px;
}

/* CONTAINER */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTION SPACING */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}

/* Add subtle retro pattern overlays to hero */
.hero {
  background-color: var(--color-accent);
  background-image: repeating-linear-gradient(135deg, #FFF8E1 0px, #FFF8E1 3px, #F7C873 3px, #F7C873 6px);
  box-shadow: 0 2px 16px rgba(50,78,103,0.07);
  border-bottom: 4px double var(--color-primary);
  border-radius: 0 0 36px 36px;
}

.hero .container {
  align-items: center;
  min-height: 230px;
  justify-content: center;
  gap: 24px;
}

.hero h1 {
  color: var(--color-primary);
  text-shadow: 2px 2px 0 #fff7e3,0 1px 0 #b8a281;
}

/* LISTS AND FEATURES IN CONTENT */
ul, ol {
  padding-left: 1.2em;
}
ul li::before {
  content: '\2726';
  color: var(--color-accent);
  margin-right: 10px;
  font-weight: 900;
  font-size: 1.1em;
  vertical-align: -2px;
}
ol li {
  margin-bottom: 6px;
  font-weight: 500;
}

/* BUTTONS */
.btn-primary {
  font-family: var(--font-display);
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border-radius: 28px;
  border: 2.5px solid var(--color-border);
  font-size: 1.12rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  padding: 12px 32px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(50, 78, 103, 0.08), 0 0.5px 0 var(--color-accent) inset;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, border 0.18s;
  text-shadow: 1px 1px 0 #B9C5B9;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px 2px rgba(247,200,115,0.14);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: 24px;
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s, color 0.2s;
  margin-right: 10px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* HEADER & NAVIGATION */
header {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  padding: 0;
  z-index: 100;
  border-bottom: 4px solid var(--color-accent);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
}
header a img {
  height: 44px;
  max-width: none;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.09rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 1px 1px 0 #324E67, 0 1px 0 #F7C873;
  border-bottom: 2.5px solid transparent;
  padding: 6px 8px 4px 8px;
  border-radius: 12px 12px 0 0;
  transition: border 0.18s, background 0.19s, color 0.14s;
}
header nav a:hover, header nav a:focus, header nav a.active {
  color: var(--color-accent);
  background: rgba(247,200,115,0.07);
  border-bottom: 2.5px solid var(--color-accent);
}

/* Hide mobile nav and burger by default on desktop */
.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

/* CONTENT GRID/LIST FLEX SPACING */
.card-container,
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card {
  background: var(--color-card-bg);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 2px 4px 16px rgba(50,78,103,0.11);
  padding: 28px 28px 22px 28px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.19s;
}
.card:hover,
.card:focus-within {
  box-shadow: 4px 14px 32px 2px rgba(50,78,103,0.15);
  transform: translateY(-2px) scale(1.02) rotate(-1deg);
  border-color: var(--color-accent);
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 24px;
  background: #FFFBF3;
  box-shadow: 0 2px 8px rgba(50,78,103,0.11);
  border: 2px dashed var(--color-accent);
  margin-bottom: 24px;
  position: relative;
  min-width: 220px;
  min-height: 92px;
  transition: box-shadow 0.18s, background 0.15s, border-color 0.15s;
}
.testimonial-card p {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.13rem;
  line-height: 1.5;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: #827043;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  background: #F7E9CA;
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px 2px rgba(247,200,115,0.13);
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  border-top: 5px solid var(--color-accent);
  border-radius: 32px 32px 0 0;
  margin-top: 36px;
  box-shadow: 0 0 36px 6px rgba(59,66,69,0.08);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  min-height: 120px;
  padding: 34px 20px 24px 20px;
}
footer img {
  height: 38px;
  margin-right: 14px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 140px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-display);
  transition: color 0.13s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
footer .contact-data {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #FFF2C7;
  font-family: var(--font-body);
  opacity: 0.87;
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF8E1;
  color: #462D1F;
  box-shadow: 0 -2px 16px 0 rgba(50, 78, 103, 0.07);
  border-top: 4px solid var(--color-accent);
  z-index: 9999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px 25px;
  font-size: 1rem;
  font-family: var(--font-body);
  gap: 24px;
  animation: slideUp 0.4s cubic-bezier(0.54,0.04,0.19,1.12);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-banner .banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
#cookie-banner button {
  border: none;
  border-radius: 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 28px;
  margin: 0;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
  box-shadow: 0 2px 8px rgba(50,78,103,0.07);
}
#cookie-banner .accept-btn {
  background: var(--color-primary);
  color: #fff;
}
#cookie-banner .accept-btn:hover { background: var(--color-accent); color: var(--color-primary); }
#cookie-banner .reject-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
}
#cookie-banner .reject-btn:hover { background: #fff; color: var(--color-primary); }
#cookie-banner .settings-btn {
  background: var(--color-accent);
  color: var(--color-primary);
}
#cookie-banner .settings-btn:hover { background: #fffbe8; color: var(--color-primary); }

/* COOKIE SETTINGS MODAL */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 10010;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(56, 42, 16, 0.46);
  justify-content: center;
  align-items: center;
  animation: fadeInBg 0.23s;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal.active {
  display: flex;
}
#cookie-modal .modal-inner {
  background: #FFF8E1;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(84,65,34,0.19);
  color: #462D1F;
  max-width: 400px;
  min-width: 290px;
  padding: 36px 24px 24px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  position: relative;
  animation: modalPop 0.3s cubic-bezier(.72,-0.11,.43,1.25);
}
@keyframes modalPop { from {transform: scale(0.91); opacity:0;} to {opacity:1;} }
#cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.43rem;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}
#cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.15rem;
  color: var(--color-primary);
  text-transform: uppercase;
  font-family: var(--font-display);
}
#cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1.06rem;
  padding: 8px 0;
  border-bottom: 1px solid #ead391;
}
#cookie-modal .category:last-child { border-bottom:none;margin-bottom:0; }
#cookie-modal .switch {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
#cookie-modal .switch input[type='checkbox'] {
  width: 38px;
  height: 20px;
  appearance: none;
  background: #FFF5C5;
  border: 2px solid var(--color-border);
  border-radius: 13px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
#cookie-modal .switch input[type='checkbox']:checked {
  background: var(--color-accent);
}
#cookie-modal .switch input[type='checkbox']::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.13s;
}
#cookie-modal .switch input[type='checkbox']:checked::after {
  transform: translateX(16px);
}
#cookie-modal .always-on {
  font-size: 0.99rem;
  color: #a0905d;
  margin-left: 8px;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  justify-content: flex-end;
}
#cookie-modal .modal-actions button {
  min-width: 110px;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 0;
  border-radius: 18px;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 300;
  background: var(--color-accent);
  border: none;
  border-radius: 11px;
  color: var(--color-primary);
  width: 46px;
  height: 46px;
  font-size: 2.1rem;
  cursor: pointer;
  box-shadow: 0 0.5px 6px rgba(119,70,5,0.08);
  transition: background 0.19s, color 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 340px;
  height: 100vh;
  background: #FFF8E1;
  box-shadow: -2px 0 42px 4px rgba(50,78,103,0.16);
  z-index: 2000;
  padding: 22px 20px 30px 34px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.82,-0.01,.5,1.03);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 9px;
  width: 38px;
  height: 38px;
  font-size: 1.55rem;
  position: absolute;
  right: 15px;
  top: 18px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 301;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 48px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.08em;
  border-bottom: 1.7px dotted var(--color-border);
  padding: 6px 0 5px 2px;
  border-radius: 8px;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  background: rgba(50,78,103,0.08);
}

/* RESPONSIVE DESIGN / FLEX */
@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
    padding: 0 14px;
  }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
    min-height: 60px;
  }
  .container {
    gap: 14px;
  }
  footer .container {
    padding: 20px 10px 18px 10px;
  }
}

@media (max-width: 900px) {
  section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
  .hero h1 { font-size: 2rem; }
  .hero .container { min-height: 150px; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }
  header .container {
    min-height: 50px;
    gap: 9px;
  }
  header nav, header .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    right: 14px;
    top: 12px;
  }
  .mobile-menu {
    display: flex;
  }
  section {
    margin-bottom: 34px;
    padding: 22px 2vw;
  }
  .content-wrapper,
  .container,
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .icon-list {
    gap: 14px;
  }
  .testimonial-card {
    padding: 13px 12px;
  }
  .card {
    padding: 15px 11px 14px 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item {
    gap: 11px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.02rem; }
  .btn-primary, .btn-secondary {
    font-size: 0.97rem; padding: 10px 14px;
  }
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 6px 9px 7px;
    font-size: 0.95rem;
  }
  #cookie-modal .modal-inner {
    padding: 18px 7px 14px 10px;
    min-width: 87vw;
  }
}

/* RETRO/VINTAGE EFFECTS for cards and pattern overlays */
section::before {
  content: '';
  display: block;
  position: absolute;
  left: 15px;
  top: 15px;
  height: 24px;
  width: 44px;
  background: repeating-linear-gradient(-45deg,#b9c5b9 0px,#b9c5b9 4px,#fff8e1 4px,#fff8e1 10px);
  opacity: 0.1;
  border-radius: 12px 10px 18px 20px;
  pointer-events: none;
}
section:nth-child(odd)::after {
  content: '';
  display: block;
  position: absolute;
  right: 24px;
  bottom: 11px;
  height: 18px;
  width: 34px;
  background: repeating-linear-gradient(45deg,#f7c873 0px,#f7c873 6px,#fff8e1 6px,#fff8e1 13px);
  opacity: 0.07;
  border-radius: 13px 23px 11px 16px;
  pointer-events: none;
}

hr {
  border: none;
  border-top: 2px dashed var(--color-border);
  margin: 32px 0 22px 0;
}

/* FORM ELEMENTS (for future usage, e.g. contact) */
input, textarea, select {
  border: 2px solid var(--color-border);
  border-radius: 10px;
  background: #fffbe8;
  padding: 10px 14px;
  font-size: 1rem;
  margin-bottom: 22px;
  font-family: var(--font-body);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #FFF7DA;
}
label {
  font-family: var(--font-display);
  font-size: 1rem;
  display: block;
  margin-bottom: 8px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-32 { margin-top: 32px; }

/* --- HIDE SCROLL on mobile menu open --- */
body.mobile-menu-open {
  overflow: hidden;
  height: 100vh;
}

/* --- Z-INDEX SITUATION --- */
header { z-index: 100; }
.mobile-menu { z-index: 2000; }
#cookie-banner { z-index: 9999; }
#cookie-modal { z-index: 10010; }

/* --- FOCUS VISIBLE for accessibility --- */
a:focus-visible,
button:focus-visible {
  outline: 2.5px dashed var(--color-accent);
  outline-offset: 3px;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 9px;
  background: #fffbe6;
}
::-webkit-scrollbar-thumb {
  background: #f7c873;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b9c5b9;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, #cookie-banner, #cookie-modal, .mobile-menu {
    display: none !important;
  }
  body { background: #fff !important; color: #222; }
}

/* END OF STYLE.CS FILE */
