/* === CSS RESET & NORMALIZE (MOBILE FIRST) === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Georgia, Times, 'Times New Roman', serif;
  color: #222B33;
  background: #F6F2EA;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, select, textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  color: #222B33;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

/* === BRAND COLOR VARIABLES === */
:root {
  --primary: #222B33;
  --secondary: #CBB582;
  --accent: #F6F2EA;
  --muted-1: #ECE8E0;
  --muted-2: #D6D1C4;
  --text-color: #222B33;
  --text-on-secondary: #222B33;
  --cta-hover: #B6A369;
  --shadow-sm: 0px 2px 8px rgba(34,43,51,.07);
  --shadow: 0px 3px 20px rgba(34,43,51,.10);
  --border-radius: 12px;
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 32px 0 0 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 700px) {
  .section { padding: 60px 0; }
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--accent);
  border-bottom: 1px solid var(--muted-1);
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(34,43,51,0.03);
}
.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 24px;
  padding: 12px 0;
}
.header-content > a img {
  max-height: 44px;
}
.main-nav {
  display: none;
}
.main-nav a {
  font-family: 'Montserrat', serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 0;
  padding: 12px 16px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
.main-nav .cta-primary {
  background: var(--secondary);
  color: var(--primary);
  margin-left: 8px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background 0.18s;
}
.main-nav a:not(.cta-primary):hover,
.main-nav a.active {
  background: var(--muted-1);
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--cta-hover);
  color: #fff;
}
.mobile-menu-toggle {
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 30;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}
@media (min-width: 1000px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--accent);
  box-shadow: 0 8px 32px rgba(34,43,51,0.10);
  z-index: 1050;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.77,0,.18,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--primary);
  background: none;
  position: absolute;
  top: 20px; right: 24px;
  z-index: 1111;
  width: 46px; height: 46px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 46px;
  gap: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', serif;
  padding: 18px 32px;
  font-size: 1.1rem;
  color: var(--primary);
  border-radius: 0 18px 18px 0;
  background: none;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav .cta-primary {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  margin-top: 10px;
}
@media (min-width: 1000px) {
  .mobile-menu {
    display: none!important;
  }
}

/* === SECTION & TYPOGRAPHY === */
.section {
  background: none;
}
h2 {
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 6px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}
p, ul, ol, address {
  font-family: 'Open Sans', serif;
  color: var(--primary);
  font-size: 1.07rem;
  margin-bottom: 12px;
}
strong {
  font-family: 'Montserrat', serif;
  font-weight: 700;
  color: var(--primary);
}

/* === FEATURE GRID, SERVICES, PROJECTS, FLEXBOX SPACING === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px 18px 20px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px) scale(1.01);
}

.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-cards > div,
.service-list > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 20px 22px 20px;
  flex: 1 1 250px;
  max-width: 330px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.service-cards > div:hover,
.service-list > div:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px) scale(1.02);
}
.price-label {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  color: var(--secondary);
  margin-top: 6px;
  font-weight: 500;
}

.project-summary {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.material-combos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.combo-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px 16px 16px;
  min-width: 190px; max-width: 290px;
  flex: 1 1 200px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.18s;
}
.combo-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px) scale(1.01);
}

/* Content Grid & Flex Patterns */
.card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: decimal inside;
  margin-top: 16px;
}
.step-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  margin-bottom: 8px;
}
.tip-list li {
  margin-bottom: 11px;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-left: 5px solid var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  max-width: 670px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.12rem;
  color: var(--text-color);
  transition: box-shadow 0.17s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: scale(1.01);
}
.testimonial-card strong {
  color: var(--secondary);
  font-family: 'Montserrat', serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px;
}
.testimonial-card p {
  color: var(--primary);
  opacity: 0.95;
  font-weight: 500;
  margin-bottom: 0;
  text-align: center;
}

/* === BUTTONS === */
.cta-primary,
.cta-secondary {
  display: inline-block;
  text-align: center;
  font-family: 'Montserrat', serif;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 36px;
  font-size: 1.1rem;
  margin-top: 10px;
  margin-bottom: 4px;
  transition: background 0.2s, color 0.18s, box-shadow 0.17s;
  box-shadow: var(--shadow-sm);
}
.cta-primary {
  background: var(--secondary);
  color: var(--primary);
  border: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--cta-hover);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-secondary {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  font-weight: 700;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: #fff;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding: 30px 0 10px 0;
  font-family: 'Open Sans', serif;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  position: relative;
}
.footer-content > div {
  margin-bottom: 8px;
}
footer address {
  font-style: normal;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.5;
}
.footer-nav {
  font-family: 'Montserrat', serif;
  color: var(--secondary);
  font-size: 1rem;
  margin: 12px 0 0 0;
}
.footer-nav a { color: var(--secondary); padding: 0 4px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.social-icons {
  display: flex;
  gap: 16px;
}
.social-icons a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1) sepia(0.34) saturate(2.2) hue-rotate(4deg);
  transition: filter 0.2s;
}
.social-icons a:hover img {
  filter: brightness(0) invert(0.65) sepia(1) hue-rotate(-45deg) saturate(4);
}
.privacy-note {
  color: var(--muted-2);
  font-size: 0.9rem;
  margin-top: 10px;
}
footer a {
  color: var(--secondary);
  transition: color 0.15s;
}
footer a:hover {
  color: #fff;
}
@media (min-width: 750px) {
  .footer-content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
  }
  .footer-content > div {
    margin-bottom: 0;
  }
}

/* Responsive: tablet and up */
@media (min-width: 700px) {
  .feature-grid, .material-combos, .service-cards, .service-list {
    gap: 32px;
  }
  .content-wrapper {
    padding: 32px 18px 0 18px;
  }
}

/* === TEXT SECTION === */
.text-section {
  margin-bottom: 18px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 -2px 20px rgba(34,43,51,0.13);
  z-index: 1500;
  padding: 24px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--muted-2);
  animation: fadeUpIn 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(44px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner p {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.cookie-banner button {
  font-family: 'Montserrat', serif;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 24px;
  border: none;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  margin-bottom: 0;
  transition: background 0.16s, color 0.16s;
  min-width: 124px;
}
.cookie-banner .cookie-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: var(--cta-hover);
  color: #fff;
}
.cookie-banner .cookie-reject {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--muted-1);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--secondary);
  color: #fff;
}

/* === COOKIE CONSENT MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(34,43,51,.23);
  z-index: 1600;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInCookie 0.36s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 36px 20px 20px 20px;
  min-width: 0;
  max-width: 410px;
  box-shadow: 0 8px 32px rgba(34,43,51,0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popIn .28s cubic-bezier(.77,0,.18,1);
}
@keyframes popIn {
  from { transform: scale(.9); opacity:0; }
  to {transform: scale(1); opacity:1; }
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 4px;
  font-size: 1.17rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  font-size: 1.5rem;
  color: var(--primary);
  border-radius: 8px;
  transition: background 0.2s, color 0.13s;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .category-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal label {
  font-family: 'Open Sans', serif;
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal input[type=checkbox]{
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal .cookie-essential {
  opacity: 0.7;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', serif;
  font-weight: 600;
}
/* Modal action button styles can be reused from banner. */

/* === UTILITY CLASSES === */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.w-full { width: 100%; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .feature-grid > div,
  .service-cards > div, .service-list > div,
  .combo-card, .project-summary {
    max-width: 90vw;
    min-width: 225px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .feature-grid, .service-cards, .material-combos {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 24px 0 0 0;
  }
  .feature-grid, .service-cards, .service-list, .material-combos {
    flex-direction: column;
    gap: 16px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .testimonial-card {
    max-width: 97vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .step-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .cookie-banner {
    padding: 18px 4px 14px 4px;
    font-size: 0.94rem;
  }
  .cookie-modal {
    padding: 24px 6px 18px 6px;
    max-width: 95vw;
  }
}

/* === PRINT STYLES === */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* === END === */