/* 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.5;
  background: #F4F7FA;
  min-height: 100vh;
  color: #222831;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a {
  color: #174060;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #EBB200;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174060;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(23, 64, 96, 0.08);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
}
ul, ol {
  padding-left: 22px;
}
li {
  margin-bottom: 10px;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 20px 0 rgba(23,64,96,0.03);
}

.text-section {
  font-size: 1.1rem;
  color: #3b3d42;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 rgba(23,64,96,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
  padding: 28px 23px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .25s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(235,178,0,0.15),0 2px 8px 0 rgba(23,64,96,0.10);
  z-index: 2;
}
.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: flex-start;
  gap: 20px;
  background: #f9fbfd;
  border-left: 5px solid #EBB200;
  margin-bottom: 20px;
  padding: 28px 28px 18px 28px;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(23,64,96,0.06);
  color: #222831;
  font-size: 1.13rem;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #174060;
}
.star-rating {
  color: #EBB200;
  font-size: 1.3em;
  letter-spacing: 2px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  list-style: none;
  margin-bottom: 12px;
}
.features-list li {
  background: #FAEABA;
  color: #174060;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(235,178,0,0.04);
  flex: 1 1 230px;
  min-width: 230px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background .24s, box-shadow .24s;
}
.features-list li:hover {
  background: #EBB200;
  color: #fff;
  box-shadow: 0 3px 12px rgba(235,178,0,0.13);
}
.features-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}
.features-list strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
}

.service-list {
  list-style: disc inside;
  margin-bottom: 18px;
}

/* HEADER & NAVIGATION */
header {
  background: #174060;
  color: #fff;
  box-shadow: 0 3px 28px 0 rgba(23,64,96,0.08);
  padding: 0;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 86px;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .4px;
  padding: 7px 2px;
  transition: color 0.18s, border-bottom 0.18s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: #EBB200;
  border-bottom: 2.5px solid #EBB200;
}
.btn-primary {
  background: #EBB200;
  color: #174060;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: .6px;
  border: none;
  border-radius: 44px;
  padding: 12px 34px;
  font-size: 1.13rem;
  box-shadow: 0 2px 12px 0 rgba(235,178,0,0.15);
  cursor: pointer;
  transition: background .23s, color .16s, box-shadow .22s;
  margin-left: 18px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #fff;
  color: #EBB200;
  box-shadow: 0 4px 15px 0 rgba(235,178,0,0.22);
}
.btn-secondary {
  background: #174060;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: .3px;
  border: none;
  border-radius: 44px;
  padding: 11px 30px;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(23,64,96,0.09);
  cursor: pointer;
  transition: background .21s, color .15s, box-shadow .22s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #EBB200;
  color: #174060;
  box-shadow: 0 3px 11px 0 rgba(235,178,0,0.11);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #EBB200 0%, #fff 65%, #F4F7FA 100%);
  padding: 50px 0 48px 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px 0 rgba(23,64,96,0.08);
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 700px;
}
.hero h1 {
  color: #174060;
  font-size: 2.6rem;
}
.hero p {
  color: #174060;
  font-size: 1.22rem;
  margin-bottom: 18px;
  line-height: 1.5;
  letter-spacing: 0.1px;
}
.hero .btn-primary {
  margin-top: 10px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
  box-shadow: 0 2px 16px rgba(235,178,0,0.07);
  border-radius: 12px;
  overflow: hidden;
}
.pricing-table th {
  background: #EBB200;
  color: #174060;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 8px;
  text-align: left;
}
.pricing-table td {
  background: #fff;
  color: #222831;
  padding: 14px 8px;
  font-size: 1.04rem;
}
.pricing-table tr:not(:last-child) td {
  border-bottom: 1px solid #F4F7FA;
}
.pricing-table tr:nth-child(even) td {
  background: #F6FAFF;
}

/* FOOTER */
footer {
  background: #174060;
  color: #fff;
  padding: 38px 0 0 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-bottom: 18px;
}
.footer-nav nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  color: #EBB200;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color .18s;
  padding: 6px 0;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.footer-info {
  font-size: 0.98rem;
  color: #fff;
  text-align: center;
  border-top: 1px solid #254A6B;
  padding: 17px 0;
}

/* ============ MOBILE NAVIGATION ============ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #EBB200;
  font-size: 2.2rem;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s;
  z-index: 1100;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EBB200;
  color: #174060;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #174060;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.72,.12,.46,.98);
  z-index: 1300;
  padding: 32px 28px 18px 28px;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 8px 38px 0 rgba(23,64,96,0.22);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #EBB200;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 30px;
  transition: color .16s, background .16s;
  border-radius: 50%;
  padding: 6px 10px;
  cursor: pointer;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #EBB200;
  color: #174060;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .6px;
  padding: 13px 4px 13px 0px;
  border-bottom: 1px solid #254A6B;
  background: none;
  transition: color .19s;
  width: 100%;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #EBB200;
}
/* Hide default nav and show burger on mobile */
@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
    margin-top: 4px;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* Hide burger on desktop, show nav */
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============ COOKIE CONSENT BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 4px solid #EBB200;
  box-shadow: 0 -2px 18px 0 rgba(23,64,96,0.11);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 2000;
  gap: 32px;
  padding: 26px 16px 20px 16px;
  animation: slidecookie .6s cubic-bezier(.57,.19,.33,.82);
}
@keyframes slidecookie {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: #174060;
  font-size: 1.06rem;
  max-width: 520px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 28px;
  padding: 9px 27px;
  font-size: 1rem;
  margin-right: 8px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(235,178,0,0.05);
  transition: background .19s, color .16s;
}
.cookie-btn.accept {
  background: #EBB200;
  color: #174060;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #174060;
  color: #fff;
}
.cookie-btn.reject {
  background: #F4F7FA;
  color: #EBB200;
  border: 1.5px solid #EBB200;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #EBB200;
  color: #fff;
}
.cookie-btn.settings {
  background: #174060;
  color: #fff;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: #EBB200;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0.9);
  z-index: 2400;
  min-width: 310px;
  background: #fff;
  box-shadow: 0 8px 36px 0 rgba(23,64,96,0.22);
  padding: 34px 30px 23px 30px;
  border-radius: 20px;
  animation: cookiemodal-in .3s cubic-bezier(.51,.55,.12,1.01);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
@keyframes cookiemodal-in {
  from { opacity: 0; transform: translate(-50%,-30%) scale(0.73); }
  to { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #EBB200;
  font-size: 2rem;
  position: absolute;
  top: 20px; right: 28px;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #174060;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 15px;
}
.cookie-category input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #EBB200;
}
.cookie-category--required label {
  opacity: .45;
  font-style: italic;
}
.cookie-category--required input {
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  gap: 16px;
  margin-top: 9px;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
    padding: 0 9px;
  }
  .header-flex {
    gap: 5px;
  }
}
@media (max-width: 768px) {
  .section, .hero {
    padding: 23px 5vw;
  }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.18rem; margin-bottom: 13px; }
  .footer-nav nav {
    flex-wrap: wrap;
    gap: 11px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .features-list {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    padding: 20px 10px 14px 14px;
    font-size: 1rem;
  }
  .card, .features-list li {
    min-width: 95%;
    max-width: 100%;
    flex: 1 1 100%;
    padding: 17px 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .hero {
    min-height: 240px;
    padding: 28px 8vw 18px 8vw;
  }
}
@media (max-width: 600px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 17px;
    padding: 15px 7px 15px 7px;
  }
  .cookie-banner__text {
    max-width: 98vw;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 12px;
  }
  .cookie-modal {
    min-width: 95vw;
    padding: 18px 7vw 20px 7vw;
  }
}

/* ============= ANIMATIONS & MICROINTERACTIONS ============= */
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background .2s, color .2s, box-shadow .21s;
}
.card, .features-list li, .testimonial-card {
  transition: box-shadow .20s, transform .18s;
}
.card:hover, .features-list li:hover, .testimonial-card:hover {
  transform: translateY(-4px) scale(1.025);
}
.mobile-menu.open {
  animation: mobilenav-in .4s cubic-bezier(.61,.01,.47,1) 1;
}
@keyframes mobilenav-in {
  from {transform: translateX(-120%)}
  to {transform: translateX(0)}
}

/* === HELPER CLASSES === */
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.justify-between {
  justify-content: space-between;
}

/* === ACCESSIBLE FOCUS === */
a, button, .btn-primary, .btn-secondary, .cookie-btn {
  outline: none;
}
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 2px solid #EBB200;
  outline-offset: 1.5px;
}
/* ============= END OF CSS ============= */
