/* ==========================================================================  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, 
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;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}

body {
  line-height: 1.5;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  background: #fff;
  color: #19191A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  user-select: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background .18s, color .18s;
}
ul, ol {
  list-style-position: inside;
  margin-bottom: 16px;
}

/* ===========================
   TYPOGRAPHY
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #fff;
  color: #19191A;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #18191A;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.31rem;
  line-height: 1.18;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol, li {
  font-size: 1rem;
  line-height: 1.66;
}
.subheadline {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  color: #24272A;
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 600px;
  letter-spacing: 0.04em;
}
strong {
  color: #263B50;
  font-weight: 700;
}
em {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-style: italic;
}
.inline-link {
  color: #263B50;
  text-decoration: underline;
  transition: color .16s;
  font-weight: 500;
}
.inline-link:hover,
.inline-link:focus {
  color: #D0A33B;
  text-decoration: underline;
}

/* ===========================
   LAYOUT CONTAINERS / SPACING
=========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(30,37,44,0.09);
  padding: 32px 24px;
  min-width: 280px;
  transition: box-shadow .22s;
}
.card:hover {
  box-shadow: 0 4px 28px 0 rgba(25,25,34,0.13);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}

/* ==========================================================================  HEADER & NAVIGATION  ========================================================================== */
header {
  background: #191A1E;
  box-shadow: 0 4px 18px -8px rgba(30,37,44,0.16);
  padding: 0;
  margin-bottom: 0;
  width: 100%;
  position: relative;
  z-index: 10;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
}
header img {
  width: 165px;
  height: auto;
}
nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
nav a {
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
nav a:hover, nav a:focus {
  color: #D0A33B;
}
.cta-button.primary {
  background: #263B50;
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: 0.06em;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(38,59,80,0.09);
  transition: background .23s, color .23s, box-shadow .20s;
  outline: none;
  margin-left: 16px;
  min-width: 120px;
}
.cta-button.primary:hover, .cta-button.primary:focus {
  background: #fff;
  color: #263B50;
  border: 1.5px solid #263B50;
  box-shadow: 0 4px 28px 0 rgba(38,59,80,0.15);
}

/* ===================  Hamburger (Mobile Navigation Toggle)  =================== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  margin-left: 10px;
  z-index: 26;
  transition: color .21s, background .21s;
  padding: 0 8px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D0A33B;
}

/* ===================  Mobile Menu Overlay  =================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 420px;
  background: #181A1C;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.61, .03, .44, .94), box-shadow .26s;
  z-index: 99;
  box-shadow: -2px 0px 32px 0 rgba(30,37,44,0.25);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 24px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.1rem;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 12px 22px 0 0;
  z-index: 20;
  transition: color .18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #D0A33B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 15px;
  width: 100%;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%;
  transition: color .17s, background .17s;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D0A33B;
  background: #222327;
}

/* Hide desktop navigation on mobile & show burger */
@media (max-width: 992px) {
  header .container nav, header .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ================= HEADER/FOOTER END ===================== */

/* ==========================================================================  MAIN CONTENT SECTIONS  ========================================================================== */
main {
  min-height: 60vh;
  background: #fff;
  width: 100%;
  position: relative;
  z-index: 1;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 1px solid #e7e6e3;
}
section:last-child {
  margin-bottom: 0;
}

.feature-grid, .usp-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 8px 0;
}
.feature-item, .usp-item, .service-item {
  background: #F6F6F8;
  border-radius: 14px;
  box-shadow: 0 1.5px 8px 0 rgba(28,32,37,0.07);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 330px;
  margin-bottom: 20px;
  transition: box-shadow .19s, background .19s;
}
.feature-item img, .usp-item img, .service-item img {
  width: 48px;
  height: 48px;
  filter: grayscale(100%) contrast(140%);
  opacity: 0.84;
  margin-bottom: 9px;
}
.feature-item:hover, .usp-item:hover, .service-item:hover {
  box-shadow: 0 6px 32px 0 rgba(38,59,80,0.13);
  background: #fff;
  z-index: 2;
}

.team {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
.team-member {
  flex: 1 1 220px;
  background: #F3F3F6;
  border-radius: 10px;
  padding: 26px 18px;
  margin-bottom: 10px;
  box-shadow: 0 1.5px 8px 0 rgba(46,49,53,0.06);
  transition: box-shadow .18s, background .18s;
}
.team-member:hover {
  background: #fff;
  box-shadow: 0 5px 18px 0 rgba(38,59,80,0.08);
}

.contact-shortform {
  background: #F6F6F9;
  border-radius: 10px;
  padding: 16px 22px;
  margin-top: 22px;
  font-size: 0.99rem;
  color: #212124;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Card grids & flexible cards */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ===================  Testimonial Cards =================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  margin-bottom: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 24px 0 rgba(36,43,60,0.13);
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
  transition: box-shadow .21s;
  border-left: 5px solid #263B50;
}
.testimonial-card p {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #212124;
  font-size: 1.08rem;
}
.testimonial-card strong {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  color: #19191A;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(38,59,80,0.21);
  background: #FAFAFC;
  border-left: 5px solid #D0A33B;
}

/* Section CTA single button center */
section .cta-button.primary {
  margin-top: 18px;
  margin-bottom: 12px;
  align-self: flex-start;
}

/* ===================  FOOTER  =================== */
footer {
  background: #131415;
  color: #fff;
  padding: 0;
  width: 100%;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  padding-top: 36px;
  padding-bottom: 36px;
}
.footer-logo img {
  width: 80px;
  height: auto;
  opacity: 0.88;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  transition: color .19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D0A33B;
}
.footer-contact {
  font-size: 0.97rem;
  color: #DCDCE3;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact a {
  color: #D0A33B;
  text-decoration: underline;
  font-weight: 500;
}

/* ===================  COOKIE CONSENT BANNER  =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 20px 18px 20px;
  background: rgba(25,25,34,0.98);
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(30,37,44,0.14);
  z-index: 110;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.41s, opacity 0.2s;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner .cookie-message {
  flex: 1 1 320px;
  color: #F8F8FA;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  background: #22232C;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 9px 23px;
  font-size: 1rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background .18s, color .18s;
  outline: none;
  box-shadow: 0 1.5px 6px 0 rgba(27,27,27,0.05);
}
.cookie-banner button.accept {
  background: #263B50;
  color: #fff;
}
.cookie-banner button.accept:hover, .cookie-banner button.accept:focus {
  background: #D0A33B;
  color: #18191A;
}
.cookie-banner button.reject {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-banner button.reject:hover, .cookie-banner button.reject:focus {
  color: #D0A33B;
  border-color: #D0A33B;
}
.cookie-banner button.settings {
  background: #fff;
  color: #263B50;
}
.cookie-banner button.settings:hover, .cookie-banner button.settings:focus {
  background: #263B50;
  color: #fff;
}

/* =================== COOKIE SETTINGS MODAL =================== */
.cookie-modal-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28,32,37,0.49);
  z-index: 111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #19191A;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(38,59,80,0.19);
  padding: 38px 30px 30px 30px;
  min-width: 340px;
  max-width: 98vw;
  width: 400px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeInModal 0.22s;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  color: #263B50;
  margin-bottom: 10px;
}
.cookie-category {
  padding: 14px 10px;
  background: #F6F6F8;
  border-radius: 10px;
  margin-bottom: 7px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 0.97rem;
}
.cookie-category input[type="checkbox"]:disabled + label {
  color: #cccccc;
  opacity: 0.85;
}
.cookie-modal-footer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal button {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  padding: 8px 22px;
  border-radius: 18px;
  border: none;
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background .18s, color .18s;
  margin-left: 6px;
}
.cookie-modal button.save {
  background: #263B50;
  color: #fff;
}
.cookie-modal button.save:hover, .cookie-modal button.save:focus {
  background: #D0A33B;
  color: #18191A;
}
.cookie-modal button.cancel {
  background: transparent;
  color: #263B50;
  border: 1.5px solid #263B50;
}
.cookie-modal button.cancel:hover, .cookie-modal button.cancel:focus {
  border-color: #D0A33B;
  color: #D0A33B;
}

/* ==========================================================================  RESPONSIVE DESIGN & UTILITIES  ========================================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .container, section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .feature-grid, .usp-grid, .service-list, .team, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact {
    margin-left: 0;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .testimonial-card, .feature-item, .usp-item, .service-item, .team-member {
    min-width: 0;
    max-width: 100%;
    padding: 22px 12px;
  }
  .section, section {
    padding: 29px 6px;
    margin-bottom: 46px;
  }
  .mobile-menu {
    max-width: 99vw;
  }
  .cookie-modal {
    min-width: 95vw;
    padding: 22px 9px 18px 9px;
  }
}
@media (max-width: 450px) {
  h1 {
    font-size: 1.27rem;
  }
  h2 {
    font-size: 1.09rem;
  }
  footer .container {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 10px;
  }
  .footer-logo img {
    width: 52px;
  }
  .cta-button.primary {
    padding: 10px 14px;
    font-size: 0.97rem;
  }
  .testimonial-card, .feature-item, .usp-item, .service-item, .team-member {
    padding: 12px 3px;
    font-size: 0.97rem;
  }
  .contact-shortform {
    padding: 8px 7px;
    font-size: 0.93rem;
  }
}

/* ==========================================================================  ANIMATION & MICRO-INTERACTIONS  ========================================================================== */
.cta-button, button, .mobile-menu-toggle, .mobile-menu-close, a {
  transition: background .17s, color .17s, box-shadow .15s, border .16s;
}
.card, .feature-item, .usp-item, .service-item, .testimonial-card, .team-member {
  transition: box-shadow .15s, border .18s, background .21s;
}
.cta-button.primary:active { filter: brightness(0.92); }
.testimonial-card:active, .feature-item:active, .usp-item:active, .service-item:active { filter: brightness(0.97); }

/* ======================== ACCESSIBILITY FOCUS =========================== */
a:focus, button:focus {
  outline: 2px solid #D0A33B;
  outline-offset: 2px;
}

/* ======================== VISUAL SEPARATORS   =========================== */
hr {
  border: none;
  border-top: 1.5px solid #e3e2de;
  margin: 36px 0;
}

/* ======================== MISCELLANEOUS  ================================ */
::-webkit-selection { background: #263B50; color: #fff; }
::selection { background: #263B50; color: #fff; }

/* ======================== PRINT STYLES ================================ */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu { display: none !important; }
  body { color: #18191A; background: #fff; }
  * { background: transparent !important; box-shadow: none !important; color: #18191A !important; }
  a, a:visited { color: #19191A !important; text-decoration: underline; }
}
