/* 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, menu, 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,
main, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F9F9F9;
  color: #2D3A3A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-display: swap;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
  border-radius: 14px;
}
a {
  color: #116466;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #D9843B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 20px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #116466;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 22px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }

/* Brand utility classes */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 rgba(34, 34, 34, 0.04);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(17,100,102,0.05);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 240px;
  flex: 1 0 260px;
}
.card:hover {
  box-shadow: 0 7px 32px 0 rgba(17,100,102,0.12);
  transform: translateY(-6px) scale(1.02);
}

.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;
  background: #FFEFE7;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(217,176,140,0.10);
  margin-bottom: 20px;
  color: #3B4141;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.5;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #9E5518;
  margin-left: auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(17,100,102,0.08);
  padding: 32px 26px 28px 26px;
  min-width: 220px;
  flex: 1 0 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(17,100,102,0.12);
  transform: translateY(-3px) scale(1.01);
}
.feature-item img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #F6F6F6;
  padding: 6px;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(17,100,102,0.05);
  position: sticky;
  top: 0; left: 0; z-index: 120;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo-link img {
  height: 40px;
  width: auto;
  border-radius: 0;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #116466;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 2px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #D9B08C22;
  color: #9E5518;
}

/* --- BUTTONS --- */
.btn-primary, .btn-tertiary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  padding: 12px 38px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: box-shadow 0.15s, background 0.2s, color 0.2s, transform 0.12s;
  box-shadow: 0 2px 12px 0 rgba(34,34,34,0.07);
}
.btn-primary {
  background: #116466;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: #0b484b;
  color: #FFD699;
  transform: translateY(-2px) scale(1.03);
}
.btn-tertiary {
  background: #D9B08C;
  color: #3B4141;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: #c39270;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* --- HERO SECTION --- */
.hero-section {
  background: #FEFCF3;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 44px rgba(245,190,138,0.13);
  padding: 54px 0 44px 0;
  margin-bottom: 50px;
}
.hero-section .content-wrapper {
  min-height: 260px;
  align-items: flex-start;
}
.hero-section h1 {
  color: #116466;
  margin-bottom: 18px;
}
.subheadline {
  font-size: 1.1rem;
  color: #884422;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* --- FEATURES SECTION --- */
.features-section {
  background: #fff;
  padding: 40px 0 30px 0;
  border-radius: 32px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  width: 100%;
}

/* --- SERVICES SECTION --- */
.services-preview-section, .services-section {
  background: #F7F3EF;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 50px 0 38px 0;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(17,100,102,0.07);
  padding: 30px 24px 22px 24px;
  width: 100%;
  max-width: 280px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 10px 32px 0 rgba(17,100,102,0.13);
  transform: translateY(-4px) scale(1.02);
}
.service-card h2, .service-card h3 {
  font-size: 1.2rem;
  color: #116466;
}
.service-card strong {
  color: #9E5518;
  font-size: 1.1rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  background: #FEFCF3;
  border-radius: 26px;
  padding: 46px 0 22px 0;
  margin-bottom: 54px;
}
.testimonials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  width: 100%;
}
.testimonial-card {
  min-width: 260px;
  flex: 1 0 280px;
  box-shadow: 0 3px 20px 0 rgba(217,176,140,0.10);
}

/* --- ABOUT SECTION --- */
.about-section, .team-section {
  background: #fff;
  border-radius: 28px;
  margin-bottom: 50px;
  padding: 38px 0 28px 0;
}
.brand-values {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}
.brand-values li {
  list-style-type: none;
  background: #D9B08C33;
  padding: 8px 24px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #9E5518;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
}

/* --- TEXT SECTIONS --- */
.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-size: 1.08rem;
}
.text-section ul {
  margin-top: 6px;
  margin-bottom: 6px;
}
.text-section li {
  margin-bottom: 6px;
  padding-left: 10px;
}

/* --- ARTICLE AND GUIDE LISTS --- */
.article-list, .guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 22px;
}
.article-list .text-section, .guide-list .text-section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(17,100,102,0.06);
  padding: 18px 20px;
  flex: 1 0 270px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.article-list .text-section:hover, .guide-list .text-section:hover {
  box-shadow: 0 7px 26px 0 rgba(17,100,102,0.10);
  transform: translateY(-4px) scale(1.01);
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: row;
  gap: 40px;
  margin: 18px 0 22px 0;
  flex-wrap: wrap;
  align-items: flex-start;
}
.contact-details dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: #116466;
  margin-top: 10px;
  font-size: 1.07em;
}
.contact-details dd {
  margin-left: 0;
  padding-left: 0;
  color: #3B4141;
  font-size: 0.97em;
}
.map-embed {
  background: #FAEFDF;
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 180px;
  color: #5B5142;
  font-size: 1em;
}

/* --- LEGAL SECTION --- */
.legal-section {
  background: #fff;
  border-radius: 28px;
  margin-bottom: 54px;
  padding: 38px 0 28px 0;
}
.legal-section ul {
  margin: 12px 0 16px 0;
}
.legal-section li {
  margin-bottom: 7px;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 3px solid #D9B08C33;
  box-shadow: 0 -2px 12px 0 rgba(17,100,102,0.03);
  margin-top: 60px;
  padding-top: 26px;
  padding-bottom: 14px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-menu a {
  color: #116466;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  opacity: 0.93;
}
.footer-menu a:hover {
  color: #9E5518;
}
.brand-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.brand-info img {
  height: 36px;
  margin-bottom: 6px;
  border-radius: 0;
}
.brand-info address {
  font-style: normal;
  color: #9E5518;
  font-weight: 500;
}
.brand-info p, .brand-info address {
  font-size: 0.99em;
}
.brand-info a {
  color: #116466;
  text-decoration: underline dotted;
}

/* --- THANK YOU / SUCCESS --- */
.success-section {
  background: #FEFCF3;
  border-radius: 26px;
  padding: 50px 0 36px 0;
  margin-bottom: 54px;
  display: flex;
  justify-content: center;
}
.confirmation-message {
  color: #9E5518;
  font-size: 1.07rem;
  margin: 20px 0 18px 0;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: #D9B08C;
  color: #116466;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 202;
  box-shadow: 0 2px 8px 0 rgba(217,176,140,0.14);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #c39270;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 252, 243, 0.97);
  box-shadow: 0 0 32px 0 rgba(217,176,140,0.18);
  z-index: 350;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.38s cubic-bezier(0.7,0,0.3,1);
  padding: 34px 22px 22px 22px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #fff;
  border: 2px solid #D9B08C;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  color: #9E5518;
  cursor: pointer;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px 0 rgba(217,176,140,0.14);
  transition: background 0.2s, color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D9B08C;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  color: #9E5518;
  font-weight: 600;
  padding: 12px 2px;
  text-align: left;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1164661A;
  color: #116466;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff8f2;
  border-top: 2px solid #D9B08C;
  box-shadow: 0 -2px 22px 0 rgba(217,176,140,0.13);
  z-index: 450;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 18px 18px 18px 22px;
  font-size: 1rem;
  color: #3B4141;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 22px 22px 0 0;
  animation: banner-slide-in 0.63s cubic-bezier(0.7,0,0.3,1) forwards;
}
@keyframes banner-slide-in {
  0% { transform: translateY(120px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-left: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  margin-right: 6px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  box-shadow: 0 1px 5px 0 rgba(17,100,102,0.05);
}
.cookie-banner .cookie-accept {
  background: #116466;
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #0b484b;
  color: #FFD699;
}
.cookie-banner .cookie-reject {
  background: #D9B08C;
  color: #3B4141;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #c39270;
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #9E5518;
  border: 1px solid #D9B08C;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #D9B08C33;
  color: #116466;
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,34,34,0.32);
  z-index: 460;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 44px 0 rgba(217,176,140,0.18);
  padding: 38px 24px 24px 24px;
  min-width: 330px;
  max-width: 95vw;
  color: #3B4141;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  animation: modal-pop-in 0.37s cubic-bezier(0.71,0,0.29,1) forwards;
}
@keyframes modal-pop-in {
  0% { transform: translateY(70px) scale(0.97); opacity: 0; }
  80% { transform: translateY(-8px) scale(1.01); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #116466;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: #D9B08C;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  box-shadow: 0 1px 8px 0 rgba(217,176,140,0.11);
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #c39270;
  color: #fff7e6;
}
.cookie-modal .cookie-category {
  margin-bottom: 16px;
  padding: 10px 0 8px 0;
  border-bottom: 1px solid #F7F3EF;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-size: 1em;
  color: #3B4141;
}
.cookie-modal input[type="checkbox"]:checked + .toggle {
  background: #116466;
}
.cookie-modal .toggle {
  width: 40px; height: 22px;
  background: #D9B08C77;
  border-radius: 12px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.19s;
  box-shadow: 0 2px 6px 0 rgba(17,100,102,0.07);
}
.cookie-modal input[type="checkbox"]:checked + .toggle:before {
  left: 21px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
  .container, footer .container, header .container {
    max-width: 98vw;
  }
  .footer-menu {
    gap: 12px;
  }
}
@media (max-width: 910px) {
  .feature-grid, .services-list, .testimonials-list, .card-container, .content-grid, .article-list, .guide-list {
    gap: 18px;
  }
  .footer-menu {
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand-info {
    gap: 7px;
  }
  footer .content-wrapper {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .content-wrapper {
    align-items: flex-start !important;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero-section, .features-section, .testimonials-section, .services-preview-section, .success-section, .about-section, .team-section, .services-section, .services-benefits-section, .legal-section {
    border-radius: 16px;
    padding: 30px 0 16px 0;
    margin-bottom: 36px;
  }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature-item {
    max-width: 100%;
  }
  .services-list, .article-list, .guide-list, .testimonials-list {
    flex-direction: column;
    gap: 14px;
  }
  .service-card, .article-list .text-section, .guide-list .text-section, .testimonial-card {
    max-width: 100%;
    min-width: 0;
  }
  .footer-menu {
    flex-direction: column;
    gap: 6px;
  }
  .brand-info {
    align-items: flex-start;
    gap: 5px;
  }
  .contact-details {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start !important;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    font-size: 0.97rem;
    gap: 18px;
    padding: 13px 7px 13px 9px;
  }
}
@media (max-width: 450px) {
  h1 { font-size: 1.38rem; margin-bottom: 12px; }
  h2 { font-size: 1.14rem; margin-bottom: 9px; }
  .btn-primary, .btn-tertiary { font-size: 0.97rem; padding: 10px 20px; }
  .footer-menu a { font-size: 0.94rem; }
  .mobile-nav a { font-size: 1rem; }
  .cookie-banner { font-size: 0.90rem; }
}

/* --- TRANSITIONS AND MICROINTERACTIONS --- */
button, a, .card, .service-card, .feature-item, .testimonial-card, .cookie-modal, .mobile-menu-toggle, .mobile-menu-close {
  transition-property: box-shadow, background, color, transform, opacity;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}
.btn-primary:active, .btn-tertiary:active, .cookie-banner button:active {
  filter: brightness(0.97);
}
:focus {
  outline: 2px solid #D9B08C;
  outline-offset: 2px;
}

/* --- CUSTOM SCROLLBAR --- */
body::-webkit-scrollbar {
  width: 11px;
  background: #F3F2EF;
  border-radius: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #D9B08C77;
  border-radius: 16px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #c3927099;
}
