/* ---------------------------------------------------------
   CSS RESET & BASELINE 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 {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100%;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #17191c;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #212121;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #213F61;
  text-decoration: none;
}
*, *:before, *:after {
  box-sizing: border-box;
}
/* Prevent tap highlights on mobile */
*:focus {
  outline: none;
  box-shadow: 0 0 0 2px #F2B13433;
  transition: box-shadow 0.2s;
}

/* ---------------------------------------------------------
   MONOCHROME SOPHISTICATED: COLOR PALETTE & FONT IMPORTS
--------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap');
:root {
  --color-black: #17191c;
  --color-white: #fff;
  --color-darkgray: #23262a;
  --color-gray: #9BA5B4;
  --color-lightgray: #f7f7f7;
  --color-primary: #213F61;
  --color-secondary: #9BA5B4;
  --color-accent: #F2B134;
  --color-shadow: #0000000D;
  --radius-lg: 18px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-xs: 0 1.5px 6px var(--color-shadow);
  --shadow-md: 0 4px 20px var(--color-shadow);
  --shadow-lg: 0 16px 40px -16px var(--color-shadow);
}

/* ---------------------------------------------------------
   OVERALL LAYOUT STRUCTURE
--------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
body > header, body > main, body > footer {
  width: 100%;
}

/* ---------------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--color-black);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.75rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 500;
}
h3 {
  font-size: 1.35rem;
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
h5, h6 {
  font-size: 1rem;
  font-weight: 400;
}
p, ul, ol, dl {
  margin-bottom: 16px;
  color: var(--color-black);
  font-size: 1rem;
}
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
strong, b {
  font-weight: 700;
  color: var(--color-black);
}
.text-section {
  margin-bottom: 18px;
}

/* ---------------------------------------------------------
   BRAND LOGO STYLING
--------------------------------------------------------- */
header img, footer img {
  display: inline-block;
  max-height: 38px;
  margin-right: 16px;
}
footer img {
  margin-right: 24px;
  max-height: 36px;
}

/* ---------------------------------------------------------
   HEADER & MAIN NAVIGATION
--------------------------------------------------------- */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-lightgray);
  box-shadow: 0 2px 8px #00000006;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: 'Oswald', Arial, sans-serif;
}
.main-nav a {
  color: var(--color-darkgray);
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0 5px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-black);
}

.cta-primary, .cta-secondary {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-lg);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2em;
  font-size: 1.07rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  border: none;
  text-decoration: none;
  min-width: 164px;
}
.cta-primary {
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: 0 4px 24px #0001;
  margin-left: 20px;
  border: 1.5px solid var(--color-black);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  border-color: var(--color-primary);
}
.cta-secondary {
  background: var(--color-lightgray);
  color: var(--color-black);
  border: 1.5px solid var(--color-black);
  margin-top: 16px;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-black);
  color: var(--color-white);
}

/* ---------------------------------------------------------
   MOBILE BURGER MENU
--------------------------------------------------------- */
.mobile-menu-toggle {
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 2rem;
  color: var(--color-black);
  cursor: pointer;
  display: none;
  transition: background 0.22s;
  border-radius: var(--radius-sm);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #e4e4e4;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.66,.01,.32,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: 0 24px 64px #17191c26;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 10px 40px #17191c44;
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 28px;
  background: transparent;
  border: none;
  font-size: 2.15rem;
  color: var(--color-black);
  cursor: pointer;
  z-index: 1201;
  transition: background 0.2s;
  border-radius: var(--radius);
  padding: 3px 14px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #e7e7e7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 120px 36px 36px 36px;
  gap: 26px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: var(--color-black);
  text-decoration: none;
  padding: 10px 0;
  border-radius: 0 10px 10px 0;
  transition: background 0.15s, color 0.15s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

@media (max-width: 1023px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   SECTION & LAYOUTS (MONOCHROME SOPHISTICATED)
--------------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  padding: 22px 0 6px 0;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-white);
  border: 1.5px solid #eaeaea;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 32px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.20s, border 0.20s;
  position: relative;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}
.card:hover, .card:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.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;
}

/* ---------------------------------------------------------
   SERVICES CARDS (index/services)
--------------------------------------------------------- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.services-list > div {
  flex: 1 1 250px;
  background: #fff;
  border: 1.5px solid #E1E1E1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 26px 20px 26px 20px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s, background 0.25s;
  position: relative;
}
.services-list > div:hover, .services-list > div:focus-within {
  border-color: var(--color-primary);
  background: #f9f9f9;
  box-shadow: var(--shadow-md);
  z-index: 3;
}
.services-list img {
  height: 36px;
  width: 36px;
  margin-bottom: 10px;
  opacity: 0.86;
}
.services-list h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.13rem;
  font-weight: 600;
}
.services-list strong {
  color: var(--color-primary);
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------------------------------------------------
   TESTIMONIALS
--------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-lightgray);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius);
  margin-bottom: 20px;
  border-left: 4px solid var(--color-accent);
  font-size: 1.07rem;
  color: #151515;
  position: relative;
  flex-wrap: wrap;
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #1a1a1a;
  margin-right: 12px;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-darkgray);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ---------------------------------------------------------
   FOOTER STYLING
--------------------------------------------------------- */
footer {
  background: var(--color-darkgray);
  color: var(--color-white);
  padding: 36px 0 22px 0;
  border-top: 1.5px solid #22282e;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
footer nav a {
  color: var(--color-white);
  opacity: 0.87;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.18s, opacity 0.15s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: var(--color-accent);
}
footer p {
  color: var(--color-secondary);
  margin-bottom: 0;
  font-size: 0.97rem;
  opacity: 0.72;
}

/* ---------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
--------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #26292c;
  color: #fff;
  padding: 22px 18px 16px 18px;
  box-shadow: 0 -6px 28px #0002;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1rem;
  transition: transform 0.33s;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner p {
  max-width: 500px;
  margin-bottom: 0;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.7em 1.5em;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
}
.cookie-accept {
  background: var(--color-accent);
  color: #23262a;
}
.cookie-accept:hover {
  background: #23262a;
  color: var(--color-accent);
}
.cookie-reject {
  background: #fff;
  color: #23262a;
  border: 1.5px solid #23262a;
}
.cookie-reject:hover {
  background: #23262a;
  color: #fff;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.cookie-settings:hover {
  background: #fff;
  color: #23262a;
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(28, 28, 28, 0.44);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1a1a1a;
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 92vw;
  box-shadow: 0 20px 80px #23262a44;
  padding: 35px 26px 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookie-modal-in 0.44s cubic-bezier(.66,.01,.32,1);
}
@keyframes cookie-modal-in {
  from { opacity: 0; transform: translateY(80px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 13px;
  border: none;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
  color: #888;
  border-radius: var(--radius-sm);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-modal label {
  font-weight: 500;
  font-size: 1rem;
  margin-left: 6px;
}
.cookie-modal input[type=checkbox]:disabled {
  accent-color: #ccc;
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-save {
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-sm);
  border: none;
  padding: 0.7em 1.6em;
  font-weight: 600;
  margin-top: 5px;
  cursor: pointer;
  transition: background 0.2s, color 0.17s;
}
.cookie-save:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* ---------------------------------------------------------
   FORM & INPUT ELEMENTS
--------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  border: 1.2px solid #c7c7c7;
  border-radius: var(--radius-sm);
  background: #fafbfc;
  font-size: 1rem;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--color-black);
  transition: border 0.18s, box-shadow 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px #F2B13433;
}
label {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--color-black);
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 500;
}
button, input[type=submit] {
  font-family: inherit;
}

/* ---------------------------------------------------------
   RESPONSIVE FLEXBOX LAYOUTS (MOBILE FIRST!)
--------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    height: 60px;
    gap: 10px;
  }
  .main-nav {
    gap: 10px;
    font-size: 1rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 4px 18px 4px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .card-container, .services-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .card {
    min-width: 0;
    padding: 22px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 14px 9px 14px 13px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.05rem; }
  .cta-primary, .cta-secondary {
    padding: 0.7em 1.2em;
    min-width: unset;
  }
  .cookie-modal {
    padding: 19px 9px 16px 9px;
  }
}

/* ---------------------------------------------------------
   MICRO-INTERACTIONS & VISUAL EFFECTS
--------------------------------------------------------- */
.card, .services-list > div, .testimonial-card, .cta-primary, .cta-secondary, .cookie-banner, .cookie-modal, .mobile-menu {
  transition: box-shadow 0.19s, border 0.18s, background 0.21s, color 0.21s, transform 0.3s;
}

.card:active, .services-list > div:active {
  transform: translateY(2px) scale(0.99);
}
.cta-primary:active, .cta-secondary:active {
  transform: translateY(1.5px) scale(0.985);
}

/* ---------------------------------------------------------
   VISUAL HIERARCHY SPACING & GAP
--------------------------------------------------------- */
.section, .card {
  margin-bottom: 60px;
}
.card-container, .services-list, .content-grid, .text-image-section, .feature-item, .testimonial-card {
  gap: 20px;
  margin-bottom: 20px;
}
.services-list > div, .card {
  margin-bottom: 20px;
}

/* ---------------------------------------------------------
   ACCESSIBILITY & FOCUS
--------------------------------------------------------- */
a, button, input, .cta-primary, .cta-secondary, .cookie-banner button {
  outline: none;
  box-shadow: none;
}
a:focus-visible, button:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, .cookie-banner button:focus-visible {
  box-shadow: 0 0 0 3px var(--color-accent), 0 6px 16px #F2B13422;
  outline: none;
}

/* ---------------------------------------------------------
   MISC UTILITIES & CUSTOM CLASSES
--------------------------------------------------------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }

/* Hide scrollbars for mobile menu (if needed) */
.mobile-menu {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* Provide enough z-index for overlay UI */
body { position: relative; }

/* ---------------------------------------------------------
   PRINT STYLES BASIC
--------------------------------------------------------- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body, main, .container, .content-wrapper {
    background: #fff !important;
    color: #000 !important;
  }
}
