/* --------------------------------- */
/*         CSS RESET & BASELINE       */
/* --------------------------------- */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F2;
  color: #173059;
  line-height: 1.6;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F7F7F2;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #173059;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:focus {
  outline: 2px solid #F2CB05;
  outline-offset: 2px;
}
/* --------------------------------- */
/*     TYPOGRAPHY & COLOR SCHEME     */
/* --------------------------------- */
:root {
  --primary: #173059;
  --secondary: #F2CB05;
  --accent: #F7F7F2;
  --display-font: 'Montserrat', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --transition: .22s cubic-bezier(.55,0,.1,1);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display-font);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.16; margin-bottom: 20px; }
h2 { font-size: 2rem; line-height: 1.18; margin-bottom: 16px; }
h3 { font-size: 1.375rem; line-height: 1.23; margin-bottom: 12px; }
.subheadline {
  color: var(--secondary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--display-font);
  letter-spacing: 0.01em;
}
p {
  margin-bottom: 18px;
  font-size: 1rem;
}
strong { font-weight: 700; }
blockquote {
  margin: 0;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--primary);
  opacity: 0.95;
}
/* Typography scale for responsiveness */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  .subheadline { font-size: 1rem; }
}
/* --------------------------------- */
/*             LAYOUT                */
/* --------------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 768px) {
  .section { padding: 24px 8px; margin-bottom: 36px; }
}
/* --------------------------------- */
/*            FLEX LAYOUTS           */
/* --------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(23,48,89,0.09);
  padding: 28px 24px 24px 24px;
  gap: 15px;
  flex: 1 1 270px;
  min-width: 260px;
  max-width: 360px;
  position: relative;
  margin-bottom: 20px;
  border: 3px solid var(--accent);
  transition: box-shadow .18s, border-color .18s;
  z-index: 1;
}
.feature-item img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: var(--primary);
}
.feature-item .price {
  color: var(--secondary);
  font-weight: 800;
  font-family: var(--display-font);
  font-size: 1.05rem;
}
.feature-item:hover, .feature-item:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 6px 28px 0 rgba(242,203,5,0.11);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(23,48,89,0.09);
  padding: 28px 24px 18px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  z-index: 1;
}
.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) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-item, .card {
    max-width: 100%;
    min-width: 0;
  }
}
/* --------------------------------- */
/*       HEADER & MAIN NAVIGATION    */
/* --------------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 28px 0 rgba(23,48,89,0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}
.main-nav img {
  height: 38px;
}
.main-nav ul {
  display: flex;
  gap: 24px;
}
.main-nav li {
  list-style: none;
}
.main-nav a {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 8px;
  border-radius: 7px;
  transition: background .16s, color .16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display-font);
  font-weight: 800;
  font-size: 1rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  box-shadow: 0 2px 22px 0 rgba(242,203,5,0.14);
  cursor: pointer;
  letter-spacing: 0.02em;
  outline: none;
  margin-left: 16px;
  transition: background .18s, color .17s, transform .15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px 0 rgba(23,48,89,0.17);
}
@media (max-width: 970px) {
  .main-nav ul { gap: 16px; }
  .cta-btn { padding: 10px 14px; font-size: 0.97rem; }
}
@media (max-width: 820px) {
  .main-nav ul {
    gap: 6px;
  }
  .main-nav { gap: 10px; }
}
/* -------------- MOBILE BURGER -------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  font-size: 2rem;
  border-radius: 7px;
  padding: 6px 18px;
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 30;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--primary);
}
@media (max-width: 1050px) {
  .main-nav ul { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.7,0,.3,1);
  box-shadow: 5px 0 40px 0 rgba(23,48,89,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 18px 20px 0 0;
  cursor: pointer;
  transition: color .14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin-top: 35px;
  padding-left: 28px;
}
.mobile-nav a {
  font-family: var(--display-font);
  font-weight: 800;
  font-size: 1.24rem;
  color: var(--primary);
  background: transparent;
  padding: 13px 0 13px 6px;
  border-radius: 7px;
  width: 100%;
  transition: background .16s, color .17s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
@media (min-width: 1051px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
/* --------------------------------- */
/*         MAIN CONTENT STYLES       */
/* --------------------------------- */
main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
  position: relative;
}
@media (max-width: 640px) {
  section { padding: 18px 0; margin-bottom: 32px; }
}
ul {
  margin-bottom: 18px;
  padding-left: 18px;
  list-style-type: disc;
}
ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
ul li:last-child { margin-bottom: 0; }
.price {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 8px;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 4px 12px;
  margin-top: 7px;
}
/* --------------------------------- */
/*        TESTIMONIAL CARDS          */
/* --------------------------------- */
.testimonial-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 26px 0 rgba(23,48,89,0.12);
  border: 3px solid var(--secondary);
  padding: 20px 32px 20px 28px;
  min-width: 260px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-card blockquote {
  color: #222b39;
  font-size: 1.1rem;
  font-style: italic;
  font-family: var(--body-font);
}
.testimonial-card span {
  color: var(--primary);
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 0.97rem;
  opacity: 0.88;
}
@media (max-width: 900px) {
  .testimonial-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card { max-width: 100%; }
}
/* --------------------------------- */
/*             FOOTER                */
/* --------------------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 44px;
  padding-bottom: 0;
  position: relative;
}
.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.footer-brand img {
  height: 36px;
}
.footer-brand span {
  font-family: var(--display-font);
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}
.footer-menus {
  display: flex;
  gap: 48px;
}
.footer-menus ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menus li {
  list-style: none;
}
.footer-menus a {
  color: #fff;
  font-size: 0.98rem;
  font-family: var(--display-font);
  font-weight: 600;
  padding: 4px 2px;
  transition: color .14s, background .14s;
  border-radius: 3px;
}
.footer-menus a:hover, .footer-menus a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-contact p, .footer-contact a {
  color: #fff;
  opacity: 0.97;
  font-size: 0.97rem;
  margin: 0 0 5px 0;
  font-family: var(--body-font);
}
.footer-contact a {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  padding: 16px 0 10px 0;
  opacity: 0.74;
}
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .footer-menus { gap: 30px; }
}
@media (max-width: 600px) {
  .footer-container {
    padding: 0 8px;
  }
  .footer-menus { gap: 18px; }
}
/* --------------------------------- */
/*         BUTTONS & LINKS           */
/* --------------------------------- */
button, .cta-btn {
  cursor: pointer;
  border: none;
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
/* --------------------------------- */
/*    COOKIE CONSENT BANNER & MODAL  */
/* --------------------------------- */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -3px 18px 0 rgba(23,48,89,0.09);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  padding: 18px 24px;
  z-index: 3500;
  font-size: 1rem;
  transition: transform .33s cubic-bezier(.7,0,.3,1), opacity .18s;
}
#cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
}
#cookie-consent-banner span {
  color: var(--primary);
  font-family: var(--body-font);
  font-size: 1rem;
  max-width: 420px;
  margin-right: 16px;
}
.cookie-btn {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 0.99rem;
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  margin-right: 7px;
  margin-left: 0;
  margin-bottom: 0;
  margin-top: 0;
  background: var(--primary);
  color: #fff;
  transition: background .16s, color .12s, transform .13s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
  margin-right: 7px;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-btn:active {
  transform: scale(.98);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--primary);
  color: #fff;
  border: none;
}
@media (max-width: 600px) {
  #cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 13px 5px 19px 5px;
    align-items: flex-start;
  }
  #cookie-consent-banner span { margin-right: 0; max-width: 100%; }
}
/* COOKIE PREFERENCES MODAL */
#cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,48,89,0.53);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px 18px 0 0;
  width: 95vw;
  max-width: 440px;
  padding: 28px 26px 32px 26px;
  box-shadow: 0 6px 36px 0 rgba(23,48,89,0.14);
  position: relative;
  transform: translateY(100%);
  transition: transform .29s cubic-bezier(.7,0,.3,1);
}
#cookie-modal.open .cookie-modal-content {
  transform: translateY(0);
}
.cookie-modal-content h2 {
  margin-bottom: 14px;
  font-size: 1.34rem;
}
.cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-family: var(--display-font);
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  position: absolute;
  right: 16px;
  top: 16px;
  cursor: pointer;
  transition: color .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
@media (max-width: 420px) {
  .cookie-modal-content {
    padding: 14px 3vw 22px 3vw;
    min-width: 0;
    font-size: 0.97rem;
  }
}
/* --------------------------------- */
/*       MICRO-INTERACTIONS          */
/* --------------------------------- */
.card, .feature-item, .testimonial-card {
  transition: box-shadow .18s, border-color .16s, transform .14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 12px 37px 0 rgba(23,48,89,0.14);
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.01);
}
.card:active, .feature-item:active, .testimonial-card:active {
  transform: scale(.98);
}
input, textarea {
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid #dadada;
  background: #f7f7f2;
  transition: border-color .17s;
  margin-bottom: 18px;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
  outline: none;
}
/* --------------------------------- */
/*       WHITE SPACE SPACING         */
/* --------------------------------- */
/* Ensure at least 20px between all content cards/sections */
.feature-grid > *:not(:last-child),
.card-container > *:not(:last-child),
.testimonial-section > *:not(:last-child),
.content-grid > *:not(:last-child) {
  margin-bottom: 20px;
}
.section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 640px) {
  .section:not(:last-child) {
    margin-bottom: 32px;
  }
}
/* --------------------------------- */
/*     ACCESSIBILITY/CONTRAST        */
/* --------------------------------- */
@media (prefers-contrast: more) {
  :root {
    --primary: #111127;
    --secondary: #F2CB05;
    --accent: #fff;
  }
  body { background: var(--accent); }
  .testimonial-card, .feature-item, .card { background: #fff; color: #111127; }
}
/* --------------------------------- */
/*    GEOMETRIC SHAPES & DECORATIONS (for BOLD style)     */
/* --------------------------------- */
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 24px; top: 24px;
  width: 56px; height: 56px;
  background: var(--secondary);
  opacity: 0.08;
  border-radius: 14px;
  z-index: 0;
}
.section:nth-child(even)::before {
  left: auto;
  right: 24px;
  top: 38px;
  background: var(--primary);
  opacity: 0.07;
}
@media (max-width: 640px) {
  .section::before { display: none; }
}
/* --------------------------------- */
/*        UTILITY CLASSES            */
/* --------------------------------- */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-lg { font-size: 1.3rem; }
.text-bold { font-weight: 800; }
/* --------------------------------- */
/*           PRINT SUPPORT           */
/* --------------------------------- */
@media print {
  header, footer, .mobile-menu, #cookie-consent-banner, #cookie-modal { display: none !important; }
  body, main { background: #fff !important; color: #111 !important; }
}
