/* ========== CSS RESET & BASES ========== */
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;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  background-color: #FFFFFF;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #1C2833;
  background: #F4F6F7;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1C2833;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #FFC107;
  outline: none;
}

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #1C2833;
}
h1 { font-size: 2rem; margin-bottom: 20px; }
h2 { font-size: 1.5rem; margin-bottom: 18px; }
h3 { font-size: 1.18rem; margin-bottom: 12px; }
@media (min-width: 768px) {
  h1 { font-size: 2.7rem; margin-bottom: 28px; }
  h2 { font-size: 2rem; margin-bottom: 24px; }
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #2b3743;
}
strong, b {
  font-weight: 700;
}
ul, ol {
  margin-bottom: 16px;
  margin-left: 22px;
}
li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #334257;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(56,69,85,0.10);
}
th, td {
  padding: 12px 10px;
  text-align: left;
}
th {
  background: #F4F6F7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
}
td {
  border-bottom: 1px solid #E3E5E7;
}
.text-section {
  margin-bottom: 16px;
}

/* ========== CONTAINER & SECTIONS ========== */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  background: none;
  padding: 0;
  margin: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== SPACING & FLEXBOXS LAYOUTS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(28,40,51,0.06);
  position: relative;
  padding: 24px 20px 18px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(28,40,51,0.10);
  margin-bottom: 20px;
  margin-top: 10px;
  max-width: 700px;
  color: #212931;
}
.testimonial-card p {
  flex: 1;
  margin: 0 0 0 0;
  color: #212931;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #616C7A;
}

/* Card and testimonial images always aligned left */
.testimonial-meta img {
  width: 32px; height: 32px; border-radius: 50%; background: #F4F6F7;
}

/* Lists with icons spacing */
ul li, ol li {
  display: flex;
  align-items: center;
  gap: 12px;
}
ul li img, ol li img {
  width: 26px;
  height: 26px;
  background: #F4F6F7;
  border-radius: 6px;
  padding: 5px;
}

/* ========== BUTTONS & CTA ========== */
.cta-primary {
  font-family: 'Montserrat', sans-serif;
  background: #1C2833;
  color: #fff;
  border: none;
  border-radius: 47px;
  font-size: 1.07rem;
  font-weight: 700;
  padding: 13px 32px;
  margin-top: 18px;
  margin-bottom: 8px;
  cursor: pointer;
  display: inline-block;
  letter-spacing: 0.01em;
  box-shadow: 0px 3px 18px rgba(28,40,51,0.10);
  transition: background 0.20s, color 0.16s, box-shadow 0.18s, transform 0.18s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #FFC107;
  color: #1C2833;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(255,193,7,0.08);
}
button, .button {
  font: inherit;
  background: #f4f6f7;
  color: #1C2833;
  border: none;
  border-radius: 37px;
  padding: 10px 22px;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.16s, box-shadow 0.14s;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #FFC107;
  color: #1C2833;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(28,40,51,0.055);
  padding: 0px 0;
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
header a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1C2833;
  position: relative;
  padding: 5px 12px;
  transition: color 0.16s;
  border-radius: 6px;
  outline: none;
}
header nav a:hover, header nav a:focus {
  color: #FFC107;
  background: #F4F6F7;
}
header img {
  width: 142px; max-width: 100%;
}
header .cta-primary {
  margin-left: 16px;
  margin-top: 0;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #1C2833;
  border: none;
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 8px;
  z-index: 102;
  border-radius: 8px;
  transition: background 0.18s;
  padding: 6px 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #ffc10711;
  color: #FFC107;
}
@media (max-width: 1020px) {
  header nav, header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========== MOBILE MENU OVERLAY ========== */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100%; height: 100vh;
  background: rgba(28, 40, 51, 0.96);
  transform: translateX(104vw);
  transition: transform 0.35s cubic-bezier(.65,.01,.33,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.25rem;
  padding: 16px 20px 8px 16px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.14s, background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFC107;
  background: #ffffff11;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 auto;
  width: 100%;
  padding: 38px 32px 30px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  padding: 10px 0;
  width: 100%;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.17s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4F6F7;
  color: #1C2833;
}

@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ========== MAIN CONTENT & SECTION ========== */
main {
  margin-top: 6px;
  padding-bottom: 40px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  background: none;
}
@media (max-width: 768px) {
  main { padding-bottom: 16px; }
  section {
    margin-bottom: 30px;
    padding: 22px 0 0 0;
  }
}

/* ========== FOOTER ========== */
footer {
  background: #1C2833;
  color: #fff;
  padding: 28px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 1160px;
}
footer img {
  width: 108px;
}
footer nav {
  display: flex;
  gap: 18px;
  margin: 0 18px;
}
footer nav a {
  color: #fff;
  opacity: 0.92;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s, opacity 0.17s;
}
footer nav a:hover,
footer nav a:focus {
  color: #FFC107;
  background: #fff1;
  opacity: 1;
}
.footer-legal {
  font-size: 0.96rem;
  color: #B5BFC9;
  margin-top: 6px;
  text-align: left;
}
.footer-legal a {
  color: #FFC107;
  text-decoration: underline;
  opacity: 1;
}

@media (max-width: 970px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 30px rgba(56,69,85,0.08);
  border-top: 2px solid #f4f6f7;
  z-index: 350;
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 18px 16px 18px;
  animation: fadeInSlideUp 0.6s cubic-bezier(.5,1.25,.57,1.08);
  font-size: 1rem;
}
.cookie-consent-banner p {
  flex: 1 1 250px;
  margin-bottom: 8px;
  max-width: 620px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  min-width: 108px;
  padding: 11px 18px;
  border-radius: 36px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.19s, color 0.17s, box-shadow 0.14s;
  border: 1.5px solid #E4E6E7;
  box-shadow: 0 1px 8px rgba(28,40,51,0.04);
}
.cookie-consent-banner .cookie-accept {
  background: #1C2833;
  color: #fff;
  border: none;
}
.cookie-consent-banner .cookie-accept:hover,
.cookie-consent-banner .cookie-accept:focus {
  background: #FFC107;
  color: #1C2833;
}
.cookie-consent-banner .cookie-reject {
  background: #fff;
  color: #b55;
  border: 1.5px solid #f4d0d0;
}
.cookie-consent-banner .cookie-reject:hover, .cookie-consent-banner .cookie-reject:focus {
  background: #FBEFEF;
  color: #a00;
}
.cookie-consent-banner .cookie-settings {
  background: #F4F6F7;
  color: #1C2833;
}
.cookie-consent-banner .cookie-settings:hover, .cookie-consent-banner .cookie-settings:focus {
  background: #FFC107;
  color: #1C2833;
}
@keyframes fadeInSlideUp { from { opacity: 0; transform: translateY(60px);} to { opacity: 1; transform: translateY(0);} }

@media (max-width:620px) {
  .cookie-consent-banner { flex-direction: column; gap: 10px; align-items: flex-start; padding: 17px 5px 11px 10px; }
}

.cookie-consent-banner.show {
  display: none !important;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28, 40, 51, 0.55);
  z-index: 400;
  transition: opacity 0.15s;
}
.cookie-modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.29s;
}
@keyframes fadeIn { from { opacity:0;} to { opacity:1;} }
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(28,40,51,0.16);
  padding: 32px 30px 22px 30px;
  max-width: 420px;
  min-width: 260px;
  width: 96vw;
  display: flex;
  flex-direction: column;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 7px 0;
  border-bottom: 1px solid #F4F6F7;
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal .cookie-toggle {
  margin-left: auto;
}
.cookie-modal input[type=checkbox] {
  accent-color: #FFC107;
  width: 22px; height: 22px;
}
.cookie-modal .cookie-essential-label {
  font-weight: 600;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-modal-close {
  background: none;
  color: #222;
  border: none;
  font-size: 1.45rem;
  font-weight: 700;
  position: absolute;
  top: 8px; right: 18px;
  cursor: pointer;
  z-index: 420;
}
/* ========== MISC COMPONENTS & STYLES ==========*/
::-webkit-scrollbar {
  width: 10px;
  background: #ECECEC;
}
::-webkit-scrollbar-thumb {
  background: #E3E6EB;
  border-radius: 12px;
}

hr {
  border: none;
  border-bottom: 1px solid #e4e7ea;
  margin: 32px 0 34px 0;
}

/* ========== RESPONSIVE TYPOGRAPHY & SPACING ==========*/
@media (max-width: 620px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.1rem; }
  .section, section { padding: 18px 0 0 0; }
  .testimonial-card, .card { padding: 14px 8px 10px 8px; }
}

/* ========== VISUAL HIERARCHY AND EMBELLISHMENTS ========== */
.card {
  transition: box-shadow 0.26s, transform 0.20s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(28,40,51,0.12);
  transform: translateY(-3px) scale(1.025);
}
.testimonial-card {
  border-left: 5px solid #FFC107;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 32px rgba(28,40,51,0.13);
  border-left: 5px solid #1C2833;
  transform: scale(1.012);
}

/* ========== FORMS & INPUTS ========== */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1.5px solid #E3E6EB;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 14px;
  color: #1C2833;
  transition: border 0.15s;
  box-shadow: 0 1px 6px rgba(28,40,51,0.03);
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus, select:focus {
  border-color: #FFC107;
  outline: none;
}
label {
  font-size: 1.01rem;
  color: #233047;
  margin-bottom: 4px;
  display: inline-block;
}

/* ========== UTILITY CLASSES ========== */
.hide { display: none !important; }
.show { display: block !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.full-width { width: 100%; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }

/* ========== ACCESSIBILITY ========== */
:focus {
  outline: none;
  box-shadow: 0 0 0 3px #FFC10755;
}

/* ========== PRINT OPTIMIZATION ========== */
@media print {
  header, .mobile-menu, .cookie-consent-banner, footer { display: none !important; }
  body { background: #fff; }
  main { margin: 0; padding: 0; }
}
