/* -------------------------
   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;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAF9F6;
  color: #1a212d;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #215E87;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F6B82A;
}
ul, ol {
  margin: 16px 0 16px 24px;
}
li {
  margin-bottom: 8px;
}
strong {
  font-weight: bold;
  color: #215e87;
}

/* --------------
   Brand Fonts
---------------*/
@import url('https://fonts.googleapis.com/css?family=Quicksand:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  color: #1a212d;
  margin-bottom: .6em;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
}
h3 {
  font-size: 1.375rem;
  font-weight: 700;
}
h4 {
  font-size: 1.125rem;
  font-weight: 700;
}
p, .subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #322f2d;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.subheadline {
  font-size: 1.25rem;
  color: #215E87;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---- Luxury/Refined Style Setup ---- */
:root {
  --primary: #215E87;
  --secondary: #F6B82A;
  --gold: #F6B82A;
  --primary-dark: #153c54;
  --background: #FAF9F6;
  --offwhite: #f4f0e6;
  --text: #1a212d;
  --accent: #FFFFFF;
  --card-border: rgba(33, 94, 135, 0.08);
  --box-shadow-main: 0 4px 24px 0 rgba(33,94,135,0.08), 0 1.5px 13px 0 rgba(246,184,42,0.07);
  --box-shadow-hover: 0 2px 32px 0 rgba(33,94,135,0.16), 0 1.5px 10px 0 rgba(246,184,42,0.09);
  --radius: 14px;
  --transition: 0.19s cubic-bezier(.4,0,.2,1);
}

/* ------------
   Container
------------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* -----------------------------------
   HEADER: Brand & Navigation Styling
-------------------------------------*/
header {
  background: var(--accent);
  border-bottom: 1px solid #e9e4db;
  box-shadow: 0 2px 8px 0 rgba(33,94,135, 0.05);
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  min-height: 64px;
}
header img {
  width: 180px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .02em;
  padding: 6px 0; 
  border-bottom: 2px solid transparent;
  transition: color .14s, border-bottom .17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-btn {
  background: var(--gold);
  color: #222;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .01em;
  border: none;
  border-radius: var(--radius);
  padding: 13px 28px;
  font-size: 1.12rem;
  cursor: pointer;
  box-shadow: var(--box-shadow-main);
  transition: background .14s, color .14s, box-shadow var(--transition);
  display: inline-block;
  margin-left: 10px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffc62e;
  color: var(--primary-dark);
  box-shadow: var(--box-shadow-hover);
}

/* -------------
   HERO SECTION
---------------*/
.hero {
  background: linear-gradient(90deg, #fff8ec 0%, #fdf7ee 50%, #f8fafb 100%);
  padding: 50px 0 42px 0;
  border-bottom: 2px solid #f5e6ba; /* subtle gold bottom */
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.3rem;
  margin-bottom: 0.7em;
}
.hero .subheadline {
  color: #4e4441;
  font-weight: 500;
  margin-bottom: 1.1em;
}

/* -----------------------
   SECTION SPACING RULES
-------------------------*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* -------------------------
    Feature, Service Grids
--------------------------*/
.feature-grid, .service-list, .approach-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}
.feature-grid > div,
.service-list > div,
.approach-grid > div {
  background: var(--accent);
  border: 1.5px solid var(--card-border);
  box-shadow: var(--box-shadow-main);
  border-radius: var(--radius);
  padding: 30px 24px 25px 24px;
  flex: 1 1 265px;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow var(--transition);
  position: relative;
}
.feature-grid > div:hover,
.service-list > div:hover,
.approach-grid > div:hover {
  box-shadow: var(--box-shadow-hover);
}
.feature-grid img, .service-list img {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
}
.feature-grid h3, .service-list h3, .approach-grid h3 {
  color: var(--primary);
  font-size: 1.09rem;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 0;
}

/* ----------
   Cards
------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--box-shadow-main);
  border: 1.5px solid var(--card-border);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px;
  transition: box-shadow var(--transition);
}
.card:hover {
  box-shadow: var(--box-shadow-hover);
}

/* -----------------
   Testimonials
-------------------*/
.testimonial-card {
  background: #fffdf8;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 6px 30px -5px rgba(33, 94, 135, 0.08);
  margin: 24px 0 20px 0;
  padding: 20px 28px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 180px;
  max-width: 640px;
  color: #34312e;
}
.testimonial-card span {
  color: var(--gold);
  font-size: 1.25rem;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 3px;
  font-weight: 700;
  padding-left: 0;
}
.testimonial-card .testimonial-author {
  color: #666561;
  font-size: 1rem;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  font-weight: 600;
}

/* ---------------
   Lists/UL/OL
-----------------*/
ul {
  list-style: disc inside;
}
ul ul {
  list-style: circle inside;
}

/* -------------------------------
   Section Headings & Hierarchy
---------------------------------*/
section h2 {
  color: var(--primary-dark);
  font-size: 2rem;
  font-family: 'Quicksand', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.19;
}
section h3 {
  color: var(--primary);
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}
section p {
  color: #34312e;
  margin-bottom: 14px;
}

/* ---------------------------------------
   Content Presentation & Info Layouts
----------------------------------------*/
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------
   Footer
------------*/
footer {
  background: #fff8ec;
  border-top: 2px solid #f5e6ba;
  padding: 44px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.25rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--gold);
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
  font-size: 0.95rem;
}
.legal-links a {
  color: #7b6a41;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  transition: color .16s;
}
.legal-links a:hover, .legal-links a:focus {
  color: var(--gold);
  text-decoration: underline;
}

/* --------------
    Buttons, Links
-----------------*/
button, .cta-btn {
  border: none;
  outline: none;
  cursor: pointer;
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---------------
   Mobile Nav Menu
-------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: #215E87;
  font-size: 2rem;
  border-radius: var(--radius);
  padding: 10px 18px;
  margin-left: 10px;
  transition: background .16s;
  z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffe395;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff7ea;
  box-shadow: -8px 0 28px rgba(33,94,135, 0.13);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.47,0,.74,1.02);
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #215E87;
  font-size: 2rem;
  margin: 22px 24px 0 0;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #ffe7b0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 36px 36px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #215E87;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  width: 100%;
  transition: color .17s, border-bottom .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  border-bottom: 1.5px solid var(--gold);
}

/* --------------
   Responsive
----------------*/
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero .container {
    padding: 0 12px;
  }
  .feature-grid, .service-list, .approach-grid {
    gap: 18px;
  }
  .feature-grid > div,
  .service-list > div,
  .approach-grid > div {
    padding: 22px 16px 18px 16px;
  }
}
@media (max-width: 900px) {
  .footer-brand { font-size: 1.04rem; }
  .main-nav { gap: 18px; }
  .footer-nav, .legal-links { gap: 10px; }
}
@media (max-width: 860px) {
  .footer-brand { margin-bottom: 12px; }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 17px;
    top: 17px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    min-height: 56px;
  }
  .footer-nav, .legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-left: 0;
  }
  .content-grid, .feature-grid, .service-list, .approach-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-list > div, .approach-grid > div {
    min-width: unset;
    width: 100%;
    padding: 16px 10px 14px 10px;
  }
  .testimonial-card {
    padding: 16px 14px 16px 15px;
    max-width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
  }
}
@media (max-width: 520px) {
  .container { padding-left: 8px; padding-right: 8px; }
  header img {
    max-width: 138px;
  }
  .hero .content-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* -----------
   Forms (if any)
--------------*/
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #e6e1d6;
  border-radius: var(--radius);
  padding: 12px 13px;
  margin-bottom: 20px;
  color: #302b1f;
}
input:focus, textarea:focus {
  border-color: var(--primary);
  outline: none;
}

/* --------------------------------------------
   Cookie Consent Banner && Cookie Preferences
----------------------------------------------*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe5;
  border-top: 2.5px solid var(--gold);
  box-shadow: 0 -4px 24px 0 rgba(33,94,135,0.05);
  z-index: 350;
  padding: 18px 0 12px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition: transform 0.32s, opacity 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-message {
  max-width: 440px;
  color: #33312a;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-btn-group { display: flex; gap: 12px; }
.cookie-banner button {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 7px;
  border: 1.5px solid var(--gold);
  background: var(--gold);
  color: #222;
  padding: 9px 20px;
  box-shadow: 0 1.5px 5px rgba(33,94,135,.10);
  transition: background .16s, color .17s, border .13s;
}
.cookie-banner button.accept {
  background: var(--gold);
}
.cookie-banner button.reject {
  background: #fff;
  color: var(--primary);
  border-color: #ded8b9;
}
.cookie-banner button.settings {
  background: #fff9ef;
  color: var(--primary-dark);
  border-color: var(--gold);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ffeaa7;
  color: var(--primary-dark);
}

/* Cookie Settings Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 390;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(33,94,135,0.17);
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #fffbe5;
  border-radius: 20px;
  box-shadow: 0 6px 48px 0 rgba(33,94,135,0.15);
  max-width: 390px;
  width: 96vw;
  padding: 36px 26px 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  color: var(--primary);
  margin-bottom: .5em;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  font-family: 'Open Sans', sans-serif;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  background: #ffe395;
  color: var(--primary-dark);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background .15s;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
  background: #ffd97f;
}
.toggle-switch {
  width: 38px;
  height: 22px;
  border-radius: 14px;
  background: #eee0b9;
  position: relative;
  transition: background .14s;
  margin-right: 5px;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: var(--primary-dark);
  border-radius: 50%;
  transition: left .18s;
}
.toggle-switch input:checked + .toggle-slider {
  left: 19px;
  background: var(--gold);
}
.toggle-switch input:checked ~ .toggle-switch {
  background: var(--gold);
}
.cookie-modal-content .save-btn {
  margin-top: 20px;
  align-self: flex-end;
  background: var(--gold);
  color: #222;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 7px;
  box-shadow: 0 1.5px 5px rgba(33,94,135,.10);
  border: 1.5px solid var(--gold);
  transition: background .14s, color .16s;
}
.cookie-modal-content .save-btn:hover {
  background: #ffd97f;
  color: var(--primary-dark);
}

/* ------------------
   Subtle Animations
-------------------*/
.cta-btn, .card, .feature-grid > div, .service-list > div, .approach-grid > div, .testimonial-card {
  transition: box-shadow var(--transition), background .21s;
}
.card:hover, .feature-grid > div:hover, .service-list > div:hover, .approach-grid > div:hover {
  box-shadow: var(--box-shadow-hover);
}
.cta-btn:active, .cookie-banner button:active {
  transform: translateY(2px) scale(.99);
}

/* ----------------------------
   Miscellaneous Utilities
-----------------------------*/
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-18 { margin-bottom: 18px; }

/* ------------
   Accessibility
-------------*/
:focus {
  outline: 2.5px solid var(--primary-dark);
  outline-offset: 2px;
}

/* -----------
   Hide on Desktop
-------------*/
@media (min-width:769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Margin/gap consistency for every card/section */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.card:not(:last-child),
.testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Prevent content overlapping on all cards/sections */
.card, .feature-grid > div, .service-list > div, .approach-grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* END */
