/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F7FA;
  color: #283D51;
  min-height: 100vh;
  line-height: 1.5;
}
img, svg {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  padding-left: 1.2em;
}
hr {
  border: none;
  border-top: 1px solid #DBB98E;
  margin: 32px 0;
}

/* --- VARIABLES & BASE TYPOGRAPHY --- */
:root {
  --primary: #283D51;
  --secondary: #DBB98E;
  --accent: #F4F7FA;
  --white: #fff;
  --shadow: 0 4px 16px rgba(40,61,81,0.07);
  --border-radius: 12px;
  --gap: 20px;
  --gap-lg: 30px;
  --heading-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
  --font-xs: 0.875rem;
  --font-sm: 1rem;
  --font-md: 1.125rem;
  --font-lg: 1.5rem;
  --font-xl: 2rem;
  --font-xxl: 3rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: var(--font-xxl);
  line-height: 1.15;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
h2 {
  font-size: var(--font-xl);
  line-height: 1.2;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: var(--font-lg);
  line-height: 1.2;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: var(--font-md);
  margin-bottom: 8px;
}
p, li, .main-nav a, .mobile-nav a {
  font-family: var(--body-font);
  font-size: var(--font-sm);
  color: #283D51;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 16px;
  font-size: var(--font-sm);
}

strong, b {
  font-weight: 700;
}

/* --- STRUCTURE & GEOMETRIC LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* homepage features grids, blog teasers, testimonials, cards, etc.
   EMBODIES: geometric_structured with flex-gaps, angularity, clear alignment */
.feature-grid, .testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-grid > div, .testimonial-grid > .testimonial-card {
  background: var(--white);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 18px 24px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.18s;
}
.feature-grid > div:hover, .testimonial-grid > .testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(40,61,81,0.10);
  transform: translateY(-3px) scale(1.03);
}

.project-card {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 24px 18px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
}
.project-card h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: var(--font-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border: 2px solid var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px;
  flex: 1 1 260px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  background: var(--white);
  border-radius: var(--border-radius);
  border: 2px solid var(--secondary);
  margin-bottom: 20px;
  min-width: 260px;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(40,61,81,0.10);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.1rem;
}
.testimonial-card strong {
  font-family: var(--heading-font);
  color: var(--primary);
}
.testimonial-card div {
  color: #333;
  font-size: var(--font-sm);
  margin-top: -10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.cta-banner {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-banner h2, .cta-banner p {
  color: var(--white);
}

/* --- BUTTONS & LINKS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(40,61,81,0.10);
  padding: 14px 38px;
  margin-top: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.25s, transform 0.15s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 20px rgba(40,61,81,0.13);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 11px 28px;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: 12px;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}

a {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s, border-bottom 0.23s;
}
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--white);
  border-bottom: 2.5px solid var(--secondary);
  box-shadow: 0 2px 6px rgba(40,61,81,0.04);
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header img {
  height: 54px;
  min-width: 110px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-size: 1.08rem;
  padding-bottom: 3px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 3px solid var(--secondary);
}

header .btn-primary {
  margin-left: 30px;
}

/* Burger menu button */
.mobile-menu-toggle {
  display: flex;
  position: absolute;
  right: 20px;
  top: 22px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 1px 8px rgba(40,61,81,0.09);
  z-index: 1202;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--white);
}

/* Burger off by default desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 0 0 32px rgba(40,61,81,0.13);
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.85,.02,.17,1.01);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.29s cubic-bezier(.67,.1,.42,1.0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  font-size: 2rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  margin-left: 32px;
}
.mobile-nav a {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  color: var(--primary);
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.18s, border-color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 3px solid var(--secondary);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 40px 0 15px 0;
  border-top: 4px solid var(--secondary);
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact, .footer-legal {
  font-size: 0.97rem;
  opacity: 0.85;
}
.footer-contact p, .footer-contact a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.footer-contact a {
  text-decoration: underline;
}
.footer-legal {
  margin-top: 12px;
}
footer img {
  height: 48px;
  margin-bottom: 20px;
}

/* --- BLOG TEASERS --- */
.blog-teaser {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  padding: 22px 20px 18px 24px;
  transition: border-color 0.18s, box-shadow 0.20s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.blog-teaser h3 {
  color: var(--secondary);
  font-size: 1.23rem;
  margin-bottom: 7px;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.9px;
}
.blog-teaser a {
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  font-family: var(--heading-font);
}
.blog-teaser:hover, .blog-teaser:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px rgba(40,61,81,0.10);
  transform: translateY(-1px) scale(1.03);
}

.categories-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.categories-filter span {
  color: var(--primary);
  font-weight: 600;
}
.categories-filter a {
  background: var(--secondary);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 0;
  font-size: 0.93rem;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.16s, color 0.16s;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: var(--primary);
  color: var(--white);
}

/* --- LISTS WITH ICONS --- */
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.2em;
}
ul li img, ol li img {
  height: 22px;
  width: 22px;
  margin-right: 11px;
  vertical-align: middle;
  display: inline-block;
}

/* --- FAQ / DL Styling --- */
dl {
  margin-bottom: 16px;
}
dt {
  font-family: var(--heading-font);
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 14px;
}
dd {
  margin-left: 16px;
  font-size: 1rem;
  color: #444;
  margin-bottom: 6px;
}

/* --- OL (Process) with ICONS --- */
ol li {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- SPACING: CONTENT WRAPPER IN SECTIONS --- */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
section .container {
  padding-left: 0;
  padding-right: 0;
}

/* --- GEOMETRIC DECORATIVE STYLE --- */
.feature-grid > div, .testimonial-grid > .testimonial-card, .project-card, .blog-teaser {
  /* Use subtle angular geom. accent */
  clip-path: polygon(0 0, 100% 0, 100% 92%, 97% 100%, 0 100%);
}
.cta-banner {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px;
  box-shadow: 0 -2px 12px rgba(40,61,81,0.18);
  font-size: 1rem;
  gap: 22px;
}
.cookie-banner__text {
  flex: 1 1 0;
  margin-right: 24px;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.22s;
  box-shadow: 0 1px 4px rgba(40,61,81,0.09);
}
.cookie-banner__btn:hover, .cookie-banner__btn:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(40,61,81,0.13);
}
.cookie-banner__btn--settings {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-banner__btn--settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(40,61,81, 0.78);
  z-index: 2300;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal__content {
  background: var(--white);
  color: var(--primary);
  border-radius: var(--border-radius);
  min-width: 320px;
  max-width: 95vw;
  min-height: 140px;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 6px 28px rgba(40,61,81, 0.23);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  font-size: 1rem;
}
.cookie-modal__header {
  font-family: var(--heading-font);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.cookie-modal__category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal__category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-modal__category .always {
  font-size: 0.92rem;
  font-style: italic;
  color: #888;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: var(--primary);
  color: var(--white);
}
/* --- Animations --- */
@keyframes slideInRight {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(0); }
}
@keyframes slideOutRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(100vw); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- MEDIA QUERIES (MOBILE-FIRST) --- */
@media (max-width: 950px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .main-nav {
    gap: 15px;
  }
  .card-container, .content-grid, .feature-grid, .testimonial-grid, .footer .container {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    display: none;
  }
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .feature-grid, .testimonial-grid {
    flex-direction: column;
  }
  .project-card, .feature-grid > div, .testimonial-grid > .testimonial-card, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 18px 12px 15px 18px;
  }
  .cta-banner {
    padding: 24px 10px;
    font-size: 1.05rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 16px;
  }
  .mobile-menu {
    padding-top: 28px;
  }
}

@media (max-width: 540px) {
  .footer-links, .footer-contact, .footer-legal {
    font-size: 0.95rem;
  }
  section {
    padding: 24px 0;
  }
  .section {
    padding: 22px 5px;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 7px;
  }
  .blog-teaser, .project-card {
    padding: 11px 7px 9px 10px;
  }
}

/* --- FOCUS STATE for Accessibility --- */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-banner__btn:focus, .mobile-menu-close:focus, .cookie-modal__close:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

/* --- UTILITY CLASSES for ALIGNMENTS / SPACING --- */
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* --- END OF STYLE.CSS for decolsuper.center --- */
