/* === 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, 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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F5F7FA;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
}

/* === Variable & Brand Fonts === */
:root {
  --color-primary: #22334A;
  --color-secondary: #F5F7FA;
  --color-accent: #F7B91A;
  --color-gold: #F7B91A;
  --color-white: #fff;
  --color-black: #16191E;
  --color-grey: #7E8A99;
  --color-bg-dark: #182232;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 7px;
  --shadow-soft: 0 2px 18px 0 rgba(34, 51, 74, 0.10);
  --shadow-hover: 0 4px 32px 0 rgba(34, 51, 74, 0.13);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background: var(--color-secondary);
}

.container {
  width: 100%;
  max-width: 1160px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* === Typography Hierarchy === */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: var(--color-primary);
  line-height: 1.18;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.22;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 11px;
}
p {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-primary);
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: var(--color-black);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* === Header & Navigation === */
header {
  width: 100%;
  background: var(--color-white);
  border-bottom: 1.5px solid #e6e8eb;
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 0;
}
.logo img {
  height: 44px;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 36px;
  margin-left: 36px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  position: relative;
  transition: color 0.2s, border-bottom-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
}
/* CTA Button in Header */
.button.primary {
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  border-radius: var(--radius-md);
  padding: 11px 26px;
  margin-left: 30px;
  box-shadow: 0 2px 9px rgba(247, 185, 26, 0.07);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  position: relative;
  min-width: 128px;
}
.button.primary::after {
  content: '';
  display: block;
  position: absolute;
  top: 7px; left: 7px;
  right: 7px; bottom: 7px;
  border: 1.5px solid #F0D689;
  border-radius: var(--radius-md);
  pointer-events: none;
  opacity: 0.23;
}
.button.primary:hover, .button.primary:focus {
  background: #fffbe2;
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

/* === Mobile Menu === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  margin-left: 22px;
  box-shadow: 0 1px 7px rgba(247, 185, 26, 0.08);
  border: none;
  z-index: 1101;
  position: relative;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffe8b0;
  color: var(--color-black);
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(34, 51, 74, 0.98);
  z-index: 2005;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.65,.05,.36,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--color-gold);
  background: transparent;
  border: none;
  padding: 22px 30px 10px 0;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fffbe2;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 24px 0 0 0;
  padding: 0 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 1023px) {
  .main-nav,
  .header .button.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ====== Section & Layouts ====== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 30px 26px;
  flex: 1 1 290px;
  min-width: 265px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.025);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 13px 0 rgba(34, 51, 74, 0.08);
  border-left: 4px solid var(--color-gold);
  font-size: 1.06rem;
  color: #212d3b;
  position: relative;
  transition: box-shadow .18s;
}
.testimonial-card p {
  color: #22334a;
  font-size: 1.02rem;
  margin-bottom: 0;
  font-style: italic;
  flex: 1 1 0%;
}
.testimonial-card span {
  color: var(--color-grey);
  font-size: 0.98rem;
  font-weight: 600;
  font-family: var(--font-display);
  margin-left: 10px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(34, 51, 74, 0.16);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
}

/* === List & Features === */
ul, ol {
  padding-left: 0;
  margin-bottom: 13px;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 9px;
  padding-left: 0;
  color: var(--color-primary);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
ul li img {
  width: 26px;
  height: 26px;
}

/* ====== Footer ====== */
footer {
  background: var(--color-bg-dark);
  padding: 0;
  margin: 0;
  color: #fff;
}
footer .section {
  background: transparent;
  box-shadow: none;
  padding-bottom: 0;
  padding: 48px 20px 18px 20px;
  margin-bottom: 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #F7B91A;
  font-family: var(--font-display);
  font-size: 1.04rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.brand-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.06rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.brand-signature img {
  height: 32px;
}
.legal-disclaimer p {
  font-size: 0.98rem;
  color: #bec6cf;
  margin-bottom: 12px;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
}
.social-media a img {
  width: 31px;
  height: 31px;
  filter: brightness(0) invert(1) opacity(0.92);
  transition: filter 0.16s, opacity 0.16s;
}
.social-media a:hover img, .social-media a:focus img {
  filter: none;
  opacity: 1;
}

/* === FORM ELEMENTS (for possible contact forms) === */
input, textarea, select {
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid #d8dee7;
  background: #fff;
  font-family: var(--font-body);
  font-size: 1.01rem;
  color: var(--color-primary);
  margin-bottom: 9px;
  transition: border-color 0.17s, box-shadow 0.17s;
}
input:focus, textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 2px 13px 0 rgba(247, 185, 26, 0.07);
}
label {
  font-family: var(--font-body);
  color: #22334A;
  font-weight: 600;
  font-size: 1rem;
}

/* === General Button Styles === */
.button, .button.primary, .button.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 11px 36px;
  font-size: 1.03rem;
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  border: none;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
  font-weight: 600;
  gap: 7px;
  outline: none;
  text-align: center;
  min-width: 120px;
}
.button.secondary {
  background: #fff;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}
.button.secondary:hover, .button.secondary:focus {
  background: #fdf6dd;
  color: var(--color-primary);
}
.button:active {
  box-shadow: 0 2px 14px 0 rgba(34, 51, 74, 0.11);
  color: var(--color-black);
}

/* === Responsive Layouts & Flexbox Queries === */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .section {
    padding: 32px 7px;
    margin-bottom: 40px;
  }
  footer .section {
    padding: 38px 12px 13px 12px;
  }
  .main-nav {
    gap: 19px;
    margin-left: 10px;
  }
  .footer-nav {
    gap: 16px;
    font-size: 0.99rem;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 26px 4px;
    margin-bottom: 30px;
  }
  h1, .h1 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }
  h2, .h2 {
    font-size: 1.18rem;
    margin-bottom: 9px;
  }
  .content-wrapper {
    gap: 7px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 500px) {
  .section {
    padding: 17px 0;
    margin-bottom: 19px;
    border-radius: 0;
  }
  .card {
    padding: 15px 6px;
  }
}

/* === Animations and Micro-Interactions === */
.button, .button.primary, .button.secondary, .main-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.18s, border-bottom-color 0.2s;
}
.card, .testimonial-card, .section {
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
}

/* === Cookie Consent Banner === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 51, 74, 0.98);
  padding: 19px 18px 15px 18px;
  box-shadow: 0 -3px 19px 0 rgba(34, 51, 74, 0.14);
  color: #fff;
  font-size: 1.02rem;
  font-family: var(--font-body);
  animation: fadeInCookie 0.7s;
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(120%); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  flex: 1 1 auto;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 7px;
}
.cookie-banner button {
  padding: 9px 19px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  outline: none;
  min-width: 98px;
}
.cookie-banner .accept {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #ffe8b0;
  color: var(--color-black);
}
.cookie-banner .reject {
  background: #22334A;
  color: #fff;
  border: 2px solid #fffbe2;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #fff;
  color: var(--color-primary);
}
.cookie-banner .settings {
  background: none;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #fdf6dd;
  color: var(--color-primary);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 8px;
    padding-right: 8px;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 7px;
  }
}

/* === Cookie Modal === */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2300;
  background: rgba(34, 51, 74, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px 0 rgba(34, 51, 74, 0.21);
  padding: 32px 23px 26px 23px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.04rem;
  animation: fadeInModal .35s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.16rem;
  margin-bottom: 7px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
}
.cookie-modal__category label {
  font-weight: 600;
}
.cookie-modal__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.49rem;
  line-height: 1;
  color: var(--color-gold);
  cursor: pointer;
  margin-bottom: -12px;
}
.cookie-modal__close:hover {
  color: #22334A;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 23px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #d8dee7;
  transition: .3s;
  border-radius: 14px;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: var(--color-gold);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(34, 51, 74, 0.13);
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

/* === Details & Refined Accents === */
hr {
  border: none;
  border-top: 2px solid #f2e1b6;
  margin: 32px 0 22px 0;
}
.section strong, .card strong {
  color: var(--color-gold);
  font-weight: 700;
}

/* === Microinteractions for Interactive Elements === */
.button:focus, .main-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid #f7b91a;
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 7px;
  background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #e6e8eb;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F7B91A;
}

/* === Utility Classes === */
.gap-20 { gap: 20px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }

/* === Print adjustments === */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
  .section {
    box-shadow: none;
    background: #fff;
    border-radius: 0;
    margin: 0;
    padding: 0;
  }
}
