/* ===========================================================
  CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F8F4F1;
  color: #23313B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border: 0;
  display: inline-block;
}
a {
  color: #23313B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #AEB8C2;
  outline: none;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* ===========================================================
  FONT FACE (Vendor includes or Google Fonts separately)
=========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');

/* ===========================================================
  TYPOGRAPHY
=========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #23313B;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

h4 {
  font-size: 1.15rem;
}

p, li, label {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #23313B;
}

.subheadline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #23313B;
  margin-bottom: 22px;
}
strong, b {
  font-weight: 700;
  color: #23313B;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}
.text-section > h2 {
  margin-top: 0;
}

/* ===========================================================
  LAYOUT UTILITIES & SPACING
=========================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { /* For future use/extension */
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(35,49,59,.07);
  overflow: hidden;
  padding: 28px 24px;
}
.content-grid { /* For page sections with grid-like content */
  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;
  background: #F8F4F1;
  box-shadow: 0px 2px 8px rgba(35,49,59,0.04);
  border-radius: 16px;
  margin-bottom: 20px;
  font-size: 1.1rem;
  flex-direction: row;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(35,49,59,.09);
  padding: 22px 20px 22px 20px;
  min-width: 220px;
  flex: 1 1 240px;
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* ===========================================================
  HEADER & NAVIGATION
=========================================================== */
header {
  background: #23313B;
  color: #fff;
  position: relative;
  padding: 0;
  z-index: 20;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
  min-height: 70px;
}
.logo {
  margin-right: 24px;
  line-height: 0;
  display: flex;
  align-items: center;
}
.logo img {
  max-height: 44px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  color: #fff;
  letter-spacing: 0.01em;
  padding: 8px 4px;
  transition: color .18s;
}
nav a.cta {
  background: #AEB8C2;
  color: #23313B;
  border-radius: 32px;
  padding: 10px 30px 10px 30px;
  font-size: 1.1rem;
  margin-left: 30px;
  font-weight: 900;
  transition: background .19s, color .19s, box-shadow .18s;
  box-shadow: 0 2px 10px rgba(35,49,59,0.09);
  border: none;
}
nav a.cta:hover, nav a.cta:focus {
  background: #F8F4F1;
  color: #23313B;
  box-shadow: 0 4px 14px 0 rgba(35,49,59,0.17);
}
nav a:hover, nav a:focus {
  color: #AEB8C2;
}

/* ===========================================================
  MOBILE NAVIGATION
=========================================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 16px;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  border: none;
  cursor: pointer;
  z-index: 52;
  transition: color .19s;
  outline: none;
}
.mobile-menu-toggle:active {
  color: #AEB8C2;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23313B;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,.01,.5,1.01);
  flex-direction: column;
  align-items: flex-start;
  padding-top: 40px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 20px;
  right: 24px;
  cursor: pointer;
  z-index: 1002;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 60px;
  width: 100%;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  font-weight: 700;
  border-radius: 10px;
  width: 100%;
  transition: background .15s, color .18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #AEB8C2;
  color: #23313B;
}

/* Show and hide desktop/mobile nav at breakpoints */
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu.open {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===========================================================
  HERO SECTION
=========================================================== */
.hero {
  background: #23313B;
  color: #fff;
  padding: 72px 0 54px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
.hero .subheadline {
  color: #F8F4F1;
  max-width: 600px;
  margin-bottom: 24px;
}
.hero .cta {
  background: #AEB8C2;
  color: #23313B;
  border-radius: 36px;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 12px 38px;
  box-shadow: 0 2px 12px 0 rgba(255,255,255,.08);
  transition: background .18s, color .18s, box-shadow .19s;
}
.hero .cta:hover, .hero .cta:focus {
  background: #F8F4F1;
  color: #23313B;
  box-shadow: 0 7px 18px 0 rgba(174,184,194,0.19);
}

/* ===========================================================
  BUTTONS, CTAS & ELEMENTS
=========================================================== */
.cta, .btn, button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  display: inline-block;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 32px;
  background: #23313B;
  color: #fff;
  font-size: 1.13rem;
  padding: 12px 34px;
  margin-top: 12px;
  margin-bottom: 10px;
  transition: background .19s, color .19s, box-shadow .18s, transform .16s;
}
.cta:hover, .btn:hover, button:hover,
.cta:focus, .btn:focus, button:focus {
  background: #AEB8C2;
  color: #23313B;
  box-shadow: 0 2px 10px 0 rgba(174,184,194,0.19);
  transform: translateY(-2px) scale(1.035);
}
button:active {
  transform: scale(0.98);
}

/* Cookie Buttons */
.cookie-btn {
  background: #AEB8C2;
  color: #23313B;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 28px;
  margin: 0 8px;
  border: none;
  cursor: pointer;
  transition: background .17s, color .15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23313B;
  color: #fff;
}

.cookie-btn.settings {
  background: #fff;
  color: #23313B;
  border: 2px solid #23313B;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #AEB8C2;
  color: #23313B;
}

/* ===========================================================
  CARD & LIST LAYOUTS (SERVICES/PROJECTS/ETC)
=========================================================== */
.service-list, .feature-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card, .project-card, .card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(35,49,59,.08);
  padding: 28px 24px 20px 24px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
  position: relative;
  min-width: 250px;
}
.service-card:hover, .project-card:hover, .card:hover {
  box-shadow: 0 10px 30px rgba(35,49,59,0.14);
  transform: translateY(-3px) scale(1.02);
}

.project-card h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.success-story {
  background: #AEB8C2;
  color: #23313B;
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 22px;
  box-shadow: 0 2px 14px 0 rgba(35,49,59,0.09);
}
.success-story h3 {
  color: #23313B;
  margin-bottom: 8px;
}

/* ===========================================================
  LISTS AND ICON-LISTS
=========================================================== */
ul li img, ol li img {
  margin-right: 8px;
  vertical-align: middle;
}
ul li, ol li {
  position: relative;
  padding-left: 0.3em;
  line-height: 1.5;
}

/* ===========================================================
  TESTIMONIAL CARDS
=========================================================== */
.testimonial-card {
  background: #fff;
  color: #23313B;
  box-shadow: 0 2px 12px 0 rgba(35,49,59,0.08);
  border-radius: 14px;
  padding: 22px 28px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: row;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #23313B;
  line-height: 1.4;
  margin-right: 10px;
}
.testimonial-card span {
  color: #AEB8C2;
  font-size: 0.95rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-left: auto;
}

/* ===========================================================
  FOOTER
=========================================================== */
footer {
  background: #23313B;
  color: #fff;
  padding: 38px 0 10px 0;
  font-size: 1rem;
  margin-top: 40px;
}
.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 20px;
}
.footer-logo img {
  max-height: 32px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #AEB8C2;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: .01em;
  transition: color .15s;
  padding: 2px 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.footer-contact span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #AEB8C2;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
}
.footer-copyright {
  color: #AEB8C2;
  font-size: 0.94rem;
  margin-top: 20px;
}

/* ===========================================================
  COOKIE CONSENT BANNER
=========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1201;
  background: #23313B;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  box-shadow: 0 -4px 24px 0 rgba(35,49,59,.12);
  padding: 28px 32px 24px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 12px;
  margin-right: 30px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,49,59,.21);
  z-index: 1301;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #23313B;
  border-radius: 18px;
  box-shadow: 0 6px 36px 0 rgba(35,49,59,0.23);
  max-width: 400px;
  width: 92vw;
  padding: 32px 30px 26px 30px;
  position: relative;
  animation: fadeInUp .3s cubic-bezier(.61,1.32,.58,1.01);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  color: #23313B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal label {
  font-weight: 700;
  font-size: 1.06rem;
}
.cookie-modal input[type=checkbox] {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  accent-color: #AEB8C2;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  right: 15px;
  top: 16px;
  background: transparent;
  border: none;
  font-size: 1.9rem;
  color: #AEB8C2;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .modal-close-btn:hover,
.cookie-modal .modal-close-btn:focus {
  color: #23313B;
}
.cookie-modal .save-btn {
  width: 100%;
  margin-top: 22px;
  padding: 11px 0;
  background: #23313B;
  color: #fff;
  border-radius: 32px;
  border: none;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  transition: background .17s, color .12s;
}
.cookie-modal .save-btn:hover,
.cookie-modal .save-btn:focus {
  background: #AEB8C2;
  color: #23313B;
}

/* ===========================================================
  MEDIA QUERIES AND RESPONSIVENESS
=========================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .service-list, .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-card, .project-card, .card {
    min-width: 0;
    width: 100%;
    flex-basis: unset;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .hero {
    flex-direction: column;
    min-height: unset;
    padding: 50px 0 26px 0;
  }
  .feature-grid, .service-list, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
  }
  .card, .service-card, .feature-item, .project-card {
    padding: 15px 10px;
    min-width: 0;
    border-radius: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 12px 9px 12px;
    font-size: 0.99rem;
  }
  .cookie-banner p {
    font-size: 0.99rem;
    margin-bottom: 5px;
    margin-right: 0;
  }
  .cookie-btn {
    font-size: .95rem;
    padding: 8px 20px;
    margin: 0 4px 6px 0;
  }
}
@media (max-width: 540px) {
  .footer-contact span {
    font-size: 0.9rem;
  }
  .footer-logo img {
    max-height: 26px;
  }
  .footer-nav {
    gap: 8px;
    font-size: 0.89rem;
  }
  .footer-copyright {
    font-size: 0.85rem;
  }
}

/* ===========================================================
  MICRO-INTERACTIONS & ANIMATIONS
=========================================================== */
.cta, .btn, button, a {
  transition: background .19s, color .19s, box-shadow .15s, transform .13s;
}
.card, .service-card, .feature-item, .testimonial-card, .project-card, .success-story {
  transition: box-shadow .18s, transform .13s;
}
.card:active, .service-card:active, .feature-item:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(35,49,59,0.12);
}

/* ===========================================================
  ADDITIONAL CLASSES AND HELPERS
=========================================================== */
.hide {
  display: none !important;
}
.show {
  display: inherit !important;
}

/* ===========================================================
  SCROLLBAR STYLING (BOLD/MODERN)
=========================================================== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #AEB8C2;
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: #F8F4F1;
}

/* ===========================================================
  ACCESSIBILITY
=========================================================== */
:focus {
  outline: 2px dashed #AEB8C2;
  outline-offset: 2px;
}

/* Hide outline on mouse only, keep for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* ===========================================================
  CUSTOM FORMS & INTERACTIVE ELEMENTS (for Cookie Modal)
=========================================================== */
input[type="checkbox"] {
  accent-color: #AEB8C2;
}

/* END OF STYLE.CSS */
