/* ========== 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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F3EE;
  color: #213A5C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  font-variant-ligatures: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}

/* ========== GLOBALS & BRAND ========== */
:root {
  --primary: #213A5C;
  --secondary: #FFAD0F;
  --accent: #F6F3EE;
  --text: #213A5C;
  --white: #fff;
  --shadow: 0 4px 24px 0 rgba(33, 58, 92, 0.10);
  --radius: 18px;
  --radius-sm: 8px;
  --radius-lg: 36px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.text-section {
  max-width: 800px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, .cta-btn {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.14;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 16px;
}
p, ul, ol, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text, #213A5C);
}
li strong {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
blockquote {
  border-left: 6px solid var(--secondary);
  margin: 28px 0 28px 0;
  padding: 16px 24px;
  background: #fff9ef;
  border-radius: var(--radius-sm);
  font-style: italic;
}

/* Headings always strong contrast */
h1, h2, h3, h4 {
  color: var(--primary);
}

/* ========== SECTION SPACING & FLEX LAYOUTS ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,58,92,0.13);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  color: #212121;
  font-size: 1.05rem;
  position: relative;
}
.testimonial-card strong {
  color: var(--secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul, ol {
  margin-left: 1.25rem;
  margin-bottom: 16px;
}
ul li:not(:last-child), ol li:not(:last-child) {
  margin-bottom: 12px;
}

/* Extra spacing between cards/sections */
section, .card, .testimonial-card {
  margin-bottom: 24px;
}

/* ========== NAVIGATION HEADER ========== */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(33,58,92,0.05);
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--primary);
  transition: background 0.15s, color 0.17s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: #fff;
}
nav img {
  height: 36px; max-height: 44px; width: auto;
  margin-right: 12px;
  display: inline-block;
  vertical-align: middle;
}
nav .cta-btn {
  margin-left: 10px;
}

.cta-btn {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.07rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  box-shadow: 0 2px 16px 0 rgba(33,58,92,.09);
  cursor: pointer;
  transition: background 0.19s, transform .17s, color 0.18s;
  margin-bottom: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.04) translateY(-2px);
}
.cta-btn.secondary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--secondary);
}
.cta-btn.secondary:hover {
  background: var(--secondary);
  color: #fff;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  padding: 2px 8px;
  margin-left: 16px;
  color: var(--secondary);
  background: none;
  border: none;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 1202;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #fff9ef;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: #fff;
  padding: 28px 32px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.71,0,.22,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.0rem;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  margin-bottom: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.15);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 6px;
  padding: 15px 0 15px 6px;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}

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

/* ========== MAIN SECTIONS & CARDS ========== */
section {
  background: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0px transparent;
  margin-bottom: 60px;
}
.content-wrapper {
  gap: 18px;
  background: none;
}
.card, .testimonial-card {
  margin-bottom: 20px;
}

/* ========== UL/OL LISTS INSIDE FEATURES ========== */
ul li, ol li {
  font-size: 1rem;
  color: var(--primary);
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 0;
  position: relative;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  padding: 36px 0;
}
footer nav {
  flex-wrap: wrap;
  gap: 9px;
  color: #fff;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.92;
  padding: 7px 5px;
}
footer nav a:hover {
  text-decoration: underline;
  color: var(--secondary);
  background: none;
}
.footer-contact p {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 5px;
  color: #fff;
  opacity: 0.93;
}
.footer-contact img {
  width: 22px;
  margin-right: 7px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  transition: background 0.16s;
}
.footer-social a:hover img {
  background: var(--secondary);
}
.copyright p {
  font-size: 0.93rem;
  color: #fff;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

/* ========== COOKIES BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2300;
  background: #fffbe8;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -4px 20px rgba(33,58,92,0.07);
  padding: 32px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 1.06em;
  max-width: 100vw;
  transition: transform .32s cubic-bezier(.61,.01,.34,.97);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 24px;
  border: none;
  margin-right: 8px;
  font-size: 1.02rem;
  transition: background .17s, color .15s, transform .16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
  transform: scale(1.03);
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btn.secondary:hover {
  background: var(--secondary);
  color: #fff;
}

/* COOKIES MODAL */
.cookie-modal-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 2500;
  left:0; right:0; top:0; bottom:0;
  background: rgba(33,58,92,0.58);
  pointer-events: auto;
  animation: fadeIn .28s cubic-bezier(.71,0,.22,1);
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px 0 rgba(33,58,92,0.18);
  max-width: 430px;
  padding: 36px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalAppear .38s cubic-bezier(.71,0,.22,1);
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 9px;
}
.cookie-category {
  margin-bottom: 13px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-switch {
  margin-left: auto;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
@keyframes fadeIn {
  from {opacity:0;} to {opacity:1;}
}
@keyframes modalAppear {
  from {transform: translateY(60px) scale(0.97); opacity:0;}
  to {transform: none; opacity:1;}
}

/* ========== FORMS ========== */
input, textarea {
  display: block;
  width: 100%;
  border: 1.5px solid #dedede;
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  margin-bottom: 15px;
  background: #fff;
  font-size: 1.04em;
  color: var(--primary);
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01em;
  margin-bottom: 6px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .content-grid, .card-container, .features, .footer-contact, .footer-social {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 22px !important;
  }
  section {
    padding: 30px 7px;
    margin-bottom: 40px;
    border-radius: 20px;
  }
  .card, .testimonial-card {
    padding: 18px 12px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 18px 5px 26px 5px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.22rem;
  }
  h3 {
    font-size: 1rem;
  }
  .content-wrapper {
    padding: 0 2px;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card, .testimonial-card {
    padding: 10px 5px;
    font-size: 0.97em;
  }
  .footer-contact {
    gap: 6px !important;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 5px;
  }
}

/* ========== VISUAL HIERARCHY & GEOMETRIC SHAPES ========== */
section, .card, .testimonial-card, .cookie-modal, .cookie-banner {
  border-radius: var(--radius-lg);
}
.cta-btn, .cookie-btn, .cookie-btn.secondary {
  border-radius: var(--radius);
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .testimonial-card {
  transition: box-shadow 0.17s cubic-bezier(.4,0,.2,1), transform 0.17s cubic-bezier(.4,0,.2,1);
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(33,58,92,0.13);
  transform: translateY(-4px) scale(1.01);
}

.cta-btn, .cookie-btn {
  transition: background 0.19s, color 0.17s, transform 0.17s;
  will-change: transform, background, color;
}

a:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 4px;
}

/* ========== HIGH CONTRAST FOR TESTIMONIALS & ACCESSIBILITY ========== */
.testimonial-card {
  background: #fff;
  color: #213A5C;
  border: 2px solid var(--secondary);
}
.testimonial-card strong {
  color: var(--primary);
}

/* ========== DECORATIVE SOCIAL ICONS ROUNDED ========== */
.footer-social a img {
  border-radius: 12px;
  background: #fff;
  transition: background 0.14s;
}
.footer-social a:hover img {
  background: var(--secondary);
}

/* ========== MISC ========== */
::-webkit-scrollbar {
  width: 10px; background: #e6e3de;
}
::-webkit-scrollbar-thumb {
  background: #213A5C;
  border-radius: 7px;
}

/* ========== GEOMETRY/BG BOLDNESS (Optional geometric accent corners) ========== */
section {
  border-radius: var(--radius-lg) var(--radius) var(--radius-sm) var(--radius-lg);
  box-shadow: 0 2px 16px 0 rgba(33,58,92,0.065);
}

/* ========== ACCESSIBLE FOCUS STATES ========== */
button:focus, a:focus, input:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* ========== ENFORCE FLEXBOX, PREVENT GRID/COLUMN LAYOUTS ========== */
/* INTENTIONALLY OMITTED display: grid, grid-template-columns, column-count, columns, column-gap, break-inside, etc. */

/* ===== END OF STYLE ===== */
