/* =========================
   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, menu, 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,
main, 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;
}

html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #181818;
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.4,0,.2,1);
}
ul, ol {
  list-style: none;
}
*:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
  color: #101010;
  font-feature-settings: 'liga' 1;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p {
  color: #222;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}

/* Monochrome Sophisticated Links */
a {
  color: #181818;
  text-decoration: underline;
  text-underline-position: under;
  font-weight: 500;
}
a.button, a.button.primary {
  text-decoration: none;
}
a:hover, a:focus {
  color: #174D59;
}

/* =====================
   CONTAINER SYSTEM
   ===================== */
.container {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
  width: 100%;
}

.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  background: #fff;
  border-bottom: 1px solid #EBECEF;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.035);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  transition: ease-in-out 0.2s;
}
.logo img {
  height: 38px;
  width: auto;
  filter: grayscale(1) brightness(0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #181818;
  padding: 7px 12px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F6F6F6;
  color: #174D59;
}

.button, .button.primary, .button.small {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.22s cubic-bezier(0.4,0,0.2,1), color 0.18s;
  box-shadow: 0 2px 6px 0 rgba(40,40,40,0.10);
  text-decoration: none;
  outline: none;
  letter-spacing: 0.01em;
}
.button.primary {
  background: #181818;
  color: #fff;
  padding: 13px 28px;
  font-size: 1.1rem;
  margin-left: 20px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px 0 rgba(23,77,89,0.06);
}
.button.primary:hover, .button.primary:focus {
  background: #174D59;
  color: #fff;
}
.button.small {
  background: #fff;
  border: 1.5px solid #181818;
  color: #181818;
  font-size: 0.95rem;
  padding: 8px 20px;
  min-width: 93px;
}
.button.small:hover, .button.small:focus {
  background: #181818;
  color: #fff;
}

/* =====================
   MOBILE NAVIGATION
   ===================== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #181818;
  font-size: 2rem;
  padding: 8px 14px;
  margin-left: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 120;
}
.mobile-menu-toggle:hover {
  background: #ECF0F1;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(.33,1,.68,1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 36px 26px 24px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #181818;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 8px;
  border-radius: 6px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F6F6F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: #181818;
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 8px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F6F6;
  color: #174D59;
}

/* Hide desktop nav on mobile, show mobile menu toggle */
@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .button.primary {
    font-size: 1rem;
    padding: 11px 22px;
    margin-left: 0;
  }
}

/* =====================
   SECTIONS & SPACING
   ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(24,24,24,0.04);
  border-radius: 20px;
  position: relative;
  overflow: visible;
}
section:last-child {
  margin-bottom: 0;
}

.content-wrapper, .text-section {
  gap: 20px;
}

/* Utility spacing for containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(16,16,16,0.06);
  padding: 32px 28px;
  transition: box-shadow 0.18s, transform 0.14s;
  min-width: 260px;
  min-height: 120px;
}
.card:hover {
  box-shadow: 0 8px 44px 0 rgba(24,24,24,0.13);
  transform: translateY(-4px) scale(1.0125);
}

.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-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex: 1 1 min(250px, 100%);
  border-radius: 18px;
  background: #fafafa;
  box-shadow: 0 2px 12px 0 rgba(16,16,16,0.02);
  padding: 26px 22px;
  min-width: 220px;
  max-width: 320px;
  border: 1px solid #ececec;
}
.feature-grid img {
  width: 34px;
  height: 34px;
  opacity: 0.9;
  filter: grayscale(1) contrast(1.1);
}
.feature-grid h3 {
  margin-bottom: 5px;
  margin-top: 4px;
  font-size: 1.12rem;
}

/* =====================
   TABLE STYLES
   ===================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 22px;
  background: #f8f8f8;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 1px 8px 0 rgba(16,16,16,0.06);
  font-size: 1rem;
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
th {
  background: #fff;
  color: #101010;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  border-bottom: 2px solid #e4e4e6;
}
td {
  border-bottom: 1px solid #ececec;
  color: #222;
}
tr:last-child td {
  border-bottom: none;
}
table .button.small {
  margin: 0;
}

/* =====================
   FAQ LIST
   ===================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #FAFAFA;
  border: 1px solid #E7E8EA;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 2px 8px 0 rgba(32,32,32,0.03);
  width: 100%;
}
.faq-item h2, .faq-item h3 {
  margin-bottom: 12px;
  color: #174D59;
  font-size: 1.1rem;
}

/* =====================
   TESTIMONIAL / REVIEW CARDS
   ===================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 26px;
  border-radius: 15px;
  box-shadow: 0 2px 10px 0 rgba(29,29,29,0.08);
  margin-bottom: 20px;
  border: 1px solid #ECECEC;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px 0 rgba(24,24,28,0.14);
  border-color: #D6D8DB;
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #101010;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}
.testimonial-card span {
  color: #606060;
  font-size: 0.94rem;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: -6px;
}
.testimonial-card h3 {
  margin-bottom: 2px;
  font-size: 1.12rem;
  color: #174D59;
}

/* Shadows and hover for cards */
.card, .testimonial-card, .faq-item, .feature-grid li {
  transition: box-shadow 0.18s, transform 0.15s, border-color 0.16s;
}
.card:hover, .feature-grid li:hover, .faq-item:hover {
  box-shadow: 0 10px 36px 0 rgba(28,28,32,0.10);
  transform: translateY(-3px) scale(1.017);
  border-color: #D6D8DB;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #FAFAFA;
  color: #181818;
  border-top: 1px solid #ececec;
  margin-top: 60px;
  padding-top: 42px;
  padding-bottom: 24px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-nav a {
  font-size: 1rem;
  color: #232323;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.16s, color 0.16s;
}
.footer-nav a:hover {
  background: #ECECEC;
  color: #174D59;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  filter: grayscale(1) contrast(1.10);
  margin-right: 6px;
}
.copyright {
  flex-basis: 100%;
  width: 100%;
  font-size: 0.93rem;
  text-align: left;
  color: #7A7A7A;
  margin-top: 18px;
  margin-bottom: 0;
}

/* =====================
   FORMS - if present
   ===================== */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: #f7f7f8;
  color: #222;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #174D59;
  background: #fff;
}
label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  display: block;
  margin-bottom: 6px;
}

/* =====================
   Cookie Consent Banner & Modal
   ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #181818;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 18px;
  z-index: 1200;
  box-shadow: 0 -2px 22px 0 rgba(0,0,0,0.14);
  transition: transform 0.36s cubic-bezier(.5,1,.4,1);
  transform: translateY(0);
  font-size: 1.06rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.cookie-banner .button, .cookie-banner button {
  font-size: 1rem;
  border-radius: 7px;
  border: none;
  padding: 11px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  box-shadow: 0 1px 6px 0 rgba(0,0,0,0.09);
}
.cookie-banner .accept {
  background: #174D59;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #fff;
  color: #181818;
  border: 1px solid #174D59;
}
.cookie-banner .reject {
  background: #fff;
  color: #181818;
  border: 1px solid #181818;
}
.cookie-banner .reject:hover {
  background: #EDEDED;
}
.cookie-banner .settings {
  background: #fff;
  color: #181818;
  border: 1px solid #AAA;
}
.cookie-banner .settings:hover {
  background: #F6F6F6;
  border: 1px solid #174D59;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(20,20,20,0.62);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.39s cubic-bezier(.5,1,.3,1);
  pointer-events: all;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #181818;
  padding: 38px 26px 26px 26px;
  border-radius: 18px;
  max-width: 95vw;
  width: 420px;
  box-shadow: 0 8px 36px 0 rgba(0,0,0,0.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modal-in 0.44s cubic-bezier(.49,1.13,0,.97);
}
@keyframes modal-in {
  0% { transform: scale(.82) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 4px;
  font-size: 1.25rem;
  color: #174D59;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 11px;
  right: 13px;
  background: none;
  border: none;
  font-size: 1.37rem;
  color: #181818;
  cursor: pointer;
  border-radius: 5px;
}
.cookie-modal .close-modal:hover {
  background: #F7F7F7;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ECECEC;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  outline: none;
  border: 2px solid #174D59;
  border-radius: 13px;
  width: 42px;
  height: 22px;
  background: #E7E8E8;
  position: relative;
  transition: background .18s;
  cursor: pointer;
}
.cookie-modal .cookie-toggle:checked {
  background: #174D59;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 3px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.08);
  transition: transform .16s;
}
.cookie-modal .cookie-toggle:checked::before {
  transform: translateX(18px);
}
.cookie-modal .cookie-toggle[disabled], .cookie-modal .cookie-toggle[aria-disabled="true"] {
  background: #C3C3C4;
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #c7c7c7;
}
.cookie-modal .cookie-legend {
  font-size: 0.96rem;
  color: #858585;
  margin-bottom: 9px;
  margin-top: -6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 7px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #181818;
  color: #fff;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .modal-actions button.reject {
  background: #fff;
  color: #181818;
  border: 1px solid #181818;
}
.cookie-modal .modal-actions button.accept:hover {
  background: #174D59;
  color: #fff;
}
.cookie-modal .modal-actions button.reject:hover {
  background: #ECECEC;
}


/* =====================
   MEDIA QUERIES: RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  section {
    padding: 32px 3vw;
    border-radius: 14px;
  }
  .card {
    padding: 22px 14px;
    border-radius: 10px;
  }
  .feature-grid li {
    max-width: 100%;
    min-width: 180px;
  }
  .content-grid {
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.98rem;
  }
}

@media (max-width: 600px) {
  .main-nav {
    display: none;
  }
  header .container {
    gap: 12px;
  }
  .logo img {
    height: 30px;
  }
  .container {
    max-width: 100vw;
    padding: 0 5px;
  }
  section {
    padding: 18px 3vw;
    margin-bottom: 32px;
    border-radius: 9px;
  }
  h1 {
    font-size: 1.48rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 12px;
  }
  .button.primary, .button.small {
    font-size: 1rem;
    padding: 9px 14px;
    min-width: unset;
    border-radius: 5px;
    margin-left: 0;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .card-container, .feature-grid, .content-grid {
    gap: 12px;
    flex-direction: column;
  }
  .testimonial-card, .card {
    padding: 14px 8px;
    border-radius: 7px;
  }
  .footer-contact, .footer-nav {
    font-size: 0.94rem;
    gap: 10px
  }
  .footer-contact img {
    width: 14px;
    height: 14px;
  }
  .copyright{
    font-size: 0.92rem;
  }
  .faq-item {
    padding: 13px 6px;
    border-radius: 7px;
    font-size: 0.98rem;
  }
  .testimonial-card span {
    font-size: 0.86rem;
  }
  .feature-grid li {
    padding: 13px 6px;
    border-radius: 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
  .mobile-menu {
    padding: 56px 8px 24px;
    gap: 26px;
  }
  .mobile-nav a {
    font-size: 1.02rem;
    padding: 9px 4px;
  }
  .cookie-modal {
    padding: 17px 4vw 17px 4vw;
    min-width: unset;
    width: 97vw;
    border-radius: 12px;
  }
}

@media (max-width: 768px) {
  .text-image-section, .feature-item, .content-grid, .card-container, .footer .container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px;
  }
  .footer .container {
    align-items: flex-start !important;
    gap: 16px;
  }
}

/* =====================
   MONOCHROME DRAMATIC DETAILS
   ===================== */
body {
  background: #f9f9fa;
}
section, .card, .testimonial-card, .faq-item, .feature-grid li {
  background: #fff;
}

.card, .testimonial-card, .faq-item, .feature-grid li {
  border: 1px solid #ececec;
}

hr {
  border: none;
  border-top: 1px solid #e4e4e6;
  margin: 32px 0;
}

::-webkit-scrollbar {
  width: 12px;
  background: #E8E8E8;
}
::-webkit-scrollbar-thumb {
  background: #B4B4B4;
  border-radius: 6px;
}

/* =====================
   MISC UTILS & EFFECTS
   ===================== */
.shadow-sm {
  box-shadow: 0 2px 14px 0 rgba(24,24,24,0.07);
}
.shadow-lg {
  box-shadow: 0 8px 40px 0 rgba(24,24,24,0.14);
}
.rounded-lg {
  border-radius: 20px;
}

/* Micro-interactions */
.button, .faq-item, .card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(.45,1,.4,1), transform 0.21s cubic-bezier(.4,1,.4,1), background 0.13s;
}
.button:active, .card:active, .feature-grid li:active, .testimonial-card:active {
  transform: scale(0.98) !important;
}

/* =====================
   ACCESSIBILITY ENHANCEMENTS
   ===================== */
.button:focus, a:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 2px #F6B122, 0 2px 14px 0 rgba(24,24,24,0.08);
}

/* =====================
   PRINT OVERRIDE (OPTIONAL)
   ===================== */
@media print {
  *, *::before, *::after { background: none !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
  header, footer, .button, .main-nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay, .card, .testimonial-card, .faq-item, .feature-grid li {
    box-shadow: none !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
  }
}
