/*--------------------------------------------------
  CSS RESET & NORMALIZE (basic)
---------------------------------------------------*/
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,
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F7F8FC;
  color: #1A2237;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  transition: background 0.4s;
}
ul, ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: color 0.2s;
}
a:focus, a:hover {
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
button {
  font-family: inherit;
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

/*--------------------------------------------------
  BRAND VARIABLES & TOKEN FALLBACKS
---------------------------------------------------*/
:root {
  --color-primary: #1A2237;
  --color-secondary: #F5B041;
  --color-accent: #FFFFFF;
  --color-bg-gradient: #f3f3f5; /* fallback if gradient not used */
  --color-hero-gradient: linear-gradient(90deg, #1A2237 0%, #4F5D75 100%);
  --color-section-gradient: linear-gradient(105deg, #FFFFFF 60%, #F5B041 120%);
  --card-shadow: 0 4px 18px rgba(26, 34, 55, 0.08);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --transition-main: 0.35s cubic-bezier(0.53,0.13,0.2,1);
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/*--------------------------------------------------
  TYPOGRAPHY
---------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.375rem; /* 38px */
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.625rem; /* 26px */
  line-height: 1.18;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 11px;
}
h4 {
  font-size: 1.125rem; /* 18px */
}
p, li, address {
  font-family: var(--font-body);
  font-size: 1rem; /* 16px */
  margin-bottom: 12px;
  color: #283046;
}
strong, b {
  font-weight: 700;
  color: #1A2237;
}
.cta-btn, .main-nav .cta-btn, .text-section .cta-btn, .content-wrapper .cta-btn {
  font-family: var(--font-display);
  background: linear-gradient(90deg, #F5B041 6%, #ffc168 88%);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-block;
  padding: 15px 36px;
  border-radius: var(--radius-m);
  box-shadow: 0 4px 14px 0 rgba(31, 41, 61, 0.07);
  transition: box-shadow var(--transition-main), transform var(--transition-main), background 0.32s;
  border: 2px solid transparent;
  margin-top: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #ffc168 0%, #F5B041 100%);
  color: #1A2237;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 26px 0 rgba(31,41,61,0.16);
  border-color: #F5B041;
  text-decoration: none;
}

/*--------------------------------------------------
  LAYOUT & FLEXBOX CONTAINERS
---------------------------------------------------*/
.container {
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.text-section {
  max-width: 700px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-section-gradient);
  border-radius: var(--radius-m);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-s);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 33px 0 rgba(26,34,55,0.14);
  transform: translateY(-2px) scale(1.025);
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 2px 14px 0 rgba(26, 34, 55, 0.07);
  margin-bottom: 20px;
  flex-direction: column;
  max-width: 650px;
}
.testimonial-card p {
  color: #1A2237;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #7A7C8B;
  font-weight: 500;
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*--------------------------------------------------
  HEADER, NAVIGATION, LOGO
---------------------------------------------------*/
header {
  width: 100%;
  background: var(--color-hero-gradient);
  box-shadow: 0 2px 18px 0 rgba(26,34,55,0.05);
  display: flex;
  align-items: center;
  position: relative;
  min-height: 66px;
  z-index: 25;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 17px 0 17px 8px;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-left: 32px;
}
.main-nav a {
  font-family: var(--font-body);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: var(--radius-s);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}
.main-nav a:hover, .main-nav a:focus {
  background: rgba(245, 176, 65, 0.16);
  color: var(--color-secondary);
}
.main-nav .cta-btn {
  background: #F5B041;
  color: #1A2237;
  border-radius: var(--radius-m);
  box-shadow: none;
  margin: 0 2px;
  font-size: 1rem;
  padding: 10px 26px;
  font-family: var(--font-display);
}
.main-nav .cta-btn:hover {
  background: #ffd077;
  color: #1A2237;
}
.mobile-menu-toggle {
  display: none;
  margin-left: auto;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  z-index: 99;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #fff2e1;
  color: #F5B041;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 92vw;
  max-width: 400px;
  background: #fff;
  box-shadow: -6px 0 28px 0 rgba(26,34,55,0.13);
  z-index: 999;
  padding: 34px 28px 22px 28px;
  transform: translateX(102%);
  transition: transform 0.38s cubic-bezier(0.77,0,0.18,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #1A2237;
  position: absolute;
  top: 15px;
  right: 30px;
  background: #FFF8EE;
  border-radius: 50%;
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 9px 0 rgba(191,156,58,0.09);
  cursor: pointer;
}
.mobile-menu-close:hover {
  background: #FFE5B0;
  color: #F5B041;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-top: 38px;
  width: 100%;
}
.mobile-nav a {
  color: #1A2237;
  font-size: 1.18rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 3px 12px 0;
  border-radius: var(--radius-m);
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF6E1;
  color: #F5B041;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 970px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*--------------------------------------------------
  HERO/BANNER SECTION
---------------------------------------------------*/
.hero {
  padding: 0 0 40px 0;
  background: linear-gradient(90deg, #1A2237 0%, #EBEADF 100%);
  min-height: 350px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}
.hero .content-wrapper {
  margin-top: 44px;
  align-items: flex-start;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
  text-shadow: 0 3px 22px rgba(10,13,30,0.16);
}
.hero h2 {
  font-size: 1.375rem;
}
.hero .cta-btn {
  margin-top: 22px;
  background: linear-gradient(90deg, #F5B041 6%, #ffd082 88%);
  color: #1A2237;
}
.hero .cta-btn:hover {
  background: linear-gradient(90deg, #ffd082 16%, #F5B041 80%);
}

/*--------------------------------------------------
  SECTIONS, FEATURES, CARDS
---------------------------------------------------*/
section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  border: none;
  background: none;
  margin-bottom: 40px;
}
.section {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(26,34,55,0.06);
}

ul li {
  margin-bottom: 13px;
  padding-left: 0px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
ul li img {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
  margin-right: 5px;
}
ul {
  padding-left: 18px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px;
}

.cta {
  background: linear-gradient(90deg, #F5B041 4%, #ffd077 92%);
  border-radius: var(--radius-m);
  margin-bottom: 33px;
}
.cta .content-wrapper, .cta .text-section {
  align-items: center;
  text-align: center;
  color: #1A2237 !important;
}
.cta p, .cta h2, .cta h3, .cta h1 {
  color: #1A2237 !important;
  text-shadow: none;
}

/*--------------------------------------------------
  FOOTER
---------------------------------------------------*/
footer {
  background: #1A2237;
  color: #fff;
  width: 100%;
  padding: 40px 0 25px 0;
  display: flex;
  align-items: flex-end;
  border-top: 7px solid #F5B041;
  margin-top: 60px;
  font-family: var(--font-body);
  min-height: 130px;
}
footer .container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  gap: 36px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  width: 100%;
}
footer img {
  height: 40px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #ffd77f;
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 2px 2px;
  border-radius: var(--radius-s);
}
footer nav a:hover, footer nav a:focus {
  background: #F5B041;
  color: #1A2237;
}
footer .contact-info {
  color: #fff2d7;
  font-size: 1rem;
  max-width: 297px;
}
footer .contact-info p {
  margin-bottom: 8px;
  font-size: 0.97rem;
}

/*--------------------------------------------------
  COOKIE CONSENT BANNER & MODAL
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A2237;
  color: #fff;
  box-shadow: 0 -2px 18px 0 rgba(26,34,55,0.09);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 24px 20px;
  gap: 26px;
  flex-wrap: wrap;
  animation: cookiebannerin 0.6s cubic-bezier(.61,.1,.39,.93);
}
@keyframes cookiebannerin {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0;
  line-height: 1.5;
  flex: 1 1 230px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-banner button {
  padding: 11px 20px;
  border-radius: var(--radius-m);
  font-size: 1rem;
  font-family: var(--font-display);
  margin-top: 0;
  background: #f5b041;
  color: #1A2237;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.21s;
  box-shadow: 0 3px 9px 0 rgba(245,176,65,0.10);
}
.cookie-banner button:hover {
  background: #ffd68e;
  color: #1A2237;
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: #1A2237;
  border: 1.5px solid #F5B041;
}
.cookie-banner button.cookie-settings:hover {
  background: #F5B041;
  color: #1A2237;
}

/* COOKIE MODAL (popup for preferences) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,34,55,0.41);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.34s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius-m);
  max-width: 400px;
  width: 96vw;
  padding: 38px 28px 24px 28px;
  box-shadow: 0 6px 36px 0 rgba(26,34,55,0.14);
  color: #1A2237;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: cookiemodalin 0.38s cubic-bezier(.61,.1,.39,.93);
}
@keyframes cookiemodalin {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 8px;
  color: #1A2237;
  font-size: 1.3rem;
}
.cookie-modal-content label {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: #f5b041;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal-content .cookie-category.essential {
  color: #b4b4b4;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal-content button {
  padding: 9px 22px;
  font-size: 1rem;
  border-radius: var(--radius-m);
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
}
.cookie-modal-content button.accept {
  background: #f5b041;
  color: #1A2237;
}
.cookie-modal-content button.reject {
  background: #fff;
  color: #1A2237;
  border: 1.5px solid #F5B041;
}
.cookie-modal-content button.close {
  background: #eee;
  color: #7A7C8B;
}

/*--------------------------------------------------
  MEDIA QUERIES: RESPONSIVE LAYOUT
---------------------------------------------------*/
@media (max-width: 1150px) {
  .container { padding: 0 11px; }
}
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.22rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 5vw; }
  .section { padding: 30px 10px; margin-bottom: 36px; }
  .card-container, .content-grid { gap: 14px; }
  .text-image-section {
    flex-direction: column;
    gap: 23px;
    align-items: flex-start;
  }
  .footer .content-wrapper, footer .container {
    flex-direction: column !important;
    gap: 22px;
    align-items: flex-start;
  }
  .main-nav, .main-nav * {
    font-size: 1.12rem;
  }
  .testimonial-card { max-width: 97vw; }
}
@media (max-width: 570px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.08rem; }
  p, li, a, nav, button {
    font-size: 0.96rem !important;
  }
  header, footer {
    padding: 20px 0 13px 0;
  }
  .hero {
    min-height: 185px;
    padding-bottom: 18px;
  }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 14px 7vw 14px 19px; }
}

/*--------------------------------------------------
  STATE/EFFECTS & MICRO-INTERACTIONS
---------------------------------------------------*/
button, .cta-btn {
  outline: none;
}
button:active, .cta-btn:active {
  filter: brightness(0.97);
  transform: scale(0.98);
}
:testimonial-card {
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 33px 0 rgba(26, 34, 55, 0.19);
}

/*--------------------------------------------------
  FORMATTING HTML ELEMENTS
---------------------------------------------------*/
address {
  font-style: normal;
  color: #525252;
  margin-bottom: 12px;
  font-size: 1rem;
}
hr {
  border: none;
  border-bottom: 1px solid #e6e6e6;
  margin: 28px 0;
}

/*--------------------------------------------------
  ACCESSIBILITY & CONTRAST
---------------------------------------------------*/
body, h1, h2, h3, h4, h5, h6, p, li, a, button, .cta-btn {
  letter-spacing: 0.01em;
}
.cta-btn:focus, .main-nav a:focus, .mobile-nav a:focus {
  box-shadow: 0 0 0 2px #F5B041;
  outline: none;
  background: #fff8ea;
}

/*--------------------------------------------------
  UTILITY SPACING (always flex with gap)
---------------------------------------------------*/
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-60 { margin-bottom: 60px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/*--------------------------------------------------
  ADDITIONAL: HIGHLIGHT RELEVANT LINKS/SECTIONS
---------------------------------------------------*/
section.active, .main-nav a.active, .mobile-nav a.active {
  color: #F5B041;
  font-weight: 700;
}

/* End CSS file */