/* RESET & NORMALIZE (mob-friendly, main structurals) */
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, 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F7F6F2;
  color: #19203A;
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #152046;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E2B13C;
  text-decoration: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li+li { margin-top: 8px; }
strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #152046;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
}
h4, h5, h6 { font-size: 1.1rem; }
.subheadline { font-size: 1.1rem; color: #7b7e90; font-family: 'Roboto', serif; margin-bottom: 24px; }

/* MAIN FLEXBOX LAYOUTS */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section { /* universal section for content spacing */
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* HEADER & NAVIGATION */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.035);
  z-index: 50;
  position: relative;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  justify-content: flex-start;
  padding: 18px 0;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  position: relative;
}
.main-nav img {
  max-height: 46px;
  margin-right: 28px;
  vertical-align: middle;
}
.main-nav a {
  color: #152046;
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E2B13C10;
  color: #E2B13C;
}
.main-nav .cta.primary {
  background-color: #152046;
  color: #fff;
  font-weight: 700;
  margin-left: auto;
  margin-right: 0;
  padding: 10px 24px;
  border-radius: 24px;
  border: none;
  font-family: 'Georgia', serif;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px 0 rgba(21,32,70,0.06);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.main-nav .cta.primary:hover, .main-nav .cta.primary:focus {
  background: #E2B13C;
  color: #152046;
  box-shadow: 0 4px 20px 0 rgba(21,32,70,0.12);
}

/* MOBILE MENU (BURGER) */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2rem;
  color: #152046;
  padding: 6px 18px;
  border-radius: 10px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6EAD5;
  color: #E2B13C;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFFFFF;
  box-shadow: 0 2px 32px 0 #15204633;
  z-index: 200;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #152046;
  padding: 18px 22px 10px 16px;
  align-self: flex-end;
  cursor: pointer;
  margin-top: 3px;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E2B13C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 8px;
  width: 100%;
  padding: 0 26px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  color: #152046;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 10px 0 10px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s, color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6EAD5;
  color: #E2B13C;
}

/* HERO SECTIONS */
.hero {
  background: #F6EAD5 0 0 repeat;
  color: #152046;
  padding: 68px 0 38px 0;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #152046;
  font-family: 'Georgia', serif;
  font-size: 2.1rem;
}
.hero .cta.primary {
  margin-top: 10px;
}

/* FLEXIBLE SECTION SPACING */
.features, .about-highlight, .about-team, .why-us, .how-we-work, .services, .contact-info, .legal, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX FOR FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(21,32,70,.08);
  padding: 26px 22px;
  min-width: 220px;
  flex: 1 1 245px;
  border: 1px solid #E6E9F0;
  transition: box-shadow .25s, border-color .2s;
}
.feature-item img {
  height: 44px;
  width: 44px;
}
.feature-item h3 {
  font-size: 1.18rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 1.03rem;
  color: #333F55;
}
.feature-item:hover, .feature-item:focus-within {
  border-color: #E2B13C;
  box-shadow: 0 6px 32px 0 #E2B13C13;
}

/* CARD CONTAINER/GRID */
.card-container, .service-list, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card { /* For future extension */
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 rgba(21,32,70,.07);
  padding: 28px 26px;
  border: 1px solid #E6E9F0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* SERVICE LISTS */
.service-list {
  gap: 24px;
  margin-bottom: 18px;
}
.service-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 6px 0 rgba(21,32,70,.07);
  border: 1px solid #E6E9F0;
  padding: 22px 19px;
  flex: 1 1 240px;
  min-width: 218px;
  margin-bottom: 0;
  transition: box-shadow .23s, border-color .2s;
}
.service-item:hover, .service-item:focus-within {
  border-color: #E2B13C;
  box-shadow: 0 6px 28px 0 #E2B13C17;
}
.service-item h3 {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  color: #152046;
  margin-bottom: 7px;
}
.service-item p {
  font-size: 1rem;
  color: #35384B;
}

/* TEXT-IMAGE/GRID FLEX SECTIONS */
.text-image-section { 
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-section {
  margin-bottom: 22px;
}
.text-section h3 { margin-top: 14px; margin-bottom: 7px; }
.text-section ul { margin-bottom: 10px; }

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 20px 0 #1d223885;
}
.testimonials h2 {
  color: #152046;
  margin-bottom: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 20px 22px 18px 22px;
  background: #F6EAD5;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 1px solid #E6E9F0;
  box-shadow: 0 2px 10px 0 rgba(21,32,70,.04);
  font-family: 'Georgia', serif;
  transition: box-shadow 0.2s, border-color 0.18s;
  color: #19203A;
  font-size: 1.07rem;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card p {
  color: #19203A;
  margin-bottom: 6px;
  font-family: 'Georgia', serif;
  font-size: 1.07rem;
}
.testimonial-card span {
  color: #7B7E90;
  font-size: .98rem;
  font-family: 'Roboto', serif;
}
.testimonial-card:hover {
  border-color: #E2B13C;
  box-shadow: 0 4px 16px 0 #E2B13C16;
}

/* CTA BANNER */
.cta-banner {
  padding: 20px 0;
  background: #E2B13C;
  text-align: center;
  border-radius: 18px;
  margin-bottom: 46px;
  box-shadow: 0 1px 16px 0 #E2B13C22;
}
.cta-banner .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 0;
}
.cta-banner .cta.primary,
.cta-banner .cta.secondary {
  font-size: 1.12rem;
}

/* CTA BUTTONS */
.cta {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 23px;
  cursor: pointer;
  transition: background 0.23s, color 0.23s, box-shadow 0.29s;
  outline: none;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 16px 0 rgba(21,32,70,0.06);
}
.cta.primary {
  background: #152046;
  color: #fff;
  border: 2px solid #152046;
}
.cta.primary:hover, .cta.primary:focus {
  background: #E2B13C;
  color: #152046;
  border: 2px solid #E2B13C;
  box-shadow: 0 4px 22px #E2B13C32;
}
.cta.secondary {
  background: #fff;
  color: #152046;
  border: 2px solid #E2B13C;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #E2B13C;
  color: #152046;
  border: 2px solid #E2B13C;
  box-shadow: 0 4px 18px #E2B13C32;
}

/* FOOTER */
footer {
  background: #FFF;
  border-top: 1px solid #E6E9F0;
  padding: 28px 0 18px 0;
  color: #19203A;
  font-size: 1rem;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 18px;
  align-items: center;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.footer-nav a {
  color: #152046;
  text-decoration: none;
  font-size: 1rem;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.footer-nav a:hover { background: #E2B13C22; color: #E2B13C; }
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a img {
  width: 22px;
  height: 22px;
}
footer span {
  font-size: .97rem;
  color: #7b7e90;
  margin-left: 12px;
}

/* LEGAL/TEXT PAGES */
.legal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 12px 0 #1d22381d;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.legal .text-section {
  margin-bottom: 0;
}
.legal h1 {
  color: #152046;
  font-family: 'Georgia', serif;
  font-size: 2rem;
  margin-bottom: 24px;
}
.legal h2 {
  margin-top: 28px;
  font-size: 1.17rem;
  color: #E2B13C;
}
.legal h3 {
  margin-top: 18px;
  color: #152046;
  font-size: 1.1rem;
}
/* Confirmation page */
.confirmation {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 #1d22381a;
  margin: 60px auto;
  padding: 48px 20px;
  text-align: center;
}
.confirmation .cta.primary {
  margin-top: 30px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFFDF8;
  box-shadow: 0 -2px 24px #BDB29F24;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 22px 18px;
  transition: transform 0.35s cubic-bezier(.77,0,.175,1), opacity 0.2s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner .cookie-text {
  flex: 1 1 60vw;
  font-size: 1.03rem;
  color: #19203A;
  font-family: 'Roboto', serif;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button {
  border-radius: 18px;
  font-family: 'Georgia', serif;
  font-size: .97rem;
  padding: 8px 20px;
  border: none;
  background: #F6EAD5;
  color: #152046;
  font-weight: 600;
  margin: 0 1px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner button.accept {
  background: #E2B13C;
  color: #152046;
}
.cookie-banner button.accept:hover {
  background: #152046;
  color: #fff;
}
.cookie-banner button.reject {
  background: #FFF;
  border: 1.5px solid #E2B13C;
  color: #152046;
}
.cookie-banner button.reject:hover {
  background: #E2B13C;
  color: #152046;
}
.cookie-banner button.settings {
  background: #fff;
  border: 1.5px solid #BDB29F;
  color: #7B7E90;
}
.cookie-banner button.settings:hover {
  background: #F6EAD5;
  color: #152046;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: #19203acc;
  z-index: 2100;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal {
  position: fixed;
  bottom: 55px;
  right: 50%;
  left: 50%;
  transform: translate(-50%, 0);
  background: #FFFDF8;
  border-radius: 15px;
  box-shadow: 0 6px 40px #15204633;
  z-index: 2201;
  min-width: 330px;
  max-width: 96vw;
  padding: 32px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.5s cubic-bezier(0.6,0,0.35,1);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translate(-50%,80px); }
  100% { opacity: 1; transform: translate(-50%,0); }
}
.cookie-modal h2 {
  font-family: 'Georgia', serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: #152046;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  background: #F7F2E8;
  border-radius: 9px;
  padding: 10px 14px;
}
.cookie-category label {
  font-weight: 500;
  font-family: 'Georgia', serif;
  color: #152046;
  flex: 1 1 auto;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  margin-right: 2px;
  accent-color: #E2B13C;
}
.cookie-category input[type="checkbox"][disabled] {
  accent-color: #BDB29F;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .modal-actions button {
  border-radius: 13px;
  font-size: 0.99rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
}
.cookie-modal .close-modal {
  background: none;
  color: #7B7E90;
  font-size: 1.3rem;
  border: none;
  position: absolute;
  top: 16px; right: 16px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: #E2B13C;
}

/* CONTACT-INFO PAGE */
.contact-info .content-wrapper {
  gap: 30px;
}
.contact-info .cta.secondary {
  margin-top: 8px;
}

/* UTILITY CLASSES & SPACING */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.mt-28 { margin-top: 28px; }
.mb-28 { margin-bottom: 28px; }
.p-0 { padding: 0 !important; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.py-24 { padding-top: 24px; padding-bottom: 24px; }

/* SHADOWS + DISTINCTION */
.card, .feature-item, .service-item, .testimonial-card {
  transition: box-shadow 0.2s, border-color .15s;
}
.card:focus-within, .feature-item:focus-within, .service-item:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 4px 22px #E2B13C21;
  outline: 2px solid #E2B13C;
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.button, .cta, .feature-item, .service-item, .testimonial-card, .mobile-menu {
  transition: box-shadow .23s cubic-bezier(.5, .3, .5, 1), background .18s, color .14s;
}

/* RESPONSIVE DESIGN - MOBILE FIRST */
@media (max-width: 1020px) {
  .container {
    max-width: 95vw;
    padding: 0 6vw;
  }
  .main-nav {
    font-size: 0.97rem;
    gap: 8px 12px;
  }
  .footer-nav {
    gap: 9px;
  }
}
@media (max-width: 880px) {
  .footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-grid, .feature-grid, .service-list {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 0.97rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 22px;
    top: 14px;
  }
  .header {
    position: sticky;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .service-item, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .hero {
    padding: 48px 0 18px 0;
  }
  .cta-banner {
    margin-bottom: 38px;
    border-radius: 12px;
    padding: 16px 0;
  }
  .section, .features, .about-highlight, .about-team, .why-us, .how-we-work, .services, .contact-info, .legal, .confirmation {
    padding: 20px 8px;
    margin-bottom: 38px;
  }
  .testimonials {
    padding: 18px 7px;
    margin-bottom: 38px;
    border-radius: 11px;
  }
  .cookie-modal {
    min-width: 0;
    width: 97vw;
    left: 1.5vw;
    right: 1.5vw;
    transform: translate(0,0);
    bottom: 10px;
    padding: 24px 12px 18px 12px;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 3vw;
    max-width: 99vw;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .hero { padding: 25px 0 12px 0; }
  .cta { font-size: .99rem; padding: 8px 16px; }
  .cta-banner { padding: 12px 0; font-size: .96rem; }
  .section { padding: 14px 2px; margin-bottom: 27px; }
  .testimonials, .confirmation, .legal {
    padding: 10px 1px; border-radius: 7px;
  }
  .feature-item, .service-item, .card { padding: 13px 6px; }
  .footer-nav, .social-links { flex-direction: column; gap: 7px; }
  footer .content-wrapper { gap: 7px; }
}

/* FONTS (WEBFONTS FALLBACKS) */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', 'Georgia', serif;
}
h1, h2, h3, .cta, .main-nav, .footer-nav, .feature-item h3, .service-item h3, .mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
