/* === 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,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;
  -webkit-font-smoothing: antialiased;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #18191C;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #197278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111114;
  text-decoration: underline;
}
ul,ol {
  padding-left: 28px;
}
strong, b {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  color: #111114;
  font-family: 'Titillium Web', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 24px; }
h2 { font-size: 1.5rem; margin-bottom: 20px; }
h3 { font-size: 1.15rem; margin-bottom: 14px; }
p { margin-bottom: 14px; }

/* === BRAND MONOCHROME PALETTE (monochrome_sophisticated) === */
:root {
  --brand-primary: #1A1F29;
  --brand-secondary: #197278;
  --brand-accent: #ECECEC;
  --mono-black: #111114;
  --mono-gray-dark: #22232A;
  --mono-gray: #54575E;
  --mono-gray-light: #ECECEC;
  --mono-white: #fff;
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 28px 10px;
  }
  .container {
    padding: 0 10px;
  }
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--mono-white);
  border-bottom: 1px solid #ECECEC;
  box-shadow: 0 1px 12px 0 rgba(17,17,20,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: 'Titillium Web', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  padding: 8px 4px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--mono-black);
  border-radius: 3px;
  position: relative;
  transition: background 0.17s, color 0.17s;
}
header nav a.cta {
  background: var(--brand-primary);
  color: var(--mono-white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 17px;
  font-weight: 700;
  margin-left: 12px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px 0 rgba(26,31,41,0.08);
  transition: background 0.24s, color 0.18s;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: var(--brand-secondary);
  color: var(--mono-white);
}
header nav a:hover, header nav a:focus {
  background: var(--brand-accent);
}
header img {
  height: 40px;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: 14px;
  z-index: 102;
  line-height: 1;
}

/* == MOBILE NAVIGATION == */
@media (max-width: 1100px) {
  header .container {
    gap: 12px;
  }
  header nav {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  header nav a {
    font-size: 15px;
    padding: 7px 2.5px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(17, 17, 20, 0.90);
  box-shadow: 0 0 35px 0 rgba(26,31,41,0.30);
  z-index: 200;
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.38s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 26px 0 0;
  background: transparent;
  border: none;
  color: var(--mono-white);
  font-size: 2.1rem;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 203;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin: 48px 0 0 32px;
  z-index: 202;
}
.mobile-nav a {
  color: var(--mono-white);
  font-size: 1.15rem;
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  width: fit-content;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
}
@media (max-width: 480px) {
  .mobile-nav {
    margin-left: 15px;
    gap: 13px;
  }
}

/* === HERO SECTION === */
.hero {
  background: var(--mono-black);
  color: var(--mono-white);
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  box-shadow: 0px 8px 32px 0 rgba(17,17,20,0.07);
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1,
.hero h2 {
  color: var(--mono-white);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(26,31,41,.11);
}
.hero p {
  color: #ECECEC;
  font-size: 1.08rem;
  margin-bottom: 20px;
  line-height: 1.6;
}
.hero .cta {
  margin-top: 10px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 200px;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero h1 { font-size: 1.45rem; }
}

/* === BUTTONS (ALL CTAs) === */
.cta, .button, button, input[type="submit"] {
  background: var(--brand-primary);
  color: var(--mono-white);
  padding: 11px 32px;
  font-family: 'Titillium Web', 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.07rem;
  border: none;
  border-radius: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.22s, color 0.15s, box-shadow 0.21s;
  box-shadow: 0 2px 14px 0 rgba(26,31,41,0.07);
  display: inline-block;
  line-height: 1.1;
  outline: none;
  margin-right: 14px;
}
.cta:hover, .cta:focus, 
.button:hover, .button:focus, 
button:hover, button:focus, 
input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--brand-secondary);
  color: var(--mono-white);
  box-shadow: 0 4px 24px 0 rgba(25,114,120,0.18);
}

/* === FEATURES & SERVICES === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 8px;
}
.feature-grid > div {
  flex: 1 1 230px;
  min-width: 190px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 18px 0 rgba(17,17,20,0.06);
  padding: 26px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1.5px solid #ECECEC;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 32px 0 rgba(25,114,120,0.17);
  border-color: var(--brand-secondary);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  filter: grayscale(1) contrast(1.12) brightness(0.94);
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* === PRICES & SERVICES LISTS === */
ul li, ol li {
  margin-bottom: 13px;
  font-size: 1.08rem;
  color: var(--mono-gray);
}
ul li strong, ol li strong {
  color: var(--mono-black);
  font-weight: 600;
}
ul li span {
  color: var(--brand-secondary);
  font-weight: 600;
  margin-left: 6px;
  font-size: 1rem;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: var(--mono-gray-light);
  color: var(--mono-black);
  border-radius: 16px;
  box-shadow: 0 2px 22px 0 rgba(26,31,41,0.04);
  margin-bottom: 20px;
  font-size: 1.12rem;
  font-style: italic;
  border-left: 4px solid var(--brand-secondary);
  transition: box-shadow 0.18s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px 0 rgba(25, 114, 120, 0.08);
  border-left: 4px solid var(--brand-primary);
}
.review-meta {
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--brand-secondary);
  margin-left: 8px;
  font-style: normal;
}
.trust-signals {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding-top: 7px;
  border-top: 1px solid #E3E3E3;
  font-size: 0.98rem;
  color: var(--mono-gray);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.trust-signals img {
  width: 32px;
  height: 32px;
  filter: grayscale(1) brightness(0.95);
}

/* === CONTACT DETAILS === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 1.08rem;
  color: var(--mono-black);
}
.contact-details a {
  color: var(--brand-secondary);
  word-break: break-all;
}

/* === CARD COMPONENTS & FLEXBOX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--mono-white);
  border: 1.5px solid #ECECEC;
  box-shadow: 0 2px 22px 0 rgba(26,31,41,0.04);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* TEXT SECTIONS, TYPOGRAPHY, WHITESPACE */
.text-section {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-section:last-child {
  margin-bottom: 0;
}

/* === FOOTER === */
footer {
  background: #191B21;
  color: var(--mono-gray-light);
  padding: 36px 0 20px 0;
  border-top: 1px solid #252730;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #ECECEC;
  font-family: 'Titillium Web', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-secondary);
}
footer img {
  height: 29px;
  margin-bottom: 12px;
}
footer .cta {
  background: var(--brand-secondary);
  color: var(--mono-white);
  box-shadow: 0 2px 12px 0 rgba(25,114,120,0.10);
  font-size: 1.08rem;
  margin-top: 2px;
  padding: 9px 22px;
}
footer .cta:hover, footer .cta:focus {
  background: var(--brand-primary);
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  footer nav {
    flex-direction: row;
    gap: 14px;
    margin-bottom: 16px;
  }
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #111114;
  color: #ECECEC;
  z-index: 5000;
  padding: 24px 15px 24px 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 0px 56px 0 rgba(10,12,18,0.32);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  background: var(--brand-secondary);
  color: var(--mono-white);
  border: none;
  padding: 9px 18px;
  border-radius: 19px;
  font-size: 1rem;
  font-family: 'Titillium Web', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-right: 0;
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
}
.cookie-banner button.cookie-settings {
  background: #ECECEC;
  color: var(--brand-primary);
  border: 1.5px solid #BBBBBB;
  font-weight: 500;
}
.cookie-banner button:active, .cookie-banner button:hover {
  background: var(--brand-primary);
  color: var(--mono-white);
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--brand-secondary);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 10px 20px 12px;
  }
}

/* === COOKIE SETTINGS MODAL === */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 5100;
  background: rgba(17,17,20,0.86);
  top: 0; left: 0; right: 0; bottom: 0;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #18191C;
  border-radius: 18px;
  box-shadow: 0 6px 42px 0 rgba(17,17,20,0.18);
  max-width: 430px;
  width: 100%;
  padding: 34px 24px 27px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: popIn 0.35s cubic-bezier(.47,1.64,.41,.92);
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  margin-bottom: 12px;
  color: var(--brand-primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  font-size: 1.08rem;
  border-bottom: 1px solid #ECECEC;
}
.cookie-modal .cookie-category label {
  font-weight: 600;
  color: var(--brand-secondary);
}
.cookie-modal .cookie-category input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: var(--brand-secondary);
  margin-right: 7px;
}
.cookie-modal .modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  background: var(--brand-secondary);
  color: #fff;
  border: none;
  padding: 9px 16px;
  border-radius: 17px;
  font-size: 1rem;
  font-family: 'Titillium Web', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.18s;
}
.cookie-modal button.secondary {
  background: #ECECEC;
  color: var(--brand-primary);
  border: 1.5px solid #BBBBBB;
  font-weight: 500;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-modal button.secondary:hover, .cookie-modal button.secondary:focus {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: #B4B4B4;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-secondary);
}

/* === MICRO-INTERACTIONS ANIMATIONS === */
a, button, .cta, .card, .feature-grid > div, .testimonial-card, .cookie-banner, .cookie-modal button {
  transition: background 0.18s, box-shadow 0.19s, color 0.17s, border-color 0.17s, transform 0.16s;
}
.card:hover, .feature-grid > div:focus-within {
  transform: translateY(-2px) scale(1.017);
  box-shadow: 0 8px 40px 0 rgba(26, 31, 41, 0.08);
}

/* === ACCESSIBILITY/OUTLINE === */
:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* === UTIL & SPACING HELPERS === */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }

/* == RESPONSIVE HELPERS == */
@media (max-width: 540px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1rem; }
  .feature-grid > div,
  .testimonial-card,
  .card {
    padding: 14px 9px;
    font-size: 0.93rem;
  }
  .cookie-modal {
    padding: 16px 6px 16px 10px;
  }
}
