/* =============================
   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,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #1A2533;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  border: none;
  font: inherit;
  background: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #D0B36A;
  outline-offset: 2px;
}
input, textarea, select {
  font-family: inherit;
}

/* ========================
   BRAND FONTS & BASELINE
   ======================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

html {
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F5F5;
  color: #1A2533;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: #1A2533;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #1A2533;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #1A2533;
  font-weight: 600;
}

p, ul, address {
  font-size: 1rem;
  color: #2B3446;
  margin-bottom: 16px;
}

b, strong {
  font-weight: 700;
  color: #1A2533;
}

.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(26,37,51,0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* ===================
   FLEXBOX UTILITIES
   =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(26,37,51,0.09);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F1F4F8;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(26,37,51,0.07);
  color: #1A2533;
  font-size: 1.06rem;
  transition: box-shadow 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 20px rgba(26,37,51,0.13);
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #5a6b89;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ================
   HEADER & NAVBAR
   ================ */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(26,37,51,0.06);
  position: sticky;
  top: 0;
  z-index: 900;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 70px;
}
header nav > a img {
  height: 36px;
  width: auto;
  margin-right: 30px;
}
header nav ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1A2533;
  position: relative;
  padding: 8px 0;
  transition: color 0.15s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  color: #D0B36A;
}
.button-primary {
  background: #1A2533;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.18s, box-shadow 0.16s, color 0.16s;
  box-shadow: 0 2px 8px rgba(26,37,51,0.05);
  margin-left: 32px;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.button-primary:hover, .button-primary:focus {
  background: #D0B36A;
  color: #1A2533 !important;
  box-shadow: 0 4px 20px rgba(26,37,51,0.12);
}
.button-secondary {
  background: #D0B36A;
  color: #1A2533 !important;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 8px rgba(26,37,51,0.04);
  border: none;
  cursor: pointer;
  display: inline-block;
}
.button-secondary:hover, .button-secondary:focus {
  background: #1A2533;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(26,37,51,0.12);
}

/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  display: none;
}

/* ================
   HERO SECTION
   ================ */
.hero {
  background: linear-gradient(94deg, #F5F5F5 70%, #e4eaee 100%);
  padding: 64px 0 40px 0;
  margin-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #1A2533;
  font-size: 2.3rem;
  margin-bottom: 14px;
}
.hero p {
  color: #2B3446;
  font-size: 1.14rem;
  margin-bottom: 24px;
  max-width: 440px;
}
.hero .button-primary {
  font-size: 1.05rem;
  padding: 12px 36px;
  margin-left: 0;
}

/* ====================
   FOOTER
   ==================== */
footer {
  background: #1A2533;
  color: #fff;
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
}
footer img {
  height: 38px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  margin: 12px 0 0 0;
}
footer nav a {
  color: #fff;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.8;
  font-size: 1rem;
  transition: opacity 0.18s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: #D0B36A;
}
footer address {
  font-size: 1rem;
  font-style: normal;
  color: #E9E9EA;
  text-align: center;
  margin-top: 8px;
}

/* ==========================
   CARDS & LISTS & FEATURES
   ========================== */
li {
  margin-bottom: 10px;
}
.card ul, .section ul, .content-wrapper ul {
  padding-left: 18px;
  list-style: disc inside none;
  color: #394058;
  font-size: 1rem;
}
.card ul li, .section ul li, .content-wrapper ul li {
  margin-bottom: 8px;
}
.card span, li span {
  color: #D0B36A;
  font-weight: 600;
  font-size: 0.98rem;
}

/* =====================
   RESPONSIVE FLEXBOX
   ===================== */
@media (max-width: 1060px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  header nav ul {
    display: none;
  }
  .button-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
    font-size: 2.1rem;
    background: transparent;
    color: #1A2533;
    border: none;
    padding: 12px 8px;
    margin-left: 8px;
    position: relative;
    z-index: 1101;
    line-height: 1;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .footer .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .footer {
    padding-top: 28px;
  }
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.19rem;
  }
}

/* =======================
   MOBILE MENU (BAR & NAV)
   ======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(26,37,51,0.92);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.33,1,.68,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 24px 32px 0 0;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2100;
  border: none;
  transition: color 0.16s;
  align-self: flex-end;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D0B36A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 60px 40px 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.23rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #D0B36A;
  color: #1A2533;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================================
   COOKIE CONSENT BANNER & PREFERENCES
   =================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #E4EAEE;
  box-shadow: 0 -4px 14px rgba(26,37,51,0.11);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 18px 14px;
  flex-direction: row;
  gap: 36px;
  animation: cookie-banner-in 0.35s cubic-bezier(.5,.95,.46,1) both;
}
@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(180px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cookie-banner-text {
  max-width: 500px;
  color: #1A2533;
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.cookie-banner button, .cookie-modal button {
  min-width: 48px;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .cookie-accept {
  background: #1A2533;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #5162a6;
}
.cookie-banner .cookie-reject {
  background: #F5F5F5;
  color: #1A2533;
  border: 1.5px solid #d7dbe3;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #E4EAEE;
  color: #1A2533;
}
.cookie-banner .cookie-settings {
  background: #D0B36A;
  color: #1A2533;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #1A2533;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 64px) scale(1);
  width: 96vw;
  max-width: 415px;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 32px rgba(26,37,51,0.16);
  z-index: 3500;
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 36px 28px 18px 28px;
  animation: cookie-modal-in 0.44s cubic-bezier(.67,.05,.32,1) both;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-in {
  from {
    opacity: 0;
    transform: translate(-50%, 384px) scale(.88);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 64px) scale(1);
  }
}
.cookie-modal-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal h3 {
  margin: 0 0 12px 0;
  font-size: 1.34rem;
}
.cookie-modal .cookie-modal-close {
  background: transparent;
  color: #1A2533;
  font-size: 1.76rem;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.12s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: #D0B36A;
}
.cookie-modal-categories {
  margin: 30px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A2533;
  font-size: 1.04em;
}
.cookie-category .toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.cookie-category .toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-category .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D0B36A;
  border-radius: 22px;
  transition: background 0.2s;
  cursor: pointer;
}
.cookie-category .toggle input:checked + .slider {
  background: #1A2533;
}
.cookie-category .slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-category .toggle input:checked + .slider::before {
  transform: translateX(20px);
}
.cookie-category .disabled label, .cookie-category .disabled .toggle {
  opacity: 0.63;
  pointer-events: none;
}
.cookie-modal-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 20px;
    padding: 18px 6px 14px 6px;
  }
  .cookie-banner-text {
    font-size: 0.99rem;
    max-width: 99vw;
  }
  .cookie-modal {
    padding: 18px 6vw 10px 6vw;
    max-width: 96vw;
  }
}

/* ================================
   GENERAL UTILITIES
   ================================ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Subtle transitions for all buttons */
button, .button-primary, .button-secondary, .cookie-banner button {
  transition: background 0.18s, color 0.14s, box-shadow 0.16s;
}

/* ================================
   FORM/ADDRESS DEFAULTS
   ================================ */
address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #465168;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  address {
    font-size: 0.98rem;
  }
}

/* ============================
   MICRO-INTERACTIONS & HOVER
   ============================ */
a, button, .button-primary, .button-secondary, .mobile-menu-close, .cookie-banner button {
  transition: color 0.16s, background 0.17s, box-shadow 0.15s;
}
a:hover, a:focus {
  color: #D0B36A;
}
button:active {
  transform: scale(0.97);
}

/* ================
   Z-INDEX LAYERS
   ================ */
header   { z-index: 900; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3500; }

/* ================
   NO ABSOLUTE LAYOUTS (except decorators)
   ================ */

/* ================
   END OF CSS
   ================ */
