/* ===========================================================
   Radiance Flux CSS — "elegant_classic" design system (Flexbox only)
   =========================================================== */
/* CSS RESET & BASE ---------------------------------- */
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, menu, 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, 
main, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0;
  vertical-align: baseline; box-sizing: border-box;
}
html { font-size: 100%; }
body {
  font-family: 'Roboto', Georgia, "Times New Roman", Times, serif;
  background: #F5F3EC;
  color: #232327;
  line-height: 1.7;
  min-height: 100vh;
  word-break: break-word;
  font-size: 16px;
}
img { max-width: 100%; display: block; border: none; }
oh1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Georgia, "Garamond", serif;
  color: #191A23;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; }
p, ul, ol, li, blockquote {
  font-family: 'Roboto', Georgia, "Times New Roman", Times, serif;
  color: #232327;
  font-size: 1rem;
  margin-bottom: 16px;
}
ul, ol { padding-left: 1.3rem; }
ul li, ol li { margin-bottom: 10px; }
a {
  color: #191A23;
  text-decoration: underline;
  transition: color 0.22s cubic-bezier(.5,1,.89,1);
  cursor: pointer;
}
a:hover, a:focus { color: #8EA3D0; text-decoration: none; }
strong { font-weight: 600; }
blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #191A23;
  border-left: 3px solid #8EA3D0;
  padding-left: 18px;
  margin-bottom: 12px;
  background: #f8f7f2;
}
hr {margin: 32px 0; border: 0; border-top: 1px solid #e0e0da;}
table { width: 100%; border-collapse: collapse; background: #fff;}
th, td { padding: 12px 16px; text-align: left; }
th { background: #f0efe8; color: #191A23; font-weight: bold; border-bottom: 1px solid #ddd; }
td { border-bottom: 1px solid #edeae4; }

/* LAYOUT: CONTAINER & SPACING ---------------------------- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #ece8df;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 24px;
  box-shadow: 0 4px 18px 0 rgba(30,34,44,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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: flex-start;
  gap: 20px;
  padding: 20px 28px 18px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px 0 rgba(30,34,44,0.10);
  margin-bottom: 24px;
  border-left: 5px solid #8EA3D0;
  min-width: 0; /* Avoid flex issues */
}
.testimonial-card blockquote {
  color: #232327;
  font-size: 1.06rem;
  border: none;
  background: none;
  padding: 0;
}
.testimonial-card .meta {
  color: #8EA3D0;
  font-style: normal;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  margin-top: -12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Feature grid (services/highlights) */
.feature-grid, .service-highlights, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .service-highlights > div, .service-list > div {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px 20px 20px;
  box-shadow: 0 4px 14px 0 rgba(30,34,44,0.06);
  flex: 1 1 250px;
  min-width: 230px;
  margin-bottom: 20px;
}
.pricing-table {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(30,32,40,.07);
  margin-bottom: 28px;
}
.pricing-table th, .pricing-table td { font-size: 1rem; }
.service-price {
  color: #8EA3D0;
  font-weight: 400;
  font-size: 1rem;
  float: right;
}
.faq p { margin-bottom: 14px; }

/* Address/contact snippet */
.contact-snippet {
  margin-top: 12px;
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.6;
}
.contact-details p { margin-bottom: 7px; }
.address-map {
  background: #fafaf7;
  color: #999;
  border-radius: 6px;
  padding: 16px;
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* HEADER & NAVIGATION ----------------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(30,34,44,.05);
  margin-bottom: 24px;
  padding: 0;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 20px 0 12px 0;
}
header nav > a {
  font-family: 'Oswald', Georgia, "Garamond", serif;
  font-size: 1.1rem;
  color: #191A23;
  text-decoration: none;
  margin-right: 4px;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.15s, color 0.2s;
}
header nav > a:not(.cta-primary):hover, header nav > a:not(.cta-primary):focus {
  background: #F5F3EC;
  color: #8EA3D0;
}
header nav .cta-primary {
  background: #191A23;
  color: #fff !important;
  font-size: 1.16rem;
  font-family: 'Oswald', Georgia, serif;
  padding: 8px 22px 8px 22px;
  border: none;
  border-radius: 7px;
  margin-left: 14px;
  text-decoration: none;
  letter-spacing: 0.15px;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 8px rgba(30,34,44,.07);
  cursor: pointer;
}
header nav .cta-primary:hover, header nav .cta-primary:focus {
  background: #8EA3D0;
  color: #191A23 !important;
  box-shadow: 0 4px 24px rgba(142,163,208,.13);
}
header nav img { height: 34px; width: auto; margin-right: 22px; }

/* MAIN HERO & SECTIONS ---------------------------- */
.hero {
  background: #f8f7f2;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(30,34,44,0.04);
  margin-top: 8px;
  margin-bottom: 48px;
  padding: 56px 0 52px 0;
}
.hero h1 {
  font-size: 2.6rem;
  font-family: 'Oswald', Georgia, serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.08rem;
  color: #364250;
  font-family: 'Roboto', Georgia, serif;
}
.hero .cta-primary {
  margin-top: 24px;
  display: inline-block;
}

/* CTA Primary Button */
.cta-primary {
  background: #191A23;
  color: #fff !important;
  font-family: 'Oswald', Georgia, serif;
  font-size: 1.13rem;
  padding: 10px 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  border: none;
  box-shadow: 0 2px 10px rgba(30,34,44,0.08);
  font-weight: 500;
  letter-spacing: 0.06rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .23s, box-shadow .23s, color .23s;
}
.cta-primary:hover, .cta-primary:focus {
  background: #8EA3D0;
  color: #191A23 !important;
  box-shadow: 0 6px 28px rgba(142,163,208, 0.15);
}

/* SERVICE / FEATURE ICONS ------------------------- */
.feature-grid img, .service-highlights img {
  width: 40px; height: 40px; margin-bottom: 10px; filter: grayscale(0.18);
}

/* FOOTER ------------------------------------------ */
footer {
  background: #191A23;
  color: #fff;
  padding: 38px 0 22px 0;
  margin-top: 60px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-bottom: 8px;
}
footer nav a {
  color: #8EA3D0;
  font-size: 1rem;
  text-decoration: none;
  font-family: 'Roboto', Georgia, serif;
  transition: color 0.19s;
  padding: 2px 3px;
  border-radius: 4px;
}
footer nav a:hover, footer nav a:focus { color: #fff; background: #232327; }
footer p { color: #aaa; font-size: 0.95rem; margin-bottom: 0; }

/* MOBILE BURGER & MOBILE NAV ---------------------- */
.mobile-menu-toggle {
  position: fixed;
  top: 24px;
  right: 22px;
  z-index: 1011;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #191A23;
  color: #fff;
  font-size: 1.9rem;
  border: none;
  box-shadow: 0 4px 22px rgba(30,34,44,.18);
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: background 0.2s, color 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #8EA3D0;
  color: #191A23;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,27,34, 0.97);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .39s cubic-bezier(.66,.03,.42,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 38px;
  width: 100vw;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform .39s cubic-bezier(.66,.03,.42,1.01), opacity .19s;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 40px;
  height: 40px;
  z-index: 1111;
  border: none;
  background: #8EA3D0;
  color: #191A23;
  border-radius: 50%;
  font-size: 1.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #232327;
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 52px;
  width: 100%;
  align-items: flex-start;
  padding-left: 26px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', Georgia, serif;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.035em;
  border-radius: 5px;
  padding: 8px 12px;
  transition: background 0.19s, color 0.17s;
  min-width: 140px;
  display: inline-block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #8EA3D0;
  color: #191A23;
}

@media (max-width: 1024px) {
  header nav > a:not(.cta-primary), header nav > .cta-primary {
    font-size: 1rem;
  }
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 900px) {
  header nav { gap: 5px 18px; }
}
@media (max-width: 820px) {
  header nav { gap: 5px 7px; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container { max-width: 97vw; padding-left: 7px; padding-right: 7px; }
  .hero { padding-top: 36px; padding-bottom: 36px; }
  .section { padding: 32px 8px; margin-bottom: 38px; }
  .feature-grid, .service-highlights, .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-highlights > div, .service-list > div {
    min-width:0;
  }
  .content-grid { flex-direction: column; gap: 14px; }
  .testimonial-card { padding: 14px 10px 10px 12px; }
}
@media (max-width: 540px) {
  header { margin-bottom: 9px; }
  .hero h1 { font-size: 1.55rem; }
  h2 { font-size: 1.21rem; }
  .content-wrapper { gap: 8px; }
  .section { padding: 20px 2px; margin-bottom: 20px; }
  .card, .pricing-table { padding: 14px 6px 14px 8px; }
}
@media (max-width: 540px) {
  .mobile-menu { padding-top: 24px; }
  .mobile-nav { padding-left: 7px; margin-top: 34px; }
}

/* RESPONSIVE FLEX DIRECTION / GRID SWITCHES --------- */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

/* MICROINTERACTIONS/TRANSITIONS --------------------- */
button, .cta-primary, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.17s, background 0.20s, color 0.20s;
}

/* SELECTION & FOCUS --------------------------------- */
::selection {
  background: #8EA3D0;
  color: #fff;
}
a:focus, button:focus, .cta-primary:focus {
  outline: 2px solid #8EA3D0;
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER ----------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -6px 32px rgba(30,34,44,0.17);
  z-index: 2000;
  padding: 22px 18px 20px 22px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  font-size: 1rem;
  border-top: 3px solid #8EA3D0;
  transition: transform .4s cubic-bezier(.66,.03,.42,1.01), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(102%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text { max-width: 600px; color: #232327; }
.cookie-banner__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #191A23;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 7px;
  font-family: 'Oswald', Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 0;
  margin-left: 0;
  transition: background 0.22s, color 0.21s;
}
.cookie-btn--settings { background: #fff; color: #191A23; border: 1px solid #8EA3D0; }
.cookie-btn--settings:hover, .cookie-btn--settings:focus { background: #8EA3D0; color: #fff; }
.cookie-btn--accept:hover, .cookie-btn--accept:focus { background: #8EA3D0; color: #191A23; }
.cookie-btn--reject {
  background: #fff;
  color: #8EA3D0;
  border: 1px solid #8EA3D0;
  transition: background 0.18s, color 0.2s;
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus { background: #8EA3D0; color: #fff; }

@media (max-width:650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    font-size: 0.96rem;
    padding: 12px 8px 14px 8px;
  }
  .cookie-banner__buttons { justify-content: flex-end; }
}

/* COOKIE SETTINGS MODAL ----------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: rgba(30,34,44,0.42);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.17s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 98vw;
  width: 390px;
  padding: 36px 26px 28px 26px;
  box-shadow: 0 8px 40px rgba(30,34,44,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 { font-size: 1.25rem; margin-bottom: 10px; }
.cookie-modal label { font-family: 'Roboto', serif; font-size: 1rem; display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  margin-right: 6px;
  accent-color: #8EA3D0;
}
.cookie-modal-category {
  margin-bottom: 16px;
}
.cookie-modal-category .category-description {
  color: #888;
  font-size: 0.96rem;
  margin-top: 3px;
  margin-left: 28px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: #191A23;
  cursor: pointer;
  transition: color 0.2s;
  padding: 2px 3px;
  border-radius: 50%;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus { color: #8EA3D0; background: #f5f5f5; }
.cookie-modal .category-essential input[type='checkbox'] {
  accent-color: #ccc !important;
  cursor: not-allowed;
}
.cookie-modal .category-essential label { color: #888; }

/* ANIMATIONS ---------------------------------------- */
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal.open { animation: modalSlideIn 0.32s cubic-bezier(.41,.14,.64,.97); }
@keyframes mobileMenuIn {
  from { opacity: 0; transform: translateX(60%); }
  to   { opacity: 1; transform: translateX(0); }
}
.mobile-menu.open { animation: mobileMenuIn 0.33s cubic-bezier(.45,.17,.68,.98); }

/* UTILITY CLASSES ------------------------------------ */
.text-section {
  background: #fafaf8;
  border-radius: 8px;
  padding: 20px 16px;
}
.hide, [hidden] { display:none !important; }

/* Accessibility for links inside paragraphs */
p a { text-decoration: underline; }
p a:hover, p a:focus { color: #8EA3D0; text-decoration: none; }

/* Remove autocomplete blue background on WebKit */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  box-shadow: 0 0 0 1000px #fff inset !important; color: #191A23 !important;
}

/* PRINT --------------------------------------------- */
@media print {
  header, footer, nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; color: #191A23 !important; }
  section, .section, .container { padding: 0 !important; margin: 0 !important; }
}
