/* ================== CSS RESET & NORMALIZER ================== */
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 {
  background: #F5F2EB;
  color: #30404D;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
a {
  color: #A37952;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #30404D;
  text-decoration: underline;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  color: #30404D;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
}

/* ===================== BASE TYPOGRAPHY ===================== */
h1,h2,h3,h4,h5,h6 {
  color: #30404D;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 700;
}
.subheadline {
  font-size: 1.15rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 22px;
  color: #30404D;
  font-weight: 500;
}
p {
  font-size: 1rem;
  color: #30404D;
  margin-bottom: 16px;
  line-height: 1.7;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #30404D;
  line-height: 1.6;
}
strong {
  font-weight: 700;
}

/* ================== LAYOUT FLEX CONTAINERS ================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(48,64,77,0.07);
  background: #FFFFFF;
  color: #1A232B;
  margin-bottom: 24px;
  min-height: 96px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================= FLEX CARDS & COMPONENTS ================== */
.product-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(48, 64, 77, 0.10);
  padding: 32px 24px 24px 24px;
  min-width: 240px;
  max-width: 280px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1), transform 0.2s cubic-bezier(.4,0,.2,1);
}
.product-card img {
  margin-bottom: 18px;
  height: 48px;
}
.product-card h3 {
  margin-bottom: 8px;
}
.product-card:hover, .product-card:focus-within {
  box-shadow: 0 8px 36px rgba(48, 64, 77, 0.14);
  transform: translateY(-4px) scale(1.04);
}

/* Features on homepage */
.feature-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
  padding: 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(48,64,77,0.06);
  padding: 26px 20px 18px 20px;
  min-width: 190px;
  max-width: 238px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-grid li img {
  height: 38px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 6px 24px rgba(163,121,82,0.14);
  transform: translateY(-3px) scale(1.03);
}

.services-list, .service-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
  padding: 0;
}
.services-list li, .service-list li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(48,64,77,0.06);
  padding: 26px 24px 18px 24px;
  min-width: 205px;
  max-width: 270px;
  flex: 1 1 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.services-list li:hover, .service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 8px 30px rgba(163,121,82,0.15);
  transform: translateY(-2px) scale(1.02);
}
.service-list li img {
  height: 38px;
  margin-bottom: 10px;
}
.service-price {
  margin-top: 10px;
  font-weight: 800;
  color: #A37952;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.team-member {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(48, 64, 77, 0.07);
  padding: 28px 22px 16px 22px;
  flex: 1 1 225px;
  min-width: 180px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.team-member h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.team-member span {
  color: #A37952;
  font-style: italic;
  display: block;
  margin-top: 8px;
}
.team-member:hover, .team-member:focus-within {
  box-shadow: 0 8px 36px rgba(48, 64, 77, 0.13);
  transform: translateY(-4px) scale(1.03);
}

.text-section {
  max-width: 760px;
}

.social-links, .footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.social-links a, .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(48, 64, 77, 0.09);
  width: 38px;
  height: 38px;
  transition: box-shadow 0.15s, background 0.15s;
}
.social-links a:hover, .footer-social a:hover {
  background: #F5F2EB;
  box-shadow: 0 7px 24px rgba(163,121,82,0.11);
}

.history-timeline {
  margin: 1em 0 1.5em 0;
  padding: 0;
  list-style: none;
}
.history-timeline li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 48px;
  font-size: 1rem;
  color: #30404D;
}
.history-timeline li span {
  background: #A37952;
  color: #fff;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 1rem;
  font-weight: 700;
  margin-right: 10px;
  position: absolute;
  left: 0;
  top: 0;
}

/* =================== CTA BUTTON =================== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #A37952;
  color: #fff!important;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 0.9em 2.1em;
  border-radius: 32px;
  min-width: 40px;
  min-height: 46px;
  box-shadow: 0 2px 12px rgba(48,64,77,0.11);
  transition: background 0.16s, box-shadow 0.18s, transform 0.13s;
  letter-spacing: 0.02em;
  border: none;
}
.cta-button:hover, .cta-button:focus {
  background: #30404D;
  color: #fff!important;
  box-shadow: 0 7px 20px rgba(163,121,82,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* =================== HEADER / NAVIGATION =================== */
header {
  background: #fff;
  border-bottom: 4px solid #A37952;
  position: relative;
  z-index: 60;
}
.nav-wrapper {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 0 20px;
  min-height: 84px;
}
.nav-wrapper > a img {
  height: 46px;
  min-width: 120px;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 12px;
}
nav a {
  color: #30404D;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 8px 0;
  position: relative;
  border-radius: 4px;
  transition: color 0.17s, background 0.17s;
}
nav a:hover, nav a:focus {
  color: #A37952;
  background: #F5F2EB;
}
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: #A37952;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  border: none;
  z-index: 110;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #30404D;
}

/* =============== MOBILE MENU OVERLAY & SLIDER =============== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(48,64,77,0.93);
  z-index: 1200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  display: flex;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.28s cubic-bezier(.4,0,.2,1);
}
.mobile-menu nav {
  flex-direction: column;
  gap: 0;
  margin: 0 0 0 0;
  padding: 24px 10px 0 34px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 1.18rem;
  color: #fff;
  padding: 18px 0;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.008em;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A37952;
  color: #fff;
}
.mobile-menu-close {
  margin: 22px 34px 0 0;
  background: #A37952;
  color: #fff;
  font-size: 2.4rem;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.19s;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #30404D;
}

/* =============== RESPONSIVE BREAKPOINTS =============== */
@media (max-width: 1120px) {
  .container, .nav-wrapper {
    max-width: 98vw;
  }
}
@media (max-width: 992px) {
  .nav-wrapper {
    gap: 15px;
    min-height: 72px;
  }
  section {
    padding: 36px 6vw;
  }
  .feature-grid, .services-list, .service-list, .product-cards, .team-list {
    gap: 21px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.38rem;
  }
  .nav-wrapper nav,
  .nav-wrapper .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
    pointer-events: none;
    opacity: 0;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    justify-content: flex-start;
    align-items: flex-end;
    background: rgba(48,64,77,0.97);
    z-index: 1200;
    flex-direction: column;
    transition: opacity 0.2s cubic-bezier(.4,0,.2,1); 
  }
  .mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
  }
  .mobile-menu nav {
    padding: 24px 12px 0 18px;
  }
  .mobile-menu-close {
    margin: 22px 12px 0 0;
  }
  .container, .content-wrapper {
    max-width: 100vw;
    padding: 0;
  }
  .feature-grid,
  .services-list,
  .service-list,
  .product-cards,
  .team-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .product-card, .feature-grid li, .services-list li, .service-list li, .team-member {
    min-width: 0;
    max-width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 8px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-social {
    margin: 18px 0 0 0;
  }
}
@media (max-width: 480px) {
  section {
    padding: 24px 4vw;
  }
  h1 {
    font-size: 1.43rem;
  }
  h2 {
    font-size: 1.03rem;
  }
  .card, .product-card, .feature-grid li, .services-list li, .team-member, .testimonial-card {
    padding: 18px 10px 13px 10px;
  }
}

/* =============== FILTER BAR =============== */
.filter-search {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0 2px 0;
  font-family: 'Montserrat', sans-serif;
}
.filter-search label {
  font-weight: 700;
}
.filter-search select {
  min-width: 136px;
  padding: 5px 16px;
  border-radius: 16px;
  border: 1.5px solid #A37952;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #30404D;
  transition: border 0.13s;
}
.filter-search select:focus {
  outline: none;
  border-color: #30404D;
}

/* =============== TESTIMONIALS =============== */
.testimonial-card p {
  color: #1A232B;
  font-size: 1.08rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin: 0 0 2px 0;
}
.testimonial-meta {
  margin-left: 12px;
  font-size: 0.98rem;
  color: #A37952;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}
@media (max-width: 768px) {
  .testimonial-meta {
    margin-left: 0;
  }
}

/* =============== FOOTER =============== */
footer {
  background: #30404D;
  color: #fff;
  padding: 56px 0 18px 0;
  border-top: 4px solid #A37952;
}
.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  gap: 15px;
}
.footer-brand img {
  height: 45px;
}
.footer-brand p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}
.footer-nav a {
  color: #fff;
  font-size: 1.01rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 2px;
  transition: color 0.13s, background 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #A37952;
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #F5F2EB;
  min-width: 170px;
}
.footer-contact a {
  color: #A37952;
}
.footer-contact a:hover {
  color: #fff;
}
.footer-social {
  margin-top: 8px;
}
@media (max-width: 992px) {
  footer .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
  }
  .footer-brand {
    margin-bottom: 6px;
  }
}

/* ================ COOKIE CONSENT BANNER ================ */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: #30404D;
  font-size: 1rem;
  z-index: 12000;
  padding: 20px 4vw 20px 4vw;
  box-shadow: 0 -4px 30px rgba(48,64,77,0.15);
  border-top: 4px solid #A37952;
  animation: cookieBannerFadeIn 1s ease;
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-text {
  flex: 1;
  margin-right: 14px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner button, .cookie-banner a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.01rem;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  min-width: 42px;
  min-height: 40px;
  margin: 0;
  box-shadow: 0 1px 7px rgba(48,64,77,0.10);
  background: #A37952;
  color: #fff;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
}
.cookie-banner button.cookie-reject {
  background: #E3E1DB;
  color: #30404D;
}
.cookie-banner button.cookie-settings {
  background: #F5F2EB;
  color: #A37952;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #30404D;
  color: #fff;
  box-shadow: 0 5px 15px rgba(163,121,82,0.14);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 2vw 20px 2vw;
    gap: 12px;
  }
  .cookie-banner-buttons {
    gap: 10px;
  }
  .cookie-banner .cookie-banner-text {
    margin-right: 0;
  }
}

/* =========== COOKIE MODAL / POPUP =========== */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 13001;
  background: rgba(48,64,77,0.70);
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  animation: cookieModalFadeIn 0.32s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 470px;
  width: 100%;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 4px 38px rgba(48,64,77,0.18);
  font-family: 'Montserrat', sans-serif;
  color: #30404D;
  animation: cookieModalPop 0.28s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 14001;
}
@keyframes cookieModalPop {
  from { opacity: 0; transform: scale(0.95) translateY(48px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 4px;
  font-size: 1.05rem;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #A37952;
}
.cookie-category .required {
  background: #A37952;
  color: #fff;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 3px 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 4px;
}
.cookie-modal button {
  border-radius: 22px;
  padding: 9px 22px;
  min-width: 40px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.01rem;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #A37952;
  color: #fff;
  border-radius: 14px;
  padding: 0 10px;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.14s;
  z-index: 2;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #30404D;
}
@media (max-width: 520px) {
  .cookie-modal {
    max-width: 95vw;
    padding: 18px 5vw 13px 5vw;
    border-radius: 12px;
  }
}

/* ===================== FINE TUNING SPACING ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.content-grid,
.feature-grid,
.services-list,
.service-list,
.product-cards,
.team-list {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  margin-bottom: 24px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* ==================== MISC & UTILITY ==================== */
::-webkit-scrollbar {
  width: 10px;
  background: #E3E1DB;
}
::-webkit-scrollbar-thumb {
  background: #A37952;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #30404D;
}

[hidden] {
  display: none !important;
}

/* ================== END OF CSS ================== */
