/* ===== 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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F0F4FA;
  color: #212529;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  outline: none;
  color: inherit;
}

/* ===== LUXURY PREMIUM THEME - Brand Colors + Typography ===== */
:root {
  --color-primary: #23467B;
  --color-secondary: #F0F4FA;
  --color-accent: #FABE50;
  --color-accent-dark: #A9851B;
  --color-dark: #1B2435;
  --color-light: #FFFFFF;
  --color-gray: #C7D1E0;
  --color-cta-shadow: rgba(250,190,80,0.20);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* ===== Layout Containers ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  box-shadow: 0 6px 18px 0 rgba(35,70,123,0.05);
  border-radius: 18px;
  padding: 28px 32px;
  transition: box-shadow 0.2s, border 0.2s;
  border: 1px solid var(--color-gray);
}
.card:hover {
  box-shadow: 0 10px 32px 0 rgba(35,70,123,0.11);
  border: 1.5px solid var(--color-accent);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(35,70,123,0.09);
  border: 1px solid #e5e9f0;
  position: relative;
}
.testimonial-card p {
  color: #27283b;
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-card span {
  color: #1B2435;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------ Hero for index ------ */
section:first-of-type {
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 12px 36px rgba(35,70,123,0.12);
}
section:first-of-type h1 {
  color: var(--color-light);
  font-family: var(--font-display);
}
.section h1, .section h2, .section h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}
.section h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}
.section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.section h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

@media (min-width: 700px) {
  .section h1 { font-size: 3rem; }
  .section h2 { font-size: 2.1rem; }
  .section h3 { font-size: 1.25rem; }
}

/* ===== Navigation & Header ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(35,70,123,0.05);
  position: sticky;
  top: 0;
  z-index: 111;
  min-height: 68px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
}
header nav > a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  transition: background 0.2s, color 0.2s;
}
header nav > a.primary-cta {
  background: var(--color-accent);
  color: var(--color-dark);
  box-shadow: 0 2px 8px var(--color-cta-shadow);
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 36px;
  margin-left: 18px;
  border: 1.5px solid var(--color-accent-dark);
}
header nav > a.primary-cta:hover, .primary-cta:focus {
  background: var(--color-accent-dark);
  color: #fff;
  border: 1.5px solid var(--color-accent);
}
header nav > a:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}
header nav > a.active {
  background: var(--color-gray);
}

header nav img {
  height: 38px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* --- Burger Menu Mobile --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-dark);
  font-size: 2rem;
  border-radius: 50%;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--color-cta-shadow);
  position: absolute;
  top: 12px; right: 18px;
  border: 1.5px solid var(--color-accent-dark);
  z-index: 222;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:active {
  background: var(--color-accent-dark);
  color: var(--color-light);
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--color-light);
  box-shadow: 0 8px 36px rgba(35,70,123,0.14);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  transition: transform 0.36s cubic-bezier(0.77,0,0.175,1), opacity 0.13s linear;
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-primary);
  font-size: 2.2rem;
  border-radius: 50%;
  height: 52px;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  cursor: pointer;
  border: 1.5px solid var(--color-primary);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 12px;
  padding-left: 34px;
  gap: 18px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.16rem;
  color: var(--color-primary);
  padding: 12px 0;
  transition: color 0.18s;
  min-width: 160px;
}
.mobile-nav a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

@media (max-width: 1020px) {
  header nav {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  header nav {
    gap: 4px;
    padding: 10px 10px;
  }
  header nav > a.primary-cta {
    padding: 9px 12px;
    margin-left: 7px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ===== General Typography ===== */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--color-primary);
}
p, li {
  font-family: var(--font-body);
  color: #212529;
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.7;
}
strong {
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

/* --- Lists --- */
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
}
ul img, ol img {
  height: 22px;
  width: 22px;
}

/* ===== Buttons & CTA ===== */
.primary-cta, .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-right: 16px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px var(--color-cta-shadow);
  transition: background 0.17s, color 0.17s, box-shadow 0.15s, border 0.17s;
}
.primary-cta {
  background: var(--color-accent);
  color: var(--color-dark);
  border: 1.5px solid var(--color-accent-dark);
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--color-accent-dark);
  color: #fff;
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 5px 20px 0 var(--color-accent-dark);
  transform: translateY(-1px) scale(1.01);
}
.secondary-cta {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
}
.secondary-cta:hover, .secondary-cta:focus {
  background: var(--color-accent);
  color: var(--color-dark);
  border: 1.5px solid var(--color-accent-dark);
  transform: translateY(-2px) scale(1.01);
}

/* ===== Spacing & Flexbox Patterns ===== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ===== Footer ===== */
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 45px 0 20px 0;
  width: 100%;
  box-shadow: 0 -4px 18px rgba(35,70,123,0.11);
}
footer .container {
  width: 100%;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.footer-brand img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: border 0.18s, color 0.17s;
}
.footer-nav a:hover {
  color: var(--color-light);
  border-bottom: 1.5px solid var(--color-accent);
}
.footer-contact p, .footer-contact a {
  color: #f8f5ef;
  font-size: 0.97rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  height: 20px;
  width: 20px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 6px;
}
.footer-social a {
  display: flex;
  align-items: center;
  border-radius: 50%;
  background: rgba(250,190,80,0.065);
  padding: 8px;
  transition: background 0.13s;
}
.footer-social a:hover {
  background: var(--color-accent);
}
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-newsletter p {
  color: var(--color-accent);
  font-size: 1.07rem;
}
.footer-newsletter .secondary-cta {
  margin-left: 0;
  margin-top: 3px;
  margin-bottom: 0;
}

/* ---- Cards/Logo Rows ---- */
.client-logos {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 12px;
}
.client-logos img { height: 38px; opacity: 0.72; transition: opacity 0.13s; }
.client-logos img:hover { opacity: 1; }

/* ===== Accordion FAQ ===== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 5px rgba(35,70,123,.08);
  border: 1px solid var(--color-gray);
  padding: 16px 20px;
  cursor: pointer;
  transition: box-shadow 0.17s;
}
.faq-item:hover {
  box-shadow: 0 6px 18px rgba(250,190,80,0.09);
  border: 1.5px solid var(--color-accent);
}
.faq-item h3 {
  color: var(--color-primary);
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.faq-content {
  color: #222;
  font-size: 15px;
}

/* ===== Responsive Flex Patterns ===== */
@media (max-width: 990px) {
  .container {
    max-width: 92vw;
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .section, .text-section, .footer-nav, .card-container, .content-grid, .client-logos {
    flex-direction: column!important;
    align-items: flex-start!important;
    gap: 20px!important;
  }
  .text-image-section {
    flex-direction: column!important;
    align-items: flex-start!important;
    gap: 20px;
  }
  section {
    padding: 26px 5vw;
    margin-bottom: 34px;
  }
  .testimonial-card {
    padding: 17px;
  }
  .footer-brand img {
    height: 36px;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 3vw;
  }
  .section {
    padding: 18px 2vw;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .primary-cta, .secondary-cta {
    width: 100%;
    padding: 12px 0;
    margin-bottom: 14px;
    font-size: 1rem;
  }
}


/* ===== Cookie Banner (fixed bottom) ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--color-dark);
  box-shadow: 0 0 26px 0 rgba(35,70,123,0.12);
  border-top: 2.5px solid var(--color-accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  padding: 20px 24px;
  z-index: 1200;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 18px 18px 0 0;
  animation: cookieIn 0.6s cubic-bezier(.4,1.55,.53,.99);
}
@keyframes cookieIn {
  from { transform: translateY(110%); opacity:0 } to { transform: translateY(0); opacity:1 }
}
.cookie-banner__text {
  flex: 2 1 0;
}
.cookie-banner .cookie-btn {
  background: var(--color-accent);
  color: var(--color-dark);
  border-radius: 28px;
  padding: 8px 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-right: 11px;
  border: 1.5px solid var(--color-accent-dark);
  box-shadow: 0 1.5px 8px var(--color-cta-shadow);
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-btn-reject {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-accent);
}
.cookie-banner .cookie-btn.cookie-btn-reject:hover {
  background: #FABE50;
  color: var(--color-dark);
}
.cookie-banner .cookie-btn.cookie-btn-settings {
  background: var(--color-primary);
  color: var(--color-light);
  margin-right: 0;
  border: 1.5px solid var(--color-primary);
}
.cookie-banner .cookie-btn.cookie-btn-settings:hover {
  background: var(--color-light);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 15px 7vw 15px 7vw;
    font-size: 14px;
    border-radius: 12px 12px 0 0;
  }
  .cookie-banner__text { width: 100%; flex: none; }
}

/* ---- Cookie Modal Popup ---- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,70,123,0.35);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.23s linear;
}
@keyframes fadeIn {
  from { opacity:0 } to { opacity:1 }
}
.cookie-modal__window {
  background: #fff;
  box-shadow: 0 8px 36px rgba(35,70,123,0.15);
  border-radius: 24px;
  min-width: 330px;
  max-width: 95vw;
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: cookieModalAnim 0.27s cubic-bezier(.4,1.3,.53,.99);
  font-family: var(--font-body);
}
@keyframes cookieModalAnim {
  from { transform: translateY(60px); opacity:0.2 } to { transform: translateY(0); opacity:1 }
}
.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cookie-modal__header h2 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0;
}
.cookie-modal__close {
  background: none;
  font-size: 1.6em;
  color: var(--color-primary);
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.17s, color 0.16s;
}
.cookie-modal__close:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 11px 0;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-modal__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cookie-modal__toggle input[type="checkbox"] {
  appearance: none;
  background: #e5e9f0;
  border-radius: 14px;
  width: 30px;
  height: 18px;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-modal__toggle input[type="checkbox"]:checked {
  background: var(--color-accent);
}
.cookie-modal__toggle input[type="checkbox"]:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 2px 1.5px #bbb;
  transition: left 0.18s;
}
.cookie-modal__toggle input[type="checkbox"]:checked:before {
  left: 14px;
  background: var(--color-primary);
}
.cookie-modal__toggle input[type="checkbox"][disabled] {
  background: #e5e5e5;
  opacity: 0.68;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 7px;
}
.cookie-modal__actions .cookie-btn {
  padding: 10px 30px;
  font-size: 1rem;
}
@media (max-width: 500px) {
  .cookie-modal__window {
    padding: 18px 4vw;
    min-width: 90vw;
    border-radius: 14px;
  }
  .cookie-modal__header h2 {
    font-size: 1rem;
  }
}

/* === Micro-interactions + Small Animations === */
.primary-cta, .secondary-cta, .cookie-btn {
  transition: background 0.13s, color 0.13s, box-shadow 0.14s, border 0.14s, transform 0.17s;
}
.card, .testimonial-card, .feature-item, .faq-item {
  transition: box-shadow 0.15s, border 0.15s, transform 0.13s;
}
.card:hover, .faq-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 9px 26px 0 rgba(250,190,80,0.13);
}


/* === Visual Gold Accents + Details === */
h1, h2, h3, .footer-newsletter p, .primary-cta, .footer-nav a {
  text-shadow: 0 1.5px 0 rgba(250,190,80,0.03);
}
strong, .primary-cta, .secondary-cta, .footer-nav a, .feature-item strong {
  color: rgb(19, 18, 17);
}

/* === Misc: Images/Spacing === */
img {
  border-radius: 4px;
}
section:not(:last-child) {
  border-bottom: 1.5px solid #ece6de2c;
}

/* === Remove dragging for logo/social for premium feel === */
nav img, .footer-social img { pointer-events: none; user-drag: none; }

/* ===== Utility Classes ===== */
.flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.flex-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }

/* === Hide visually but accessible === */
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== End of Comprehensive CSS ===== */
