/* RESET & BASE ------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F7F0E6;
  color: #2A3844;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2A3844;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B6A27A;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: 700;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADINGS ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
h1 {
  font-size: 2.75rem;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: #2A3844;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  color: #2A3844;
  margin-top: 8px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  font-weight: 600;
}

/* SECTION & SPACING --------------------------------------------- */
section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(42,56,68,0.07);
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 750px;
  margin: 0 auto;
}

/* CARD & FLEXBOX LAYOUTS ---------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(42,56,68,0.10);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 320px;
  padding: 28px 24px 28px 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  background: #F7F0E6;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(42,56,68,0.09);
  margin-bottom: 20px;
  border: 1.5px solid #B6A27A;
  color: #2A3844;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(42,56,68,0.06);
  padding: 20px;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-list > div {
  background: #F7F0E6;
  border: 1.5px solid #B6A27A;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(42,56,68,0.06);
  flex: 1 1 320px;
  min-width: 275px;
  padding: 26px 22px;
  margin-bottom: 20px;
}

/* BUTTONS & CTA ------------------------------------------------- */
.cta {
  display: inline-block;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  padding: 14px 34px;
  background: #2A3844;
  color: #fff !important;
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(42,56,68,0.12);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.18s;
  letter-spacing: 0.04em;
  margin-top: 8px;
}
.cta.primary {
  background: #2A3844;
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #B6A27A;
  color: #2A3844 !important;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 20px #B6A27A33;
}
.cta.secondary {
  background: #B6A27A;
  color: #2A3844;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #2A3844;
  color: #fff !important;
  transform: translateY(-2px) scale(1.025);
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}

/* LISTS & ICONS ------------------------------------------------- */
ul li, ol li {
  position: relative;
  padding-left: 20px;
}
ul li::before, ol li::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  background: #B6A27A;
  border-radius: 2px;
  position: absolute;
  left: 0; top: 7px;
  opacity: 0.8;
}
ul img, ol img {
  margin-right: 8px;
  width: 18px;
  vertical-align: middle;
  display: inline;
}

/* HEADER & NAVIGATION ------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(42,56,68,0.07);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 84px;
}
header a img {
  height: 48px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 6px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #F7F0E6;
  color: #B6A27A;
}
header .cta.primary {
  margin-left: 16px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #2A3844;
  background: none;
  padding: 7px 12px;
  border-radius: 6px;
  border: 2px solid #B6A27A;
  margin-left: 10px;
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #B6A27A22;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #2A3844;
  color: #fff;
  z-index: 200;
  transform: translateX(-100vw);
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px 24px 24px;
  transition: transform 0.3s cubic-bezier(0.86,0,0.07,1), opacity 0.24s;
  box-shadow: 0 2px 32px #2A384455;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #B6A27A;
  margin-bottom: 26px;
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  border-bottom: 1px solid #B6A27A44;
  transition: color 0.20s, background 0.14s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #B6A27A22;
  color: #B6A27A;
}

/* Hide desktop nav and show burger on mobile */
@media (max-width: 950px) {
  header nav, header .cta.primary  {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 951px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER -------------------------------------------------------- */
footer {
  background: #fff;
  border-top: 3px solid #B6A27A22;
  font-size: 1rem;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 28px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 8px;
  margin-bottom: 3px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background 0.18s, color 0.13s;
  color: #2A3844;
}
footer nav a:hover,
footer nav a:focus {
  background: #B6A27A22;
  color: #B6A27A;
}
footer address {
  font-style: normal;
  color: #2A3844;
  font-size: 1rem;
}
footer img {
  height: 38px;
  margin-bottom: 12px;
}
footer small {
  margin-top: 10px;
  display: block;
  color: #7A6B50;
  font-size: 0.93rem;
}

/* TESTIMONIALS -------------------------------------------------- */
.testimonial-card p {
  font-size: 1.18rem;
  color: #2A3844;
  font-style: italic;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
  color: #B6A27A;
  font-weight: 700;
}
.testimonial-card span {
  color: #B6A27A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  margin-left: 8px;
  letter-spacing: 0.1em;
}

/* RESPONSIVE DESIGN --------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    padding: 0 8vw;
  }
}
@media (max-width: 850px) {
  .project-list,
  .card-container,
  .content-grid {
    flex-direction: column !important;
    gap: 20px;
  }
  .project-list > div,
  .card {
    min-width: 0;
  }
}
@media (max-width: 768px) {
  section {
    padding: 26px 7px;
    margin-bottom: 36px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.23rem;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 13px 10px;
  }
  footer .container {
    padding-top: 23px;
    padding-bottom: 14px;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 0 4vw;
  }
  h1, h2, h3 {
    text-align: left;
  }
}
/* COOKIE BANNER ------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #2A3844;
  color: #fff;
  padding: 22px 18px;
  box-shadow: 0 -2px 24px #2A384444;
  z-index: 2222;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  animation: cookiefadein 0.6s cubic-bezier(0.82,0,0.2,1);
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(72px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 2px;
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-block;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 23px;
  background: #B6A27A;
  color: #2A3844 !important;
  border: none;
  margin-right: 3px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, transform 0.15s;
}
.cookie-btn.accept {
  background: #B6A27A;
  color: #2A3844;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #2A3844;
  color: #fff !important;
}
.cookie-btn.reject {
  background: #fff;
  color: #2A3844;
  border: 1.3px solid #B6A27A;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #B6A27A;
  color: #2A3844 !important;
}
.cookie-btn.settings {
  background: transparent;
  color: #fff !important;
  border: 1.3px solid #B6A27A;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #B6A27A;
  color: #2A3844 !important;
}

/* Cookie Modal -------------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42,56,68,0.72);
  z-index: 2223;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.27s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 17px;
  min-width: 310px;
  max-width: 97vw;
  box-shadow: 0 6px 32px #2A384488;
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  color: #2A3844;
  animation: popinModal 0.24s cubic-bezier(0.82,0,0.18,1);
}
@keyframes popinModal {
  from { opacity: 0; transform: translateY(35px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-top: 0;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
}
.cookie-toggle {
  background: #B6A27A;
  border: 2px solid #2A3844;
  width: 36px; height: 20px;
  border-radius: 20px;
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-toggle span {
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
}
.cookie-toggle input:checked + span {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 7px;
  justify-content: flex-end;
}
.cookie-modal-actions .settings {
  color: #B6A27A !important;
}

.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 1.6rem;
  color: #B6A27A;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.17s, color 0.15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  opacity: 1;
  color: #2A3844;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 6vw 14px 6vw;
    min-width: 0;
  }
}

/* GEOMETRIC/STRUCTURED ART EFFECTS ----------------------------- */
section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -14px; right: -24px;
  width: 80px; height: 80px;
  background: #B6A27A22;
  border-radius: 18px 0 14px 46px;
  z-index: 0;
}
section:nth-of-type(even)::after {
  left: -27px; right: auto;
  border-radius: 54px 18px 10px 14px;
}
@media (max-width: 700px) {
  section::after {
    width: 44px; height: 44px;
    bottom: -9px; right: -9px;
  }
  section:nth-of-type(even)::after {
    left: -12px;
  }
}

/* MICRO-INTERACTIONS -------------------------------------------- */
.card, .testimonial-card, .feature-item, .project-list > div {
  transition: box-shadow 0.18s, transform 0.17s;
}
.card:hover,
.feature-item:hover,
.project-list > div:hover {
  box-shadow: 0 7px 29px 0 rgba(42,56,68,0.14);
  transform: scale(1.018);
}
.testimonial-card:hover {
  box-shadow: 0 11px 36px 0 rgba(42,56,68,0.13);
  transform: scale(1.013) translateY(-2px);
}

/* TYPOGRAPHY SCALE ---------------------------------------------- */
@media (min-width: 1100px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.4rem; }
}

/* ACCESSIBILITY FIXES ------------------------------------------- */
::selection {
  background: #B6A27A;
  color: #fff;
}

/* UTILITY CLASSES ----------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }

/* BRAND FONTS -------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600;700&display=swap');
/* End of CSS file */
