/* =============================================================
   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, caption, tbody, tfoot, thead, tr, th, td, main, section, header, nav, footer, article, aside, figure, figcaption, hr, button, input, select, textarea {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}
html { scroll-behavior: smooth; }
body { line-height: 1.5; background: #F7F5F2; color: #324158; }
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; font: inherit; cursor: pointer; }

/* =============================================================
   BRAND COLORS & FONTS (Geometric Structured aesthetic)
   ============================================================= */
:root {
  --primary: #324158;
  --secondary: #E3C497;
  --accent: #F7F5F2;
  --text-dark: #1D2633;
  --text-light: #F7F5F2;
  --shadow: 0 3px 16px 0 rgba(50,65,88,0.09);
  --card-radius: 14px;
  --btn-radius: 32px;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
}

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  background: var(--accent);
  color: var(--primary);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
p, ul, ol { font-size: 1rem; line-height: 1.75; margin-bottom: 14px; color: var(--text-dark); }
strong { font-weight: 700; }

/* =====================
   CONTAINER & LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.text-section { max-width: 720px; margin-left: auto; margin-right: auto; }

.section { margin-bottom: 60px; padding: 40px 20px; background: transparent; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  min-width: 260px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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 {
  background: #fff;
  color: var(--primary);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 20px 18px 20px;
  box-shadow: var(--shadow);
}

/* =====================
   FLEX LISTS & FEATURE ULs
   ===================== */
ul, ol {
  padding-left: 0;
}
ul li, ol li {
  position: relative;
  margin-left: 0;
  margin-bottom: 12px;
  padding-left: 28px;
  font-size: 1rem;
  color: var(--text-dark);
}
ul li img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
ul li:before, ol li:before {
  content: '';
  display: none;
}
oh {
  counter-reset: item;
}
ol li {
  counter-increment: item;
  padding-left: 32px;
}
ol li:before {
  content: counter(item) '.';
  display: inline-block;
  width: 18px;
  font-weight: bold;
  color: var(--secondary);
  position: absolute; left: 0; top: 0;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: var(--accent);
  border-bottom: 2px solid var(--secondary);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 74px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  padding: 9px 0;
  border-radius: 4px;
  transition: background 0.15s, color 0.22s;
}
header nav a:hover,
header nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cta-btn {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--btn-radius);
  border: none;
  box-shadow: 0 2px 10px 0 rgba(50,65,88,0.09);
  margin-left: 20px;
  transition: background 0.18s, transform 0.19s, color 0.19s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.037);
}

/* =====================
   MOBILE NAVIGATION
   ===================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 10px;
  border: none;
  margin-left: 20px;
  transition: background 0.15s;
  z-index: 250;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(50,65,88, 0.96);
  z-index: 5000;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.82,.02,.25,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--secondary);
  background: none;
  font-size: 2rem;
  border: none;
  z-index: 5050;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  color: var(--secondary);
  background: none;
  font-size: 1.15rem;
  padding: 12px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 18px;
  letter-spacing: 0.06em;
  transition: background 0.16s, color 0.18s;
  text-align: center;
  min-width: 150px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

@media (min-width: 1020px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  header nav { display: flex; }
}
@media (max-width: 1019px) {
  header nav,
  .cta-btn { display: none;}
  .mobile-menu-toggle { display: flex; }
}

/* =====================
   MAIN, HERO, SECTION STYLES
   ===================== */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
main .container {
  padding-bottom: 0;
  padding-top: 0;
}

.content-wrapper {
  gap: 26px;
}

.text-section h2, .text-section h3 {
  margin-top: 28px;
}

/* =====================
   BUTTONS & INTERACTIONS
   ===================== */
button, .cta-btn {
  cursor: pointer;
  user-select: none;
}

button:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* =====================
   CARDS, TESTIMONIALS, FEATURES
   ===================== */
.card-container, .content-grid {
  gap: 24px;
}
.card {
  box-shadow: var(--shadow);
  border-radius: var(--card-radius);
  background: #fff;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.testimonial-card {
  color: var(--primary);
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 230px;
  transition: box-shadow 0.25s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 9px 28px 0 rgba(50,65,88,0.14);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--secondary);
}

.feature-item {
  border-left: 5px solid var(--secondary);
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 32px 0;
  box-shadow: 0 -2px 12px 0 rgba(34,38,58,.08);
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 10px;
  transition: background 0.16s, color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--primary);
  background: var(--secondary);
}
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-size: 0.98rem;
  color: #fff;
}
.footer-info > div {
  margin-right: 12px;
}
.footer-info img {
  height: 40px; width: auto;
}

/* =====================
   COOKIE CONSENT BANNER & MODAL
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9996;
  background: var(--primary);
  color: var(--text-light);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 24px 22px 22px 22px;
  box-shadow: 0 -2px 14px 0 rgba(50,65,88,.22);
  animation: fadeInUp 0.5s;
}
.cookie-banner.hide { display: none; }
.cookie-banner p {
  margin: 0 22px 0 0;
  color: #fff;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 26px;
  border-radius: 24px;
  border: none;
  transition: background 0.17s, color 0.16s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px) scale(1.03);
}

.cookie-setting-btn {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--secondary);
  padding: 8px 22px;
  border-radius: 24px;
  transition: background 0.16s, color 0.16s, border 0.16s;
}
.cookie-setting-btn:hover, .cookie-setting-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}

.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: rgba(50,65,88,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s;
}
.cookie-modal.hide { display: none; }
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 9px 45px 0 rgba(50,65,88,0.17);
  max-width: 400px;
  width: 94vw;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 14px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-cat label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 18px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #c9a135;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: var(--primary);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}


/* =====================
   RESPONSIVE DESIGN & FLEXBOX ADJUSTMENTS
   ===================== */
@media (max-width: 1020px) {
  .container {
    max-width: 100vw;
    padding: 0 12px;
  }
  main > section { padding: 36px 0; }
}
@media (max-width: 768px) {
  .section { margin-bottom: 36px; padding: 28px 5px; }
  .content-wrapper, .text-section, .content-grid { gap: 15px; }
  h1 { font-size: 1.45rem; margin-bottom: 20px; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.02rem; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    font-size: 1rem;
    padding: 15px 9px;
  }
  .footer-info { flex-direction: column; gap: 6px; align-items: flex-start; }
  .cta-btn { margin-left: 0; margin-top: 18px; min-width: 90%; }
}
@media (max-width: 480px) {
  .container { padding: 0 6px; }
  .section, main > section { padding: 14px 0; }
}

/* Flexbox for text-image and grids */
.text-image-section {
  flex-direction: row;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 13px; }
  .card-container { flex-direction: column; gap: 13px; }
  .content-grid { flex-direction: column; gap: 13px; }
}

/* List and card spacing */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
  gap: 20px;
}

/* =====================
   EXTRAS & MICRO-INTERACTIONS
   ===================== */
a, button, .cta-btn, .cookie-btn, .cookie-setting-btn {
  transition: background 0.16s, color 0.18s, box-shadow 0.16s, transform 0.13s;
}
section, .card, .testimonial-card, .feature-item {
  transition: box-shadow 0.21s, background 0.17s, transform 0.14s;
}
.card:hover, .feature-item:hover {
  box-shadow: 0 9px 28px 0 rgba(50,65,88,0.14);
  transform: translateY(-2px) scale(1.02);
}

/* =====================
   ACCESSIBILITY & UTILITY
   ===================== */
.visually-hidden { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap; }

::-webkit-input-placeholder { color: #a0a6b0; }
::-moz-placeholder { color: #a0a6b0; }
:-ms-input-placeholder { color: #a0a6b0; }
::placeholder { color: #a0a6b0; }

/* END OF CSS */
