/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F5F5;
  color: #1C2534;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

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

body {
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: #F5F5F5;
  color: #1C2534;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1C2534;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4, h5 { font-size: 1rem; margin-bottom: 8px; }
p, ul, li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #1C2534;
}
strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER AND NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #e7e9ed;
  box-shadow: 0 2px 8px rgba(28,37,52,0.04);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 20px;
}
header img {
  height: 48px; /* Responsive via max-height on mobile */
  margin-right: 40px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #1C2534;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: #D8B241;
  border-bottom: 2px solid #D8B241;
}

.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #1C2534;
  color: #fff;
  padding: 13px 28px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 20px rgba(28,37,52,0.10);
  transition: background 0.25s, color 0.18s, transform 0.22s;
  cursor: pointer;
  margin-left: 28px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #D8B241;
  color: #1C2534;
  transform: translateY(-1px) scale(1.04);
}
.cta-btn.secondary {
  background: #fff;
  color: #1C2534;
  border: 2px solid #D8B241;
  box-shadow: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #D8B241;
  color: #1C2534;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #1C2534;
  color: #fff;
  border-radius: 8px;
  border: none;
  z-index: 110;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #D8B241;
  color: #1C2534;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1C2534;
  z-index: 120;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow: auto;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 18px 20px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 130;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #D8B241;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  padding: 14px 0;
  width: 80vw;
  text-align: center;
  border-radius: 8px;
  transition: background 0.12s, color 0.15s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #D8B241;
  color: #1C2534;
}

@media (max-width: 1024px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 12px;
    padding: 13px 18px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 0;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 9px 10px 9px 10px;
  }
  header img {
    height: 32px;
    margin-right: 20px;
  }
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN CONTENT LAYOUT */
main {
  min-height: 70vh;
  padding-bottom: 64px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(28,37,52,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HERO SECTIONS */
.hero {
  background: #1C2534;
  color: #fff;
  padding: 62px 0 48px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}
.hero h1,
.hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #D8B241;
  color: #1C2534;
  margin-left: 0;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #1C2534;
  border: 2px solid #D8B241;
}

/* FLEXBOX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-item {
  background: #F5F7FA;
  border-radius: 14px;
  box-shadow: 0 1px 6px rgba(28,37,52,0.04);
  padding: 26px 23px 23px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 calc(33% - 24px);
  min-width: 252px;
  max-width: 390px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature-item h3 {
  margin-bottom: 6px;
}
.feature-item:hover {
  box-shadow: 0 5px 32px rgba(28,37,52,0.12);
  transform: translateY(-2px) scale(1.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 12px rgba(28,37,52,0.06);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(28,37,52,0.13);
  transform: translateY(-2px) 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;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .feature-grid,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-item, .card {
    max-width: 100%;
    min-width: 0;
  }
}

.text-section {
  padding: 0 0 10px 0;
  margin-top: 12px;
}
.text-section ul {
  margin-left: 16px;
  margin-bottom: 18px;
  padding-left: 0;
}
.text-section li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}
.text-section li::before {
  content: '\2022';
  color: #D8B241;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  position: absolute;
  left: 0;
}
.text-section img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 10px;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-left: 4px solid #D8B241;
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(28,37,52,0.10);
  padding: 20px 28px 20px 22px;
  margin-bottom: 20px;
  color: #1C2534;
  max-width: 768px;
  transition: box-shadow .18s, transform .13s;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-weight: 500;
  color: #37445C;
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 0.99rem;
  font-weight: 700;
  color: #1C2534;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(28,37,52,.17);
  transform: translateY(-3px) scale(1.01);
}

/* FOOTER STYLES */
footer {
  background: #1C2534;
  color: #fff;
  padding: 44px 0 20px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  flex-direction: row;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
}
.footer-nav a {
  color: #D8B241;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
  background-color: #D8B241;
  min-width: 190px;
}
.footer-contact h3 {
  font-size: 1.13rem;
  color: #D8B241;
  margin-bottom: 8px;
  font-weight: 700;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 170px;
}
.footer-legal a {
  color: #F5F5F5;
  font-size: 0.93rem;
  opacity: 0.88;
  transition: color 0.16s, opacity 0.18s;
}
.footer-legal a:hover, .footer-legal a:focus {
  color: #D8B241;
  opacity: 1;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 5px;
}
.footer-social a img {
  width: 27px;
  height: 27px;
  filter: grayscale(1) brightness(1.5);
  transition: filter 0.18s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
}
@media (max-width: 1024px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 28px 0 16px 0;
    font-size: 0.98rem;
  }
  .footer-social {
    margin-top: 14px;
  }
}

/* SPACING & LAYOUT (MANDATORY PATTERNS) */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* GENERIC STYLES */
a {
  color: #1C2534;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: #D8B241;
}

::-webkit-scrollbar { width: 8px; background: #F5F5F5; }
::-webkit-scrollbar-thumb { background: #d3d8e1; border-radius: 6px; }

/* FORM CONTROLS */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e4e8ec;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border-color 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #D8B241;
}
label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  color: #1C2534;
  font-weight: 600;
  margin-bottom: 5px;
}

/* BUTTONS */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #D8B241;
  color: #1C2534;
  padding: 10px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(28,37,52,0.06);
  transition: background 0.18s, color 0.18s, transform 0.14s;
  margin: 0 7px 0 0;
  min-width: 120px;
}
button:hover, button:focus {
  background: #1C2534;
  color: #fff;
  transform: scale(1.04) translateY(-1px);
  outline: none;
}

/* MOBILE RESPONSIVE UTILITIES */
@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .hero {
    padding: 36px 0 28px 0;
  }
  .hero .container {
    gap: 10px;
  }
  h1 { font-size: 1.63rem; }
  h2 { font-size: 1.17rem; }
  .section { padding: 24px 4px; margin-bottom: 42px; }
  .feature-item { padding: 16px 10px; }
  .testimonial-card { padding: 16px 10px; }
}

/* ANIMATIONS */
.fade-in {
  animation: fadeIn .66s cubic-bezier(0.4, 0.2, 0.2, 1) 1;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #1C2534;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(28,37,52,0.16);
  padding: 18px 12px 18px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 1500;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), opacity 0.18s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner .cookie-text {
  flex: 2 1 200px;
  font-size: 1rem;
  color: #fff;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #D8B241;
  color: #1C2534;
  font-weight: 600;
  border-radius: 22px;
  padding: 8px 24px;
  border: none;
  margin: 0;
  min-width: 120px;
  transition: background .18s, color .17s;
}
.cookie-banner button.secondary {
  background: #fff;
  color: #1C2534;
  border: 2px solid #D8B241;
}
.cookie-banner button.reject {
  background: #37445c;
  color: #fff;
  border: 2px solid #D8B241;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #fff;
  color: #D8B241;
}
.cookie-banner button.secondary:hover,
.cookie-banner button.secondary:focus {
  background: #D8B241;
  color: #1C2534;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  background: #D8B241;
  color: #1C2534;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(28,37,52,0.38);
  z-index: 1550;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.19s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #1C2534;
  border-radius: 16px;
  max-width: 380px;
  width: 94vw;
  padding: 28px 22px;
  box-shadow: 0 6px 32px rgba(28,37,52,0.23);
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeIn .33s cubic-bezier(0.47,0,0.75,0.72);
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #1C2534;
  margin-bottom: 6px;
}
.cookie-modal .cookie-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 1rem;
}
.cookie-toggle .label {
  font-weight: 600;
  color: #1C2534;
}
.cookie-toggle input[type=checkbox] {
  accent-color: #D8B241;
  height: 20px;
  width: 20px;
  border-radius: 6px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 11px;
  right: 11px;
  background: none;
  border: none;
  color: #9fa6b8;
  font-size: 1.45rem;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #D8B241;
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 14px 7px;
    max-width: 96vw;
  }
}

/* VISUAL HIERARCHY UTILITIES */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* FLEXBOX UTILITY CLASSES (for HTML expansion/future-proofing) */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.align-end {
  align-items: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-end {
  justify-content: flex-end;
}
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* END OF CSS */
