/* ----- CSS RESET & 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: #F4F1EC;
  color: #264653;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  position: relative;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
:root {
  --primary: #264653;
  --primary-dark: #1a2a35;
  --secondary: #E9C46A;
  --accent: #F4F1EC;
  --card-bg: #fff;
  --shadow: 0 2px 16px rgba(38, 70, 83, 0.07);
  --radius: 1rem;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Montserrat', Serif, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
p, ul, li, blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.hero-subheadline {
  font-size: 1.17rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 26px;
}
strong {
  font-weight: 700;
}

/* ----- LAYOUT: FLEX, CONTAINER, SECTION ----- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  background: none;
  padding: 0;
  margin: 0 auto 32px auto;
  width: 100%;
}
.content-grid,
.feature-grid,
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.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 {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  padding: 24px 22px;
  min-width: 240px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(38,70,83,0.15);
  transform: translateY(-3px) scale(1.02);
}
.text-section {
  margin-top: 18px;
  margin-bottom: 24px;
}
/* ----- TESTIMONIALS ----- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #264653;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(38,70,83,0.09);
  padding: 20px 32px;
  margin-bottom: 20px;
  flex: 1 0 310px;
  max-width: 670px;
  border-left: 5px solid var(--secondary);
  position: relative;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.testimonial-card:hover {
  border-left-color: var(--primary);
  box-shadow: 0 4px 20px rgba(38,70,83,0.18);
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  padding: 0;
  margin: 0;
}
.testimonial-card footer {
  margin-top: 14px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}
.testimonial-card cite {
  font-style: normal;
  color: var(--secondary);
}

/* ----- BUTTONS & CTA ----- */
.cta-btn, .cookie-banner .cta-btn, .cookie-modal .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.02em;
  border-radius: 10px;
  padding: 14px 28px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(38,70,83,0.07);
  transition: background 0.25s, box-shadow 0.19s, transform 0.17s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.04);
  box-shadow: 0 6px 30px rgba(233,196,106,0.13);
}

/* GENERAL BUTTON STYLE */
button, .cookie-btn {
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border-radius: 9px;
}

/* ----- NAVIGATION (DESKTOP) ----- */
header {
  background: #fff;
  box-shadow: 0 0 30px rgba(38,70,83,0.09);
  position: sticky;
  top: 0;
  z-index: 1002;
  margin-bottom: 0;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 10px 20px 10px 10px;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 7px;
  transition: background 0.15s, color 0.14s, box-shadow 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #222;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 15px;
  flex-shrink: 0;
}
.main-nav .cta-btn {
  margin-left: auto;
}
@media (min-width: 800px) {
  .main-nav .cta-btn {
    margin-left: 12px;
  }
}

/* ---- MOBILE NAVIGATION ---- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  padding: 8px 18px;
  margin-left: auto;
  transition: background 0.19s;
  border: none;
  z-index: 1103;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,241,236,0.98);
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.29s cubic-bezier(.52,.04,.82,1.09);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--secondary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 1112;
  border: none;
  transition: background 0.19s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 44px 0 0 0;
  align-items: flex-start;
  padding: 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-dark);
  padding: 17px 2px;
  border-radius: 5px;
  transition: background 0.16s, color 0.16s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: #222;
}
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----- PAGE SECTIONS, CARDS, GRID ----- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--card-bg);
  border-radius: 17px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.08);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.13s;
  border-bottom: 4px solid var(--secondary);
}
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(38,70,83,0.13);
  transform: translateY(-4px) scale(1.03);
  border-bottom-color: var(--primary);
}
.feature-grid img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}

/* ----- LISTS & UL/OL ----- */
ul {
  margin-left: 28px;
  margin-bottom: 18px;
  list-style-type: square;
  color: var(--primary-dark);
}
ul li {
  margin-bottom: 11px;
  padding-left: 3px;
  letter-spacing: 0.01em;
}
ul li img {
  vertical-align: middle;
  margin-right: 10px;
}
.privacy-note {
  font-size: 0.96rem;
  color: #888;
  margin-top: 8px;
}

/* ----- FOOTER ----- */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 32px;
  padding-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 9px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 28px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 19px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  gap: 7px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 7px;
}
.footer-brand {
  text-align: center;
  font-size: 0.97rem;
  margin-top: 8px;
  opacity: 0.87;
}

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #fff;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -4px 28px rgba(38,70,83,0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 38px;
  padding: 18px 14px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  transition: transform 0.36s cubic-bezier(.64,.01,.4,1), opacity 0.22s;
}
.cookie-banner.hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cta-btn, .cookie-banner .cookie-btn {
  padding: 10px 22px;
  font-size: 1rem;
  margin: 0 5px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  border: none;
}
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  padding: 10px 18px;
  transition: background 0.12s;
}
.cookie-banner .cookie-btn:hover {
  background: #fee29e;
}

/* COOKIE MODAL */

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 60px; margin: 0 auto;
  max-width: 430px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(38,70,83,0.2);
  z-index: 1270;
  padding: 32px 28px 24px 28px;
  display: none;
  flex-direction: column;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.27s, transform 0.3s cubic-bezier(.7,.01,.38,1.06);
}
.cookie-modal.hide {
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
}
.cookie-modal .modal-head {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}
.cookie-modal .category-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
}
.cookie-modal .cookie-toggle {
  width: 34px; height: 18px;
  border-radius: 11px;
  background: #ddd;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  margin-left: 12px;
}
.cookie-modal .cookie-toggle.checked {
  background: var(--secondary);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.19s;
}
.cookie-modal .cookie-toggle.checked::before {
  left: 18px;
  background: var(--primary);
}
.cookie-modal .settings-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .cta-btn {
  min-width: 90px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 1.7rem;
  color: var(--primary);
  background: var(--accent);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover {
  background: #f7dfa4;
}

/* ----- MICRO-INTERACTIONS & GEOMETRIC DECOR ---- */
section {
  background: none;
  position: relative;
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:nth-child(even) {
  background: #fffbea;
  box-shadow: 0 2px 16px rgba(233,196,106,0.06);
}
/* Subtle geometric shape effect for brand */
section::before {
  content: "";
  display: block;
  position: absolute;
  left: 12px; top: 18px;
  width: 38px;
  height: 38px;
  background: var(--secondary);
  opacity: 0.12;
  border-radius: 11% 37% 57% 22% / 53% 29% 71% 17%;
  z-index: 0;
}
section:nth-child(even)::before {
  left: auto;
  right: 14px;
  top: 12px;
  background: var(--primary);
  opacity: 0.09;
}
section > .container, section > .container > .content-wrapper {
  position: relative;
  z-index: 1;
}

/* ----- RESPONSIVE DESIGN ----- */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid, .content-grid, .card-container, .card-grid {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .card {
    min-width: 42vw;
    max-width: 98vw;
    flex: 1 1 46vw;
  }
  .testimonial-card, .card {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid, .content-grid, .card-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 18px 12px;
    border-left-width: 3px;
    border-radius: 10px;
  }
  .content-wrapper {
    margin-bottom: 22px;
  }
  section,
  .section {
    padding: 32px 7px;
    margin-bottom: 39px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  h1 {
    font-size: 1.85rem;
    margin-bottom: 11px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
}
@media (max-width: 520px) {
  .footer-brand {
    font-size: 0.92rem;
  }
  .container {
    padding: 0 3px;
  }
  .footer-contact span {
    font-size: 1rem;
  }
  .card, .testimonial-card {
    padding: 13px 5px;
  }
  .cookie-modal {
    padding: 16px 8px 14px 8px;
    max-width: 99vw;
  }
}

/* ----- GEOMETRIC/STRUCTURED UI ENHANCEMENTS ----- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Montserrat', serif;
  font-variant: small-caps;
  letter-spacing: 0.03em;
  text-transform: none;
}
.card, .feature-grid > div, .testimonial-card {
  border-radius: 13px 36px 13px 36px/21px 11px 31px 17px;
  border: 1.5px solid #ececec;
}
.card::after, .feature-grid > div::after {
  content: '';
  position: absolute;
  bottom: 7px; right: 13px;
  width: 22px; height: 22px;
  background: var(--secondary);
  opacity: 0.09;
  border-radius: 31% 54% 63% 32% / 51% 29% 61% 33%;
}

/* Focus & Accessibility: Clearly visible */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .modal-close:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  background: #fdeba9;
  color: var(--primary);
}
::-webkit-input-placeholder { color: #b6b6b6; }
::-moz-placeholder { color: #b6b6b6; }
:-ms-input-placeholder { color: #b6b6b6; }
::placeholder { color: #b6b6b6; }

/* ----- MICRO-ANIMATIONS ----- */
.cta-btn, .main-nav a, .feature-grid > div, .testimonial-card, .card, .cookie-btn {
  transition: box-shadow 0.19s, background 0.17s, color 0.17s, border-color 0.15s, transform 0.18s;
}
.cta-btn:active {
  transform: scale(0.97);
}

/* --- Hide scrollbars when mobile menu/cookie modal open --- */
body.menu-open, body.cookie-modal-open {
  overflow: hidden;
}

/* --- END OF STYLE.CSS --- */