/* ==== 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, 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 {
  min-height: 100vh;
  background: #1E2327;
  color: #ECEDED;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #70B8A0;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #F4ECDC;
  text-decoration: underline;
}
ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 1.5em;
}
ul li, ol li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 0.7em;
  color: #ECEDED;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p {
  margin-bottom: 1.1em;
}
strong, b {
  font-weight: bold;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==== Utility Classes ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}
.text-section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== Header & Navigation ==== */
header {
  background: #22272C;
  border-bottom: 1.5px solid #222d31;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #ECEDED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  font-weight: 700;
  text-transform: uppercase;
}
header nav a:hover,
header nav a:focus {
  color: #70B8A0;
  border-bottom: 2px solid #F4ECDC;
}
.cta-btn {
  background: linear-gradient(90deg,#353C41 0%,#25303B 100%);
  color: #ECEDED;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 36px;
  border-radius: 32px;
  border: 1.7px solid #70B8A0;
  box-shadow: 0 3px 20px rgba(112, 184, 160, 0.13);
  margin-left: 22px;
  transition: background 0.18s, color 0.18s, border 0.2s, transform 0.1s;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #70B8A0;
  color: #25303B;
  border-color: #F4ECDC;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 24px rgba(112, 184, 160, 0.19);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #F4ECDC;
  cursor: pointer;
  display: none;
  margin-left: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #25303B;
  color: #70B8A0;
}
@media (max-width: 992px) {
  .cta-btn {
    padding: 10px 24px;
    font-size: 15px;
    margin-left: 8px;
  }
  header nav {
    gap: 12px;
  }
}
@media (max-width: 850px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* ==== Mobile Menu ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #20272B;
  box-shadow: 0 0 30px 0 rgba(20,24,32,0.85);
  z-index: 999;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.28s, transform 0.32s cubic-bezier(0.54,0,0.29,1.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F4ECDC;
  font-size: 2.2rem;
  padding: 18px 20px 8px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.15s, background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #70B8A0;
  background: #222;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 24px 28px;
  background: transparent;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 16px 4px;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ECEDED;
  border-bottom: 1px solid rgba(244,236,220,0.04);
  transition: color 0.18s, background 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #70B8A0;
  background: #222d31;
  border-radius: 4px;
}

@media (min-width: 851px) {
  .mobile-menu, .mobile-menu-close, .mobile-nav, .mobile-menu-toggle {
    display: none !important;
  }
}


/* ==== Hero / Section Styles ==== */
.hero {
  background: #25303B;
  color: #ECEDED;
  min-height: 340px;
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #222d31;
  position: relative;
  box-shadow: 0 6px 35px -14px #25303B33;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hero .content-wrapper {
  margin: 0;
  gap: 16px;
}
.hero h1 {
  color: #F4ECDC;
  font-size: 2.2rem;
  margin-bottom: 0.6em;
  text-shadow: 0 2px 7px rgba(35,41,47,0.14);
}
.hero p {
  color: #dde3e4;
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 1em;
}
.hero .cta-btn {
  margin-left: 0;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

.section, .about, .services, .features, .cta, .contact, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.cta {
  background: #F4ECDC !important;
  color: #25303B !important;
  border-radius: 12px;
  box-shadow: 0 5px 32px -16px #C3AC8022;
  text-align: center;
}
.cta h2 {
  color: #25303B;
}
.cta p {
  color: #22272C;
}

/* ==== Features Grid and List ==== */
.features .content-wrapper,
.services .content-wrapper {
  gap: 34px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}
.feature-grid > div {
  background: #232B32;
  border: 1.6px solid #38424B;
  border-radius: 13px;
  box-shadow: 0 4px 24px 0 #161B1A11;
  padding: 34px 24px;
  color: #ECEDED;
  min-width: 230px;
  flex: 1 1 234px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, border 0.22s, transform 0.16s;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div:hover {
  border-color: #70B8A0;
  box-shadow: 0 8px 28px -8px #70B8A033;
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  filter: grayscale(0.3) brightness(1.13);
}
.feature-grid h3 {
  color: #F4ECDC;
  font-size: 1.18rem;
  margin-bottom: 0.45em;
  letter-spacing: 0.02em;
}
.feature-grid p {
  color: #B6C3C0;
  margin-bottom: 0.55em;
  font-size: 1.02rem;
}
.feature-grid strong {
  color: #70B8A0;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 650px) {
  .feature-grid > div {
    min-width: 120px;
    padding: 22px 8px;
  }
  .feature-grid {
    gap: 10px;
  }
}

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

/* ==== Cards Layout (for services etc.) ==== */
.card-container, .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .service-cards > div {
  margin-bottom: 20px;
  position: relative;
  border-radius: 13px;
  border: 1.4px solid #38424B;
  background: #232B32;
  box-shadow: 0 3px 23px 0 #25303B18;
  padding: 32px 24px;
  flex: 1 1 230px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s, border 0.16s;
}
.card:hover, .service-cards > div:hover {
  border-color: #70B8A0;
  box-shadow: 0 8px 44px -12px #70B8A028;
}
.service-cards > div h3 {
  color: #70B8A0;
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.service-cards > div span {
  color: #F4ECDC;
  font-weight: bold;
  margin-top: 12px;
  font-size: 1.03rem;
}

/* ==== Legal / Text Pages ==== */
.legal {
  background: #20272B;
  border-radius: 12px;
  box-shadow: 0 4px 24px -14px #262C3122;
  margin-top: 38px;
}
.legal h1, .legal h2, .legal h3 {
  color: #F4ECDC;
}
.legal ul {
  margin-bottom: 1.12em;
  color: #E7E5DD;
}

/* ==== Testimonial Cards ==== */
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F4ECDC;
  color: #25303B;
  border-radius: 11px;
  box-shadow: 0 3px 15px 0 #222d3155;
  padding: 24px 32px 20px 28px;
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  color: #25303B;
  font-size: 1.12rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card strong {
  color: #25303B;
}
.testimonial-card span {
  color: #70B8A0;
  font-size: 1.25em;
  letter-spacing: 0.08em;
  margin-left: 7px;
}
@media (max-width: 750px) {
  .testimonial-card {
    padding: 16px 10px 14px 10px;
  }
}

/* ==== Forms (future proof) ==== */
input, textarea, select {
  background: #22272C;
  color: #F4ECDC;
  border: 1.8px solid #353C41;
  border-radius: 6px;
  padding: 12px 10px;
  font-size: 1rem;
  margin-bottom: 18px;
  font-family: 'Open Sans', Arial, sans-serif;
}
input:focus, textarea:focus, select:focus {
  border-color: #70B8A0;
  outline: none;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 28px;
  cursor: pointer;
}

/* ==== Footer ==== */
footer {
  background: #232B32;
  color: #ECEDED;
  padding: 32px 0 18px 0;
  border-top: 1px solid #222d31;
  margin-top: 40px;
  box-shadow: 0 -4px 28px -14px #1e23274c;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
footer nav a {
  color: #70B8A0;
  font-size: 0.98rem;
  font-weight: 600;
  border-bottom: 1.2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.18s, border 0.22s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4ECDC;
  border-bottom: 1.2px solid #F4ECDC;
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #AAAEB5;
}
.footer-branding img {
  height: 28px;
  width: auto;
  filter: grayscale(1) contrast(120%) brightness(0.96);
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ==== Cookie Consent Banner ==== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232B32;
  color: #ECEDED;
  border-top: 2.2px solid #70B8A0;
  box-shadow: 0 -4px 24px 0 #25303B33;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 12px 18px 28px;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.54,0,.29,1.15), opacity 0.26s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  background: #70B8A0;
  color: #25303B;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 24px;
  padding: 10px 22px;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  box-shadow: 0 2px 15px 0 #70b8a026;
  cursor: pointer;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #25303B;
  color: #F4ECDC;
  border: 1.1px solid #70B8A0;
}
.cookie-btn.secondary {
  background: #232B32;
  color: #F4ECDC;
  border: 1.2px solid #70B8A0;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #70B8A0;
  color: #25303B;
}
.cookie-btn.settings {
  background: #F4ECDC;
  color: #25303B;
  border: 1.2px solid #70B8A0;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #70B8A0;
  color: #F4ECDC;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
    font-size: 0.93rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
    flex-direction: row;
  }
}

/* ==== Cookie Modal ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(37,48,59,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  visibility: hidden;
}
.cookie-modal {
  background: #232B32;
  color: #ECEDED;
  min-width: 0;
  border-radius: 16px;
  box-shadow: 0 12px 60px #10151699;
  padding: 42px 36px 32px 36px;
  max-width: 440px;
  width: 96vw;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cookie-modal h2 {
  color: #F4ECDC;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  color: #F4ECDC;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover {
  color: #70B8A0;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.cookie-modal label {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal input[type=checkbox] {
  accent-color: #70B8A0;
  width: 22px; height: 22px;
}
.cookie-modal .always-on {
  color: #70B8A0;
  font-size: 0.97em;
  margin-left: 7px;
  letter-spacing: 0.03em;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  width: 100%;
  justify-content: flex-end;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 22px 10px 18px 10px;
    max-width: 98vw;
  }
}

/* ==== Miscellaneous ==== */
::-webkit-scrollbar {
  width: 8px;
  background: #1E2327;
}
::-webkit-scrollbar-thumb {
  background: #232B32;
  border-radius: 6px;
}

hr {
  border: 0;
  border-top: 1px solid #38424B;
  margin: 36px 0 28px 0;
}

/* ==== Responsive Grids & Flex Utility ==== */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 760px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ==== Spacing Utilities per request ==== */
.section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.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;
}

/* ==== Typography scale for hierarchy ==== */
@media (max-width: 500px) {
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1rem; }
}

/* ==== Animation Microinteractions ==== */
.cta-btn,
.card,
.service-cards > div,
.feature-grid > div,
.testimonial-card {
  transition: background 0.15s, color 0.14s, box-shadow 0.18s, border 0.18s, transform 0.18s;
}
.cta-btn:active,
.cookie-btn:active {
  transform: scale(0.97);
}

/* ==== Accessibility & Focus Styles ==== */
:focus-visible {
  outline: 2px solid #70B8A0 !important;
  outline-offset: 1.5px;
}

/* ==== Hide visually (for a11y purposes) ==== */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}
