/* -------------------------
   CSS RESET & NORMALIZE
------------------------- */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #181818;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #1A2836;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #5891A9;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #232323;
}
strong, b { font-weight: 600; }

body {
  background: #fff;
}

/* -------------------------
   VARS
------------------------- */
:root {
  --color-primary: #1A2836;
  --color-secondary: #5891A9;
  --color-accent: #F5F7FA;
  --color-black: #101114;
  --color-gray: #C7CCD2;
  --color-white: #fff;
  --color-text: #181818;
  --color-text-light: #232323;
  --color-heading: #111213;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --shadow-card: 0 4px 24px 0 rgba(26,40,54,0.08);
  --shadow-elevated: 0 8px 32px 0 rgba(26,40,54,0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.23s cubic-bezier(.4,.13,.38,.96);
}

/* -------------------------
   TYPOGRAPHY
------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-top: 16px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.38rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
@media (min-width:500px){
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.6rem; }
}

.text-section h2, .text-section h3 {
  margin-top: 22px;
}
.text-section ul {
  margin-bottom: 20px;
}
.text-section li {
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  color: var(--color-text-light);
}

em {
  font-style: italic;
  color: #555;
}

/* Visual hierarchy for monochrome_sophisticated */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

/* -------------------------
   HEADER & NAVIGATION
------------------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(22,33,55,0.07);
  position: relative;
  z-index: 21;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  gap: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: #1A2836;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 2px 0;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.main-nav a:hover {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  padding: 12px 32px;
  margin-left: 18px;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px 0 rgba(26,40,54,0.12);
  transition: var(--transition);
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(88,145,169,0.18);
}
.btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 12px 32px;
  margin-top: 24px;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: inline-block;
}
.btn-secondary:hover, .btn-secondary:focus {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-secondary);
  box-shadow: 0 8px 32px 0 rgba(26,40,54,0.13);
}

/* HAMBURGER BUTTON */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 0 10px;
  margin-left: 8px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: var(--color-secondary);
}

@media (min-width: 1020px) {
  .mobile-menu-toggle { display: none; }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(26, 40, 54, 0.96);
  z-index: 1001;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.6,.23,.6,1.13);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  padding: 20px 20px 8px 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: color .2s;
}
.mobile-menu-close:hover { color: var(--color-secondary); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 38px;
  width: 100vw;
}
.mobile-nav a {
  width: 100%;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 8px 0;
  transition: color .17s;
  border-bottom: 1px solid rgba(245,247,250,0.03);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

@media (max-width: 1019px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
}
@media (min-width: 1020px) {
  .mobile-menu { display: none !important; }
  .main-nav {
    display: flex;
  }
}

/* -------------------------
   HERO & SECTION LAYOUTS
------------------------- */
.hero {
  width: 100%;
  background: linear-gradient(97deg, #fff 78%, #F5F7FA 100%);
  background-size: cover;
  background-position: center;
  min-height: 320px;
  margin-bottom: 44px;
  box-shadow: 0 6px 28px 0 rgba(26,40,54,0.06);
}
.hero .container {
  height: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  margin: 36px 0;
  gap: 18px;
}
.hero h1 {
  font-size: 2.1rem;
  color: #111213;
  text-shadow: 0 2px 18px rgba(26,40,54,0.03);
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.12rem;
  color: #454545;
  margin-bottom: 18px;
  max-width: 620px;
}

/* -------------------------
   FLEXBOX GRIDS & CONTENT
------------------------- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.feature-icon {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 350px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .23s;
}
.feature-icon img {
  max-height: 48px;
  margin-bottom: 10px;
  filter: grayscale(1) contrast(1.2);
}
.feature-icon:hover {
  box-shadow: 0 8px 38px 0 rgba(26,40,54,0.14);
  transform: translateY(-2px) scale(1.025);
}
.feature-icon h3 {
  font-size: 1.10rem;
  margin-bottom: 0;
}

.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.service-card {
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 332px;
  box-shadow: var(--shadow-card);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid #eee;
  transition: box-shadow .21s, border-color .21s, transform .20s;
}
.service-card h3 {
  margin-bottom: 4px;
  color: var(--color-primary);
}
.service-card a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: underline;
  margin-top: 6px;
  transition: color .2s;
}
.service-card a:hover {
  color: var(--color-primary);
}
.service-card:hover {
  box-shadow: 0 12px 44px 0 rgba(26,40,54,0.13);
  border-color: var(--color-secondary);
  transform: translateY(-2px) scale(1.018);
}

.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.case-study {
  background: #F5F7FA;
  border-radius: var(--radius-md);
  border: 1.5px solid #dde3e9;
  box-shadow: var(--shadow-card);
  min-width: 240px;
  max-width: 390px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  padding: 26px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
}
.case-study h3 { color: var(--color-primary); }
.case-study em {
  font-size: 0.96em;
  color: #48607b;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 200px;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 28px 22px 22px 22px;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 26px;
  margin-bottom: 20px;
  background: #fafbfc;
  border-radius: var(--radius-lg);
  border: 2px solid #EDF1F4;
  box-shadow: var(--shadow-card);
  color: #222;
  min-width: 220px;
  max-width: 380px;
  flex: 1 1 220px;
  transition: box-shadow 0.19s, border .19s, transform .20s;
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
}
.testimonial-card span {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  color: #1A2836;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.testimonial-card:hover {
  border: 2.2px solid var(--color-secondary);
  box-shadow: var(--shadow-elevated);
  transform: scale(1.015) translateY(-2px);
}

.brand-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  color: #1A2836;
  margin-top: 22px;
  margin-bottom: 22px;
}
.brand-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1A2836;
  font-size: 1rem;
  margin-bottom: 4px;
}
.brand-contact img {
  width: 22px;
  min-width: 22px;
  height: 22px;
  opacity: 0.85;
  filter: grayscale(1) contrast(1.18);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 12px;
  margin-top: 6px;
  font-size: 1rem;
}
.footer-nav a {
  color: #293B48;
  font-weight: 500;
  font-family: var(--font-body);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color .18s, border .16s;
}
.footer-nav a:hover {
  color: var(--color-secondary);
  border-bottom: 1.5px solid var(--color-secondary);
}
.footer-logo {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.footer-logo img {
  height: 32px;
  filter: grayscale(1) opacity(.7);
}

footer {
  width: 100%;
  background: #f8f9fa;
  padding: 32px 0 10px 0;
  box-shadow: 0 -7px 30px 0 rgba(26,40,54,0.06);
  border-top: 2px solid #EDF1F4;
  margin-top: 54px;
  font-size: 1rem;
  color: #232323;
}

/* -------------------------
   TEXT-IMAGE & FEATURE ITEMS
------------------------- */
.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;
}

/* -------------------------
   LAYOUT SPACING & ALIGNMENT
------------------------- */
.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;
}

/* -------------------------
   RESPONSIVENESS
------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 960px; }
  .features-grid, .services-cards, .case-studies, .testimonials, .card-container, .content-grid {
    gap: 20px !important;
  }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  .features-grid, .services-cards, .case-studies, .testimonials, .card-container, .content-grid {
    gap: 16px !important;
  }
  .feature-icon, .service-card, .testimonial-card, .case-study {
    min-width: 150px;
    max-width: 100%;
    flex-basis: 100%;
  }
}
@media (max-width: 768px) {
  header .container { flex-direction: row; gap: 12px; }
  .hero .content-wrapper,
  .content-wrapper { padding-left: 0; padding-right: 0; }
  .features-grid, .services-cards, .testimonials, .case-studies, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px !important;
  }
  .feature-icon, .service-card, .testimonial-card, .case-study, .card {
    min-width: 0;
    max-width: 100%;
    flex-basis: 100%;
    padding: 18px 12px 16px 12px;
  }
  .brand-contact { margin: 18px 0; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  .hero { min-height: 180px; }
  .section { padding: 24px 8px; }
  .footer-logo { margin-top: 14px; }
  .footer-nav { gap: 13px; }
}
@media (max-width: 540px) {
  .container { padding: 0 5px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.02rem; }
}
@media (max-width: 420px) {
  .btn-primary, .btn-secondary { padding: 11px 8px; font-size: 0.94rem; }
  .footer-logo img { height: 20px; }
}

/* -------------------------
   MICRO-INTERACTIONS & UTILITY
------------------------- */
.btn-primary, .btn-secondary {
  transition: background .18s, color .18s, box-shadow .19s, border .19s, transform .19s;
}
.cta-section .btn-primary { margin-top: 18px; }

/* Icon buttons accessibility */
button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #5891A9;
  outline-offset: 2px;
}

/* List and form utility */
ul, ol { margin-left: 24px; margin-bottom: 20px; }
li {
  margin-bottom: 6px;
  font-size: 1rem;
  color: #454545;
  font-family: var(--font-body);
}

/* For cookie and demo messages, forms, warnings */
.alert, .is-warning, .is-success, .message {
  display: flex;
  align-items: center;
  background: #f3f6fa;
  color: #1A2836;
  border-left: 4px solid var(--color-secondary);
  padding: 15px 22px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px 0 rgba(90,145,169,0.05);
}

/* ------------------------------------------------------
   COOKIE CONSENT BANNER & COOKIE SETTINGS MODAL
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 998;
  width: 100vw;
  background: #222324;
  color: #fff;
  box-shadow: 0 -2px 23px 0 rgba(26,40,54,0.10);
  padding: 26px 14px 22px 14px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  animation: cookieBannerIn 0.6s cubic-bezier(.46,.03,.52,.96);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 6px;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 22px;
  cursor: pointer;
  transition: background .16s, color .15s, box-shadow .17s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(88,145,169,0.14);
}
.cookie-banner .cookie-btn.accept:hover {
  background: #236086;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #1A2836;
  border: 1.5px solid #293B48;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #e3e5e6;
}
.cookie-banner .cookie-btn.settings {
  background: #23292f;
  color: #fff;
  border: 1.5px solid #444d56;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #1A2836;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(26,40,54,0.75);
  z-index: 999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  animation: cookieModalIn 0.4s cubic-bezier(.4,.13,.38,.96);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-inner {
  background: #f5f7fa;
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px 28px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 12px 36px 0 rgba(26,40,54,0.23);
  color: #1A2836;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-inner h3 {
  margin-bottom: 10px;
  color: #1A2836;
  font-size: 1.2rem;
  font-family: var(--font-display);
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: none;
  color: #1A2836;
  font-size: 1.6rem;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal-close:hover {
  color: var(--color-secondary);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #1A2836;
  margin-right: 8px;
}
.cookie-modal-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-secondary);
  border-radius: 4px;
  cursor: pointer;
}
.cookie-modal-category.cookie-essential label {
  font-weight: 700;
  color: #222;
}
.cookie-modal-category.cookie-essential input {
  accent-color: #888;
  cursor: default;
}

.cookie-modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 7px 20px;
  border-radius: var(--radius-md);
}

@media (max-width: 540px) {
  .cookie-modal-inner {
    min-width: auto;
    max-width: 98vw;
    padding: 18px 6vw 18px 6vw;
  }
  .cookie-modal-inner h3 { font-size: 1.07rem; }
}

/* Hide cookie banner/overlay for print */
@media print {
  .cookie-banner, .cookie-modal { display: none !important; }
}

/* ------------------------------------------------------
   ADDITIONAL UTILITY CLASSES
------------------------------------------------------ */
.text-center      { text-align: center; }
.align-center     { align-items: center !important; }
.justify-center   { justify-content: center !important; }
.no-shadow        { box-shadow: none !important; }
.top-margin       { margin-top: 32px !important; }
.bottom-margin    { margin-bottom: 32px !important; }
.gap-16           { gap: 16px !important; }

/* ------------------------------------------------------
   END OF CSS FILE
------------------------------------------------------ */