/* --- CSS RESET & NORMALIZATION --- */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  color: #25324C;
  font-family: 'Lora', Times New Roman, Times, serif;
  background: #FAFAF8;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}
ul, ol {
  list-style: none;
}
button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- FONT FACE (Google Fonts Fallbacks) --- */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Oswald:wght@700&display=swap');

/* --- TYPOGRAPHY HIERARCHY (elegant_classic) --- */
h1, .h1 {
  font-family: 'Oswald', 'Lora', Times, serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #25324C;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Oswald', 'Lora', Times, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #25324C;
  margin-bottom: 24px;
}
h3, .h3 {
  font-family: 'Lora', Times, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #25324C;
  margin-bottom: 12px;
}

h4, h5, h6 {
  font-family: 'Lora', Times, serif;
  font-weight: 700;
  color: #25324C;
}

p, li, span, label {
  font-family: 'Lora', Times, serif;
  font-size: 1rem;
  color: #25324C;
  margin-bottom: 12px;
}

.subheadline {
  font-family: 'Lora', Times, serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #555E70;
  margin-bottom: 32px;
}

strong {
  font-weight: 700;
}

/* --- GLOBAL CONTAINER & CONTENT WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- ELEGANT SECTIONS SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(30, 39, 56, 0.06);
}

@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  border-bottom: 1px solid #E5E5E5;
  box-shadow: 0 2px 8px 0 rgba(37, 50, 76, 0.04);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Lora', Times, serif;
  font-size: 1rem;
  color: #25324C;
  padding: 8px 0;
  border-radius: 4px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFD700;
  background: #25324C10;
}
.main-nav a.cta-btn {
  background: #25324C;
  color: #fff;
  padding: 8px 22px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 4px 12px 0 rgba(30,39,56,0.06);
  margin-left: 12px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.main-nav a.cta-btn:hover, .main-nav a.cta-btn:focus {
  background: #FFD700;
  color: #25324C;
  box-shadow: 0 6px 18px 0 rgba(37,50,76,0.12);
}

/* Hide burger for desktop */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    font-size: 2rem;
    color: #25324C;
    border: none;
    cursor: pointer;
    z-index: 105;
    margin-right: 8px;
    transition: color 0.2s;
    padding: 4px 12px;
  }
  .mobile-menu-toggle:focus { outline: 2px solid #FFD700; }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,50,76,0.97);
  color: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.72,.01,.29,1.01);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  font-size: 2rem;
  background: transparent;
  color: #FFD700;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Oswald', 'Lora', serif;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  padding: 12px 0;
  border-radius: 4px;
  width: 100vw;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #25324C;
  background: #FFD700;
}
@media (max-width: 500px) {
  .mobile-nav a { font-size: 1.1rem; }
}

/* --- HERO SECTION --- */
.hero {
  background: #fffbe6;
  padding: 56px 0 48px 0;
  border-bottom: 1px solid #E5E5E5;
}
.hero .container { display: flex; flex-direction: column; align-items: center; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: #25324C;
  font-size: 2.7rem;
  margin-bottom: 20px;
  letter-spacing: 1.2px;
}
.hero .subheadline {
  color: #4b5670;
}
@media (max-width: 600px) {
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 2rem; }
}

/* --- FLEXBOX GRIDS & CARDS --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin: 28px 0 0 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(37,50,76,.06);
  padding: 24px 18px;
  min-width: 230px;
  flex: 1 1 230px;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 12px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}
.feature-item:hover {
  box-shadow: 0 6px 28px 4px rgba(37,50,76,0.10);
  transform: translateY(-6px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(37,50,76,0.06);
  padding: 32px 24px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 36px 0 rgba(37,50,76,0.16);
  transform: translateY(-8px) scale(1.02);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .features-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafaff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(37,50,76,0.06);
  margin-bottom: 20px;
  flex: 1 1 320px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.18s;
}
.testimonial-card p {
  color: #25324C;
  font-size: 1.18rem;
  font-style: italic;
  margin-right: 10px;
}
.testimonial-card span {
  font-weight: 700;
  font-size: 1rem;
  color: #666780;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(37,50,76,0.13);
  transform: scale(1.025);
}

.ratings-summary {
  margin-top: 18px;
  background: #F4F5F7;
  border: 1px solid #E5E5E5;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 1.07rem;
  box-shadow: 0 2px 8px 0 rgba(37,50,76,0.09);
}
.ratings-summary strong {
  color: #25324C;
}
.ratings-summary img {
  vertical-align: middle;
  width: 19px;
  height: 19px;
}

/* --- BUTTONS & CTAS --- */
.cta-btn {
  display: inline-block;
  background: #FFD700;
  color: #25324C;
  font-family: 'Oswald', 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(37,50,76,0.08);
  transition: background 0.22s, color 0.22s, transform 0.13s, box-shadow 0.2s;
  border: none;
  margin-top: 10px;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: #25324C;
  color: #FFD700;
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 8px 36px 0 rgba(37,50,76,0.12);
}

button, .button {
  font-family: 'Lora', Times, serif;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 22px;
  padding: 10px 26px;
  border: none;
  background: #25324C;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(37,50,76,0.08);
  transition: background 0.16s, color 0.16s;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: #FFD700;
  color: #25324C;
}

/* --- LISTS --- */
ul, ol {
  margin-left: 20px;
  margin-bottom: 16px;
}
ul li {
  margin-bottom: 8px;
  padding-left: 14px;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: #FFD700;
  display: inline-block;
  position: absolute;
  left: 0;
  font-size: 1.25em;
  line-height: 1;
}
ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
  width: 19px;
  height: 19px;
}

/* --- INPUTS --- */
input[type="search"], input[type="text"], input[type="email"], textarea {
  background: #fff;
  border: 1.5px solid #D0D3DE;
  border-radius: 18px;
  padding: 10px 20px;
  font-family: 'Lora', Times, serif;
  font-size: 1rem;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 12px;
  transition: border 0.18s, box-shadow 0.19s;
}
input[type="search"]:focus, input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 2px 14px 0 rgba(255, 215, 0, 0.13);
  background: #fffbe6;
}

/* --- FOOTER --- */
footer {
  background: #f7f7f6;
  padding: 40px 0 13px 0;
  border-top: 1px solid #E5E5E5;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  font-size: 0.96rem;
  color: #25324C;
  margin-bottom: 2px;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #FFD700;
}
footer p {
  color: #62647c;
  font-size: 0.93rem;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  min-height: 74px;
  background: #fff;
  color: #25324C;
  box-shadow: 0 -2px 18px 0 rgba(37,50,76,0.09);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  gap: 32px;
  font-family: 'Lora', Times, serif;
  opacity: 1;
  transition: opacity 0.25s, bottom 0.25s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: -100px;
}
.cookie-banner .cookie-banner-message {
  max-width: 460px;
  font-size: 1rem;
  color: #25324C;
  margin-right: 14px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: #25324C;
  color: #fff;
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 20px;
  font-family: 'Oswald', 'Lora', serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, transform 0.13s;
}
.cookie-banner .cookie-btn.settings {
  background: #FFD700;
  color: #25324C;
}
.cookie-banner .cookie-btn.reject {
  background: #62647c;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #FFD700;
  color: #25324C;
  transform: translateY(-1px) scale(1.015);
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 8px;
  }
  .cookie-banner .cookie-banner-message {
    margin: 0 0 6px 0;
    font-size: 0.98rem;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(37,50,76,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 420px;
  width: 90vw;
  padding: 36px 30px 26px 30px;
  box-shadow: 0 8px 44px 0 rgba(37,50,76,0.19);
  animation: cookieModalIn 0.36s cubic-bezier(.66,.01,.28,1.01);
  font-family: 'Lora', Times, serif;
}
@keyframes cookieModalIn {
  0% { transform: translateY(64px) scale(0.991); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  margin-bottom: 22px;
  color: #25324C;
  font-size: 1.35rem;
  font-family: 'Oswald', serif;
  font-weight: 700;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.cookie-modal-content .cookie-category label {
  font-size: 1.06rem;
}
.cookie-modal-content .switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-modal-content .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal-content .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #E5E5E5;
  border-radius: 24px;
  transition: background .2s;
}
.cookie-modal-content .slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #FFD700;
  transition: .2s; border-radius: 50%;
}
.cookie-modal-content .switch input:checked + .slider {
  background: #25324C;
}
.cookie-modal-content .switch input:checked + .slider:before {
  transform: translateX(20px);
  background: #FFD700;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap;
}
.cookie-modal-content .cookie-btn {
  min-width: 110px;
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.5rem; color: #25324C;
  cursor: pointer;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 10px;
  background: #E5E5E5;
}
::-webkit-scrollbar-thumb {
  background: #dadbe3;
  border-radius: 8px;
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #9e9eaa; }
::-moz-placeholder { color: #9e9eaa; }
:-ms-input-placeholder { color: #9e9eaa; }
::placeholder { color: #9e9eaa; opacity: 1; }

[tabindex]:focus, button:focus, a:focus {
  outline: 2px solid #FFD700;
  outline-offset: 2px;
}

/* --- PAGE-SPECIFIC COMPOSITIONS (elegant spacing/patterns) --- */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .card-container, .features-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- THANK YOU + HERO ASIDE CALLS --- */
.thank-you-section, .hero-call {
  text-align: center;
  padding: 60px 0 72px 0;
}

/* --- BLOG/NEWSLETTER CARDS --- */
.blog-list li {
  margin-bottom: 36px;
  padding: 28px 18px 18px 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 11px 0 rgba(37,50,76,0.07);
  border-left: 6px solid #FFD700;
}
.blog-list h2 {
  font-size: 1.25rem;
}
.blog-list span {
  color: #B3AFBC;
  font-size: 0.97rem;
}

/* --- RESPONSIVE SYNTHESIS --- */
@media (max-width: 600px) {
  .container { padding: 0 8px; max-width: 100vw; }
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.35rem; }
  h3, .h3 { font-size: 1.06rem; }
  .feature-item, .card {
    padding: 16px 10px;
    min-width: 0;
    font-size: 0.98rem;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 12px 12px 8px 12px;
    font-size: 1.02rem;
    gap: 8px;
  }
  .hero {
    padding: 26px 0;
  }
}

/* --- EFFECTIVE WHITE SPACE --- */
.section, .card, .feature-item, .testimonial-card {
  margin-bottom: 24px;
}

/* --- Z-INDEX LAYERS --- */
header { z-index: 101; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 2100; }
.cookie-modal { z-index: 2500; }

/* --- SHADOWS/ DEPTH --- */
.card, .feature-item, .section {
  box-shadow: 0 2px 16px 0 rgba(37,50,76,0.06);
}

/* --- ANIMATION FOR SLIDE-IN MENU --- */
.mobile-menu {
  will-change: transform, opacity;
}
