/* -------------------------------
   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;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
}
body {
  min-height: 100vh;
  background: #F3F2ED;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #273966;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style-position: inside;
  margin-bottom: 16px;
}
a {
  color: #273966;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B57636;
  outline-offset: 2px;
}
strong {
  font-weight: 600;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border: none;
  background: none;
}
button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* -------------------------------
   BRAND FONTS
----------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #273966;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

p, ul, ol, li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.subheadline {
  color: #273966;
  opacity: 0.88;
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 400;
}

/* VISUAL UTILITIES */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Section Spacing */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    padding: 32px 8px;
    margin-bottom: 36px;
  }
}

/* HERO SECTION */
.hero {
  padding-top: 60px;
  padding-bottom: 60px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(100deg, #273966 0%, #B57636 100%);
  color: #fff;
  box-shadow: 0px 4px 16px rgba(39,57,102,0.05);
}
.hero h1, .hero h2, .hero p, .hero .subheadline {
  color: #fff;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 36px;
    padding-bottom: 40px;
  }
  .hero .content-wrapper {
    gap: 18px;
  }
}

/* Main Navigation */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(39,57,102,0.07);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 18px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.07rem;
  color: #273966;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #B57636;
  border-bottom: 2px solid #B57636;
}
.cta.primary {
  display: inline-block;
  background: linear-gradient(90deg, #B57636, #273966 110%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 22px;
  padding: 13px 34px;
  box-shadow: 0 5px 16px rgba(39,57,102,0.07);
  border: none;
  transition: background 0.22s, box-shadow 0.22s, transform 0.12s;
  margin-left: 20px;
  margin-right: 8px;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #273966 20%, #B57636 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 24px rgba(39,57,102,0.12);
}

/* Hamburger menu (hidden desktop) */
.mobile-menu-toggle {
  display: none;
  background: #273966;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border: none;
  margin-left: auto;
  transition: background 0.18s, opacity 0.18s;
  z-index: 230;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B57636;
  color: #fff;
}
@media (max-width: 1024px) {
  .main-nav,.cta.primary {
    display:none;
  }
  .mobile-menu-toggle {
    display:flex;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #F3F2ED;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100vw);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(0.59,0.25,0.42,1.05), opacity 0.22s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #273966;
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  margin: 26px 26px 0 0;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39,57,102,0.09);
  z-index: 5020;
  transition: background 0.16s, color 0.18s;
}
.mobile-menu-close:hover {
  background: #B57636;
}
.mobile-nav {
  margin-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 0 34px 0 26px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  color: #273966;
  border-left: 4px solid transparent;
  padding: 8px 0 8px 14px;
  width: 100%;
  transition: background 0.16s, border-left 0.18s, color 0.18s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #B57636;
  color: #fff;
  border-left: 4px solid #273966;
}
@media (min-width: 1025px) {
  .mobile-menu {
    display:none;
  }
}

/* Features Section & Grids */
.features, .services, .about-preview, .about, .team, .legal, .contact, .cta, .utility {
  margin-bottom: 60px;
}
.features-grid, .values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  width: 100%;
}
.features-grid > div, .values-grid > div {
  background: #fff;
  border-radius: 20px;
  padding: 30px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  box-shadow: 0px 3px 18px rgba(39,57,102,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.21s;
  position: relative;
  margin-bottom: 20px;
}
.features-grid > div:hover, .values-grid > div:hover {
  box-shadow: 0 12px 32px rgba(39,57,102,0.13);
  transform: translateY(-3px) scale(1.03);
}
.features-grid img, .values-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  object-fit: contain;
}
.features-grid h3,
.values-grid strong {
  margin-bottom: 8px;
  font-size: 1.23rem;
  color: #273966;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.features-grid p {
  color: #273966dd;
  font-size: 1rem;
  margin-bottom: 0px;
}

@media (max-width: 900px) {
  .features-grid > div, .values-grid > div {
    flex: 1 1 100%;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  .features-grid, .values-grid {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > div, .values-grid > div {
    margin-bottom: 16px;
    padding: 22px 14px;
  }
}

/* About, Services, Utility Section */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 6px;
}
.location-map {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: 0px 2px 12px rgba(39,57,102,0.07);
}
@media (max-width: 900px) {
  .contact-details {
    flex-direction: column;
    gap: 18px;
  }
}
.text-section img {
  width: 22px;
  vertical-align: middle;
  margin-right: 10px;
}

/* CTA Section */
.cta {
  background: linear-gradient(100deg, #B57636 0%, #273966 100%);
  border-radius: 18px;
  color: #fff;
  text-align: left;
  margin-bottom: 0 !important;
  box-shadow: 0px 4px 18px rgba(39,57,102,0.09);
}
.cta h2, .cta p {
  color: #fff;
}
.cta .cta.primary {
  background: #fff;
  color: #273966 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(181,118,54,0.13);
  margin-left: 0;
  margin-top: 18px;
}
.cta .cta.primary:hover, .cta .cta.primary:focus {
  background: #B57636;
  color: #fff !important;
}

/* Testimonials */
.testimonials {
  background: #F3F2ED;
  margin-bottom: 60px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(39,57,102,0.09);
  border-radius: 16px;
  padding: 20px 26px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 24px rgba(27,47,92,0.16);
  transform: translateY(-3px) scale(1.025);
}
.testimonial-card p {
  font-size: 1rem;
  color: #273966;
  margin-bottom: 2px;
  text-align: center;
  font-style: italic;
}
.testimonial-name {
  color: #B57636;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
@media (max-width: 900px) {
  .testimonial-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 18px 10px;
  }
}

/* Legal, Privacy */
.legal, .utility {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0px 4px 18px rgba(39,57,102,0.09);
}
.legal h1, .utility h1 {
  font-size: 2rem;
  color: #273966;
  margin-bottom: 16px;
}
.legal h2 {
  font-size: 1.28rem;
  color: #B57636;
  margin-top: 16px;
  margin-bottom: 7px;
}
.text-section a {
  color: #B57636;
  text-decoration: underline;
}
.text-section a:hover {
  color: #273966;
}
.confirmation-message {
  font-size: 1.13rem;
  color: #273966;
  margin-bottom: 12px;
}
.next-steps-cta {
  font-size: 1rem;
  opacity: 0.82;
}

/* Footer Styles */
footer {
  background: linear-gradient(90deg, #273966 0%, #B57636 100%);
  color: #fff;
  padding: 30px 0 0 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0px -4px 18px rgba(39,57,102,0.08);
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  opacity: 0.92;
  transition: color 0.14s, opacity 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #B57636;
  opacity: 1;
}
.brand-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #ffffff33;
  font-size: 1rem;
  color: #fff;
  opacity: 0.93;
}
.brand-footer img {
  width: 36px;
  height: 36px;
}

/* Responsive Footer */
@media (max-width:768px) {
  .footer-nav {
    gap: 18px;
    font-size: .93rem;
  }
  .brand-footer {
    flex-direction: column;
    gap: 6px;
    font-size: .92rem;
  }
}

/* ------ Mandatory Spacing for Content Cards & Grids ------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(39,57,102,0.08);
  background: #fff;
  transition: box-shadow 0.16s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(39,57,102,0.16);
  transform: translateY(-2px) scale(1.01);
}
.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;
}
@media (max-width: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

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

/* ------------ Buttons ------------ */
button, .btn, .cta.primary, .cookie-btn {
  border-radius: 22px;
  border: none;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.17s, color 0.13s, box-shadow 0.13s, transform 0.12s;
  cursor: pointer;
}
button:focus, .btn:focus, .cta.primary:focus, .cookie-btn:focus {
  outline: 2px solid #B57636;
}
.btn, .cookie-btn {
  background: #273966;
  color: #fff;
  margin-right: 13px;
  box-shadow: 0 2px 9px rgba(39,57,102,0.09);
}
.btn:hover, .cookie-btn:hover {
  background: #B57636;
}
.btn.secondary, .cookie-btn.secondary {
  background: #fff;
  color: #273966;
  box-shadow: 0 2px 9px rgba(39,57,102,0.08);
  border: 2px solid #273966;
}
.btn.secondary:hover, .cookie-btn.secondary:hover {
  background: #B57636;
  color: #fff;
  border-color: #B57636;
}

/* ------------ Cookie Consent Banner ------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fff;
  color: #273966;
  box-shadow: 0 -2px 20px rgba(39,57,102,0.09);
  width: 100%;
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1.01rem;
  border-radius: 18px 18px 0 0;
  animation: slideUp 0.6s ease;
  transition: transform 0.28s, opacity 0.18s;
  opacity: 1;
}
@keyframes slideUp {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  justify-content: center;
}
.cookie-btn {
  background: #273966;
  color: #fff;
  padding: 10px 26px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: background 0.17s, color 0.13s, box-shadow 0.13s;
  border-radius: 18px;
  margin-right: 8px;
  border: none;
}
.cookie-btn.secondary {
  background: #fff;
  color: #273966;
  border: 2px solid #273966;
}
.cookie-btn.secondary:hover {
  background: #B57636;
  color: #fff;
  border-color: #B57636;
}
.cookie-btn.settings {
  background: #B57636;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #273966;
  color: #fff;
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(39,57,102,.62);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.16s;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(39,57,102,0.16);
  width: 95%;
  max-width: 420px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: fadeIn 0.38s;
  transition: transform 0.18s, opacity 0.14s;
}
@keyframes fadeIn {
  0%{ opacity: 0; transform: scale(0.94) translateY(25px); }
  100%{ opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  color: #B57636;
  font-size: 1.23rem;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .category {
  margin-bottom: 12px;
}
.cookie-modal label {
  font-weight: 500;
  margin-left: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #B57636;
  height: 19px;
  width: 19px;
  border-radius: 3px;
  margin-right: 4px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  justify-content: flex-end;
}
/* Modal close button */
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 22px;
  background: #fff;
  color: #B57636;
  font-size: 1.8rem;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
  z-index: 12;
  padding: 0 8px;
}
.cookie-modal-close:hover {
  background: #B57636;
  color: #fff;
}

/* ------- Utilities ------- */
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
    max-width: 98vw;
  }
}
@media (max-width:600px) {
  .cookie-modal {
    padding: 18px 10px;
  }
}

::-webkit-scrollbar {
  width: 11px;
  background: #F3F2ED;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #27396633;
  border-radius: 7px;
}

/* ----------- Print Layer for Elements ----------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
