/* ===== CSS RESET & NORMALIZATION ===== */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #161616;
}
*, *::before, *::after {
  box-sizing: border-box;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #232323;
  background: #fafbfc;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #101010;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}
p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #232323;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
}
strong {
  color: #161616;
  font-weight: 600;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  background: #fafafa;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(60,63,65,0.10);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(38, 70, 83, 0.14);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== MAIN NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.main-nav {
  display: flex;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 6px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #fff;
  background: #264653;
}
.cta-button.primary {
  background: #101010;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 10px 28px;
  position: relative;
  margin-left: 20px;
  box-shadow: 0 2px 12px rgba(25,25,25,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.15s, box-shadow 0.18s;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #264653;
  color: #fff;
  box-shadow: 0 4px 20px rgba(38, 70, 83, 0.17);
}

/* ===== BURGER MENU (Mobile) ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #264653;
  cursor: pointer;
  z-index: 150;
  transition: color 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #264653;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #101010;
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 26px 24px 26px;
  transform: translateX(-120vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.8,0,.2,1), opacity 0.25s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color 0.13s;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
}
.mobile-nav a {
  font-family: 'Montserrat',Arial,sans-serif;
  color: #fff;
  font-size: 1.22rem;
  font-weight: 600;
  padding: 10px 5px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #264653;
  color: #D9AE6D;
}

/* ===== SECTION STYLES & FLEXBOX LAYOUTS ===== */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:last-child {
  margin-bottom: 0;
}

/* Feature ULs (icon+text) */
.content-wrapper > ul, .content-wrapper > ol, .text-section > ul, .text-section > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.content-wrapper > ul > li, .text-section > ul > li {
  flex: 1 1 220px;
  background: #f9faf5;
  border-radius: 16px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 2px 8px rgba(20,25,30,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 160px;
  max-width: 320px;
  transition: box-shadow 0.17s, background 0.15s;
}
.content-wrapper > ul > li:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(38,70,83,0.10);
}
.content-wrapper > ul > li img {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
}

/* OL styled steps */
.content-wrapper > ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.content-wrapper > ol > li {
  flex: 1 1 240px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  padding: 22px 20px 18px 20px;
  box-shadow: 0 2px 8px rgba(20,25,30,0.03);
  margin-bottom: 0;
  color: #232323;
  font-weight: 400;
}
.content-wrapper > ol > li img {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
}

/* Text & Image Section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section > * {
  flex: 1 1 260px;
}

/* Testimonial Cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: #f6f6f6;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(15,15,15,0.075);
  border-left: 5px solid #264653;
  font-size: 1.08rem;
  color: #232323;
  max-width: 540px;
}
.testimonial-card p {
  color: #101010;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-card span {
  color: #264653;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
}

/* ====== BUTTONS ====== */
.cta-button, button, input[type="submit"], input[type="button"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 25px;
  padding: 12px 32px;
  border: none;
  background: #264653;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(40,40,40,0.06);
}
.cta-button.secondary, .cta-button[aria-pressed="false"] {
  background: #fff;
  color: #264653;
  border: 1px solid #264653;
}
.cta-button.secondary:hover, .cta-button[aria-pressed="false"]:hover {
  background: #264653;
  color: #fff;
}
.cta-button[disabled], button[disabled], input[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== LINKS ===== */
a, .text-section a {
  color: #264653;
  transition: color 0.18s;
  text-underline-offset: 3px;
}
a:hover, .text-section a:hover, a:focus {
  color: #D9AE6D;
}

/* ===== FOOTER ===== */
footer {
  background: #232323;
  color: #fff;
  font-size: 1rem;
  padding: 36px 0 18px 0;
  margin-top: 64px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #D9AE6D;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  color: #f2f2f2;
  font-size: 0.96rem;
  text-align: center;
}
footer span {
  font-size: 0.88rem;
  color: #aaa;
  margin-top: 12px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #232323;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 25px 20px;
  width: 100vw;
  z-index: 3000;
  box-shadow: 0 -2px 18px rgba(24,24,24,0.20);
  animation: fadeInBanner 0.7s cubic-bezier(.6,0,.3,1);
}
@keyframes fadeInBanner {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  padding-right: 12px;
  max-width: 450px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-actions .cta-button, .cookie-actions button {
  min-width: 120px;
  font-size: 0.97rem;
  padding: 10px 20px;
  box-shadow: 0 1px 5px rgba(30,30,30,0.04);
  border-radius: 20px;
}
.cookie-actions .cta-button.primary {
  background: #264653;
  color: #fff;
}
.cookie-actions .cta-button.secondary {
  background: #fff;
  color: #264653;
  border: 1px solid #264653;
}
.cookie-actions .cta-button.deny {
  background: #c0c0c0;
  color: #232323;
}
.cookie-actions .cta-button.settings {
  background: #fff;
  color: #264653;
  border: 1px solid #264653;
}
.cookie-actions .cta-button.primary:hover, .cookie-actions .cta-button.settings:hover {
  background: #D9AE6D;
  color: #232323;
}
.cookie-actions .cta-button.deny:hover {
  background: #232323;
  color: #fff;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,60vh) scale(0.98);
  min-width: 298px;
  max-width: 98vw;
  width: 420px;
  background: #fff;
  color: #232323;
  border-radius: 18px;
  box-shadow: 0 8px 64px rgba(38,70,83,0.16);
  padding: 38px 30px 30px 30px;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s, transform 0.35s cubic-bezier(.7,0,.2,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1.0);
}
.cookie-modal h2 {
  color: #264653;
  font-size: 1.23rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 14px;
}
.cookie-category .category-title {
  font-weight: 600;
  margin-right: 8px;
  color: #101010;
}
.cookie-modal label {
  font-size: 1rem;
  color: #232323;
  margin-left: 4px;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 25px;
}
.cookie-modal .cta-button {
  padding: 9px 26px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: #232323;
  font-size: 1.45rem;
  cursor: pointer;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1023px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .footer-contact {
    font-size: 0.94rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
  }
  .footer-nav {
    gap: 14px;
  }
  .content-wrapper, .content-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 800px) {
  footer .container {
    gap: 16px;
    padding: 0 6px;
  }
  .section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper > ul > li, .text-section > ul > li, .content-wrapper > ol > li {
    min-width: 120px;
    max-width: 100%;
    padding: 18px 9px 12px 9px;
    font-size: 0.98rem;
  }
}
@media (max-width: 768px) {
  .main-nav, .cta-button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 8px;
    min-height: 54px;
  }
  section {
    padding: 30px 0 0 0;
    margin-bottom: 40px;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px;
    border-radius: 12px;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 18px 13px;
    max-width: 100%;
    font-size: 0.98rem;
  }
  .cookie-modal {
    width: 96vw;
    padding: 22px 8px 18px 8px;
    border-radius: 13px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.08rem; }
  .container {
    max-width: 100vw;
    padding: 0 2px;
  }
  .footer-contact {
    font-size: 0.91rem;
  }
  .footer-nav {
    gap: 8px;
  }
  .cta-button, button {
    padding: 9px 12px;
    font-size: 0.98rem;
  }
}

/* ==== SHADOWS, BORDERS, MICRO-INTERACTIONS ==== */
.card, .testimonial-card, .content-wrapper > ul > li {
  transition: box-shadow 0.18s, background 0.15s, border 0.16s;
}
.card:hover, .content-wrapper > ul > li:hover {
  box-shadow: 0 2px 16px rgba(38, 70, 83, 0.13);
  border-color: #264653;
  background: #f9faf9;
}
.cta-button:active {
  background: #161616;
  color: #fff;
  box-shadow: 0 1px 4px rgba(35,35,35,0.07);
}

/* === VISUAL HIERARCHY === */
h2 {
  border-left: 5px solid #D9AE6D;
  padding-left: 12px;
}
.card h3, .content-wrapper > ul > li h3 {
  color: #264653;
}

/* ======= FORMS (if added) ====== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #264653;
  border-color: #264653;
  background: #fafaf5;
}

/* ===== CUSTOM CLASSES OFTEN USED ===== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-20 { gap: 20px !important; }

/* Accessibility high contrast for testimonials */
.testimonial-card {
  background: #fff;
  color: #232323;
  border-left: 4px solid #D9AE6D;
}

/* ===== Z-INDEX ===== */
header { z-index: 101; position: relative; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 4000; }

/* ======= UTILITY STYLES ======= */
.hide { display: none !important; }

/* ======= END ======= */
