/* ====== 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, menu, 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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F6F3ED;
  color: #20405A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #20405A;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #E8B960;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
strong, b {
  font-weight: 700;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #20405A;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #fff;
  color: #20405A;
  border-left: 6px solid #E8B960;
  margin: 0 0 10px 0;
  padding: 18px 20px 14px 26px;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(32,64,90,0.07);
  border-radius: 12px 24px 24px 12px;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(32,64,90,0.10);
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,64,90,0.17);
}
.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 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(32,64,90,0.09);
  margin-bottom: 24px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #E8B960;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.content-wrapper.cta {
  align-items: center;
  text-align: center;
  background: #20405A;
  color: #fff;
  border-radius: 24px;
  padding: 44px 32px 36px 32px;
  box-shadow: 0 4px 32px rgba(32,64,90,0.06);
}
.content-wrapper.cta h2,
.content-wrapper.cta p,
.content-wrapper.cta .btn-primary {
  color: #fff!important;
}
.content-wrapper.cta h2 {
  color: #E8B960!important;
  margin-bottom: 18px;
}

.content-wrapper.text-section {
  gap: 12px;
}

/* ===== HERO ===== */
.hero {
  background: #20405A;
  color: #fff;
  padding: 60px 0 54px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}
.hero h1 {
  color: #E8B960;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.hero p {
  color: #fff;
  font-size: 1.18rem;
  margin-bottom: 22px;
  max-width: 800px;
}
.hero .btn-primary {
  margin-top: 14px;
}

/* ==== FEATURES & GRIDS ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 30px 0 0 0;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(32,64,90,0.07);
  padding: 26px 18px 20px 18px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid #F6F3ED;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 32px rgba(32,64,90,0.16);
  border-color: #E8B960;
  transform: translateY(-6px) scale(1.02);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  color: #20405A;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.feature-grid p {
  color: #3a3a3a;
  margin-bottom: 0;
  font-size: 1rem;
}

/* ==== BUTTONS ==== */
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 38px;
  background: #E8B960;
  color: #20405A;
  border: 0;
  border-radius: 36px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(232,185,96,0.18);
  display: inline-block;
  margin: 12px 0;
  transition: background 0.20s, color 0.20s, box-shadow 0.15s, transform 0.18s;
  letter-spacing: 1px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #20405A;
  color: #E8B960!important;
  box-shadow: 0 7px 28px rgba(32,64,90,0.17);
  transform: scale(1.045);
}

/* ===== HEADER ===== */
header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px 18px 32px;
  border-bottom: 3px solid #E8B960;
  box-shadow: 0 2px 10px rgba(32,64,90,0.07);
  position: sticky;
  top: 0;
  z-index: 1001;
}
header > a img {
  height: 38px;
  width: auto;
  margin-right: 32px;
  vertical-align: middle;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  color: #20405A;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  transition: color 0.22s;
  padding: 2px 4px;
}
header nav a:after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background:#E8B960;
  border-radius: 4px;
  transform: scaleX(0);
  transition: transform 0.18s;
}
header nav a:hover:after, header nav a:focus:after {
  transform: scaleX(1);
}
header .btn-primary {
  margin-left: 18px;
  box-shadow: 0 2px 12px rgba(232,185,96,0.10);
}

/* ===== FOOTER ===== */
footer {
  background: #20405A;
  color: #fff;
  padding: 44px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer > a img {
  height: 42px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
footer nav a {
  color: #E8B960;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  text-decoration: underline;
  color: #fff;
}
footer > div {
  text-align: center;
}
footer p {
  color: #F6F3ED;
  margin-top: 3px;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

/* ==== MOBILE/TABLET HEADER ==== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 19px;
  right: 22px;
  font-size: 2.1rem;
  z-index: 1101;
  background: #E8B960;
  color: #20405A;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(232,185,96,0.16);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #20405A;
  color: #E8B960;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #20405A;
  z-index: 2000;
  padding: 0;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  box-shadow: 4px 0 32px rgba(32,64,90,0.23);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #E8B960;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 22px 28px 16px 0;
  cursor: pointer;
  transition: color 0.20s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin: 30px 0 0 48px;
}
.mobile-nav a {
  color: #E8B960;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.36rem;
  text-decoration: none;
  padding: 7px 0;
  transition: color 0.20s;
  min-width: 180px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
}

/* ==== Cookie Consent ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #20405A;
  color: #fff;
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 22px rgba(32,64,90,0.13);
  animation: fadeinUp 0.4s;
}
@keyframes fadeinUp {
  0% { opacity: 0; transform: translateY(48px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 12px;
  color: #fff;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 11px 24px;
  cursor: pointer;
  margin: 0 4px;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-accept {
  background: #E8B960;
  color: #20405A;
}
.cookie-banner .cookie-accept:hover {
  background: #fff;
  color: #20405A;
}
.cookie-banner .cookie-reject {
  background: none;
  color: #E8B960;
  border: 2px solid #E8B960;
}
.cookie-banner .cookie-reject:hover {
  background: #E8B960;
  color: #20405A;
}
.cookie-banner .cookie-settings {
  background: none;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-banner .cookie-settings:hover {
  background: #E8B960;
  color: #20405A;
  border-color: #E8B960;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,90,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeinBG 0.3s;
}
@keyframes fadeinBG {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #20405A;
  padding: 38px 30px 30px 30px;
  border-radius: 21px;
  max-width: 400px;
  width: 94vw;
  box-shadow: 0 6px 40px rgba(32,64,90,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: fadeinUp2 0.34s;
}
@keyframes fadeinUp2 {
  0% { opacity:0; transform: translateY(60px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.32rem;
  color: #20405A;
  margin-bottom: 8px;
  font-weight: 800;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  font-weight: 600;
  margin: 11px 0 0 0;
}
.cookie-modal input[type=checkbox][disabled] {
  accent-color: #E8B960;
  filter: grayscale(60%);
}
.cookie-modal-category {
  background: #F6F3ED;
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 11px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-btns button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 28px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: #20405A;
  color: #fff;
  transition: background 0.15s;
}
.cookie-modal .modal-btns .modal-save {
  background: #E8B960;
  color: #20405A;
}
.cookie-modal .modal-btns .modal-close {
  background: #20405A;
  color: #fff;
}
.cookie-modal .modal-btns .modal-save:hover {
  background: #20405A;
  color: #E8B960;
}
.cookie-modal .modal-btns .modal-close:hover {
  background: #E8B960;
  color: #20405A;
}

/* ======= GENERAL FORMS & INPUTS ======= */
input, select, textarea, button {
  font-family: inherit;
}
input, textarea {
  border: 2px solid #20405A;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  font-size: 1rem;
  background: #fff;
}
input:focus, textarea:focus {
  border-color: #E8B960;
  outline: none;
}

/* ======= CALL OUT ======= */
.callout {
  background: #E8B960;
  color: #20405A;
  margin-bottom: 60px;
  border-radius: 22px;
  box-shadow: 0 2px 24px rgba(232,185,96,.17);
  padding: 40px 20px;
}
.callout h2 {
  color: #20405A;
  margin-bottom: 13px;
}
.callout p {
  margin-bottom: 19px;
}
.callout .btn-primary {
  background: #20405A;
  color: #E8B960;
}
.callout .btn-primary:hover {
  background: #fff;
  color: #20405A;
}

/* ======= UTILS ======= */
.text-section {
  margin-top: 18px;
  margin-bottom: 18px;
}
.text-section img {
  margin-right: 8px;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  display: inline-block;
}
.text-section p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* Space Between Cards/Blocks for All Flex Containers */
main > section, .container > section, .content-wrapper > section, .card, .feature-grid > div {
  margin-bottom: 24px;
}

/* ======= RESPONSIVENESS ======= */
@media (max-width: 1100px) {
  .container { max-width: 98vw; padding: 0 10px; }
}
@media (max-width: 970px) {
  header { flex-direction: column; align-items: flex-start; gap: 6px; }
  header nav { margin-top: 6px; gap: 18px; }
}
@media (max-width: 860px) {
  .feature-grid { gap: 20px; }
  .feature-grid > div { min-width: 180px; }
  .callout, .section { padding-left: 11px; padding-right: 11px; }
}
@media (max-width: 768px) {
  header { flex-direction: row; padding: 12px 12px 12px 12px; }
  header nav { display: none; }
  header .btn-primary { display: none; }
  .mobile-menu-toggle { display: flex; }
  .container { padding: 0 4vw; }
  .feature-grid { flex-direction: column; gap: 20px; }
  .feature-grid > div { min-width: 98%; max-width: none; width: 100%; }
  .section, .callout, .content-wrapper.cta { padding: 30px 9px; }
  .content-grid, .card-container, .testimonial-card { flex-direction: column; gap: 18px; }
  .text-image-section { flex-direction: column; gap: 16px; }
  .content-wrapper.cta { padding: 30px 9px; }
}
@media (max-width: 582px) {
  .hero { padding: 38px 0 32px 0; }
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.13rem; }
  .feature-grid > div { padding: 16px 8px 12px 8px; }
  .testimonial-card { padding: 13px; }
}

/* ======= ANIMATIONS ======= */
.btn-primary, .feature-grid > div, .card {
  will-change: transform;
}
.btn-primary, .feature-grid > div {
  transition: transform 0.15s cubic-bezier(0.47,0.12,0.27,1.18), box-shadow 0.18s, background 0.16s;
}

/* ====== ACCESSIBILITY ====== */
:focus {
  outline: 2px solid #E8B960 !important;
  outline-offset: 2px;
}

/* ======= Z-INDEX CONTROL ======= */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 900;
}
.mobile-menu,
.mobile-menu.open {
  z-index: 2000;
}
.cookie-banner {
  z-index: 3000;
}
.cookie-modal-overlay {
  z-index: 3300;
}

/* Hide Scrollbar for Mobile Menu */
.mobile-menu::-webkit-scrollbar { width: 0; background: transparent; }

/* ======= NO GRID! FLEXBOX ONLY! ======= */
/* All container layouts in this CSS use ONLY FLEXBOX! */
