/* ========================
   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, 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F9FAFB;
  color: #35435B;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
  /* smooth pastel background */
  background-color: #F4EADA;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #627487;
  text-decoration: none;
  transition: color 0.22s;
}
a:hover, a:focus {
  color: #35435B;
  text-decoration: underline;
}

/* ========================
   FONT FAMILIES
   ======================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, .btn-primary {
  font-family: 'Montserrat', 'Arial', sans-serif;
}

h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #35435B;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #334163;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #384765;
  margin-bottom: 10px;
}

.subheadline {
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 1.18rem;
  color: #667685;
  font-weight: 400;
  margin-bottom: 28px;
}

/* ========================
   GENERAL LAYOUT & CONTAINERS
   ======================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.section,
.hero,
.cta,
.features,
.about, 
.legal,
.project-highlights,
.testimonials,
.services-list,
.confirmation,
.contact-section,
.blog-features {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (max-width: 640px) {
  .section, .hero, .cta, .features, .about, .legal, .project-highlights,
  .testimonials, .services-list, .confirmation, .contact-section, .blog-features {
    padding: 30px 8px;
  }
}

/* ========================
   HEADER & NAVIGATION
   ======================== */
header {
  background: #FFFDFB;
  box-shadow: 0 2px 12px rgba(173, 170, 196, 0.05);
  position: sticky;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  position: relative;
}
nav img {
  height: 38px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #35435B;
  padding: 4px 0;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #86A99E;
  text-decoration: underline;
}
.btn-primary {
  display: inline-block;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 26px;
  background: #86A99E;
  color: #35435B;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(93, 142, 125, 0.09);
  letter-spacing: .04em;
  transition: background .24s, color .19s, box-shadow .22s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #35435B;
  color: #F4EADA;
  box-shadow: 0 4px 16px rgba(53, 67, 91, 0.11);
}

/* ===============
   MOBILE NAVIGATION
   =============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #35435B;
  cursor: pointer;
  margin-left: 12px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(248,245,237,0.97);
  box-shadow: 0 8px 32px rgba(53,67,91,0.10);
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.85,.01,.32,1.02);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 44px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  padding: 12px 20px;
  color: #35435B;
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 56px 0 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #35435B;
  font-weight: 500;
  padding: 10px 4px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #86A99E;
  color: #fff;
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    gap: 0;
  }
}
@media (min-width: 961px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  background: linear-gradient(120deg, #F9FAFB 90%, #F3F7F4 100%);
  border-radius: 26px;
  box-shadow: 0 5px 24px rgba(134,169,158,0.03);
  margin-top: 18px;
}
.hero h1 {
  text-align: center;
  color: #35435B;
}
.hero .btn-primary {
  margin-top: 10px;
  font-size: 1.06rem;
}

/* ========================
   FEATURES & SERVICES
   ======================== */
.features .feature-grid,
.services-list .service-list,
.value-grid,
.project-cards,
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-item, .service-card, .value-item, .case-study-card, .article-preview {
  background: #FFFDFB;
  border-radius: 22px;
  box-shadow: 0 3px 18px rgba(86,169,158,0.11);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 210px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow .22s, transform .21s;
  border: 1px solid #F3F7F4;
}
.feature-item:hover, .service-card:hover, .value-item:hover, .article-preview:hover {
  box-shadow: 0 8px 32px rgba(53, 67, 91, 0.13);
  transform: translateY(-3px) scale(1.01);
}
.feature-item img, .value-item img {
  height: 36px;
  width: 36px;
  margin-bottom: 3px;
  filter: drop-shadow(0 2px 4px #F4EADA90);
}
.feature-price, .service-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #86A99E;
  background: #F4EADA;
  padding: 2px 16px;
  border-radius: 20px;
  margin-top: 6px;
  letter-spacing: .03em;
}

.value-item h3 {
  color: #4E6376;
}

@media (max-width: 900px) {
  .features .feature-grid, .services-list .service-list, .value-grid, .project-cards, .article-preview-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* ========================
   ABOUT/CONTACT TEXTS
   ======================== */
.text-section {
  margin-bottom: 20px;
}
.brand-values {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin-top: 18px;
  align-items: flex-start;
}
.brand-values li {
  background: #E3EFF8;
  color: #35435B;
  padding: 10px 22px;
  border-radius: 18px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}

.timeline ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline ul li strong {
  font-weight: 700;
  color: #86A99E;
  margin-right: 6px;
}

/* ========================
   CARD / GRID PATTERNS
   ======================== */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  background: #FFFDFB;
  box-shadow: 0 2px 18px rgba(134,169,158,0.08);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 220px;
  border: 1px solid #F4EADA;
  transition: box-shadow .19s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(53,67,91,0.14);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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
   ======================== */
.testimonials {
  background: linear-gradient(110deg, #F9FAFB 80%, #E8F7F1 100%);
  border-radius: 26px;
  box-shadow: 0 6px 24px rgba(134,169,158,0.04);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(53,67,91,0.07);
  margin-bottom: 20px;
  border: 1px solid #E3EFF8;
  flex: 1 1 320px;
  min-width: 250px;
  max-width: 400px;
  transition: box-shadow .18s, transform .16s;
}
.testimonial-card p {
  color: #35435B;
  font-size: 1.08rem;
  line-height: 1.65;
  text-align: center;
  font-style: italic;
}
.testimonial-author {
  color: #86A99E;
  font-weight: bold;
  font-size: .98rem;
  text-align: right;
  width: 100%;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(53,67,91,0.13);
  transform: translateY(-2px) scale(1.01);
}
[@media (max-width: 900px)] {
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 100%;
    align-items: flex-start;
  }
}

/* ========================
   PROJECT HIGHLIGHTS / BLOG
   ======================== */
.case-study-card {
  background: #FFFDFB;
  border-radius: 20px;
  box-shadow: 0 4px 21px rgba(173,170,196,0.07);
  padding: 24px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 280px;
  transition: box-shadow .21s, transform .20s;
  border: 1px solid #F4EADA;
}
.case-study-card h3 {
  font-size: 1.15rem;
  color: #384765;
  margin-bottom: 6px;
}
.case-study-card .before-after {
  color: #86A99E;
  font-size: 1rem;
  font-style: italic;
  margin-top: 3px;
}
.case-study-card:hover {
  box-shadow: 0 8px 36px rgba(53,67,91,0.13);
  transform: translateY(-3px) scale(1.01);
}

.article-preview {
  background: #F9FAFB;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(53,67,91,0.06);
  padding: 20px 20px 20px 20px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  transition: box-shadow .14s, transform .14s;
}
.article-preview h3 {
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.article-preview .read-more {
  color: #627487;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
  margin-top: 5px;
  display: inline-block;
  transition: color 0.16s;
}
.article-preview .read-more:hover, .article-preview .read-more:focus {
  color: #86A99E;
}
.article-preview:hover {
  box-shadow: 0 10px 28px rgba(86,169,158,0.09);
  transform: translateY(-2px);
}

.blog-categories {
  margin: 22px 0 0 0;
  text-align: center;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  justify-content: center;
  margin: 12px 0 0 0;
}
.blog-categories li a {
  background: #E3EFF8;
  color: #35435B;
  padding: 7px 14px;
  border-radius: 12px;
  font-size: .97rem;
  transition: background .15s, color .16s;
}
.blog-categories li a:hover, .blog-categories li a:focus {
  background: #35435B;
  color: #FFFDFB;
}

.newsletter-signup {
  margin-top: 38px;
  background: #E8F7F1;
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(86,169,158,0.04);
}
.newsletter-signup h3 {
  margin-bottom: 8px;
  color: #627487;
}

/* ========================
   CTA SECTION
   ======================== */
.cta {
  text-align: center;
  background: #E3EFF8;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(86,169,158,0.06);
}
.cta .btn-primary {
  margin-top: 14px;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #F9FAFB;
  padding: 36px 0 20px 0;
  text-align: center;
  color: #627487;
  border-radius: 20px 20px 0 0;
  margin-top: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #627487;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #35435B;
}
.footer-info span {
  font-size: .98rem;
}

/* ================================
   CONTACT PAGE, LOCATION MAP
   ================================ */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.location-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background: #E3EFF8;
  border-radius: 18px;
  padding: 16px 16px;
  min-width: 180px;
}
@media (max-width: 800px) {
  .contact-details {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .location-map {
    min-width: 80px;
    align-items: flex-start;
  }
}

/* ========================
   LEGAL PAGE
   ======================== */
.legal {
  background: #F9FAFB;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(134,169,158,0.06);
}
.legal h1 {
  text-align: center;
  margin-bottom: 14px;
}
.legal h2 {
  text-align: center;
  margin-bottom: 18px;
}
.legal .text-section {
  max-width: 720px;
  margin: 0 auto 10px auto;
  font-size: 1.08rem;
}
.legal ul {
  margin-left: 18px;
  margin-bottom: 12px;
}

/* ========================
   CONFIRMATION PAGE
   ======================== */
.confirmation {
  background: #E3EFF8;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(86,169,158,0.05);
  text-align: center;
}
.confirmation .btn-primary {
  margin-top: 20px;
}

/* ========================
   COOKIE BANNER
   ======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1100;
  background: #FFFDFB;
  color: #35435B;
  box-shadow: 0 -2px 32px rgba(53,67,91,0.13);
  border-top: 2px solid #E3EFF8;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 20px 38px;
  transition: transform 0.32s;
}
.cookie-banner.hide {
  transform: translateY(160%);
  pointer-events: none;
}
.cookie-banner__message {
  flex: 1 1 340px;
  font-size: 1rem;
  color: #35435B;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 24px;
  margin: 0 1px;
  font-size: 1rem;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #E3EFF8;
  color: #35435B;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .btn-accept {
  background: #86A99E;
  color: #FFF;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #35435B;
  color: #F4EADA;
}
.cookie-banner .btn-reject {
  background: #FFF;
  color: #35435B;
  border: 1px solid #E3EFF8;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #F4EADA;
}
.cookie-banner .btn-settings {
  background: #F4EADA;
  color: #35435B;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #86A99E;
  color: #FFF;
}

@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 12px;
    gap: 18px;
  }
  .cookie-banner .cookie-banner__actions {
    width: 100%;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1200;
  transform: translate(-50%, -50%) scale(0.98);
  width: 98vw;
  max-width: 390px;
  background: #FFF;
  border-radius: 22px;
  padding: 36px 26px 28px 26px;
  box-shadow: 0 20px 60px rgba(53,67,91,0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .29s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  margin-bottom: 18px;
  font-weight: bold;
  color: #35435B;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal__category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #86A99E;
  margin-right: 7px;
}
.cookie-modal__category .category-name {
  font-weight: 600;
  color: #35435B;
}
.cookie-modal__category.disabled label, .cookie-modal__category.disabled {
  opacity: 0.7;
}
.cookie-modal__actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal__actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 22px;
  border-radius: 16px;
  font-size: 1rem;
  border: none;
  background: #E3EFF8;
  color: #35435B;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal__actions .btn-save {
  background: #86A99E;
  color: #FFF;
}
.cookie-modal__actions .btn-save:hover, .cookie-modal__actions .btn-save:focus {
  background: #35435B;
  color: #FFFDFB;
}
.cookie-modal__actions .btn-cancel {
  background: #F4EADA;
  color: #35435B;
}
.cookie-modal__actions .btn-cancel:hover, .cookie-modal__actions .btn-cancel:focus {
  background: #E3EFF8;
}

/* MODAL OVERLAY */
.cookie-modal-overlay {
  content: '';
  position: fixed;
  top:0;
  left:0;
  width: 100vw;
  height: 100vh;
  background: rgba(53,67,91,0.19);
  z-index: 1190;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal.open ~ .cookie-modal-overlay {
  opacity: 1;
  pointer-events: all;
}

/* ========================
   MEDIA QUERIES (RESPONSIVE)
   ======================== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.48rem; }
  h3 { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .btn-primary,
  .cookie-banner button,
  .cookie-banner .btn {
    font-size: .97rem;
    padding: 9px 12px;
  }
}

/* ========================
   ANIMATIONS & INTERACTIONS
   ======================== */
.btn-primary, .cookie-banner button, .cookie-modal__actions button {
  transition: background 0.22s, color 0.18s, box-shadow .23s;
}

.card, .feature-item, .service-card, .case-study-card, .testimonial-card, .value-item, .article-preview {
  transition: box-shadow .19s, transform .20s;
}

/* ========================
   SCROLLBAR (PASTEL STYLE)
   ======================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F4EADA;
}
::-webkit-scrollbar-thumb {
  background: #E3EFF8;
  border-radius: 8px;
}

/* ========================
   FORM FIELDS (OPTIONAL, if any forms are added in the future)
   ======================== */
input, textarea, select {
  font: inherit;
  padding: 10px;
  border-radius: 13px;
  border: 1px solid #E3EFF8;
  background: #FFFDFB;
  color: #35435B;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.16s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #86A99E;
  box-shadow: 0 2px 6px rgba(134,169,158,0.12);
}

/* ========================
   FIELDSET/LEGEND (LEGAL)
   ======================== */
fieldset {
  border: 1px solid #F4EADA;
  border-radius: 13px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
legend {
  font-weight: 700;
  color: #35435B;
  font-size: 1.08rem;
}

/* ========================
   UTILITY CLASSES & GAPS
   ======================== */
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }

/* ========================
   MISC
   ======================== */
::-moz-selection { background: #86A99E; color: #FFF; }
::selection { background: #86A99E; color: #FFF; }

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
