/* ==================================================
   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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fcfaf7;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #214168;
  background: #fcfaf7;
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #214168;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover {
  color: #f8991d;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* =====================
   BRAND COLORS & FONTS
   ===================== */
:root {
  --color-primary: #214168;
  --color-secondary: #FFFFFF;
  --color-accent: #FDBA30;
  --color-bg-light: #fcfaf7;
  --color-bg-muted: #f5f4f1;
  --color-text: #214168;
  --color-text-dark: #172c46;
  --color-text-light: #FFFFFF;
  --color-accent-darker: #f8991d;
  --color-shadow: rgba(33,65,104,0.09);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 18px;
  margin-top: 0;
  line-height: 1.2;
}
h3 {
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 14px;
  letter-spacing: 0.015em;
}

h4, h5, h6 {
  font-weight: 500;
  margin-bottom: 8px;
}
p {
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--color-text-dark);
  margin-bottom: 20px;
  max-width: 750px;
}
strong {
  font-weight: bold;
}
ul, ol {
  margin-left: 22px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 10px;
}
label {
  font-size: 1.05rem;
  color: var(--color-primary);
}

.text-section {
  max-width: 800px;
}

/* =====================
   CONTAINERS & LAYOUT FLEXBOX
   ===================== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-light);
  border-radius: 22px;
  box-shadow: 0 2px 32px var(--color-shadow);
  position: relative;
  overflow: visible;
  transition: box-shadow 0.2s;
}
.section:not(:first-child) {
  margin-top: 30px;
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--color-bg-light);
  box-shadow: 0 2px 24px 0 var(--color-shadow);
  padding: 14px 22px 14px 18px;
  position: relative;
  z-index: 101;
}
header img {
  height: 46px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.18s, background 0.23s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-text-light);
}
.cta-primary {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text-light) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 11px 28px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 20px 0 rgba(33,65,104,0.11);
  transition: background 0.19s, box-shadow 0.19s, transform 0.18s;
  margin-left: 20px;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent-darker);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 24px 0 rgba(251,186,48,0.15);
}
.cta-secondary {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent) !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 9px 22px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(33,65,104,0.11);
  margin-top: 22px;
  transition: background 0.20s, color 0.20s, transform 0.14s;
  letter-spacing: 0.025em;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent);
  color: var(--color-primary) !important;
  transform: translateY(-2px) scale(1.04);
}

/* =======
Mobile menu button & hide desktop nav on small
======== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-text-light);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-left: 22px;
  cursor: pointer;
  transition: background 0.19s, transform 0.19s;
  z-index: 102;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-accent-darker);
}

/* =====================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(107deg, #FDBA30 88%, #214168 100%);
  box-shadow: -2px 0 44px 0 rgba(33,65,104,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transition: transform 0.33s cubic-bezier(0.83,0.13,0.22,1.1), left 0.33s cubic-bezier(0.83,0.13,0.22,1.1);
  z-index: 200;
  padding-top: 0;
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open {
  left: 0;
  transform: translateX(-100vw);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 25px 30px 0 0;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 201;
  transition: color 0.18s, transform 0.17s;
}
.mobile-menu-close:hover {
  color: var(--color-text-light);
  transform: rotate(13deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  margin: 35px 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 9px 17px;
  border-radius: 18px;
  transition: background 0.18s, color 0.20s;
  background: rgba(255,255,255,0.22);
  margin-bottom: 2px;
  min-width: 120px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-text-light);
  background: var(--color-primary);
}

@media (max-width: 1100px) {
  .container {max-width: 96vw;}
}
@media (max-width: 950px) {
  header nav {gap: 10px;}
  .section {padding: 32px 8px;}
}
@media (max-width: 880px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {padding: 0 6vw;}
}
@media (max-width: 768px) {
  .container, .section {padding-left: 7vw; padding-right: 7vw;}
  h1 {font-size: 2.02rem; margin-bottom: 12px;}
  h2 {font-size: 1.35rem;margin-bottom: 9px;}
  .feature-grid {gap: 18px;}
}

/* =====================
   FLUID FLEX LAYOUTS
   ===================== */
.card-container,
.card-grid,
.feature-grid,
.testimonial-list,
.faq-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card-container {
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-muted);
  border-radius: 19px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 28px 22px 20px 22px;
  min-width: 240px;
  max-width: 100%;
  flex: 1 1 300px;
  transition: box-shadow 0.15s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 8px 32px var(--color-shadow);
  transform: translateY(-2px) scale(1.023);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-list {
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: #fff7e2;
  color: #224168;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(250,174,38,0.09);
  min-width: 230px;
  max-width: 338px;
  font-size: 1rem;
  margin-bottom: 22px;
  border-left: 6px solid var(--color-accent);
  position: relative;
  transition: box-shadow 0.15s, border-color 0.18s;
}
.testimonial-card strong {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.04em;
}
.testimonial-card .testimonial-location {
  font-size: 0.92em;
  color: #aa8833;
  margin-left: 3px;
  font-style: italic;
}
.testimonial-card span {
  color: #faad17;
  font-size: 1.07em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 26px 0 rgba(251,186,48,0.17);
  border-color: #faad17;
}

.faq-list {
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-bg-muted);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  transition: box-shadow 0.13s;
}
.faq-item:hover {
  box-shadow: 0 3px 18px 0 var(--color-shadow);
}

.feature-grid {
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #f3e7fb;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(118,85,205,0.09);
  flex: 1 1 210px;
  min-width: 175px;
  max-width: 288px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 17px 17px 17px;
  transition: box-shadow 0.16s, transform 0.17s;
  position: relative;
}
.feature-grid > div img {
  height: 44px; width: 44px;
  margin-bottom: 11px;
}
.feature-grid > div h3 {
  font-size: 1.04rem;
  margin-bottom: 7px;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(118,85,205,0.13);
  transform: scale(1.025) translateY(-2px);
}

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

/* =====================
   CALLOUTS & SPECIAL BOXES
   ===================== */
.callout-box {
  background: #f7f3e7;
  border-left: 8px solid var(--color-accent);
  border-radius: 17px;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  padding: 28px 24px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  color: #a1670a;
  font-size: 1.08rem;
  max-width: 600px;
}

.address-block {
  background: #eaf4fc8a;
  border-radius: 13px;
  padding: 14px 18px;
  margin-bottom: 13px;
  font-size: 1rem;
}


/* =====================
   BUTTONS/STATES
   ===================== */
button, .button, input[type="submit"] {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  outline: none;
}
button:focus, .button:focus {
  outline: 2px solid var(--color-primary);
}

input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 19px;
  height: 19px;
  margin-right: 11px;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: #212f48;
  color: var(--color-text-light);
  padding: 48px 0 20px 0;
  margin-top: 3vw;
  font-size: 1rem;
}
footer a {
  color: var(--color-accent);
  transition: color 0.17s, text-decoration 0.13s;
}
footer a:hover, footer a:focus {
  color: #fff7e2;
  text-decoration: underline;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 28px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer img {
  height: 36px;
  margin-bottom: 14px;
}
.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #e8eaf3;
  font-size: 0.99rem;
}
.contact-info img {
  height: 19px;
  width: 19px;
  margin-right: 9px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #fff7e2;
  color: var(--color-text-dark);
  z-index: 9910;
  box-shadow: 0 -2px 18px 0 rgba(251,186,48,0.09);
  padding: 24px 21px 22px 21px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  opacity: 1;
  transition: transform 0.32s, opacity 0.18s;
}
#cookie-consent-banner.hide {
  opacity: 0; pointer-events: none;
  transform: translateY(120%);
}
#cookie-consent-banner p {
  color: var(--color-text-dark);
  font-size: 1.06rem;
  margin-bottom: 0;
  max-width: 630px;
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-btn {
  border: none;
  background: var(--color-accent);
  color: var(--color-text-light);
  padding: 10px 19px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(251,186,48,0.12);
  margin-right: 4px;
  cursor: pointer;
  transition: background 0.18s, transform 0.14s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}
.cookie-btn.cookie-settings {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-btn.cookie-settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* MODAL CONSENT */
#cookie-modal-overlay {
  position: fixed;
  z-index: 9911;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(41,41,60,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.26s;
}
#cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-modal {
  background: #fff7e2;
  color: #242d3c;
  border-radius: 18px;
  box-shadow: 0 6px 54px 0 rgba(251,186,48,0.17);
  padding: 44px 36px 32px 36px;
  max-width: 460px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 16px;
}
#cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 9px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.32rem;
  color: var(--color-primary);
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.09rem;
  color: #212f48;
}
.cookie-toggle {
  width: 42px;
  height: 22px;
  background: #e7e2f9;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 2px;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.16s;
}
.cookie-toggle input[type="checkbox"] {display: none;}
.cookie-toggle-slider {
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: transform 0.19s, background 0.18s;
  transform: translateX(0px);
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-toggle-slider {
  background: var(--color-accent);
  transform: translateX(18px);
}

.cookie-category.essential label {
  color: #908a71;
  font-style: italic;
}
.cookie-category.essential .cookie-toggle-slider {
  background: #fae1ba;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
  opacity: 0.6;
}

#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
#cookie-modal .cookie-btn {
  min-width: 98px;
}

@media (max-width: 700px) {
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 9px 20px 13px;
  }
  #cookie-consent-banner .cookie-actions {
    flex-wrap: wrap; gap: 11px;
  }
  #cookie-modal {padding: 21px 10vw 18px 10vw;max-width:100vw;}
}

/* =====================
   RESPONSIVE LAYOUTS
   ===================== */
@media (max-width: 730px) {
  .section {
    margin-bottom: 36px;
    padding: 24px 7vw;
  }
  .feature-grid > div {
    min-width: 135px;
    padding: 15px 12px;
  }
  .testimonial-card, .faq-item, .callout-box {
    padding: 15px 10px;
    border-radius: 14px;
    font-size: 1em;
  }
}
@media (max-width: 510px) {
  h1 {font-size: 1.32rem;}
  h2 {font-size: 1.08rem;}
  .section, .container {padding-left: 3vw; padding-right: 3vw;}
  footer {padding: 28px 0 13px 0;}
}

/* =====================
   ARTISTIC/CREATIVE VISUALS
   ===================== */
body, .section, .callout-box, .testimonial-card, .feature-grid > div, .faq-item, .card {
  font-family: var(--font-body);
}
.section {
  background: linear-gradient(125deg, #fff7e2 91%, #f3e7fb 100%);
  box-shadow: 0 2px 32px var(--color-shadow);
  position: relative;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  right: -15vw;
  top: -7vw;
  width: 140px; height: 140px;
  background: radial-gradient(circle, #FDBA30 0%, transparent 78%);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  left: -5vw;
  bottom: -5vw;
  width: 90px; height: 90px;
  background: radial-gradient(circle, #8dadf5 0%, transparent 75%);
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

.card, .feature-grid > div, .faq-item, .callout-box, .testimonial-card {
  border-bottom: 2px dashed var(--color-accent);
}

h1, h2 {
  background: linear-gradient(90deg,#FDBA30 20%, #214168 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
}

.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
}

.faq-item {
  border-left: 4px solid #214168;
  background: #f3e7fb;
  color: #214168;
}
.feature-grid > div {
  border-left: 4px solid #FDBA30;
  background: #f3e7fb;
}

.card {
  border-left: 4px solid #214168;
}

.callout-box {
  border-bottom-style: solid;
  border-left: none;
}

input[type=checkbox]:checked + label {
  color: var(--color-accent);
  font-weight: bold;
  text-decoration: line-through wavy #FDBA30;
}


/* =====================
   UTILITY CLASSES
   ===================== */
.mt-2 {margin-top: 12px;}
.mt-4 {margin-top: 24px;}
.mb-2 {margin-bottom: 12px;}
.mb-3 {margin-bottom: 18px;}
.mb-4 {margin-bottom: 24px;}
.gap-2 {gap: 12px;}
.gap-4 {gap: 24px;}
.text-center {text-align: center;}

/* =====================
   MICRO-ANIMATIONS
   ===================== */
a, button, .cta-primary, .cta-secondary {
  transition: background 0.19s, color 0.16s, box-shadow 0.17s, transform 0.15s;
}
.card, .feature-grid > div, .testimonial-card, .faq-item {
  transition: box-shadow 0.19s, border-color 0.13s, transform 0.17s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover, .faq-item:hover {
  box-shadow: 0 15px 40px 0 rgba(123,56,255,0.09);
  transform: translateY(-4px) scale(1.021);
}

/* =====================
   FORM ELEMENTS
   ===================== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1.07rem;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1px solid #e3e3e9;
  margin-bottom: 17px;
  width: 100%;
  background: #f5f4f1;
  transition: border 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-primary);
  outline: 1.5px solid var(--color-accent);
}

/* =====================
   PRINT OPTIMIZATION
   ===================== */
@media print {
  header, footer, #cookie-consent-banner, #cookie-modal-overlay, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #222 !important; }
  section, .card, .feature-grid > div, .faq-item, .callout-box, .testimonial-card { box-shadow: none !important; background: #fff !important; border: none !important; }
}
