/* ================== 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, 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F9F6F1;
  color: #181818;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

/* ================== BRAND COLORS & TYPOGRAPHY ================== */
:root {
  --brand-primary: #233245;
  --brand-secondary: #B3A77B;
  --brand-accent: #F9F6F1;
  --monochrome-black: #181818;
  --monochrome-white: #fff;
  --monochrome-gray-1: #E6E6E6;
  --monochrome-gray-2: #CCCCCC;
  --monochrome-gray-3: #888888;
  --shadow-card: 0 4px 28px 0px rgba(30,32,36,0.11), 0 1.5px 5px 0px rgba(40,42,46,0.15);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--monochrome-black);
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; line-height: 1.12; letter-spacing: -1px; margin-bottom: 28px; }
h2 { font-size: 2rem; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 24px; }
h3 { font-size: 1.35rem; line-height: 1.18; margin-bottom: 12px; font-weight: 600; }
h4 { font-size: 1.125rem; }

p, ul, ol, li {
  font-size: 1rem;
  color: var(--monochrome-black);
  font-family: inherit;
  margin-bottom: 12px;
}
p:empty { display: none; }
strong { font-weight: 700; }

/* ================== LAYOUT CONTAINERS ================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================== HEADER, NAVIGATION, LOGO ================== */
header {
  background: var(--monochrome-white);
  box-shadow: 0 2px 14px 0 rgba(10,10,10,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 28px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--monochrome-black);
  letter-spacing: 0.12em;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.18s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-primary);
  border-color: var(--brand-secondary);
}

.cta.primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--brand-primary);
  color: var(--monochrome-white);
  padding: 13px 32px;
  border-radius: 42px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(30,32,36,0.09);
  margin-left: 12px;
  transition: background 0.23s, box-shadow 0.23s, color 0.16s;
  display: inline-block;
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}

/* ================== MOBILE MENU BURGER ================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  display: none;
  cursor: pointer;
  transition: color 0.23s;
  padding: 4px 12px;
  z-index: 1201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--brand-secondary);
}

@media (max-width: 900px) {
  .main-nav, .cta.primary {
    display: none!important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ================== MOBILE MENU PANEL ================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-accent);
  box-shadow: -4px 0 22px rgba(35,50,69,0.08);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.55,0,0.1,1);
  z-index: 1202;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  align-self: flex-end;
  margin-top: 16px;
  margin-right: 25px;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1203;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 48px 0 0 0;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--brand-primary);
  padding: 8px 0;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  width: 95%;
  outline: none;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: var(--brand-secondary);
  border-bottom: 2px solid var(--brand-secondary);
}

/* ================== HERO SECTION ================== */
.hero {
  background: linear-gradient(120deg, var(--brand-accent) 83%, #e6e6e7 100%);
  padding: 64px 0 48px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: var(--brand-primary);
}
.hero p {
  color: var(--monochrome-black);
  font-size: 1.25rem;
  max-width: 700px;
  opacity: 0.93;
}
.hero .cta.primary {
  margin-top: 24px;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  padding: 15px 40px;
}

/* ================== SECTIONS ================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section:last-child { margin-bottom: 0; }

.cta-section {
  background: var(--monochrome-white);
  box-shadow: 0 8px 40px 0 rgba(30,32,36,0.04);
  border-radius: 18px;
  margin-bottom: 56px;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  text-align: center;
}
.cta-section .cta.primary {
  font-size: 1.08rem;
  padding: 13px 36px;
  margin-bottom: 12px;
}
.contact-snippet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
}

/* ================== FEATURE & SERVICE LISTS ================== */
.feature-list, .services-list, .design-ideas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-list li, .services-list li, .design-ideas-list li {
  background: var(--monochrome-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 32px 26px 28px 26px;
  flex: 1 1 255px;
  min-width: 240px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--monochrome-gray-1);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.feature-list li:hover, .services-list li:hover, .design-ideas-list li:hover {
  box-shadow: 0 8px 28px 0 rgba(35,50,69,0.17);
  border-color: var(--brand-secondary);
  transform: translateY(-6px) scale(1.015);
}
.feature-list img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* ================== PROJECT SUMMARIES & HIGHLIGHTS ================== */
.project-summary {
  background: var(--monochrome-white);
  box-shadow: var(--shadow-card);
  border-radius: 14px;
  border: 1px solid var(--monochrome-gray-1);
  padding: 24px 28px 18px 28px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.project-highlights, .material-examples, .color-schemes, .trends-overview, .usp {
  background: var(--monochrome-accent, #f9f6f1);
  border-radius: 14px;
  padding: 20px 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-left: 5px solid var(--brand-secondary);
  box-shadow: 0 3px 14px 0 rgba(30,32,36,0.07);
}
.usp ul, .project-highlights ul, .material-examples ul, .color-schemes ul, .trends-overview ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ================== TESTIMONIALS ================== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
  margin-bottom: 6px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 18px;
  background: var(--monochrome-white);
  padding: 28px 34px 22px 34px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 440px;
  box-shadow: 0 4px 25px rgba(40,42,46,0.10);
  border: 1px solid var(--brand-secondary);
  transition: box-shadow 0.16s, border-color 0.21s;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--brand-primary);
  line-height: 1.55;
  margin-bottom: 11px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--monochrome-gray-3);
}
.testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(35, 50, 69, 0.21);
  border-color: var(--brand-primary);
}

/* ================== CARDS, CARD CONTAINERS & GRIDS ================== */
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--monochrome-white);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  flex: 1 1 250px;
  max-width: 370px;
  border: 1px solid var(--monochrome-gray-1);
  transition: box-shadow 0.19s, border-color 0.24s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(35, 50, 69, 0.14);
  border-color: var(--brand-secondary);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

/* ================== FLEX-BASED SECTION PATTERNS ================== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================== CONTACT INFO, MAP PLACEHOLDER ================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--brand-accent);
  border-radius: 12px;
  padding: 16px 32px;
  margin-top: 14px;
  box-shadow: 0 2px 24px 0 rgba(35, 50, 69, 0.06);
  border: 1px solid var(--monochrome-gray-1);
}

/* ================== FOOTER ================== */
footer {
  background: var(--brand-primary);
  padding: 24px 0 12px 0;
  color: var(--brand-accent);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.footer-nav a {
  color: var(--brand-accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-secondary);
}
footer p {
  color: var(--brand-accent);
  font-size: 0.95rem;
  opacity: 0.88;
}

/* ================== BUTTON STYLES & INTERACTIONS ================== */
button, .cta.primary, .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 33px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.22s, color 0.17s, box-shadow 0.21s;
}
.cta {
  font-size: 1rem;
  font-weight: 600;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  padding: 12px 28px;
  margin-top: 12px;
  box-shadow: 0 2px 8px 0 rgba(119,119,119,0.08);
}
.cta:hover, .cta:focus {
  background: var(--brand-primary);
  color: var(--monochrome-white);
}

/* ================== GENERAL TYPOGRAPHY ENHANCEMENTS ================== */
blockquote {
  border-left: 5px solid var(--brand-secondary);
  margin: 18px 0;
  padding: 14px 22px;
  background: #f5f5f5;
  font-style: italic;
  color: var(--brand-primary);
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--monochrome-white);
  color: var(--brand-primary);
  box-shadow: 0 -3px 17px 0 rgba(35,50,69,0.13);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 22px 32px 20px 32px;
  z-index: 1800;
  transition: transform 0.42s cubic-bezier(0.7,0,0.18,1), opacity 0.32s;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-text {
  font-size: 1.02rem;
  max-width: 540px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.97rem;
  padding: 10px 28px;
  border-radius: 32px;
  margin-left: 10px;
  margin-right: 10px;
  border: none;
  box-shadow: 0 1px 5px 0 rgba(195,195,195,0.06);
  cursor: pointer;
  transition: background 0.19s, color 0.13s, box-shadow 0.17s;
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: var(--monochrome-white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.reject {
  background: var(--monochrome-gray-1);
  color: var(--brand-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--monochrome-gray-2);
}
.cookie-btn.settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-primary);
  color: var(--brand-accent);
}

/* ================== COOKIE MODAL ================== */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,50,69,0.34);
  z-index: 1850;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: var(--monochrome-white);
  border-radius: 22px;
  padding: 38px 34px;
  max-width: 420px;
  width: 96%;
  box-shadow: 0 8px 46px 0 rgba(40,42,46,0.16);
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.cookie-modal-content h3 {
  font-size: 1.32rem;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--brand-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-secondary);
  width: 20px; height: 20px;
}
.cookie-category .essential {
  color: var(--brand-gray-3);
  font-style: italic;
  opacity: 0.73;
  font-size: 0.98rem;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 10px;
}

/* ================== MODALS & OVERLAYS GENERIC ================== */
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 8vw 23px 8vw;
    gap: 18px;
  }
  .cookie-btn {
    margin: 5px 0 0 0;
    width: 100%;
  }
  .cookie-modal-content {
    padding: 22px 6vw;
  }
}

/* ================== RESPONSIVE LAYOUTS (MOBILE FIRST) ================== */
@media (max-width: 1200px) {
  section, .section {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 900px) {
  .feature-list, .services-list, .design-ideas-list {
    gap: 18px;
  }
  .card-container, .card-grid, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .main-nav, .footer-nav {
    gap: 14px;
  }
  .container {
    max-width: 98vw;
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero {
    padding: 46px 0 28px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.24rem; }
  .feature-list li, .services-list li, .design-ideas-list li {
    padding: 18px 13px 16px 13px;
    min-width: 140px;
    max-width: 100%;
    font-size: 1rem;
  }
  .card {
    padding: 16px 10px;
    min-width: unset;
    max-width: 100%;
  }
  .project-summary, .testimonial-card {
    padding: 17px 8px 17px 16px;
    min-width: unset;
    max-width: 100%;
  }
  .map-placeholder {
    flex-direction: column;
    padding: 12px 10px;
    gap: 14px;
  }
  .cta-section, section {
    padding: 22px 0 22px 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .feature-list, .services-list, .design-ideas-list, .testimonials {
    flex-direction: column;
    gap: 11px;
  }
  .card-container, .card-grid {
    flex-direction: column;
    gap: 9px;
  }
  .testimonial-card {
    padding: 13px 7px 13px 11px;
  }
}

/* ================== FORMS (future extensibility) ================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 9px;
  padding: 10px 15px;
  border: 1px solid var(--monochrome-gray-1);
  margin-bottom: 18px;
  transition: border-color 0.2s, box-shadow 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-primary);
  outline: 2px solid var(--brand-secondary);
}

/* ================== UTILITY CLASSES ================== */
.hide-desktop { display: none !important; }
@media (max-width: 900px) {
  .hide-desktop { display: block !important; }
  .hide-mobile { display: none !important; }
}
.text-center { text-align: center !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-40 { margin-top: 40px !important; }
.mb-40 { margin-bottom: 40px !important; }

/* ================== MICRO-INTERACTIONS & ANIMATIONS ================== */
.cta.primary, .cta {
  transition: background 0.22s, color 0.13s, box-shadow 0.2s, transform 0.14s;
}
.cta.primary:active, .cta:active {
  transform: scale(0.96);
}
.card, .testimonial-card, .feature-list li, .services-list li {
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.card:hover, .testimonial-card:hover, .feature-list li:hover, .services-list li:hover {
  transform: translateY(-4px) scale(1.016);
}
/* Subtle fade-in on section */
section, .section {
  opacity: 0;
  animation: fadeInSection 0.5s ease 0.1s forwards;
}
@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ================== MONOCHROME SOPHISTICATED OVERLAYS ================== */
hr {
  border: none;
  border-top: 1.5px solid var(--monochrome-gray-2);
  margin: 36px 0;
}

/* ================== FOCUS STATES FOR ACCESSIBILITY ================== */
a, button, .cta {
  outline: none;
}
a:focus, .cta:focus, button:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 3px;
}

/* ================== PRINT STYLES (SIMPLE) ================== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
  main, .container { margin: 0; padding: 0; max-width: 100vw; }
}
