/* ObligPolig Monochrome Sophisticated Flexbox Layout - style.css */

/* --- 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,
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;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #181818;
  -webkit-font-smoothing: antialiased;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  background: transparent;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
*,*:before,*:after {
  box-sizing: border-box;
}

/* --- BRAND & MONOCHROME SOPHISTICATED COLORS --- */
:root {
  --color-dark: #181818;
  --color-mid: #1A3351;
  --color-light: #F6F7F9;
  --color-accent: #58A4B0;
  --color-gray: #777;
  --color-white: #fff;
  --color-border: #e1e3e6;
  --color-shadow: rgba(26,51,81,0.07);
}

/* --- TYPOGRAPHY --- */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-dark);
  background: var(--color-light);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-mid);
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}
p, ul, ol {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--color-dark);
}
strong {
  font-weight: 600;
}

/* ---- LINK STYLES ---- */
a {
  color: var(--color-mid);
  transition: color 0.2s;
}
a:hover, .main-nav a.active, .footer-nav a.active {
  color: var(--color-accent);
  text-decoration: underline;
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --- HEADER, LOGO, NAV --- */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 6px 0 rgba(26,51,81,0.08);
  position: sticky;
  top: 0;
  z-index: 300;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: 15px;
  color: var(--color-mid);
  opacity: 0.88;
  padding: 4px 0;
  transition: color 0.2s, opacity 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-mid);
  border-radius: 28px;
  padding: 11px 32px;
  min-width: 170px;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  border: none;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  cursor: pointer;
  margin-left: 24px;
  letter-spacing: 0.015em;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: var(--color-mid);
  transform: translateY(-2px) scale(1.01);
}

/* --- MOBILE BURGER MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-white);
  color: var(--color-mid);
  font-size: 2.2rem;
  line-height: 1;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 3px rgba(26,51,81,.09);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-light);
  color: var(--color-accent);
}

/* --- MOBILE MENU STYLES -- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 100vw;
  width: 100vw;
  background: var(--color-white);
  box-shadow: -8px 0 24px rgba(26,51,81,0.16);
  z-index: 1000;
  transition: transform 0.38s cubic-bezier(.65,.05,.36,1);
  padding: 0 0 64px 0;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(-100vw);
  left: 0;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.6rem;
  margin: 32px 32px 0 0;
  color: var(--color-mid);
  background: transparent;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 32px;
  gap: 16px;
  padding-left: 40px;
  padding-right: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-mid);
  opacity: .96;
  padding: 12px 0 8px 0;
  width: 100%;
  transition: color 0.25s;
}
.mobile-nav a:hover {
  color: var(--color-accent);
}

/* --- HERO & SECTION SPACING --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 1px 10px 0 var(--color-shadow);
  border: 1px solid var(--color-border);
}
section:last-child {
  margin-bottom: 0;
}

/* --- GENERAL CONTENT & FLEXBOX PATTERNS --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 2px 11px var(--color-shadow);
  margin-bottom: 20px;
  padding: 32px 28px;
  position: relative;
  min-width: 286px;
  transition: box-shadow 0.18s, transform 0.16s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 20px 0 rgba(26,51,81,0.13);
  transform: translateY(-2px) scale(1.017);
  z-index: 2;
}

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

/**** FLEX-LAYOUT PATTERNS (MANDATORY) ****/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 20px 24px;
  margin-bottom: 20px;
  max-width: 650px;
  transition: box-shadow 0.15s, background 0.18s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(26,51,81,0.10);
}
.testimonial-card p {
  color: var(--color-dark);
  font-size: 1.08rem;
  flex: 1;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-mid);
  font-size: 1rem;
  font-weight: 600;
  margin-left: 12px;
}

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

.contact-info-block {
  background: var(--color-light);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 26px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 246px;
}
.contact-info-block img {
  width: 22px;
  height: auto;
  vertical-align: middle;
  margin-right: 12px;
}
.map-block {
  background: #eceff1;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  color: var(--color-mid);
  margin-top: 20px;
}

/* --- UL/LI & ICONS --- */
ul li, ol li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-mid);
}
ul li img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-right: 8px;
  margin-top: 2px;
}
ul ul, ul ol, ol ul, ol ol {
  margin-top: 12px;
  padding-left: 22px;
}

/* --- TABLES --- */
table {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 6px var(--color-shadow);
  background: #fff;
  margin-bottom: 30px;
  overflow: hidden;
}
thead th {
  background: var(--color-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 16px 8px;
  color: var(--color-mid);
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}
tbody td {
  font-size: 1rem;
  padding: 13px 8px;
  border-bottom: 1px solid var(--color-border);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* --- FOOTER --- */
footer {
  background: #191b20;
  margin-top: 60px;
  font-size: 0.97em;
  color: #d5d7dc;
  padding: 40px 0 22px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-logo img {
  height: 36px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #e5e7ea;
  opacity: .85;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
}
.footer-nav a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  opacity: 1;
}
.footer-contact p {
  color: #d3d5d8;
  margin-bottom: 8px;
}
.footer-legal {
  flex-basis: 100%;
  color: #b6bac2;
  margin-top: 10px;
  font-size: 0.92em;
}

/* --- SPACING, GAPS, WHITESPACE --- */
.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;
}

/* --- MICROINTERACTIONS & TRANSITIONS --- */
section, .card, .testimonial-card, .cta-btn, .main-nav a, .footer-nav a, .mobile-menu, .mobile-nav a {
  transition-property: box-shadow, background, color, border, opacity, transform;
  transition-duration: 0.16s;
}

/* --- FOCUS STATES --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- RESPONSIVE: MOBILE-FIRST, FLEX-COLUMN, MENU --- */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  section {
    padding: 28px 2px;
    margin-bottom: 38px;
    border-radius: 10px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    min-width: 120px;
    padding: 10px 18px;
    font-size: 15px;
  }
  .mobile-menu-toggle {
    display: flex;
    margin-left: 12px;
  }
  .footer-logo img {
    height: 29px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 15px;
    font-size: .98em;
  }
  .footer-contact {
    margin-bottom: 8px;
  }
  .content-wrapper, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    padding: 20px 10px;
    border-radius: 10px;
    min-width: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 8px;
    border-radius: 8px;
    font-size: .98em;
  }
  .contact-info-block {
    padding: 13px 5px 12px 5px;
    border-radius: 7px;
    min-width: 0;
  }
  .map-block {
    padding: 12px;
    border-radius: 6px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  table {
    font-size: .98em;
    border-radius: 7px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1.03rem; }
  section { padding: 21px 1px; }
  .footer-logo img { height: 23px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  background: #191b20ec;
  color: #fff;
  padding: 18px 18px 13px 18px;
  box-shadow: 0 -2px 16px 0 rgba(26,51,81,0.17);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  opacity: 1;
  transition: opacity 0.35s, transform 0.32s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-consent-banner__text {
  font-size: .99em;
  color: #f6f7f9;
  margin-right: 18px;
  max-width: 480px;
}
.cookie-consent-banner__btns {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-consent-btn,
.cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98em;
  font-weight: 600;
  border-radius: 23px;
  padding: 8px 19px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-right: 3px;
  margin-bottom: 3px;
  box-shadow: 0 1px 6px 0 rgba(26,51,81,0.13);
  transition: background 0.16s, color 0.16s;
}
.cookie-consent-btn:hover,
.cookie-settings-btn:hover {
  background: var(--color-white);
  color: var(--color-mid);
}
.cookie-consent-btn.reject {
  background: #181818;
  color: var(--color-white);
  border: 1px solid #444;
}
.cookie-consent-btn.reject:hover {
  background: var(--color-accent);
  color: #191b20;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,51,81,0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: var(--color-mid);
  border-radius: 14px;
  max-width: 98vw;
  width: 370px;
  box-shadow: 0 12px 40px 0 rgba(26,51,81,0.23);
  padding: 30px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: cookie-modal-in 0.45s cubic-bezier(.87,.26,.37,1);
}
@keyframes cookie-modal-in {
  from { transform: scale(.90) translateY(40px); opacity: 0.4; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  background: transparent;
  color: var(--color-mid);
  font-size: 1.8rem;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  transition: color 0.17s;
}
.cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal h2 {
  font-size: 1.15em;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 10px;
  gap: 11px;
}
.cookie-toggle {
  width: 32px;
  height: 18px;
  border-radius: 12px;
  background: #e4e7eb;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 2px;
  width: 15px;
  height: 14px;
  background: #bec9d3;
  border-radius: 10px;
  transition: left 0.18s, background 0.17s;
}
.cookie-toggle input:checked + span {
  left: 14px;
  background: var(--color-accent);
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .cookie-category-label {
  font-size: .98em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-mid);
  font-weight: 500;
  margin-right: 9px;
}

.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.cookie-modal .cookie-consent-btn {
  padding: 7px 15px;
  font-size: 0.98em;
}

/* --- High contrast, readable testimonial tweak (ensure black on white bg) --- */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  background: #fff;
  color: #181818;
}
.testimonial-card {
  border-color: #dadada;
}

/* --- MISC ELEMENTS --- */
::-webkit-scrollbar {
  width: 10px;
  background: #eceef0;
}
::-webkit-scrollbar-thumb {
  background: #c1c5ca;
  border-radius: 8px;
}

/***** END ObligPolig CSS *****/
