/* =========================
   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;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A1A1A;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: #FAFAFA;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
}
b, strong {
  font-weight: 700;
}
a {
  color: #1A4076;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: underline;
}
ul, ol {
  list-style-position: outside;
  padding-left: 1.2em;
}
button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}

/* =========================
   BRAND TYPOGRAPHY & COLORS
   ========================= */
:root {
  --mono-black: #080808;
  --mono-white: #fff;
  --mono-gray-100: #FAFAFA;
  --mono-gray-200: #eeeeee;
  --mono-gray-300: #e0e0e0;
  --mono-gray-400: #bdbdbd;
  --mono-gray-600: #757575;
  --mono-gray-800: #222;
  --mono-gray-900: #111;
  --brand-primary: #1A4076;
  --brand-secondary: #F9A825;
  --brand-accent: #F5F5F5;
  --shadow-xs: 0px 1.5px 4px rgba(0,0,0,0.04);
  --shadow-sm: 0px 2px 8px rgba(0,0,0,0.09);
  --shadow-md: 0px 6px 24px rgba(0,0,0,0.13);
  --shadow-elevated: 0 8px 50px rgba(30,30,30,0.13);
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --transition-main: 0.2s cubic-bezier(.4,0,.2,1);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--mono-black);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; line-height: 1.16; }
h2 { font-size: 2.0rem; line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.25; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.92rem; }
@media (min-width: 600px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.7rem; }
}
p, ul, ol, li, blockquote { 
  color: var(--mono-gray-900);
  font-weight: 400;
  margin-bottom: 1.2em;
  font-size: 1rem;
}
.text-section p, .text-section li {
  font-size: 1.06rem;
  color: var(--mono-gray-900);
}

/* =========================
   SPACING + LAYOUT PATTERNS
   ========================= */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-md);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--mono-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
}
.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;
  background: var(--mono-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  border-left: 4px solid var(--brand-primary);
  position: relative;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 12px;
}

/* Feature Grid on Homepage */
ul.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
ul.feature-grid li {
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 270px;
  background: var(--mono-gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 25px 20px 23px 20px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition-main), background var(--transition-main);
}
ul.feature-grid li:hover {
  background: var(--mono-white);
  box-shadow: var(--shadow-md);
}
ul.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}

/* Service List & Other Iconic Lists */
ul.service-list, .company-contacts ul, .contact-details ul, .footer-contacts > p, .footer-contacts ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
ul.service-list li, ul.contact-details li, .company-contacts ul li, .footer-contacts p, .footer-contacts ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mono-gray-800);
  font-weight: 500;
}
ul.service-list li img, ul.contact-details li img, .company-contacts ul li img, .footer-contacts p img, .footer-contacts ul li img {
  width: 22px;
  height: 22px;
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  width: 100%;
  background: var(--mono-white);
  border-bottom: 1px solid var(--mono-gray-200);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 990;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 12px;
}
.logo img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--mono-gray-800);
  font-weight: 600;
  font-size: 1.04rem;
  text-transform: none;
  letter-spacing: 0.02em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-main), color var(--transition-main);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-primary);
  border-bottom: 2px solid var(--brand-primary);
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  border: none;
  background: var(--mono-black);
  color: var(--mono-white) !important;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.01em;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  margin-left: 22px;
  margin-right: 0;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--brand-primary);
  color: var(--mono-white) !important;
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--mono-white);
  color: var(--mono-black) !important;
  border: 2px solid var(--brand-primary);
  box-shadow: none;
  margin-left: 0;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--brand-primary);
  color: var(--mono-white) !important;
}

/* Hide main nav on mobile */
@media (max-width: 1023px) {
  .main-nav { display: none !important; }
  .btn-primary { display: none !important; }
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: var(--mono-white);
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  margin-left: auto;
  border: 1px solid var(--mono-gray-200);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  z-index: 1202;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-primary);
  color: var(--mono-white);
}
/* Hide hamburger on desktop */
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none !important; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--mono-black);
  color: var(--mono-white);
  box-shadow: 0 0 64px rgba(0,0,0,0.38);
  z-index: 1201;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.66,.16,.2,.91);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 30px;
  background: transparent;
  font-size: 2.6rem;
  color: var(--mono-white);
  border: none;
  z-index: 1502;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: 92px;
  padding-left: 44px;
}
.mobile-nav a {
  color: var(--mono-white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 7px;
  letter-spacing: 0.015em;
  padding: 2px 0;
  border-left: 3.5px solid transparent;
  transition: color 0.18s, border-color 0.22s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  border-left: 3.5px solid var(--brand-secondary);
}

/* =========================
   HERO, HEADINGS ...
   ========================= */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: none;
}
.text-section h1, .text-section h2, .text-section h3 {
  margin-bottom: 8px;
}
.text-section h2 {
  color: var(--mono-black);
}

/* =========================
   HOME - TEASERS & CTA
   ========================= */
section {
  background: var(--mono-white);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.02);
}
section:nth-child(even) {
  background: var(--mono-gray-100);
}

/* CTA/Teaser Buttons */
.text-section .btn-primary, .text-section .btn-secondary {
  margin-top: 10px;
  margin-bottom: 6px;
}

/* =========================
   CARD-LIKE BLOCKS & GRIDS
   ========================= */
.service-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.service-category-grid > div {
  flex: 1 1 270px;
  min-width: 235px;
  max-width: 340px;
  background: var(--mono-gray-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
  padding: 30px 22px;
  transition: box-shadow var(--transition-main), background var(--transition-main);
}
.service-category-grid > div:hover {
  background: var(--mono-white);
  box-shadow: var(--shadow-md);
}
.service-category-grid > div img {
  width: 36px;
  margin-bottom: 6px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.faq-list > div {
  background: var(--mono-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  padding: 22px 22px;
  transition: box-shadow var(--transition-main), background var(--transition-main);
  border-left: 3.5px solid var(--brand-primary);
  margin-bottom: 0;
}
.faq-list > div:hover {
  box-shadow: var(--shadow-md);
  background: var(--mono-gray-100);
}
.faq-list h3 {
  font-size: 1.13rem;
  margin-bottom: 7px;
  color: var(--brand-primary);
  font-weight: 700;
}

/* Testimonials: strong attribution contrast */
.testimonial-card p {
  color: var(--mono-black);
  font-size: 1.12rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: 700;
}

/* =========================
   FOOTER
   ========================= */
footer {
  width: 100%;
  background: var(--mono-black);
  color: var(--mono-white);
  padding: 0;
  margin-top: 80px;
  border-top: 4px solid var(--brand-primary);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 38px;
}
.footer-logo img {
  height: 50px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.footer-nav a {
  color: var(--mono-white);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.006em;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
  text-decoration: underline;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 12px;
}
.footer-contacts p, .footer-contacts a {
  color: var(--mono-white);
  font-size: 1.01rem;
}
.footer-contacts a:hover {
  color: var(--brand-secondary);
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--mono-black);
  color: var(--mono-white);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 26px 16px 22px 16px;
  gap: 32px;
  z-index: 1800;
  font-size: 1.05rem;
  animation: slideUpBanner 0.65s cubic-bezier(.44,.23,.53,1.08);
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  98% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-size: 1rem;
  padding: 8px 23px;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  margin: 0;
  cursor: pointer;
  transition: background var(--transition-main), color var(--transition-main);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: var(--mono-white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-secondary);
  color: var(--mono-black);
}
.cookie-btn.reject {
  background: var(--mono-gray-200);
  color: var(--mono-black);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--mono-gray-400);
  color: var(--mono-black);
}
.cookie-btn.settings {
  border: 2px solid var(--brand-secondary);
  background: var(--mono-black);
  color: var(--brand-secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-secondary);
  color: var(--mono-black);
}
/* Hide banner when closed */
.cookie-consent-banner.closed {
  display: none;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7,7,7,0.50);
  transition: background 0.18s;
  animation: fadeInModal 0.38s cubic-bezier(.4,0,.2,1.02);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  90% { opacity: 1; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: var(--mono-white);
  color: var(--mono-black);
  border-radius: var(--radius-md);
  max-width: 95vw;
  width: 370px;
  box-shadow: var(--shadow-elevated);
  padding: 42px 32px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 19px; right: 22px;
  background: transparent;
  color: var(--mono-gray-800);
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--mono-gray-200);
}
.cookie-category .category-label {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.06rem;
}
.cookie-category .category-toggle {
  margin-left: 18px;
}
.cookie-category input[type="checkbox"] {
  width: 24px; height: 24px;
  accent-color: var(--brand-primary);
}
.cookie-category .always-on {
  font-size: 0.94rem;
  color: var(--mono-gray-600);
  font-weight: 500;
}

/* =========================
   UTILITY CLASSES
   ========================= */
.d-none { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* Consistent Spacing for Content Sections */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .faq-list > div, ul.feature-grid li {
  margin-bottom: 20px;
}
.card-container, .content-grid, .service-category-grid, ul.feature-grid {
  gap: 24px;
}
ul.service-list, .company-contacts ul, .contact-details ul, .footer-contacts ul {
  gap: 15px;
}
.text-image-section {
  gap: 30px;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 1023px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-top: 34px;
    padding-bottom: 21px;
  }
  .footer-logo { margin-top: 0; margin-left: 0; align-self: flex-start; }
}
@media (max-width: 900px) {
  .content-grid, ul.feature-grid, .card-container, .service-category-grid {
    flex-direction: column;
    gap: 20px;
  }
  ul.feature-grid li, .service-category-grid > div {
    min-width: 65vw;
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .section, section {
    padding: 30px 10px 32px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .card, .service-category-grid > div, ul.feature-grid li, .testimonial-card {
    padding: 18px 11px;
  }
  .feature-grid, .service-category-grid, .card-container, .content-grid {
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px;
  }
  .main-nav, .btn-primary { display: none !important; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.14rem; }
  .cookie-consent-banner { flex-direction: column; gap: 17px; padding: 21px 7px 16px 7px; font-size: 0.99rem; align-items: flex-start;}
  .cookie-consent-banner .cookie-buttons { flex-direction: column; gap: 9px; }
}

/* =========================
   MICRO-INTERACTIONS & ANIMATIONS
   ========================= */
.card, .testimonial-card, .faq-list > div, ul.feature-grid li, .service-category-grid > div {
  transition: box-shadow 0.21s, background 0.21s;
}
.card:hover, .testimonial-card:hover, .faq-list > div:hover, ul.feature-grid li:hover, .service-category-grid > div:hover {
  box-shadow: 0px 8px 30px 0 rgba(10,8,40,0.10);
  background: #fff;
}
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.19s, color 0.17s, box-shadow 0.21s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  box-shadow: 0 2px 16px rgba(26,26,26,0.13);
}

/* =========================
   PRINT STYLES
   ========================= */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  main { max-width: 100vw !important; }
  section, .section { box-shadow: none !important; background: #fff !important; }
}
