/* ------------------------
   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;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: #F4F4F6;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #263238;
  background: #F4F4F6;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #263238;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D6AD60;
  outline: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border-radius: 0;
  outline: none;
  border: none;
  background: none;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #263238;
  line-height: 1.18;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; letter-spacing: 0.02em; }
h2 { font-size: 2rem; margin-bottom: 18px; letter-spacing: 0.02em; }
h3 { font-size: 1.4rem; margin-bottom: 14px; letter-spacing: 0.02em; font-weight: 700; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }

p, ul, ol {
  margin-bottom: 1em;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* ------------------
   CONTAINER & GRID
   ------------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ----------------------------------
   SECTIONS WITH GEOMETRIC STRUCTURE
   ----------------------------------*/
.section {
  background: #fff;
  border-radius: 20px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 6px 32px 0 rgba(38,50,56,0.04), 0 1.5px 10px 0 rgba(38,50,56,0.04);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 260px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border: 2px solid #ECECEC;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px 0 rgba(38,50,56,0.11);
  border-color: #D6AD60;
  z-index: 1;
}
.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;
}

/* -----------------------------------
   TESTIMONIALS AND FEATURE ELEMENTS
   -----------------------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F4F4F6;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px rgba(38,50,56,0.10);
  border-left: 6px solid #D6AD60;
  font-size: 1.1rem;
  color: #263238;
}
.testimonial-card p {
  margin: 0 0 0.4em 0;
  flex: 1 1 auto;
}
.testimonials-info {
  font-size: 1rem;
  font-style: italic;
  color: #263238;
  opacity: 0.85;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ---------------
   PROJECTS & BLOG
   ---------------*/
.project-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.project-summary, .blog-article {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1px 6px rgba(38,50,56,0.07);
  padding: 28px 20px;
  flex: 1 1 290px;
  min-width: 240px;
  border-left: 5px solid #D6AD60;
  transition: box-shadow 0.13s, border-color 0.18s;
  margin-bottom: 20px;
}
.project-summary:hover, .blog-article:hover {
  box-shadow: 0 6px 20px 0 rgba(38,50,56,0.1);
  border-color: #263238;
  z-index: 1;
}

/* -------------
   HEADER + NAV
   -------------*/
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(38,50,56,0.05);
  padding: 0;
  margin-bottom: 28px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 49;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 70px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  font-size: 1rem;
  color: #263238;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.14s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #F4F4F6;
  color: #D6AD60;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  background: #D6AD60;
  color: #263238;
  border: none;
  border-radius: 30px 6px 30px 6px;
  padding: 10px 34px 10px 22px;
  font-size: 1.18rem;
  margin-left: 28px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(38,50,56,0.04);
  transition: background 0.23s, color 0.18s, box-shadow 0.16s, transform 0.15s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #263238;
  color: #fff;
  box-shadow: 0 6px 24px rgba(214,173,96,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* ------------------
   MOBILE BURGER NAV
   ------------------*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #263238;
  color: #fff;
  font-size: 2rem;
  border: none;
  box-shadow: 0 2px 8px rgba(38,50,56,0.11);
  transition: background 0.17s, color 0.13s;
  justify-content: center;
  align-items: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #D6AD60;
  color: #263238;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  height: 100dvh;
  background: #fff;
  box-shadow: -2px 0 16px rgba(38,50,56,0.13);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1999;
  padding: 0 30px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  margin-top: 24px;
  margin-bottom: 24px;
  align-self: flex-end;
  background: #D6AD60;
  color: #263238;
  font-size: 2rem;
  border-radius: 9px;
  padding: 6px 18px;
  border: none;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #263238;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #263238;
  padding: 12px 0;
  font-weight: 700;
  border-radius: 6px;
  width: 100%;
  transition: background 0.12s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #D6AD60;
  color: #fff;
}

@media (max-width: 1100px) {
  .container {
    max-width: 920px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 100%;
  }
  .content-grid, .card-container, .project-list, .blog-list {
    flex-direction: column;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  header .container {
    flex-direction: row;
    padding: 0 12px;
    min-height: 60px;
  }
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .text-image-section, .content-grid, .card-container, .project-list, .blog-list {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card, .project-summary, .blog-article, .card {
    padding: 18px 10px;
    min-width: 180px;
    max-width: none;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .section {
    padding: 24px 2px;
  }
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .project-summary, .blog-article, .testimonial-card, .card {
    padding: 14px 4px;
  }
}

/* --------------
   FOOTER STYLES
   --------------*/
footer {
  background: #263238;
  color: #fff;
  margin-top: 60px;
  padding: 36px 0 22px 0;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
footer nav a {
  color: #D6AD60;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.13s, background 0.13s;
}
footer nav a:hover, footer nav a.active {
  background: #fff;
  color: #263238;
}
footer img {
  height: 44px;
  width: auto;
}
footer p {
  font-size: 0.96rem;
  opacity: 0.85;
  margin: 0;
}
@media (max-width:760px){
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer nav {
    gap: 12px;
  }
}

/* ---------------------
   GENERAL INTERACTIVE
   ---------------------*/
button, .cta-btn, .mobile-menu-close, .mobile-menu-toggle {
  cursor: pointer;
  outline: none;
}

/* --------------
   LIST STYLES
   --------------*/
ul, ol {
  margin-left: 0;
  margin-bottom: 16px;
  padding-left: 28px;
}
ul li {
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
  padding-left: 22px;
}
ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 10px;
  height: 2.7px;
  background: #D6AD60;
  border-radius: 2.7px;
  transform: skew(-18deg);
  box-shadow: 20px 0 #F4F4F6;
}
ol li {
  margin-bottom: 9px;
  font-size: 1rem;
  padding-left: 0;
  list-style: decimal inside;
}

/* --------------------
   MODAL, OVERLAY ETC.
   --------------------*/
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(38,50,56,0.48);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadein 0.18s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 360px;
  padding: 33px 28px 24px 28px;
  box-shadow: 0 8px 43px 0 rgba(38,50,56,0.18), 0 3.5px 12px 0 rgba(38,50,56,0.08);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  animation: revealScale 0.26s cubic-bezier(.43,1.19,.68,1.01);
}
@keyframes revealScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.34rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 9px;
}
.cookie-category {
  margin-bottom: 11px;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #ECECEC;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  vertical-align: middle;
  box-shadow: 0 1px 2.5px rgba(38,50,56,0.09);
  margin-left: 12px;
  margin-right: 7px;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #D6AD60;
}
.cookie-toggle:before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px; left: 2px;
  box-shadow: 0 1px 2.5px rgba(38,50,56,0.13);
  transition: left 0.14s;
}
.cookie-toggle:checked:before {
  left: 18px;
}

/* ---------------
   COOKIE BANNER
   ---------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #263238;
  color: #fff;
  z-index: 2022;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  box-shadow: 0 -2px 18px rgba(38,50,56,0.12);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  opacity: 1;
  animation: slideUp 0.4s cubic-bezier(.52,-0.21,.54,1.41);
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 auto;
  margin-right: 14px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner__btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 20px 10px 16px;
  border: none;
  border-radius: 10px 2.5px 10px 2.5px;
  font-weight: 700;
  transition: background 0.17s, color 0.17s, box-shadow 0.1s;
  cursor: pointer;
  margin: 0;
}
.cookie-banner__btn.accept {
  background: #D6AD60;
  color: #263238;
  box-shadow: 0 1px 5px rgba(38,50,56,0.07);
}
.cookie-banner__btn.accept:hover, .cookie-banner__btn.accept:focus {
  background: #fff;
  color: #D6AD60;
}
.cookie-banner__btn.reject {
  background: #fff;
  color: #263238;
  border: 1.5px solid #D6AD60;
}
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus {
  background: #D6AD60;
  color: #fff;
}
.cookie-banner__btn.settings {
  background: transparent;
  color: #D6AD60;
  border: 1.5px solid #D6AD60;
}
.cookie-banner__btn.settings:hover, .cookie-banner__btn.settings:focus {
  background: #D6AD60;
  color: #263238;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 7px;
    gap: 10px;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 7px;
  }
}

/* ---------------------
   GEOMETRIC DECORATION
   ---------------------*/
.geometric-shape {
  width: 48px;
  height: 48px;
  background: #D6AD60;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  position: absolute;
  top: -24px; left: -24px;
  z-index: 0;
}
.geometric-shape.secondary {
  background: #263238;
  width: 24px;
  height: 24px;
  top: auto; left: auto;
  bottom: -14px; right: -18px;
}
/* Decorative example, for optional accent: Add in card/section HTML if needed. */

/* ---------------
   UTILITIES
   ---------------*/
.text-center { text-align: center !important; }
.center-x { justify-content: center !important; }
.center-y { align-items: center !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-12 { gap: 12px !important; }
.gap-20 { gap: 20px !important; }

::-moz-selection { background: #D6AD60; color: #263238; }
::selection { background: #D6AD60; color: #263238; }

/* Accessibility focus ring */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px solid #D6AD60 !important;
  outline-offset: 2px;
}

/* --------------
   TRANSITIONS
   --------------*/
* { transition: background 0.19s, color 0.14s, box-shadow 0.10s, border 0.16s; }

/* ---------------------
   MISC & PRINT HELPERS
   ---------------------*/
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, .modal-backdrop { display: none !important; }
  .section, .container { box-shadow: none !important; background: #fff !important; }
}
