/* ==== 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 {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #232B37;
  background: #F5F6FA;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
ul, ol {
  padding-left: 1.5em;
}
a {
  color: inherit;
  text-decoration: none;
  outline: none;
  transition: color 0.2s;
}
img {
  border: none;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
:focus {
  outline: 2px solid #B59F5B;
}
html {
  scroll-behavior: smooth;
}

/* ==== BRAND COLORS & TYPOGRAPHY ==== */
:root {
  --primary: #232B37;
  --secondary: #F5F6FA;
  --accent: #B59F5B;
  --neutral: #DEE2ED;
  --danger: #c74545;

  --font-display: 'Merriweather', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, ul, ol, li {
  font-family: var(--font-body);
  color: var(--primary);
  font-size: 1rem;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

body, .content-wrapper, .container {
  font-size: 16px;
  line-height: 1.5;
  background: none;
}

/* Visual hierarchy: section headings, subheadings, content, etc. */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 40px 0 rgba(35, 43, 55, 0.07);
  /* Adds geometric feel */
  position: relative;
}
section.hero-section {
  box-shadow: none;
  background: none;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  .section, section {
    padding: 28px 10px;
    margin-bottom: 38px;
    border-radius: 8px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.13rem;
  }
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.hero-section {
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
  text-align: center;
  background: none;
}
.hero-section h1 {
  color: var(--accent);
  text-shadow: 0 1px 0 #fff, 0 2px 2px #EAEAEA60;
}
.hero-section p {
  color: var(--primary);
  font-size: 1.13rem;
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

/* ==== NAVIGATION HEADER ==== */
header {
  background: var(--primary);
  color: #fff;
  width: 100%;
  border-bottom: 4px solid var(--accent);
  position: relative;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 72px;
  gap: 18px;
}
header img {
  height: 40px;
}
@media (max-width: 768px) {
  header .container {
    padding: 0 10px;
    min-height: 58px;
  }
  header img {
    height: 32px;
  }
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-right: 18px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.01em;
  font-weight: 500;
  border-bottom: 2.5px solid transparent;
  padding: 7px 0 4px 0;
  transition: border 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--accent);
  border-bottom: 2.5px solid var(--accent);
}

.cta-button {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 24px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(181,159,91,0.11);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.22s;
  position: relative;
  margin-left: 12px;
  display: inline-block;
}
.cta-button:hover,
.cta-button:focus {
  background: #a98f44;
  color: #fff;
  box-shadow: 0 4px 28px 0 rgba(181,159,91,0.19);
  text-decoration: none;
}

/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  margin-left: auto;
  margin-right: 6px;
  z-index: 1200;
}
@media (max-width: 992px) {
  .main-nav, .cta-button {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  padding: 0 0;
  box-shadow: 4px 0 16px 0 rgba(35, 43, 55, 0.22);
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 19px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--accent);
  cursor: pointer;
  z-index: 2200;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 68px;
  width: 100%;
  padding-left: 38px;
  max-width: 390px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: #fff;
  padding: 5px 0;
  border-left: 5px solid transparent;
  transition: color 0.16s, border 0.18s;
  margin-bottom: 0;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  border-left: 5px solid var(--accent);
}

/* Only show the mobile menu button on mobile */
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ==== GEOMETRIC GRIDS AND FEATURE CARDS ==== */
.feature-grid, .card-container, .news-list, .faq-list, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature-grid > div, .card, .news-list article {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(35,43,55,0.07);
  padding: 24px 20px 18px 20px;
  flex: 1 1 245px;
  min-width: 220px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  border: 2.5px solid var(--neutral);
  position: relative;
  transition: box-shadow 0.22s, border-color 0.18s;
}
/* Icon accent "geometry" highlight */
.feature-grid > div img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  background: var(--neutral);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 1px 8px 0 rgba(181,159,91,0.06);
}
.feature-grid > div:hover, .card:hover, .news-list article:hover {
  box-shadow: 0 10px 32px 0 rgba(35,43,55,0.16);
  border-color: var(--accent);
  z-index: 1;
}

@media (max-width: 900px) {
  .feature-grid, .card-container, .news-list, .content-grid {
    gap: 16px;
  }
  .feature-grid > div, .card, .news-list article {
    min-width: 94vw;
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  .feature-grid, .card-container, .news-list, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .card, .news-list article {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
  }
}

.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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: flex-start;
    gap: 16px;
  }
}

/* ==== TESTIMONIALS ==== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border-radius: 16px 0 16px 0;
  border: 2.5px solid var(--accent);
  box-shadow: 0 3px 20px 0 rgba(35,43,55,0.12);
  margin-bottom: 20px;
  font-style: italic;
  transition: box-shadow 0.18s;
  min-width: 0;
  /* Ensure dark text on light bg */
  color: var(--primary);
}
.testimonial-card p {
  margin-bottom: 0;
  color: var(--primary);
}
.testimonial-card strong {
  color: var(--accent);
  font-size: 1.1em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(181,159,91,0.14);
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 10px;
    font-size: 0.97em;
  }
}

/* ==== NEWS LIST ==== */
.news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.news-list article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(35,43,55,0.07);
  border: 2px solid var(--neutral);
  padding: 18px 16px;
  min-width: 220px;
  max-width: 540px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, border-color 0.14s;
}
.news-list article:hover {
  border-color: var(--accent);
  box-shadow: 0 7px 28px 0 rgba(181,159,91,0.10);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  background: none;
  box-shadow: none;
}
.faq-list ul {
  margin-bottom: 0;
}

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

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 38px;
  padding-bottom: 36px;
  margin-top: 0;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-navigation, .footer-legal, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-navigation a,
.footer-legal a {
  color: #fff;
  opacity: 0.92;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.15s, opacity 0.15s;
}
.footer-navigation a:hover,
.footer-legal a:hover {
  color: var(--accent);
  opacity: 1;
}
.footer-contact p {
  color: #fff;
  opacity: 0.94;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-navigation, .footer-legal, .footer-contact {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 20px 0 22px 0;
    font-size: 0.98rem;
  }
  .footer-navigation, .footer-legal, .footer-contact {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
}

/* ==== BUTTONS & INTERACTIONS ==== */
button {
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-weight: 600;
  padding: 10px 18px;
  font-family: var(--font-display);
  transition: background 0.16s, color 0.16s;
}
button:hover, button:focus {
  background: #9b8745;
  color: #fff;
}

/* ==== SPECIAL SECTION: COOKIE BANNER & MODAL ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--primary);
  width: 100vw;
  box-shadow: 0 -4px 36px 0 rgba(35,43,55,0.13);
  border-top: 3px solid var(--accent);
  z-index: 3000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  gap: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: cookie-slide-in 0.38s ease;
  min-height: 70px;
}
.cookie-consent-banner__text {
  flex: 1 1 auto;
  margin-right: 18px;
}
.cookie-consent-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 24px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 24px;
  transition: background 0.15s, color 0.14s;
}
.cookie-btn.cookie-reject {
  background: #dedede;
  color: var(--primary);
}
.cookie-btn.cookie-reject:hover {
  background: #c74545;
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: var(--neutral);
  color: var(--primary);
}
.cookie-btn.cookie-settings:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 7px 13px 7px;
    font-size: 0.98rem;
    min-height: 42px;
  }
}
@keyframes cookie-slide-in {
  from { transform: translateY(90px); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}

/* Cookie Modal Overlay & Dialog */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,43,55,0.45);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.27s ease;
}
@keyframes modal-fade-in {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  min-width: 290px;
  max-width: 380px;
  padding: 28px 28px 20px 28px;
  box-shadow: 0 8px 48px 0 rgba(35,43,55,0.28);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-popup 0.36s cubic-bezier(0.68,-0.55,0.27,1.55);
}
@keyframes modal-popup {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.22rem;
  margin-bottom: 9px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cookie-modal-category label {
  font-weight: 600;
  font-size: 0.98rem;
}
.cookie-modal-toggle {
  width: 38px;
  height: 22px;
  background: var(--neutral);
  border-radius: 14px;
  position: relative;
  margin-left: 8px;
  vertical-align: middle;
  display: inline-block;
}
.cookie-modal-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal-toggle-slider {
  position: absolute;
  cursor: pointer;
  left: 0; top: 0;
  width: 38px;
  height: 22px;
  background: var(--neutral);
  border-radius: 14px;
  transition: background 0.15s;
}
.cookie-modal-toggle input:checked + .cookie-modal-toggle-slider {
  background: var(--accent);
}
.cookie-modal-toggle-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: 0.18s;
  box-shadow: 0 1px 4px 0 #bbb;
}
.cookie-modal-toggle input:checked + .cookie-modal-toggle-slider:before {
  transform: translateX(16px);
}

/* Modal Close Button */
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 15px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Category labels & disabled state (essential cookies) */
.cookie-modal-category.essential label {
  color: #aaa;
  cursor: not-allowed;
}
.cookie-modal-category.essential .cookie-modal-toggle {
  pointer-events: none;
  opacity: 0.5;
}

/* ==== FORMS (if present) ==== */
input, textarea, select {
  border: 2px solid var(--neutral);
  border-radius: 7px;
  padding: 9px 13px;
  transition: border 0.14s;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fafbfc;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--accent);
}
label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
  display: inline-block;
}

/* ==== LISTS & CONTENT ==== */
ul, ol {
  margin-bottom: 15px;
}
ul li, ol li {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
  padding-left: 0.8em;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 11px;
  position: absolute;
  left: 0;
  top: 10px;
}
ol li {
  list-style: decimal inside;
  padding-left: 0;
}

/* ==== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  section, .section {
    padding: 12px 4px;
    margin-bottom: 25px;
    border-radius: 5px;
  }
  .card, .testimonial-card, .feature-grid > div {
    padding: 10px 4px 10px 7px;
    border-radius: 7px;
  }
}

/* ==== SCROLLBAR ==== */
::-webkit-scrollbar {
  width: 10px;
  background-color: var(--neutral);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}
body {
  scrollbar-color: var(--primary) var(--neutral);
  scrollbar-width: thin;
}

/* ==== MICRO-INTERACTIONS ==== */
a, .cta-button, button, .mobile-nav a {
  transition: color 0.22s, background 0.18s, border 0.16s, box-shadow 0.19s;
}

/* ==== TYPOGRAPHY SCALE ==== */
@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  h3 {
    font-size: 1.03rem;
  }
  body, .container, .content-wrapper, .footer-contact, footer {
    font-size: 0.97rem;
  }
}

/* ==== GEOMETRIC/STRUCTURED ACCENTS ==== */
.section::before {
  content: '';
  display: block;
  width: 46px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 16px;
  left: 21px;
  opacity: 0.75;
}
@media (max-width: 600px) {
  .section::before {
    width: 24px; height: 3px; left: 8px; top: 12px;
  }
}

/* ==== UTILITY CLASSES ==== */
.hide { display: none !important; }

/* ==== ADDITIONAL STRUCTURED/EFFECTS FOR BRAND ==== */
hr {
  border: 0;
  height: 2px;
  width: 66px;
  background: var(--accent);
  border-radius: 2px;
  margin: 18px 0;
}

/* Ensure correct spacing in vertical flows */
.main-content > *, section > *, .content-wrapper > * {
  margin-bottom: 16px !important;
}
.content-wrapper > *:last-child {
  margin-bottom: 0 !important;
}

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