/* RESET & BASE ============================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #2d2d2d;
  background: #FFF;
  line-height: 1.6;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #406882;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #E3A380;
  outline: none;
}
ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1A374D;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #406882;
}

p {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: #AE3B0E;
}

/* COLOR VARIABLES for fallback support */
:root {
  --primary: #1A374D;
  --secondary: #406882;
  --accent: #F2F2F2;
  --highlight: #E3A380;
  --soft-yellow: #FFF9E6;
  --soft-orange: #FFE6D0;
  --card-bg: #FFFFFF;
  --testimonial-bg: #FFF6ED;
  --shadow: 0 4px 16px rgba(64,104,130,0.10);
  --button-shadow: 0 2px 8px rgba(163,87,47,0.10);
}

/* CONTAINER LAYOUTS =============================*/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 30px;
}

/* HEADER & NAVIGATION ===============================*/
header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  box-shadow: 0 2px 12px rgba(26,55,77,0.06);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-nav a {
  color: #F2F2F2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  font-size: 1.06rem;
  border-radius: 8px;
  padding: 3px 10px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E3A380;
  background: rgba(255,255,255,0.10);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(var(--highlight), #F4D1A0);
  color: #1A374D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.08rem;
  border-radius: 32px;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: var(--button-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.22s cubic-bezier(0.2,0.6,0.4,1.1), transform 0.14s;
  border: none;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(#F4D1A0, var(--highlight));
  color: #406882;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(227,163,128,0.11);
  outline: none;
}

/* MOBILE NAVIGATION ============================= */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  margin-left: 16px;
  color: #F2F2F2;
  z-index: 52;
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A374D;
  color: #FFF;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.15s;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 2.1rem;
  margin: 28px 28px 18px 0;
  align-self: flex-end;
  transition: color 0.18s;
  cursor: pointer;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E3A380;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 28px;
  gap: 18px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 15px 4px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(227,163,128,0.19);
  color: #E3A380;
}

/* HERO & SECTIONS ============================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: var(--accent);
  box-shadow: 0 2px 16px rgba(64,104,130,0.055);
}
section:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  section {
    padding: 64px 40px;
    border-radius: 36px;
  }
  .content-wrapper {
    gap: 36px;
  }
}

/* FEATURE GRID ============================ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 18px;
  margin-bottom: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px 24px 20px 24px;
  max-width: 350px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature-item:hover {
  box-shadow: 0 6px 32px rgba(227,163,128,0.12);
  transform: translateY(-4px) scale(1.028);
}
.feature-item img {
  width: 44px;
  height: 44px;
  background: #FFF9E6;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(240,193,134,0.13);
}

/* SERVICES GRID & CARDS ==================== */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 14px;
}
.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 28px 22px 24px 22px;
  flex: 1 1 235px;
  min-width: 220px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.service-card h3 {
  font-size: 1.2rem;
  color: #1A374D;
}
.service-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #AE3B0E;
  margin-top: 10px;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(240,193,134,0.18);
  transform: translateY(-4px) scale(1.02);
  background: #FFF9E6;
}

/* TESTIMONIALS ========================= */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--testimonial-bg);
  padding: 24px 22px 20px 22px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(227,163,128,0.13);
  min-width: 230px;
  flex: 1 1 250px;
  color: #2d2d2d;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.19s, transform 0.16s, background 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(227,163,128,0.17);
  background: #FFE6D0;
  transform: translateY(-2px) scale(1.012);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.5;
  color: #1A374D;
  margin-bottom: 10px;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote:before,
.testimonial-card blockquote:after {
  color: #E3A380;
  font-size: 1.5em;
  vertical-align: text-top;
}
.testimonial-card blockquote:before {
  content: open-quote;
}
.testimonial-card blockquote:after {
  content: close-quote;
}
.testimonial-card p {
  margin-bottom: 0;
  color: #406882;
  font-weight: 500;
}
.testimonial-card strong {
  color: #AE3B0E;
}

/* GENERAL CARDS ========================= */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(227,163,128,0.14);
  transform: translateY(-3px) scale(1.015);
}

/* FLEX LAYOUT HELPERS ===================== */
.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;
}

/* TEXT SECTIONS, LISTS, ETC. ============== */
.text-section {
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.text-section ul {
  margin-left: 1em;
  margin-bottom: 12px;
  padding-left: 0;
  list-style: disc inside;
}
.text-section li {
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section h3 {
  margin-top: 26px;
}

/* BUTTONS & INTERACTIVES =================== */
button,
input[type=button],
input[type=submit] {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  font-size: 1.03rem;
  padding: 11px 26px;
  background: linear-gradient(var(--highlight), #F4D1A0);
  color: #1A374D;
  font-weight: 700;
  box-shadow: var(--button-shadow);
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
}
button:hover, button:focus,
input[type=button]:hover, input[type=button]:focus,
input[type=submit]:hover, input[type=submit]:focus {
  background: linear-gradient(#F4D1A0, var(--highlight));
  color: #406882;
  box-shadow: 0 6px 20px rgba(227,163,128,0.14);
}

/* FOOTER =============================== */
footer {
  background: var(--primary);
  color: #F2F2F2;
  padding-top: 32px;
  padding-bottom: 32px;
  margin-top: 50px;
  border-radius: 32px 32px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.logo-footer img {
  height: 37px;
}
.footer-nav {
  display: flex;
  gap: 21px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  font-size: 1.04rem;
  padding: 2px 12px;
  transition: background 0.18s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: rgba(227,163,128,0.22);
  color: #E3A380;
}
.footer-info {
  font-size: 0.98rem;
  color: #F2F2F2;
  opacity: 0.82;
  text-align: center;
}

/* COOKIE CONSENT BANNER =================== */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: #FFF9E6;
  color: #333;
  box-shadow: 0 -2px 12px rgba(227,163,128,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 24px 18px;
  gap: 20px;
  border-radius: 22px 22px 0 0;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: all 0.36s cubic-bezier(.5,0,.4,1.1);
}
#cookie-consent-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#cookie-consent-banner .cookie-text {
  flex: 1 1 120px;
  font-size: 1.03rem;
  margin-right: 16px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-actions button {
  font-size: 1.01rem;
  padding: 9px 18px;
  border-radius: 22px;
  font-weight: 600;
}
.cookie-actions .accept {
  background: linear-gradient(#FFDDB7, #F4D1A0);
  color: #1A374D;
  border: none;
}
.cookie-actions .accept:hover, .cookie-actions .accept:focus {
  background: linear-gradient(#F4D1A0, #FFDDB7);
  color: #406882;
}
.cookie-actions .reject {
  background: #FFF;
  color: #1A374D;
  border: 2px solid #FFDDB7;
}
.cookie-actions .reject:hover, .cookie-actions .reject:focus {
  background: #FFDDB7;
  color: #1A374D;
}
.cookie-actions .settings {
  background: #FFF9E6;
  color: #AE3B0E;
  border: 2px solid #FFDDB7;
}
.cookie-actions .settings:hover, .cookie-actions .settings:focus {
  background: #FFE6D0;
  color: #AE3B0E;
}

/* COOKIE MODAL */
#cookie-preferences-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background: rgba(26,55,77,0.42);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.08);
  transition: opacity 0.32s, transform 0.38s cubic-bezier(.5,0,.4,1.1);
}
#cookie-preferences-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.0);
}
.cookie-modal-content {
  background: #FFF9E6;
  border-radius: 22px;
  box-shadow: 0 8px 48px rgba(227,163,128,0.21);
  padding: 38px 32px 32px 32px;
  max-width: 420px;
  width: 90vw;
  color: #1A374D;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h2 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 15px; right: 19px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #AE3B0E;
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E3A380;
  width: 19px;
  height: 19px;
  border-radius: 8px;
  margin-right: 4px;
}
.cookie-category label {
  font-weight: 600;
  color: #406882;
  cursor: pointer;
}
.cookie-category.essential label::after {
  content: ' (always active)';
  color: #AE3B0E;
  font-size: 0.97em;
  font-weight: 400;
  margin-left: 5px;
}
.cookie-modal-content .cookie-actions {
  margin-top: 7px;
  justify-content: flex-start;
}

/* MISC GENERAL ========================== */
::-webkit-input-placeholder { color: #bfbfbf; }
::-moz-placeholder { color: #bfbfbf; }
:-ms-input-placeholder { color: #bfbfbf; }
::placeholder { color: #bfbfbf; }

hr {
  border: none;
  border-top: 1.5px solid #FFE6D0;
  margin: 32px 0;
}

/* RESPONSIVENESS — MOBILE & TABLET ================= */
@media (max-width: 1100px) {
  .container {
    max-width: 980px;
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 900px) {
  .feature-grid,
  .service-cards,
  .testimonials-grid,
  .card-container,
  .card-grid,
  .content-grid {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  header .container {
    flex-direction: row;
    gap: 7px;
    padding: 10px 0;
  }
  .main-nav {
    display: none;
  }
  .cta-button {
    margin-left: 0;
    font-size: 1rem;
    padding: 10px 16px;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 8px;
  }
  .logo img { height: 38px; }
  section {
    padding: 23px 6px;
    border-radius: 15px;
    margin-bottom: 32px;
  }
  .feature-grid, .service-cards, .testimonials-grid, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item, .service-card, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    padding: 16px 12px;
    border-radius: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    padding-top: 24px;
    padding-bottom: 18px;
    border-radius: 15px 15px 0 0;
  }
  .footer-nav { flex-direction: column; gap: 10px; text-align: center; }
  .cookie-modal-content {
    padding: 22px 8px 18px 13px;
    border-radius: 13px;
  }
}
@media (max-width: 540px) {
  .cookie-modal-content { max-width: 99vw; padding: 13px 2vw 14px 7vw; }
  .mobile-menu-close { margin-top: 11px; margin-right: 8px; }
}
@media (max-width: 400px) {
  h1, h2 { font-size: 1.02rem; }
  .container { padding-left: 5px; padding-right: 5px; }
}
