/* ==========================================================================
   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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F6F3EF;
  color: #29313a;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  margin-left: 1.5em;
}
a {
  color: #425E56;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #CAB29F;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  outline: none;
  border-radius: 4px;
}
::selection {
  background: #CAB29F;
  color: #fff;
}

/* ==========================================================================
   Typography
   ==========================================================================
*/
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #425E56;
  font-weight: 700;
  margin-bottom: 28px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  color: #425E56;
  font-weight: 600;
  margin-bottom: 22px;
  margin-top: 0;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  color: #29313a;
  font-weight: 500;
  margin-bottom: 15px;
  margin-top: 0;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #29313a;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
blockquote {
  margin: 0;
  font-style: italic;
  color: #425E56;
}
strong, b {
  font-weight: 700;
  color: #425E56;
}

/* ==========================================================================
   Containers and Sections
   ==========================================================================
*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(66, 94, 86, 0.08);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================================
   Navigation Styles
   ==========================================================================
*/
header {
  background: #fff;
  border-bottom: 1px solid #E4E5E7;
  z-index: 10;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 20px;
}
.main-nav > a img {
  max-height: 48px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.main-nav ul li {
  position: relative;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #425E56;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 9px 18px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F6F3EF;
  color: #CAB29F;
}
.main-nav .cta-btn {
  background: #425E56;
  color: #fff !important;
  padding: 11px 24px;
  border-radius: 24px;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 6px rgba(42,48,54,.08);
  transition: background 0.18s, color 0.18s;
  border: none;
  outline: none;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #CAB29F;
  color: #425E56 !important;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: #425E56;
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #CAB29F;
}

/* Mobile menu styles */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(66,94,86,0.93);
  z-index: 200;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.46,.03,.52,.96);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 26px;
  margin-left: 24px;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.3rem;
  cursor: pointer;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 48px;
  margin-left: 36px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 8px 0;
  width: 100%;
  transition: color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CAB29F;
}
@media (max-width: 1100px) {
  .main-nav {
    max-width: 100vw;
    padding: 0 8px;
  }
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .main-nav .cta-btn {
    font-size: 0.96rem;
    padding: 8px 17px;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none;
  }
}
/* ==========================================================================
   Hero & Head Sections
   ==========================================================================
*/
section:first-child, .section.hero {
  background: #425E56;
  color: #fff;
  box-shadow: none;
  border-radius: 0 0 28px 28px;
  margin-bottom: 54px;
  min-height: 220px;
  padding-top: 60px;
  padding-bottom: 54px;
}
section:first-child h1, .section.hero h1 {
  color: #fff;
  font-size: 2.4rem;
}
section:first-child p,.section.hero p {
  color: #F6F3EF;
  font-size: 1.13rem;
}
section:first-child .cta-btn, .section.hero .cta-btn {
  margin-top: 24px;
  background: #CAB29F;
  color: #425E56 !important;
  border: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==========================================================================
   Card, Feature, Content Grid Layouts (Flex)
   ==========================================================================
*/
.feature-grid, .service-list, .blog-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  align-items: stretch;
}
.feature-grid > div, .service-list > div, .blog-teasers > article {
  background: #F6F3EF;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(66,94,86,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 22px 24px;
  min-width: 230px;
  flex: 1 1 260px;
  min-height: 180px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-grid > div:hover, .service-list > div:hover, .blog-teasers > article:hover {
  box-shadow: 0 6px 32px rgba(66,94,86,0.13);
  transform: translateY(-3px) scale(1.012);
}
.feature-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}
.service-list .price {
  font-weight: bold;
  color: #425E56;
  margin-top: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(66,94,86,.06);
  margin-bottom: 20px;
  padding: 32px;
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
}
.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;
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .blog-teasers, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .service-list > div, .blog-teasers > article, .card {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .section, .content-wrapper {
    padding: 28px 4vw;
    margin-bottom: 46px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   CTA Buttons & Links
   ==========================================================================
*/
.cta-btn,
.cta-link {
  background: #425E56;
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 24px;
  padding: 13px 30px;
  margin-top: 8px;
  display: inline-block;
  text-align: center;
  border: none;
  box-shadow: 0 2px 12px rgba(66,94,86,0.10);
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, transform 0.19s;
}
.cta-btn:hover, .cta-btn:focus, .cta-link:hover, .cta-link:focus {
  background: #CAB29F;
  color: #425E56 !important;
  transform: scale(1.035);
  box-shadow: 0 6px 20px rgba(202,178,159,0.17);
}
.cta-link {
  background: none;
  color: #425E56 !important;
  font-weight: 600;
  border-bottom: 2px solid #CAB29F;
  padding: 0 0 1px 0;
  margin-top: 28px;
  box-shadow: none;
  border-radius: 0;
}
.cta-link:hover, .cta-link:focus {
  background: #F6F3EF;
  color: #425E56 !important;
  border-bottom: 2px solid #425E56;
}

/* ==========================================================================
   Testimonial Cards
   ==========================================================================
*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1.5px 7px rgba(42,48,54,.10);
  margin-bottom: 20px;
  position: relative;
  font-size: 1.08rem;
  color: #29313a;
  max-width: 600px;
  transition: box-shadow 0.2s;
}
.testimonial-card blockquote {
  color: #425E56;
  font-size: 1.12rem;
}
.testimonial-card strong {
  color: #425E56;
  font-weight: 600;
  font-size: 1.08rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(66,94,86,0.13);
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    padding: 16px;
    gap: 11px;
    max-width: 100%;
  }
}

/* ==========================================================================
   Blog Teasers (on blog.html)
   ==========================================================================
*/
.blog-teasers article {
  display: flex;
  flex-direction: column;
  padding: 20px 18px 14px 18px;
  border-radius: 10px;
  background: #F6F3EF;
  box-shadow: 0 1.5px 7px rgba(66,94,86,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
}
.blog-teasers h3 {
  margin-bottom: 10px;
  color: #425E56;
}
.blog-teasers span {
  font-size: 0.98em;
  color: #CAB29F;
  margin-right: 10px;
  font-weight: 500;
}

/* ==========================================================================
   Footer Styles
   ==========================================================================
*/
footer {
  background: #425E56;
  color: #fff;
  font-size: 1rem;
  padding: 54px 0 0 0;
  margin-top: 80px;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -3px 32px rgba(42,48,54,0.08);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 36px;
  padding-bottom: 32px;
}
.footer-main > a img {
  max-height: 44px;
  margin-bottom: 13px;
}
.footer-main ul {
  list-style: none;
  display: flex;
  gap: 25px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-main ul li a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03em;
  font-weight: 400;
  border-bottom: 2px solid transparent;
  transition: border-bottom 0.19s, color 0.19s;
  padding: 2px 0;
}
.footer-main ul li a:hover, .footer-main ul li a:focus {
  color: #CAB29F;
  border-bottom: 2px solid #CAB29F;
}
address {
  font-style: normal;
  color: #F6F3EF;
  font-size: .98em;
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media (max-width: 1000px) {
  .footer-main {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
  .footer-main ul {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  footer {
    border-radius: 0;
    padding-top: 32px;
  }
  .footer-main {
    padding-bottom: 12px;
    gap: 13px;
  }
}

/* ==========================================================================
   Cookie Consent Banner and Modal
   ==========================================================================
*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #425E56;
  color: #fff;
  font-size: 1rem;
  z-index: 9000;
  padding: 22px 6vw 22px 6vw;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 -4px 32px rgba(66,94,86,0.13);
  width: 100vw;
  transition: transform 0.45s cubic-bezier(.46,.03,.52,.96);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  flex: 1 1 260px;
  font-size: 1rem;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 10px 22px;
  font-size: 1rem;
  background: #CAB29F;
  color: #425E56;
  border: none;
  border-radius: 16px;
  margin-right: 9px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, transform 0.19s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #425E56;
  transform: scale(1.06);
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #CAB29F;
  border: none;
  text-decoration: underline;
  font-weight: 500;
  padding: 9px 10px;
  border-radius: 7px;
  transition: color 0.18s, background 0.18s;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  color: #fff;
  background: #CAB29F;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 5vw;
    gap: 13px;
    font-size: 15px;
  }
  .cookie-banner .cookie-btn {
    margin-right: 0;
    margin-bottom: 7px;
  }
}

/* Cookie modal */
.cookie-modal-overlay {
  background: rgba(42,48,54,0.60);
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #29313a;
  border-radius: 22px;
  min-width: 330px;
  max-width: 90vw;
  padding: 38px 32px 30px 32px;
  box-shadow: 0 8px 60px rgba(66,94,86,0.20);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h3 {
  color: #425E56;
  font-weight: 600;
  margin-bottom: 17px;
  font-size: 1.32rem;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  background: #E4E5E7;
  width: 36px;
  height: 20px;
  border-radius: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-modal .cookie-toggle:checked {
  background: #CAB29F;
}
.cookie-modal .cookie-toggle:before {
  content: '';
  display: block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.20s;
}
.cookie-modal .cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn-row button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  border-radius: 14px;
  border: none;
  padding: 8px 22px;
  background: #CAB29F;
  color: #425E56;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.17s, color 0.16s, transform 0.17s;
}
.cookie-modal .cookie-btn-row button:hover, .cookie-modal .cookie-btn-row button:focus {
  background: #425E56;
  color: #fff;
  transform: scale(1.03);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px; right: 19px;
  background: none;
  color: #425E56;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.16s;
}
.cookie-modal .close-modal:hover {
  background: #F6F3EF;
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 216px;
    padding: 26px 8vw 20px 8vw;
  }
}

/* ==========================================================================
   Miscellaneous
   ==========================================================================
*/
hr {
  border: none;
  border-top: 1px solid #E4E5E7;
  margin: 32px 0;
}
label {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 5px;
}
input, textarea, select {
  border: 1px solid #E4E5E7;
  background: #fff;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  font-size: 1em;
  border-radius: 8px;
  transition: border-color 0.17s, background 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #CAB29F;
  background: #F6F3EF;
}
.button-row {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}

/* ==========================================================================
   Responsive tweaks
   ==========================================================================
*/
@media (max-width: 500px) {
  h1, .h1 {
    font-size: 1.45rem;
  }
  h2, .h2 {
    font-size: 1.18rem;
  }
  .section {
    padding: 11vw 2vw;
    margin-bottom: 30px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ==========================================================================
   Animations
   ==========================================================================
*/
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideUp {
  0% { transform: translateY(60px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.section, .card, .feature-grid > div, .testimonial-card, .cookie-modal, .cookie-banner {
  animation: fadeIn 0.5s ease-in;
}

/* =================== Utility =================== */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.mt-2 { margin-top: 18px; }

/* =================== Scrollbar styling =================== */
::-webkit-scrollbar { width: 12px; background: #E4E5E7; }
::-webkit-scrollbar-thumb { background: #CAB29F; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b09f8f; }
