/* === CSS RESET & BASE STYLES === */
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;
}
body {
  line-height: 1;
  background: #fff;
  color: #234252;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
strong, b {
  font-weight: 700;
}

/* === BRAND COLOR VARIABLES === */
:root {
  --color-primary: #234252;
  --color-secondary: #E8E0D6;
  --color-accent: #C98B3B;
  --color-bg: #ffffff;
  --color-title: #234252;
  --color-body: #234252;
  --color-section-light: #F3F6F9;
  --color-section-dark: #234252;
  --color-card-bg: #fff;
  --color-text: #234252;
  --color-footer-bg: #234252;
  --color-footer-text: #fff;
  --color-success: #3BC98B;
  --color-error: #C93B68;
  --color-shadow: rgba(35,66,82,0.08);
  --color-shadow-lg: rgba(35,66,82,0.15);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; font-weight: 700; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }
.body, p, li, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-body);
}
p, ul, ol {
  margin-bottom: 16px;
}
blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  border-left: 5px solid var(--color-accent);
  background: var(--color-section-light);
  padding: 16px 24px;
  margin: 24px 0;
}

/* === LAYOUT & CONTAINER === */
.container {
  max-width: 1240px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  position: relative;
  z-index: 1;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-section-light);
  border-radius: 28px;
  box-shadow: 0 4px 20px var(--color-shadow);
}

/* === HERO STYLES === */
.hero {
  background: var(--color-secondary);
  border-radius: 0 0 48px 48px;
  padding: 60px 0 40px 0;
  margin-bottom: 48px;
  box-shadow: 0 6px 36px var(--color-shadow-lg);
}
.hero .container {
  display: flex;
  flex-direction: column;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
  margin-bottom: 18px;
  font-weight: 900;
}
.hero p {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 28px;
  max-width: 500px;
}

/* === FLEX LAYOUTS === */
.card-container, .feature-grid, .content-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card { 
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  min-width: 250px;
  background: var(--color-card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow-lg);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section, .feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item { 
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURE GRID === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 36px 0 0 0;
}
.feature-grid li {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 20px;
  text-align: center;
  min-width: 220px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 30px var(--color-shadow-lg);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 50px;
  margin-bottom: 18px;
}
.feature-grid h3 {
  font-size: 1.1rem;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: 800;
}
.feature-grid p {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0;
}

/* === CTA BUTTONS === */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 38px;
  border-radius: 48px;
  box-shadow: 0 2px 10px var(--color-shadow);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin: 20px 0 12px 0;
  transition: background 0.22s, box-shadow 0.22s, transform 0.1s;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #B37524;
  color: #fff;
  box-shadow: 0 10px 30px var(--color-shadow-lg);
  transform: translateY(-2px) scale(1.05);
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 0;
  z-index: 10000;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 22px 20px 18px 20px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  transition: color 0.22s, border-bottom 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--color-accent);
  border-bottom: 2.5px solid var(--color-accent);
}
header nav a.cta-primary {
  border: none;
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 28px;
  padding: 10px 28px;
  margin-left: 16px;
  box-shadow: 0 2px 8px var(--color-shadow);
  text-transform: uppercase;
  font-size: 1rem;
}
header nav a.cta-primary:hover,
header nav a.cta-primary:focus {
  background: #B37524;
  color: #fff !important;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 32px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: box-shadow 0.2s, background 0.18s;
  z-index: 10002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 36px var(--color-shadow-lg);
  z-index: 10010;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.69,0,.37,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
  z-index: 10100;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding: 16px 38px 0 38px;
}
.mobile-menu .mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  padding: 14px 0;
  border-radius: 16px;
  transition: background 0.12s, color 0.12s;
  width: 100%;
  text-align: left;
}
.mobile-menu .mobile-nav a:hover,
.mobile-menu .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
  }
  header nav {
    gap: 18px;
  }
  .feature-grid {
    gap: 18px;
  }
  .section {
    padding: 32px 10px;
  }
}
/* --- Hide navigation, Show burger on mobile --- */
@media (max-width: 820px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 820px) {
  .footer-social, .footer-contact, .footer-logo {
    min-width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
  }
}

/* === MAIN FOOTER === */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 48px;
  padding-bottom: 18px;
  margin-top: 60px;
  border-radius: 48px 48px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 24px;
}
footer nav {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-footer-text);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.footer-contact p, .footer-legal {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-footer-text);
  margin-bottom: 8px;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social a img {
  width: 30px;
  height: 30px;
}
.footer-legal {
  font-size: 0.95rem;
  color: #d1d9e2;
  margin-top: 12px;
  margin-bottom: 0;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 490px;
  font-size: 1rem;
  color: var(--color-primary);
}
.testimonial-card p {
  color: var(--color-primary);
}
.testimonial-card .star-rating {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-top: 3px;
  font-weight: 800;
}
/* Ensure high contrast */
.testimonial-card strong {
  color: var(--color-accent);
  font-weight: 800;
}

/* === FORMS & ADDRESS === */
address {
  font-style: normal;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-family: 'Roboto', Arial, sans-serif;
}

/* === LISTS AND ICONS === */
ul {
  margin-bottom: 16px;
  padding-left: 0px;
}
li {
  margin-bottom: 8px;
  position: relative;
  line-height: 1.6;
}
ul li:before {
  content: '\2022';
  color: var(--color-accent);
  font-size: 1.2em;
  margin-right: 8px;
  font-weight: 800;
}
ul li img {
  display: inline-block;
  width: 22px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
}
ol {
  margin-bottom: 16px;
  list-style: decimal inside;
  counter-reset: list;
  padding-left:18px;
}
ol li {
  counter-increment: list;
  margin-bottom: 8px;
}

/* === NEWSLETTER HINT === */
.newsletter-hint {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 16px;
  font-size: 1.08rem;
  padding: 10px 24px;
  margin-top: 18px;
  font-weight: bold;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.newsletter-hint img {
  width: 28px;
  margin: 0;
  vertical-align: middle;
}

/* === BLOG CATEGORIES === */
.blog-category {
  background: var(--color-accent);
  color: #fff;
  border-radius: 9px;
  padding: 3px 12px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-right: 7px;
  margin-bottom: 3px;
  display: inline-block;
}

/* === COOKIES BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9900;
  background: var(--color-section-light);
  box-shadow: 0 -2px 18px var(--color-shadow);
  border-top: 4px solid var(--color-accent);
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: slideUpBanner 0.45s cubic-bezier(.65,0,.49,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: var(--color-primary);
  font-size: 1.05rem;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  padding: 9px 18px;
  border-radius: 28px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.13s;
  margin: 0 2px;
}
.cookie-banner button.cookie-reject {
  background: #234252;
  color: #fff;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #234252;
  border: 2px solid var(--color-accent);
}
.cookie-banner button.cookie-settings:hover,
.cookie-banner button.cookie-settings:focus {
  background: var(--color-section-light);
  color: var(--color-accent);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #B37524;
  color: #fff;
}
.cookie-banner button.cookie-reject:hover,
.cookie-banner button.cookie-reject:focus {
  background: #4C687B;
  color: #fff;
}

/* COOKIE MODAL  */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 11000;
  background: rgba(35, 66, 82, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  padding: 34px 28px 28px 28px;
  border-radius: 32px;
  max-width: 430px;
  width: 94vw;
  box-shadow: 0 8px 44px var(--color-shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popIn 0.3s cubic-bezier(.59,0,.29,1);
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.38rem;
  color: var(--color-primary);
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.cookie-category label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-category .category-desc {
  font-size: 0.96rem;
  color: #505050;
  margin-left: 8px;
}
.cookie-modal .cookie-btns {
  margin-top: 20px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .cookie-btns button {
  min-width: 100px;
  margin: 0;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  color: var(--color-accent);
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  font-weight: 800;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus { color: var(--color-primary); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .feature-grid li, .card {
    min-width: 170px;
    padding: 20px 9px;
  }
  .card, .testimonial-card {
    font-size: 0.98rem;
    padding: 16px 8px;
  }
  .footer-logo img { height: 36px; }
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0;
    border-radius: 0 0 28px 28px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section {
    margin-bottom: 34px;
    padding: 22px 6px;
    border-radius: 16px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .card {
    min-width: 98vw;
    border-radius: 13px;
    box-shadow: 0 1px 4px var(--color-shadow);
    padding: 16px 6px;
  }
  .footer-logo img {
    height: 28px;
    margin-bottom: 7px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .footer-social { gap: 18px; }
  .footer-contact p, .footer-legal { font-size: 0.94rem; }
  .mobile-menu .mobile-nav {
    padding: 12px 14px;
    gap: 20px;
  }
  .testimonial-card {
    min-width: 140px;
    max-width: 98vw;
    padding: 10px 6px;
  }
  .newsletter-hint { padding: 8px 16px; }
}
@media (max-width: 526px) {
  h1 { font-size: 1.27rem; }
  h2 { font-size: 1.03rem; }
  .cta-primary { font-size: 0.97rem; padding: 12px 15px; }
}

/* =========== UTILITIES =========== */
.text-section {
  margin-bottom: 22px;
  margin-top: 10px;
  color: var(--color-text);
}
.text-section ul,
.text-section ol {
  margin-bottom: 12px;
}
.text-section li {
  margin-bottom: 6px;
}
.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: 18px;
  }
  .feature-item {
    align-items: center;
  }
}

/* ========== MICRO-INTERACTIONS & ANIMATIONS ========== */
.card, .testimonial-card, .feature-grid li {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px var(--color-shadow-lg);
  transform: translateY(-3px) scale(1.02);
}
button:focus, a:focus { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* GEOMETRIC ACCENT (Optionally used for decorative geometric backgrounds) */
.geometric-accent {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: .06;
  border-radius: 50%;
  width:120px;
  height:120px;
  left: 9vw;
  bottom: 4vh;
  background: var(--color-accent);
  filter: blur(12px);
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .mobile-menu-toggle {
    display: none !important;
    visibility: hidden;
  }
  .container, .section, main, html, body { background: #fff !important; box-shadow: none !important; color: #000 !important; }
}
