/* CSS RESET & NORMALIZE */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
html, body {
  height: 100%;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #181818;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #181818;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
  padding-left: 0;
}
li {
  margin-bottom: 8px;
}

/* BASE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.05rem; }
}

p, ul, ol {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #111;
}

/* BRAND COLOR PALETTE */
:root {
  --color-primary: #181818;
  --color-secondary: #fafaf9;
  --color-accent: #c04d00;
  --brand-blue: #225569;
  --brand-bg-light: #faf6f1;
  --gray-dark: #232323;
  --gray-light: #EAEAEA;
  --white: #fff;
  --black: #111;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 10px;
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(34, 34, 34, 0.09);
  overflow: hidden;
  transition: box-shadow 0.2s;
  position: relative;
  min-width: 260px;
  max-width: 100%;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(34, 34, 34, 0.20);
  z-index: 1;
}

.content-grid,
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid,
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}

.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: 18px;
  }
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #f8f8f8;
  color: #232323;
  box-shadow: 0 1px 8px rgba(34,34,34,0.09);
  min-width: 260px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 28px rgba(34,34,34,0.17);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card strong {
  font-size: 1rem;
  color: #111;
  margin-top: 5px;
}
@media (max-width: 700px) {
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 0;
    flex-basis: 100%;
    width: 100%;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 9px rgba(34,34,34,0.08);
  padding: 28px 24px 20px 24px;
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s, background 0.18s;
}
.feature-item:hover {
  background: #f4f4f4;
  box-shadow: 0 4px 24px rgba(34,34,34,0.12);
}
.feature-item img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
  filter: grayscale(100%) contrast(1.1);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

/* BUTTONS & CTA */
.cta-btn {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 7px;
  padding: 13px 32px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.23s, color 0.18s, transform 0.18s;
  box-shadow: 0 1px 6px rgba(34,34,34,0.09);
  letter-spacing: 0.01em;
  outline: none;
  display: inline-block;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-blue);
  color: var(--color-accent);
  transform: translateY(-2px) scale(1.02);
}

button, .btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid #bbb;
  padding: 10px 22px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.18s, border 0.18s, color 0.18s;
  margin-right: 10px;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #232323;
  color: #fff;
  border-color: #111;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
}
header img {
  height: 48px;
  max-width: 190px;
}

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  color: #181818;
  transition: background 0.16s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-bg-light);
  color: var(--color-accent);
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 750px) {
  .main-nav {
    display: none;
  }
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #181818;
  margin-left: 14px;
  cursor: pointer;
  z-index: 61;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #222;
}
@media (max-width: 750px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 310px;
  background: #fff;
  box-shadow: -4px 0 32px rgba(30, 30, 30, 0.18);
  padding: 36px 28px 28px 38px;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.7, 0.03, 0.21, 1.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 2rem;
  color: #181818;
  background: transparent;
  border: none;
  z-index: 102;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #181818;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #f0f0f0;
}
@media (min-width: 751px) {
  .mobile-menu { display: none !important; }
}

/* Main content spacing */
main > section {
  border-radius: 18px;
  background: #fff;
  margin-bottom: 48px;
  box-shadow: 0 0.5px 10px rgba(34,34,34,0.06);
  transition: box-shadow 0.18s;
}
main > section:hover {
  box-shadow: 0 2px 20px rgba(34,34,34,0.11);
}
@media (max-width: 700px) {
  main > section {
    padding: 22px 0;
  }
}

/* FOOTER */
footer {
  width: 100%;
  background: #101010;
  color: #eee;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  padding: 32px 0 18px 0;
}
footer .container {
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 auto;
  margin-bottom: 12px;
}
.footer-logo img { height: 40px; filter: grayscale(100%) brightness(1.2); }
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #DCDCDC;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.17s;
  border-radius: 6px;
  padding: 5px 10px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  background: #191919;
}
.footer-contact {
  color: #C8C8C8;
  font-size: 0.97rem;
  padding-left: 3px;
  margin-top: 10px;
  max-width: 390px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 11px;
    margin-bottom: 11px;
    margin-top: 10px;
  }
}

/* ICONS & CONTACT INFO */
.text-section img {
  height: 22px;
  width: 22px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 11px;
  margin-top: -2px;
  filter: grayscale(100%) contrast(1.1);
}
.text-section a {
  color: var(--color-primary);
  word-break: break-all;
  border-bottom: 1px dotted #bbb;
  transition: color 0.17s, border 0.16s;
}
.text-section a:hover, .text-section a:focus {
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
}

/* MISCELLANEOUS LAYOUTS */
.content-wrapper > .cta-btn {
  align-self: flex-start;
}

/* TABLE STYLES (if any tables appear in the future) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 1rem;
}
th, td {
  padding: 12px 11px;
  border-bottom: 1px solid #ddd;
}
th {
  background: #efefef;
  color: #111;
}
td { color: #232323; }

/* LISTS */
ul, ol {
  padding-left: 1.1em;
}
ul li::marker {
  color: var(--color-accent);
  font-size: 1.2em;
}

.text-section ul {
  margin-bottom: 16px;
}
.text-section li {
  margin-bottom: 7px;
  color: #232323;
}

/* VISUAL EFFECTS & ANIMATION */
.card, .feature-item, .testimonial-card, .cta-btn,
.button, .mobile-menu, .mobile-menu-toggle,
main > section {
  transition: box-shadow 0.23s, background 0.18s, color 0.18s, transform 0.13s;
}

/* SCROLLBARS (Sophisticated look) */
body {
  scrollbar-width: thin;
  scrollbar-color: #c2c2c2 #fff;
}
body::-webkit-scrollbar {
  width: 10px;
  background: #fff;
}
body::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 5px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #181818fa;
  color: #fff;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px 20px 10px;
  box-shadow: 0 -3px 12px rgba(34,34,34, 0.13);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s, transform 0.27s;
  gap: 18px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  color: #fff;
  max-width: 660px;
  font-size: 1rem;
  margin-bottom: 8px;
  text-align: center;
}
.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 7px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #fff;
  color: #181818;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  padding: 11px 25px;
  margin-right: 2px;
  box-shadow: 0 1px 8px rgba(34,34,34,0.07);
  cursor: pointer;
  transition: background 0.18s, color 0.17s, transform 0.17s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn.reject {
  background: #222;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #222;
  border: 1px solid #bbb;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #111;
  color: var(--color-accent);
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-accent);
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 140;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,24,24,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #181818;
  padding: 36px 28px 24px 28px;
  border-radius: 15px;
  box-shadow: 0 7px 43px rgba(0,0,0,0.18);
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.33s;
}
@keyframes cookieModalIn {
  0% { transform: translateY(100px) scale(0.93); opacity: 0; }
  85% { transform: translateY(-4px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #181818;
  margin-bottom: 8px;
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 7px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
}
.cookie-modal__row:last-child {
  border-bottom: none;
}
.cookie-toggle {
  appearance: none;
  width: 46px;
  height: 22px;
  background: #e2e2e2;
  border-radius: 16px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle:checked { background: var(--color-accent); }
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.18s;
  box-shadow: 0 1px 6px rgba(34,34,34,0.07);
}
.cookie-toggle:checked:before {
  left: 26px;
  background: #fff;
}
.cookie-modal__actions {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal__close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #111;
  position: absolute;
  top: 13px; right: 18px;
  cursor: pointer;
  z-index: 12;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--color-accent);
}

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

/* MONOCHROME SOPHISTICATED: B&W ELEGANCE */
h1, h2, h3, h4, h5, h6, .cta-btn, .btn, .main-nav a, .footer-nav a, .mobile-nav a {
  letter-spacing: -0.01em;
}
section {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 13px rgba(34,34,34,0.12);
  margin-bottom: 60px;
  padding: 40px 22px;
  transition: box-shadow 0.21s;
}
section:hover {
  box-shadow: 0 6px 24px rgba(34,34,34,0.13);
}
@media (max-width: 600px) {
  section {
    padding: 22px 4vw;
    margin-bottom: 32px;
  }
}

/* FORM (future-proof) */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f6f6f6;
  border: 1px solid #dadada;
  border-radius: 7px;
  padding: 11px 15px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 18px;
  color: #232323;
  transition: border 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-blue);
  outline: none;
  box-shadow: 0 1px 5px rgba(34,34,34,0.09);
}

/* ENSURE NO OVERLAP & SPACING */
.content-wrapper, .feature-grid, .testimonials, .card-container, .content-grid {
  margin-bottom: 20px;
}
.feature-item, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* Z-INDEX SAFETY - mobile menu & modal */
.mobile-menu {
  z-index: 100;
}
.cookie-banner,
.cookie-modal-overlay {
  z-index: 120;
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* NO GRID or COLUMNS ARE USED */

/* END CSS */
