/* ----------------------------------
  CSS RESET & BASE STYLES
---------------------------------- */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background: #FEF9F4;
  color: #2B2B2B;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
a {
  color: #1A3765;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #E09A30;
}
ul, ol {
  list-style: none;
}

/* ----------------------------------
  BRAND FONTS
---------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&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: #1A3765;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p, ul, ol, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #462B08;
}
strong {
  font-weight: 700;
  color: #1A3765;
}

/* ----------------------------------
  CONTAINERS & LAYOUT
---------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flexbox Utility Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 15px rgba(224,154,48,0.09), 0 1.5px 8px rgba(26,55,101,0.07);
  overflow: hidden;
  padding: 24px 28px 22px 28px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(224,154,48,.12), 0 1px 6px rgba(26,55,101,0.07);
  padding: 24px 22px 22px 22px;
  min-width: 230px; max-width: 380px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------------------------------
  HEADER & NAVIGATION
---------------------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 12px rgba(224,154,48,.07);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 20px;
}
.logo img {
  height: 44px;
  border-radius: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A3765;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #FDF2E7;
  color: #E09A30;
}
.btn-primary {
  background: #E09A30;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 21px;
  padding: 10px 30px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(224,154,48, .13);
  transition: background 0.14s, box-shadow 0.16s, transform 0.10s;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-left: 16px;
  outline: none;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #d47e09;
  box-shadow: 0 4px 12px rgba(224,154,48, .18);
  transform: translateY(-2px) scale(1.015);
}
.btn-secondary {
  background: #fff;
  color: #E09A30;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 21px;
  padding: 10px 30px;
  border: 2px solid #E09A30;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(224,154,48, .07);
  transition: background 0.17s, color 0.12s, border 0.12s;
  cursor: pointer;
  margin: 10px 0 0 0;
  text-align: center;
  text-decoration: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #E09A30;
  color: #fff;
  border-color: #E09A30;
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #E09A30;
  border-radius: 12px;
  height: 44px;
  width: 44px;
  margin-left: 16px;
  transition: background 0.16s;
  z-index: 201;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E09A30;
  outline-offset: 2px;
  background: #FDF2E7;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,242,223, 0.95);
  z-index: 202;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.57,.19,.43,1.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E09A30;
  font-size: 2.2rem;
  margin: 22px 0 0 22px;
  cursor: pointer;
  border-radius: 12px;
  align-self: flex-start;
  transition: background 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px solid #E09A30;
  background: #FDF2E7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 22px 0 22px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 14px 12px;
  color: #1A3765;
  background: none;
  border-radius: 13px;
  transition: background 0.16s;
  width: 100%;
  display: block;
  text-align: left;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E09A30;
  color: #fff;
}

/* Hide nav on mobile if burger shown */
@media (max-width: 992px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------------------
  HERO SECTION
---------------------------------- */
.hero {
  background: #FDF2E7;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 24px rgba(224,154,48, .17);
  padding: 40px 0 48px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: #1A3765;
  font-size: 2.4rem;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 16px;
}

/* ----------------------------------
  FEATURE/CARD LISTS
---------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(224,154,48, 0.09), 0 1.5px 8px rgba(26,55,101,0.06);
  padding: 24px 18px 20px 18px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.feature-grid li img {
  height: 32px;
  width: 32px;
  margin-bottom: 9px;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  box-shadow: 0 4px 18px rgba(224,154,48, 0.18), 0 2px 9px rgba(26,55,101,0.11);
  transform: translateY(-3px) scale(1.025);
}

.service-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 20px 0 24px 0;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 1.5px 10px rgba(224,154,48,.10), 0 1px 5px rgba(26,55,101,0.06);
  flex: 1 1 275px;
  min-width: 220px;
  max-width: 345px;
  padding: 28px 22px 23px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow 0.17s, transform 0.12s;
  border: 1px solid #F7E1C1;
  position: relative;
}
.service-card:hover {
  box-shadow: 0 6px 22px rgba(224,154,48,.25), 0 2px 12px rgba(26,55,101,0.10);
  transform: translateY(-3px) scale(1.017);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-list li {
  background: #fff;
  box-shadow: 0 1.5px 9px rgba(224,154,48,.09);
  border-radius: 14px;
  padding: 22px 22px 19px 22px;
  min-width: 220px;
  max-width: 360px; 
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border: 1px solid #F7E1C1;
}

.text-section {
  background: #fff7ed;
  border-radius: 13px;
  padding: 22px 20px 14px 20px;
  box-shadow: 0 1.5px 8px rgba(224,154,48,.07);
  margin-bottom: 20px;
}

/* ----------------------------------
  TESTIMONIALS & SLIDER
---------------------------------- */
.testimonials {
  background: #FFF7ED;
  border-radius: 20px;
  margin: 60px 0 0 0;
  padding: 40px 0 54px 0;
}
.testimonials h2 {
  text-align: center;
  color: #1A3765;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}
.testimonial-card p {
  color: #2B2B2B;
  font-family: 'Roboto', sans-serif;
  font-size: 1.08rem;
}
.testimonial-card strong {
  color: #E09A30;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

/* ----------------------------------
  CTA & FOOTER
---------------------------------- */
.start-cta,
.cta {
  background: #FFE7BE;
  border-radius: 18px;
  text-align: center;
  margin: 50px 0 0;
  padding: 36px 0 36px 0;
}
.start-cta h2, .cta h2 {
  color: #1A3765;
  font-size: 2rem;
  margin-bottom: 16px;
}

footer {
  background: #FDF2E7;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -3px 18px rgba(224,154,48,0.08);
  margin-top: 60px;
  padding: 38px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: center;
  margin: 8px 0 6px 0;
}
.footer-nav a {
  color: #1A3765;
  font-size: 1rem;
  border-radius: 12px;
  padding: 6px 10px;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #E09A30;
  background: #fff;
}
footer img {
  height: 38px;
  filter: brightness(0.96) contrast(1.07);
  border-radius: 10px;
}
footer span {
  display: block;
  color: #756858;
  font-size: 0.95rem;
  margin-top: 2px;
}

/* ----------------------------------
  CONTACT DETAILS
---------------------------------- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-details a {
  color: #E09A30;
  word-break: break-all;
  text-decoration: underline;
  font-weight: 500;
}

/* ----------------------------------
  COOKIES CONSENT BANNER
---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FFF7ED;
  box-shadow: 0 -2px 14px rgba(224,154,48,.18);
  border-top: 2px solid #E09A30;
  padding: 22px 16px 18px 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  animation: cookieSlideIn 0.62s cubic-bezier(.52,1.46,.44,1.12);
}
@keyframes cookieSlideIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #462B08;
  font-size: 1.03rem;
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 5px;
}
.cookie-btn {
  border: none;
  border-radius: 9px;
  padding: 8px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .14s, color .14s, box-shadow .18s;
  margin: 0 0 4px 0;
  outline: none;
}
.cookie-accept {
  background: #E09A30;
  color: #fff;
}
.cookie-accept:hover,
.cookie-accept:focus {
  background: #1A3765;
}
.cookie-reject {
  background: #E6E9ED;
  color: #1A3765;
}
.cookie-reject:hover,
.cookie-reject:focus {
  background: #E09A30;
  color: #fff;
}
.cookie-settings-btn {
  background: #1A3765;
  color: #fff;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: #E09A30;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.92);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 38px 0 rgba(26,55,101, 0.21);
  z-index: 4000;
  padding: 34px 26px 22px 26px;
  min-width: 295px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: all .27s cubic-bezier(.67,1.21,.51,1.02);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: #1A3765;
  margin-bottom: 6px;
  font-size: 1.28rem;
  font-family: 'Montserrat', sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.cookie-category input[type=checkbox]:disabled + label {
  color: #999;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 9px;
  justify-content: flex-end;
}

/* Modal overlay/backdrop */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,28,17, 0.19);
  z-index: 3990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.open ~ .cookie-modal-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ----------------------------------
  FORM & ACCESSIBILITY
---------------------------------- */
input, textarea, select {
  border: 1.5px solid #E6E9ED;
  border-radius: 8px;
  background: #fff;
  padding: 9px 13px;
  font-size: 1rem;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #E09A30;
  border-color: #E09A30;
  background: #FEF9F4;
}
label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-bottom: 5px;
  color: #1A3765;
  font-size: 1rem;
}

/* ----------------------------------
  SPACING & UTILITIES
---------------------------------- */
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }
.mt-5 { margin-top: 48px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }
.py-1 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-2 { padding-top: 16px !important; padding-bottom: 16px !important; }
.py-3 { padding-top: 24px !important; padding-bottom: 24px !important; }
.px-2 { padding-left: 16px !important; padding-right: 16px !important; }

/* ----------------------------------
  ANIMATION & MICRO-INTERACTION
---------------------------------- */
.card, .feature-grid li, .service-card, .service-list li, .testimonial-card, .cookie-banner,
.btn-primary, .btn-secondary, .mobile-menu, .cookie-modal {
  transition: box-shadow 0.18s, background 0.18s, transform 0.16s, opacity .19s;
}

/* ----------------------------------
  RESPONSIVE DESIGN (Mobile First)
---------------------------------- */
@media (max-width: 1280px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 760px; }
  .card, .service-card, .testimonial-card, .feature-grid li, .service-list li {
    min-width: 170px;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .feature-grid, .service-card-list, .service-list, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav { display: none; }
  .btn-primary, .btn-secondary {
    font-size: 1rem;
    padding: 10px 16px;
  }
  .footer-nav { gap: 10px; }
}
@media (max-width: 768px) {
  .container { max-width: 99vw; padding: 0 10px; }
  .section { margin-bottom: 32px; padding: 22px 10px; }
  .feature-grid, .service-card-list, .service-list, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper, .card-content {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .hero {
    border-radius: 0 0 19px 19px;
    padding: 32px 0 18px 0;
  }
  h1 { font-size: 1.6rem; margin-bottom: 14px; }
  h2 { font-size: 1.25rem; margin-bottom: 12px; }
  footer { border-radius: 17px 17px 0 0; padding: 29px 0 12px 0; }
}
@media (max-width: 500px) {
  .cookie-modal {
    min-width: 210px;
    padding: 19px 7px 16px 12px;
  }
}

/* ----------------------------------
  STYLE CONSISTENCY & OVERRIDES
---------------------------------- */
::-webkit-input-placeholder { color: #B5A18C; opacity: 1; }
::-moz-placeholder { color: #B5A18C; opacity: 1; }
:-ms-input-placeholder { color: #B5A18C; opacity: 1; }
::placeholder { color: #B5A18C; opacity: 1; }

/* ----------------------------------
  PRINT HIDE (for banner/nav etc)
---------------------------------- */
@media print {
  header, .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
  body { color: #222 !important; background: #fff !important; }
}
