/* RESET & BASE STYLES --------------------------------------------------- */
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, 
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;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F6F6F2;
  color: #23324A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  padding-left: 1.5em;
}
strong, b {
  font-weight: 700;
}
a {
  color: #23324A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E7C07F;
  outline: none;
}

/* BRAND TYPOGRAPHY -------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23324A;
  font-weight: 800;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.subheadline {
  font-size: 1.18rem;
  color: #486084;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 32px;
  font-weight: 400;
}
p {
  margin-bottom: 16px;
  max-width: 800px;
}

/* CONTAINER + SECTIONS ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 760px;
}
.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: 20px; }
}

/* STRUCTURED FLEX GRIDS --------------------------------------------------- */
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-grid > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(35,50,74,0.06), 0 1.5px 5px rgba(35,50,74,0.08);
  padding: 32px 24px;
  min-width: 250px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 2.5px solid #E7C07F;
  transition: box-shadow 0.22s, transform 0.22s;
  position: relative;
}
.feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 2.5px 14px rgba(35,50,74,0.13);
  transform: translateY(-4px) scale(1.015) skew(-0.5deg);
  z-index: 2;
}
.feature-grid img, .service-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1.5px 2px #dedad4);
}

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

.service-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.service-steps > div {
  flex: 1 1 220px;
  min-width: 210px;
  background: #fff;
  border-radius: 15px;
  border: 2px solid #E7C07F;
  padding: 30px 22px 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(35,50,74,.05);
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
}
.service-steps > div:hover {
  box-shadow: 0 4px 24px rgba(231,192,127,0.12);
  transform: translateY(-2px) scale(1.012);
  z-index: 1;
}

@media (max-width: 900px) {
  .feature-grid > div, .service-grid > div, .service-steps > div { flex: 1 1 100%; min-width: 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .feature-grid, .service-grid, .content-grid, .service-steps, .card-container { gap: 14px; }
  section { padding: 28px 0; margin-bottom: 44px; }
  .content-wrapper { gap: 14px; }
}

/* HEADER & NAVIGATION ----------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 2px solid #E7C07F;
  box-shadow: 0 2px 14px rgba(35,50,74,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 38px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #23324A;
  padding: 4px 6px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a.active {
  background: #E7C07F;
  color: #23324A;
}
.button.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  background: #23324A;
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 12px 28px;
  font-weight: 800;
  margin-left: auto;
  margin-right: 12px;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(35,50,74,0.1);
  transition: background 0.2s, box-shadow 0.22s, transform 0.22s;
  text-transform: uppercase;
}
.button.primary:hover, .button.primary:focus {
  background: #E7C07F;
  color: #23324A;
  box-shadow: 0 8px 24px rgba(35,50,74,0.17);
  transform: scale(1.03);
}

/* Hamburger & Mobile Menu ------------------------------------------------- */
.mobile-menu-toggle {
  appearance: none;
  border: none;
  background: #23324A;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  width: 43px;
  height: 43px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 80;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #E7C07F;
  color: #23324A;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(35,50,74,0.985);
  z-index: 200;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(.77,0,.175,1), opacity 0.19s;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 28px 10px 0;
  cursor: pointer;
  z-index: 210;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E7C07F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.42rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 12px;
  transition: background 0.17s, color 0.16s;
  margin: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E7C07F;
  color: #23324A;
}
@media (max-width: 1020px) {
  header .container { gap: 10px; }
  .main-nav { gap: 13px; }
  .button.primary { padding: 10px 18px; font-size: 1rem; margin-right: 7px; }
}
@media (max-width: 880px) {
  .main-nav { display: none; }
  .button.primary { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* CARDS & REPEATED ELEMENTS ---------------------------------------------- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-study-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 2.5px 12px rgba(35,50,74,0.05);
  border: 2px solid #23324A;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2.5px 12px rgba(35,50,74,0.10);
}

/* TESTIMONIAL CARDS ------------------------------------------------------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(35,50,74,0.10);
  border-left: 8px solid #E7C07F;
  margin-bottom: 20px;
  flex: 1 1 290px;
  transition: box-shadow 0.17s, border-color 0.22s;
  color: #23324A;
  font-size: 1.1rem;
  min-width: 270px;
  max-width: 700px;
}
.testimonial-card span {
  color: #23324A;
  font-size: 1.02rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-left: auto;
  opacity: .93;
}
.testimonial-card:hover {
  box-shadow: 0 6px 33px rgba(35,50,74,0.15);
  border-left: 8px solid #23324A;
  z-index: 2;
}
.testimonial-card p {
  color: #23324A;
  font-size: 1.14rem;
  margin-bottom: 0;
}

/* FOOTER ----------------------------------------------------------------- */
footer {
  background: #23324A;
  color: #fff;
  padding: 30px 0;
  border-top: 2px solid #E7C07F;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #E7C07F;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-info {
  font-size: 0.95rem;
  opacity: .85;
  margin-top: 10px;
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .footer-nav { gap: 14px; }
  .footer-info { flex-direction: column; gap: 4px; }
  footer { padding: 20px 0; }
}

/* LISTS, BLOCKS, & GEOMETRIC HIGHLIGHTS ----------------------------------- */
ul {
  list-style: none;
  margin-bottom: 16px;
}
ul li, .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 1rem;
  position: relative;
  padding-left: 22px;
}
ul li:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 10px;
  width: 14px;
  height: 14px;
  background: #E7C07F;
  border-radius: 3px;
}
ul li strong, ul li b {
  font-weight: 700;
}
.feature-item {
  align-items: flex-start;
}
ul li img {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  position: absolute;
  left: 0; top: 5px;
  background: #F6F6F2;
  border-radius: 2px;
}

/* BUTTONS --------------------------------------------------------------- */
.button {
  appearance: none;
  display: inline-block;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 13px;
  padding: 12px 28px;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #23324A;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35,50,74,.16);
  transition: background 0.18s, color 0.17s, box-shadow 0.19s, transform 0.18s;
}
.button:hover, .button:focus {
  background: #E7C07F;
  color: #23324A;
  box-shadow: 0 6px 18px rgba(35,50,74,0.22);
  transform: scale(1.04);
}
.button.secondary {
  background: #E7C07F;
  color: #23324A;
}
.button.secondary:hover, .button.secondary:focus {
  background: #23324A;
  color: #fff;
}

/* COOKIE CONSENT BANNER & MODAL ------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #E7C07F;
  box-shadow: 0 -3px 20px rgba(35,50,74,0.14);
  padding: 28px 0 20px 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(.77,0,.175,1), opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner p {
  color: #23324A;
  font-size: 1.05rem;
  margin: 0;
  max-width: 660px;
  text-align: center;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 5px;
}
.cookie-banner .button {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(35,50,74,0.09);
}
.cookie-banner .button.cookie-settings {
  background: #E7C07F;
  color: #23324A;
  border: 1.5px solid #23324A;
}
.cookie-banner .button.cookie-settings:hover {
  background: #23324A;
  color: #E7C07F;
}

/* COOKIE MODAL ---------------------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 20000;
  background: rgba(35,50,74,0.84);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-box {
  background: #fff;
  border-radius: 22px;
  padding: 38px 28px 26px 28px;
  max-width: 440px;
  width: 95vw;
  box-shadow: 0 8px 38px rgba(35,50,74,0.27);
  color: #23324A;
  display: flex;
  flex-direction: column;
  gap: 21px;
  border: 3px solid #E7C07F;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  color: #23324A;
  font-size: 1.9rem;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 10;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #E7C07F;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23324A;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #E7C07F;
  border-radius: 6px;
  cursor: pointer;
  border: 1.5px solid #23324A;
}
.cookie-category.disabled label {
  color: #808080;
  opacity: 0.7;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 13px;
}
.cookie-modal-actions .button {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 9px;
}
@media (max-width: 600px) {
  .cookie-modal-box {
    padding: 19px 10px 14px 10px;
    max-width: 95vw;
    gap: 12px;
  }
}

/* RESPONSIVE STRUCTURE --------------------------------------------------- */
@media (max-width: 620px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.17rem; }
  .button { font-size: 0.97rem; padding: 10px 14px; border-radius: 8px; }
  .service-steps > div, .feature-grid > div, .service-grid > div, .testimonial-card {
    min-width: 0;
    padding: 16px 8px;
    font-size: 0.98rem;
  }
  .case-study-card { padding: 10px 6px; }
}

/* MICRO-INTERACTIONS & GENERAL EFFECTS ----------------------------------- */
section, .card, .testimonial-card, .feature-grid > div, .service-steps > div, .case-study-card {
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover, .service-steps > div:hover, .case-study-card:hover {
  box-shadow: 0 8px 28px rgba(35,50,74,0.13);
  transform: translateY(-5px) scale(1.016) skew(-0.3deg);
  z-index: 2;
}

/* FORMS & MISC ----------------------------------------------------------- */
form, input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
}
input, textarea, select {
  padding: 10px;
  border: 1.5px solid #E7C07F;
  border-radius: 9px;
  margin-bottom: 12px;
  background: #fff;
  color: #23324A;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #23324A;
  outline: none;
}

/* GEOMETRIC DECORATIVE LINES/SHAPES -------------------------------------- */
h1, h2, h3 {
  position: relative;
}
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 46px;
  height: 4px;
  background: #E7C07F;
  border-radius: 2px;
}
@media (max-width: 600px) {
  h2::after { width: 28px; height: 3px; }
}

/* LAYOUT MANDATORY FLEXBOX CLASSES ------------------------------------------ */
.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; }

/* ENSURE PROPER SPACING ------------------------------------------- */
section > .container + .container { margin-top: 20px; }
.card + .card { margin-left: 20px; }
.content-wrapper > * + * { margin-top: 12px; }

/* FONTS ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* UTILITY CLASSES -------------------------------------------------- */
.hide { display: none !important; }

/* END */
