/* -------- 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 { box-sizing: border-box; }
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  color: #232323;
  background: #fff;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style-position: inside; }
button { 
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}
hr { border: 0; border-top: 1px solid #e0e0e0; margin: 32px 0; }

/* --------- BASE TYPOGRAPHY --------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #18191b;
}
h1 { font-size: 2.7rem; margin-bottom: 16px; line-height: 1.12; }
h2 { font-size: 2rem; margin-bottom: 16px; line-height: 1.16; }
h3 { font-size: 1.27rem; margin-bottom: 8px; }
h4 { font-size: 1.08rem; margin-bottom: 6px; }
p, ul, ol, li { font-size: 1rem; color: #232323; }
p.subtitle {
  font-size: 1.22rem;
  color: #36454F;
  margin-bottom: 18px;
  font-weight: 400;
}
strong { font-weight: bold; color: #18191b; }

/* Typography scale */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

/* -------- COLOR SCHEME (MONOCHROME SOPHISTICATED) -------- */
:root {
  --dm-primary: #2b363e;
  --dm-secondary: #ffffff;
  --dm-accent: #d99013;
  --gray-900: #18191b;
  --gray-700: #36454F;
  --gray-200: #F6F6F6;
  --gray-100: #f9f9f9;
  --shadow: rgba(24,25,27,0.1);
}

body {
  background: var(--dm-secondary);
  color: var(--gray-900);
}

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

.content-wrapper {
  width: 100%;
  margin-bottom: 16px;
  padding: 0 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--gray-100);
  border-radius: 18px;
  box-shadow: 0 2px 34px -16px var(--shadow);
  transition: box-shadow 0.18s linear;
}
.section:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
}

/* ---------- HEADER ---------- */
header {
  background: var(--dm-secondary);
  border-bottom: 1px solid #ececec;
  box-shadow: 0 1px 10px -6px var(--shadow);
}
header .container {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.logo img {
  height: 38px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  color: var(--gray-700);
  margin-right: 0px;
  font-weight: 500;
  transition: color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: var(--dm-accent);
  text-decoration: underline;
}
.cta {
  display: inline-block;
  padding: 10px 27px;
  background: var(--dm-primary);
  color: var(--dm-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  border-radius: 32px;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 4px 22px -10px var(--shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.28s;
  border: 2px solid var(--dm-primary);
  margin-left: 20px;
}
.cta:hover, .cta:focus {
  background: var(--dm-accent);
  color: var(--dm-primary);
  border-color: var(--dm-accent);
  box-shadow: 0 8px 30px -12px var(--shadow);
}
@media (max-width: 950px) {
  header .container { gap: 8px; }
  header nav { gap: 12px; }
}
/* Hide main nav/cta on mobile */
@media (max-width: 900px) {
  header nav, .cta {
    display: none;
  }
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu-toggle {
  position: fixed;
  right: 22px;
  top: 19px;
  z-index: 1200;
  width: 46px;
  height: 46px;
  background: var(--dm-primary);
  color: var(--dm-secondary);
  border-radius: 50%;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.12s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--dm-accent);
  color: var(--dm-primary);
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24, 25, 27, 0.92);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.5,.2,.21,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--dm-secondary);
  font-size: 2.4rem;
  margin: 12px 0 8px 18px;
  z-index: 1400;
  align-self: flex-start;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 10px;
  gap: 10px;
}
.mobile-nav a {
  color: var(--dm-secondary);
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.015em;
  padding: 16px 34px;
  border-radius: 7px;
  margin-left: 9px;
  transition: background .18s, color .17s;
  font-weight: 500;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--dm-accent);
  color: var(--dm-primary);
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------- MAIN ----------- */
main {
  min-height: 48vh;
  background: var(--dm-secondary);
  padding-bottom: 58px;
}

/* ----------- SECTION/CONTENT BLOCKS ----------- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 4px;
    margin-bottom: 35px;
  }
}
.content-wrapper {
  width: 100%;
  margin-bottom: 18px;
  padding: 0px 0px;
}

/* --------- FLEX CONTAINERS --------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0px 6px 24px -13px var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  position: relative;
  transition: box-shadow .19s, transform .14s;
  min-width: 240px;
}
.card:hover, .card:focus {
  box-shadow: 0px 12px 28px -10px var(--shadow), 0 0 0 1px var(--dm-accent);
  transform: translateY(-4px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 20px;
  background: var(--gray-200);
  color: var(--dm-primary);
  padding: 20px 30px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 16px -9px var(--shadow);
  max-width: 650px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card p {
  color: var(--gray-900);
  font-style: italic;
}
.testimonial-card span {
  font-weight: 600;
  font-family: 'Montserrat','Arial',sans-serif;
  color: var(--dm-accent);
  margin-left: 12px;
  font-size: 1.01rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 30px -12px var(--shadow);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
}
.team-list > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 10px -4px var(--shadow);
  padding: 22px 18px;
  flex: 1 1 200px;
  min-width: 200px;
}
@media (max-width: 900px) {
  .team-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ----------- LISTS AND DETAILS ----------- */
ul, ol {
  margin-bottom: 14px;
  margin-top: 14px;
  padding-left: 18px;
  color: var(--gray-900);
}
ul li, ol li {
  margin-bottom: 6px;
  color: var(--gray-700);
}
.contact-details {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
}
.contact-details img {
  height: 20px;
  width: auto;
  opacity: .70;
}

/* --------- BUTTONS & LINKS --------- */
a, button, input[type="submit"] {
  transition: color 0.2s, background 0.22s, border 0.2s, box-shadow 0.16s;
  outline: none;
}
.button, .cta {
  box-shadow: 0 2px 22px -10px var(--shadow);
}
.button:active, .cta:active {
  box-shadow: 0 0px 0px 0px var(--shadow);
}
.button, .cta {
  user-select: none;
}
/* Generic small button style */
.button-secondary {
  background: var(--dm-accent);
  color: var(--dm-primary);
  padding: 9px 18px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 500;
  border: 1.5px solid var(--dm-accent);
  margin: 10px 5px;
  transition: background .13s, color .16s;
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--dm-primary);
  color: var(--dm-secondary);
  border-color: var(--dm-primary);
}

/* ------------- ORDERED LIST PROCESS STEPS ------------- */
ol {
  counter-reset: ol-list;
  list-style: none;
  padding-left: 0;
}
ol > li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 13px;
  font-size: 1.08rem;
}
ol > li span {
  font-size: 1.6rem;
  line-height: 1;
  margin-right: 10px;
  color: var(--dm-accent);
  font-family: 'Montserrat',sans-serif;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  ol > li {
    font-size: 1rem;
  }
  ol > li span {
    font-size: 1.3rem;
  }
}

/* ------------- FOOTER ------------- */
footer {
  background: var(--gray-900);
  color: var(--dm-secondary);
  padding: 32px 0 14px 0;
  width: 100%;
  font-size: 0.96rem;
  letter-spacing: .01em;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
footer nav {
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--dm-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  opacity: 0.88;
  transition: color .13s, opacity .12s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: var(--dm-secondary);
}
footer p {
  color: #b8b8b8;
  font-size: 0.98em;
  margin-top: 8px;
}

/* ----------- COOKIES CONSENT BANNER ----------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: var(--gray-900);
  color: var(--dm-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 18px 18px 18px;
  box-shadow: 0px -1px 22px -7px var(--shadow);
  transition: transform .35s ease, opacity .19s;
  font-size: 1.07rem;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: var(--dm-secondary);
  margin-bottom: 8px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 2px;
}
.cookie-banner button {
  min-width: 120px;
  border-radius: 25px;
  padding: 9px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 10px -7px #23232310;
  border: 1.5px solid var(--dm-accent);
  transition: background .18s, color .17s;
}
.cookie-banner .cookie-accept {
  background: var(--dm-accent);
  color: var(--dm-primary);
  border-radius: 25px;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--dm-primary);
  color: var(--dm-secondary);
}
.cookie-banner .cookie-reject {
  background: transparent;
  color: var(--dm-accent);
  border-radius: 25px;
  border: 1.5px solid var(--dm-accent);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: var(--dm-accent);
  color: var(--dm-primary);
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--dm-secondary);
  border: 1.5px solid #fff3;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #111;
  color: var(--dm-accent);
}

/* ----------- COOKIE PREFERENCES MODAL ----------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(24,25,27,0.79);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .21s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: var(--dm-secondary);
  color: var(--dm-primary);
  min-width: 320px;
  max-width: 95vw;
  border-radius: 19px;
  box-shadow: 0 6px 28px -8px var(--shadow);
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: var(--gray-900);
  margin-bottom: 9px;
}
.cookie-modal .cm-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}
.cookie-modal .cm-category label {
  font-size: 1.05em;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .cm-switch {
  appearance: none;
  width: 38px; height: 20px;
  border-radius: 10px;
  background: #cfd3d6;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background .13s;
  margin-right: 4px;
}
.cookie-modal .cm-switch:checked {
  background: var(--dm-accent);
}
.cookie-modal .cm-switch:before {
  content: '';
  display: block;
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left .16s;
}
.cookie-modal .cm-switch:checked:before {
  left: 20px;
}
.cookie-modal .cm-desc {
  font-size: .98em;
  color: #3d3d3d;
}
.cookie-modal .cm-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cm-close {
  background: none;
  border: none;
  position: absolute;
  top: 15px;
  right: 17px;
  color: #bbb;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .cm-close:hover, .cookie-modal .cm-close:focus {
  color: var(--dm-accent);
}
.cookie-modal .cm-actions button {
  padding: 8px 23px;
  border-radius: 25px;
  border: 1.5px solid var(--dm-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: var(--dm-accent);
  color: var(--dm-primary);
  transition: background .18s, color .16s;
}
.cookie-modal .cm-actions .cm-accept:hover, .cookie-modal .cm-actions .cm-accept:focus {
  background: var(--dm-primary);
  color: var(--dm-secondary);
}
.cookie-modal .cm-actions .cm-save {
  background: transparent;
  color: var(--dm-accent);
}
.cookie-modal .cm-actions .cm-save:hover, .cookie-modal .cm-actions .cm-save:focus {
  background: var(--dm-accent);
  color: var(--dm-primary);
}

@media (max-width: 500px) {
  .cookie-modal {
    min-width: 94vw;
    padding: 18px 5vw 18px 5vw;
  }
}

/* ----------- RESPONSIVE DESIGN ----------- */
@media (max-width: 768px) {
  header .container { height: 60px; }
  .logo img { height: 28px; }
  .card-container, .content-grid, .team-list {
    flex-direction: column;
    gap: 17px;
  }
  .card {
    padding: 18px 10px;
    min-width: unset;
  }
  .testimonial-card {
    padding: 12px 10px;
    font-size: 1em;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .section, section {
    padding: 13px 1.5vw;
  }
}

/* ----------- MICRO-INTERACTIONS ----------- */
a, .cta, button, .button, .button-secondary {
  transition: background 0.22s, color 0.17s, border 0.21s, box-shadow 0.18s, transform .09s;
}
.cta:active, .button:active, .button-secondary:active {
  transform: scale(0.98);
}
input, textarea, select {
  border-radius: 7px;
  border: 1px solid #e2e4e6;
  font-size: 1rem;
  padding: 9px 14px;
  margin-bottom: 13px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--dm-accent);
  outline: none;
}

/* ----------- SCROLLBAR ----------- */
body::-webkit-scrollbar { width: 10px; background: #e4e6e9; }
body::-webkit-scrollbar-thumb {
  background: #b7b7b7;
  border-radius: 8px;
  border: 2px solid #e4e6e9;
}

/* ----------- VISUAL HIERARCHY ----------- */
h1, h2 {
  border-left: 8px solid var(--dm-accent);
  padding-left: 16px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #fdfdfd 85%, transparent 100%);
}
h3, h4 {
  margin-bottom: 7px;
  padding-bottom: 2px;
}

/* ----------- Z-INDEX ----------- */
.mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 2000;
}
header {
  z-index: 1002;
  position: relative;
}

/* --------- END --------- */
