/* -------------------------------------------------------------
  SPARKLE CANYON – Monochrome Sophisticated CSS
  Author: Senior CSS Developer & UI Designer
  Mobile-first, Flexbox layouts ONLY, dramatic monochrome elegance
--------------------------------------------------------------*/
/* --- 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;
}
/* Set block display for newest HTML5 elements */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #181A1B;
  -webkit-font-smoothing: antialiased;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #181A1B;
  text-decoration: underline;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #045372;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 1em;
}
li {
  margin-bottom: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2em;
}
th, td {
  border: 1px solid #D5D7DB;
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #222326;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

/* --- TYPOGRAPHY SCALE --- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.6rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -1px;
  color: #181A1B;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #0F1113;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #222326;
  margin-bottom: 16px;
}
p, ul, ol, table {
  font-size: 1rem;
  color: #222326;
  margin-bottom: 1.2em;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #181A1B;
}
small {
  font-size: 0.95rem;
  color: #595959;
}

/* --- BASIC LAYOUT --- */
.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(16,16,16,0.07);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(16,16,16,0.06);
  padding: 28px 24px;
  min-width: 270px;
}

.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;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px 0 rgba(16, 16, 16, 0.10), 0 1px 1px 0 rgba(16,16,16,0.04);
  margin-bottom: 20px;
  border-left: 5px solid #045372;
}
.testimonial-card p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #1B1B1D;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-style: italic;
  color: #6b6b6b;
  margin-left: 8px;
}

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

.text-section {
  padding: 0 0 10px 0;
}

/* --- HEADER & NAV AUTO FLEXBOX --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(24,24,24,0.05);
  z-index: 100;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1150px;
  margin: 0 auto;
  padding: 14px 16px;
  position: relative;
}
header nav img {
  height: 36px;
  margin-right: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: #232425;
  text-decoration: none;
  padding: 7px 13px;
  border-radius: 5px;
  transition: background 0.12s, color 0.12s;
  letter-spacing: 0.01em;
}
header nav a:hover, header nav a:focus {
  background: #222;
  color: #fff;
}
header nav a.cta {
  background: #fff;
  color: #045372 !important;
  border: 1.4px solid #045372;
  font-weight: 700;
  border-radius: 5px;
  padding: 7px 18px;
  margin-left: 10px;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s;
  box-shadow: 0 1px 6px 0 rgba(4,83,114,0.02);
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #045372;
  color: #fff !important;
  box-shadow: 0 8px 30px 0 rgba(4,83,114,0.18);
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: block;
  background: #fff;
  border: none;
  font-size: 2.15rem;
  color: #181A1B;
  padding: 7px 13px;
  border-radius: 7px;
  margin-left: auto;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #ededed;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,17,19,0.98);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity .36s cubic-bezier(.53,.21,.29,.97), transform .34s cubic-bezier(.53,.21,.29,.97);
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 18px 0 18px 18px;
  padding: 0 8px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #202124;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 19px;
  width: 100%;
  margin-top: 28px;
  padding: 0 36px;
}
.mobile-nav a {
  color: #045372;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 13px 0;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #045372;
  color: #fff;
}

/* --- Hide/show nav for mobile/desktop --- */
@media (max-width: 1024px) {
  header nav {
    gap: 8px;
  }
  header nav a {
    font-size: 1rem;
    padding: 7px 7px;
  }
  header nav img {
    height: 31px;
    margin-right: 8px;
  }
}
@media (max-width: 850px) {
  header nav img,
  .footer-social {
    display: none;
  }
    header nav a
    {
      display: none;
    }
    .mobile-nav a {
      display: flex;
    }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 851px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  
}

/* --- MAIN & SECTION SPACING --- */
main {
  min-height: 68vh;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(16,16,16,0.07);
}

/* --- BUTTONS & CTA --- */
.cta, button.cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 11px 26px;
  font-size: 1.12rem;
  border-radius: 7px;
  border: 2px solid #181A1B;
  background: #222326;
  color: #fff !important;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1.5px 8px 0 rgba(24,24,24,0.16);
  transition: background 0.19s, color 0.19s, box-shadow 0.21s;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #fff;
  color: #045372 !important;
  border-color: #045372;
  box-shadow: 0 10px 35px 0 rgba(18,18,18,0.14);
  text-decoration: none;
}

button {
  font-family: inherit;
  outline: none;
}

/* --- CARDS & TESTIMONIALS --- */
.card {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(24,24,24,0.08);
  border-radius: 16px;
  padding: 28px 22px;
  transition: box-shadow 0.19s;
  margin-bottom: 20px;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 34px 0 rgba(8,8,8,0.22);
}

/* --- TABLE MONOCHROME --- */
table {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px 0 rgba(24,24,24,0.08);
}
thead tr {
  background: #222326;
}
tbody tr:nth-child(even) {
  background: #f6f6f8;
}
tbody tr:hover {
  background: #E4E6EB;
}

/* --- ICONS IN LISTS --- */
ul li img {
  height: 1.2em;
  width: 1.2em;
  margin-right: 0.6em;
  display: inline-block;
  vertical-align: middle;
  filter: grayscale(100%) contrast(1.1);
  opacity: .8;
}

/* --- FOOTER --- */
footer {
  background: #171819;
  color: #FAFAFA;
  margin-top: 48px;
  border-top: 5px solid #222326;
  box-shadow: 0 -4px 18px 0 rgba(16,16,16,0.05);
  padding: 38px 0 24px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
footer nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #045372;
  text-decoration: none;
  font-size: 1rem;
  padding: 3px 6px;
  margin: 3px 2px;
  border-radius: 3px;
  opacity: 0.88;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: #045372;
  opacity: 1;
}
.footer-separator {
  color: #77798A;
  margin: 0 7px;
}
.footer-social {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #232425;
  transition: background 0.18s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #045372;
}
.footer-social img {
  width: 20px;
  height: 20px;
  filter: grayscale(1) brightness(2.3);
}
footer small {
  display: block;
  text-align: center;
  color: #B8B8B8;
  margin-top: 12px;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
}

/* --- RESPONSIVE LAYOUT RULES --- */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .section {
    padding: 30px 8px;
  }
  header nav {
    padding: 10px 7px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    gap: 14px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 4px;
    border-radius: 13px;
  }
  .card, .testimonial-card {
    min-width: 0;
    padding: 16px 9px;
    border-radius: 8px;
  }
  .testimonial-card {
    gap: 10px;
  }
  .content-grid, .text-image-section, .card-container {
    flex-direction: column !important;
    gap: 15px !important;
  }
}
@media (max-width: 375px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  background: #232425;
  color: #fff;
  width: 100vw;
  padding: 27px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -10px 32px 0 rgba(16,16,16,0.20);
  gap: 13px;
  animation: cb-enter 0.44s cubic-bezier(.39,.42,.22,.93);
}
@keyframes cb-enter {
  0% { opacity: 0; transform: translateY(100px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  font-size: 1.03rem;
  margin-bottom: 3px;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 4px;
}
.cookie-btns button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 9px 21px;
  border-radius: 6px;
  font-size: 1rem;
  border: 2px solid #045372;
  margin: 0;
  min-width: 82px;
  background: #fff;
  color: #045372;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
}
.cookie-btns button.accept {
  background: #045372;
  color: #fff;
  border-color: #045372;
}
.cookie-btns button.accept:hover, .cookie-btns button.accept:focus {
  background: #fff;
  color: #045372;
}
.cookie-btns button.reject {
  background: #fff;
  color: #181A1B;
  border-color: #222326;
}
.cookie-btns button.reject:hover, .cookie-btns button.reject:focus {
  background: #222326;
  color: #fff;
}
.cookie-btns button.settings {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cookie-btns button.settings:hover, .cookie-btns button.settings:focus {
  background: #222326;
  color: #A1C349;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 10001;
  background: rgba(15, 17, 20, 0.74);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(.38,.66,.23,.99);
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #181A1B;
  border-radius: 18px;
  padding: 38px 22px 26px 22px;
  min-width: 315px;
  max-width: 94vw;
  max-height: 92vh;
  box-shadow: 0 4px 50px 0 rgba(16,16,16,0.24);
  display: flex;
  flex-direction: column;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #045372;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.09rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal-content input[type="checkbox"] {
  margin-right: 13px;
  accent-color: #A1C349;
  width: 1.08em; height: 1.08em;
}
.cookie-category-desc {
  font-size: 0.98rem;
  color: #595959;
  margin-left: 32px;
  margin-bottom: 7px;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-content .cookie-modal-actions button {
  min-width: 82px;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal-content .cookie-modal-actions .save {
  background: #045372;
  color: #fff;
  border: none;
  font-weight: 700;
}
.cookie-modal-content .cookie-modal-actions .cancel {
  background: #fff;
  border: 1.5px solid #222326;
  color: #181A1B;
}
.cookie-modal-content .cookie-modal-actions .save:hover,
.cookie-modal-content .cookie-modal-actions .save:focus {
  background: #222326;
  color: #A1C349;
}

/* --- ANIMATIONS/MICRO-INTERACTIONS --- */
.cta, .cookie-btns button, .cookie-modal-content button {
  transition: background 0.13s, color 0.13s, box-shadow 0.17s, border 0.13s;
}
.card, .testimonial-card, .section {
  transition: box-shadow 0.17s, border 0.15s;
}
.card:hover, .testimonial-card:hover, .section:hover {
  box-shadow: 0 8px 38px 0 rgba(16,16,16,0.20);
}

input, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #CDCDCD;
  margin-bottom: 20px;
  outline: none;
  transition: box-shadow 0.14s, border 0.14s;
}
input:focus, textarea:focus {
  border-color: #045372;
  box-shadow: 0 2px 12px 0 rgba(4,83,114,0.07);
}

/* --- ACCESSIBILITY & CONTRAST --- */
.testimonial-card {
  background: #fff;
  color: #181A1B;
  /* Ensures adequate contrast */
}
.testimonial-card p {
  color: #222326;
}
.testimonial-card span {
  color: #545454;
}
.cookie-banner, .cookie-btns button {
  color-scheme: light dark;
}

/* --- MISC MINOR LAYOUTS --- */
[hidden] { display: none !important; }

/* --- MONOCHROME PALETTE ENFORCEMENT --- */
body,
.section,
.card,
.testimonial-card,
.cookie-modal-content {
  background: #fff;
  color: #181A1B;
}
footer,
header nav a.cta,
header nav { background: #fff; }

/* --- MONOCHROME-SOPHISTICATED ACCENTS --- */
::selection { background: #045372; color: #fff; }

/* --- ELEVATION & RADIUS --- */
.card, .testimonial-card, .cookie-modal-content, .section {
  border-radius: 14px;
  box-shadow: 0 4px 16px 0 rgba(24,24,24,0.09);
}

/* --- TEXT ALIGNMENT ADJUSTMENTS FOR MOBILE --- */
@media (max-width: 480px) {
  h1, h2, h3, .text-section, main, .content-wrapper {
    text-align: left;
  }
}
