/* =============================================================================
   CSS RESET & BASE
============================================================================= */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  color: #1A2233;
  background: #f7f8fa;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #1A2233;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C0A97E;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A2233;
  font-weight: 700;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; letter-spacing: 0.01em; }
h2 { font-size: 1.5rem; margin-bottom: 20px; letter-spacing: 0.005em; }
h3 { font-size: 1.125rem; margin-bottom: 16px; }

p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #252b39;
}
strong { font-weight: 700; color: #1A2233; }

.container {
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============================================================================
   HEADER AND NAVIGATION
============================================================================= */
header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(26,34,51,0.03);
  position: sticky;
  top: 0;
  z-index: 1002;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.main-nav a {
  color: #1A2233;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.22s, color 0.22s;
}
.main-nav a.cta {
  background: #1A2233;
  color: #fff;
  border-radius: 24px;
  padding: 10px 22px;
  font-weight: 700;
  margin-left: auto;
  box-shadow: 0 2px 12px rgba(26,34,51,0.04);
  transition: background 0.22s, box-shadow 0.22s, color 0.22s;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #C0A97E;
  color: #1A2233;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0F4F8;
  color: #C0A97E;
}
.main-nav img {
  height: 44px;
  margin-right: 12px;
  display: block;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #1A2233;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 5px;
  margin-left: auto;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e7eaf0;
}
/* =============================================================================
   MOBILE MENU
============================================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,34,51,0.98);
  color: #fff;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 32px 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C0A97E;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0 0 32px;
  width: 80%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, background 0.2s;
  border-radius: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C0A97E;
  background: rgba(255,255,255,0.03);
}

/* =============================================================================
   SECTIONS AND LAYOUT
============================================================================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(26,34,51,0.04);
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 24px 8px;
    border-radius: 0;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* For Flex validation: always flex */
}
@media (min-width: 900px) {
  .content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 36px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.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;
  }
}

.card-container,
.card-grid,
.content-grid,
.features,
.cards,
.cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px rgba(26,34,51,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
  max-width: 360px;
  flex: 1 1 320px;
  transition: box-shadow 0.24s, transform 0.24s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26,34,51,0.14);
  transform: translateY(-6px) scale(1.02);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Utility for lists with icons */
ul li > img {
  vertical-align: middle;
  margin-right: 12px;
  width: 32px;
  height: 32px;
}
ul li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
ul li:last-child {
  margin-bottom: 0;
}

/* =============================================================================
   BUTTONS, LINKS, CALL-TO-ACTION
============================================================================= */
.cta, .btn, button[type="submit"] {
  display: inline-block;
  background: #C0A97E;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 30px;
  box-shadow: 0 3px 18px rgba(192,169,126,0.13);
  cursor: pointer;
  margin-top: 16px;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus, button[type="submit"]:hover, button[type="submit"]:focus {
  background: #1A2233;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 4px 24px rgba(26,34,51,0.14);
}

button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  outline: none;
}
/* =============================================================================
   TESTIMONIALS (Always dark text on light bg for contrast)
============================================================================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F6F8FC;
  color: #212531;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 1px 14px rgba(26,34,51,0.08);
  border-left: 6px solid #C0A97E;
}
.testimonial-card strong {
  color: #1A2233;
}
@media (max-width: 768px) {
  .testimonial-card {
    padding: 14px 10px;
  }
}

/* =============================================================================
   FOOTER
============================================================================= */
footer {
  background: #1A2233;
  color: #fff;
  width: 100%;
  padding: 38px 0 18px 0;
}
footer p {
  color: white;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  color: #C0A97E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
footer .text-section {
  color: #e7e5e0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.97rem;
  margin-top: 8px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  footer .text-section {
    font-size: 0.95rem;
  }
}

/* =============================================================================
   RESPONSIVE DESIGN
============================================================================= */
@media (max-width: 1023px) {
  .container {
    max-width: 97vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .main-nav {
    gap: 14px;
    font-size: 0.99rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    font-size: 0.97rem;
    gap: 9px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    z-index: 1003;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.19rem; }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    min-width: 0;
    max-width: 100%;
    padding: 16px 9px;
  }
  .features, .cards-row {
    gap: 12px;
  }
}
@media (max-width: 450px) {
  section {
    padding-left: 2vw;
    padding-right: 2vw;
  }
}

/* =============================================================================
   COOKIE CONSENT BANNER & MODAL
============================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #1A2233;
  color: #fff;
  box-shadow: 0 -2px 18px rgba(26,34,51,0.11);
  z-index: 10050;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: fadeInCookie 0.5s;
}
@keyframes fadeInCookie {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-right: 12px;
  color: white;
}
.cookie-banner .cookie-btn {
  background: #C0A97E;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 32px;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #1A2233;
  border: 1px solid #C0A97E;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #1A2233;
  color: #C0A97E;
}
.cookie-banner .cookie-btn.settings {
  background: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px 18px;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #fff;
  color: #1A2233;
  border: 1px solid #C0A97E;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10060;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(26,34,51,0.76);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.25s;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1A2233;
  border-radius: 9px;
  box-shadow: 0 6px 32px 0 rgba(26,34,51,0.19);
  min-width: 320px;
  max-width: 98vw;
  padding: 36px 30px 30px 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: scaleInCookieModal 0.3s;
}
@keyframes scaleInCookieModal {
  0% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.28rem;
  color: #1A2233;
  margin-bottom: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 22px; top: 18px;
  background: none;
  border: none;
  color: #C0A97E;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #1A2233;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 17px;
}
.cookie-category input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #C0A97E;
  min-width: 20px;
  min-height: 20px;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #1A2233;
  font-weight: 500;
}
.cookie-category .cookie-essential {
  color: #718092;
  font-size: 0.94rem;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border-radius: 30px;
  background: #C0A97E;
  color: #fff;
  border: none;
  transition: background 0.17s, color 0.17s;
}
.cookie-modal .modal-actions .reject {
  background: #fff;
  border: 1px solid #C0A97E;
  color: #1A2233;
}
.cookie-modal .modal-actions .accept:hover,
.cookie-modal .modal-actions .accept:focus {
  background: #1A2233;
  color: #fff;
}
.cookie-modal .modal-actions .reject:hover,
.cookie-modal .modal-actions .reject:focus {
  background: #C0A97E;
  color: #fff;
}

/* =============================================================================
   MISC/ACCESSIBLE FOCUS STATES
============================================================================= */
a:focus, button:focus, .cta:focus {
  outline: 2px solid #C0A97E;
  outline-offset: 2px;
}

/* =============================================================================
   TYPOGRAPHY SCALE
============================================================================= */
.t-huge   { font-size: 3rem; font-family: 'Montserrat'; font-weight: 700; }
.t-xl     { font-size: 2.25rem; font-family: 'Montserrat'; font-weight: 700; }
.t-lg     { font-size: 1.5rem; font-family: 'Montserrat'; font-weight: 700; }
.t-md     { font-size: 1.25rem; font-family: 'Montserrat'; }
.t-normal { font-size: 1rem; }
.t-sm     { font-size: 0.9rem; }

/* =============================================================================
   CARD, GRID & CONTENT SPACING
============================================================================= */
.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;
}

/* =============================================================================
   END OF STYLESHEET
============================================================================= */
