/* ================= RESET & BASE ===================== */
html,
body,
div,
h1,h2,h3,h4,h5,h6,
p,
ul,ol,li,
a,
img,
small,
button,
section,
footer,
header,
nav {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  background: #FBFAF5;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: 1rem;
  color: #232654;
  background: #FBFAF5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #232654;
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #E9B946;
  text-decoration: none;
  outline: none;
}

/* =================== TYPOGRAPHY ====================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  color: #232654;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

ul, ol {
  margin-left: 1.25em;
  margin-bottom: 22px;
  padding-left: 1em;
  color: #232654;
}
ul li, ol li {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.93rem;
  opacity: 0.88;
}

p {
  font-size: 1.07rem;
  margin-bottom: 18px;
  color: #232654;
}

.text-section {
  margin-bottom: 16px;
}

/* Typography hierarchy for clean elegant spacing */
h1 + p, h2 + p {
  margin-top: -10px;
}

/* =========== GENERAL LAYOUT/SECTIONS =============== */
.container {
  width: 100%;
  max-width: 990px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  padding: 0;
}

section {
  background: #FBFAF5;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(35,38,84,0.08);
}

@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
}

/* =========== HEADER & NAVIGATION =============== */
header {
  background: #FBFAF5;
  border-bottom: 1px solid #ece9d6;
  padding: 0 0 2px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 0 12px 0;
}
nav a {
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  font-size: 1.07rem;
  font-weight: 500;
  color: #232654;
  padding: 0 2px 6px 2px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  transition: color 0.17s, border-color 0.17s;
}
nav a:hover,
nav a:focus {
  color: #E9B946;
  border-bottom: 2px solid #E9B946;
  outline: none;
}
nav a img {
  vertical-align: middle;
  height: 38px;
  width: auto;
}

/* Hide mobile nav by default; RESPONSIVE below */
.mobile-menu-toggle {
  display: none;
  background: #FBFAF5;
  border: 1.5px solid #E9B946;
  font-size: 1.8rem;
  border-radius: 50%;
  padding: 10px 14px;
  color: #232654;
  margin-left: auto;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  z-index: 103;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E9B946;
  color: #232654;
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: #FBFAF5;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(.8,0,.2,1);
  box-shadow: -2px 0 18px 0 rgba(35,38,84,0.10);
  padding-top: 38px;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #232654;
  position: absolute;
  top: 22px;
  right: 20px;
  cursor: pointer;
  z-index: 1110;
  line-height: 1;
  padding: 0 8px;
  border-radius: 50%;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #E9B946;
  color: #232654;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 80px 36px 32px 36px;
}
.mobile-nav a {
  color: #232654;
  text-decoration: none;
  font-size: 1.32rem;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  padding: 10px 0 10px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: color 0.18s, border-color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #E9B946;
  border-bottom: 2px solid #E9B946;
}

@media (max-width: 1024px) {
  nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 8px;
  }
}
@media (max-width: 820px) {
  nav {
    gap: 6px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============== FOOTER ======================== */
footer {
  background: #FBFAF5;
  border-top: 1px solid #ece9d6;
  padding: 30px 0 18px 0;
  margin-top: 44px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 14px;
}
footer nav a {
  font-size: 0.99rem;
  color: #232654;
  opacity: 0.92;
}
footer small {
  font-size: 0.99rem;
  color: #232654;
  opacity: 0.72;
}

/* ============= BUTTONS ========================= */
.cta-btn,
button,
input[type="submit"],
input[type="button"] {
  display: inline-block;
  font-family: 'Georgia', Times, 'Times New Roman', serif;
  background: #E9B946;
  color: #232654;
  border: none;
  border-radius: 8px;
  font-size: 1.13rem;
  padding: 12px 32px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 7px rgba(35,38,84,0.07);
  margin-top: 14px;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.18s, box-shadow 0.17s, transform 0.12s;
}
.cta-btn:hover,
.cta-btn:focus,
button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #FFD466;
  color: #232654;
  box-shadow: 0 5px 16px rgba(232,185,70,0.14);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* Secondary Button */
.btn-secondary {
  background: #232654;
  color: #FBFAF5;
  border: 1.5px solid #E9B946;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #E9B946;
  color: #232654;
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  border: 1.5px solid #232654;
  color: #232654;
}
.btn-ghost:hover,
.btn-ghost:focus {
  background: #E9B946;
  color: #232654;
  border-color: #E9B946;
}

/* =============== FLEXBOX UTILITY CLASSES ============== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(35,38,84,0.08);
  padding: 32px 24px;
  flex: 1 1 310px;
  min-width: 260px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 34px rgba(35,38,84,0.12);
  transform: translateY(-3px) scale(1.01);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(35,38,84,0.07);
  min-width: 260px;
  max-width: 610px;
}
.testimonial-content > p {
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-content > div {
  font-size: 1rem;
  margin-bottom: 2px;
  color: #232654;
}
.testimonial-card strong {
  color: #232654;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: transparent;
}

@media (max-width: 1024px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
  }
  .card {
    min-width: 0;
    padding: 22px 10px;
  }
}

/* ============== SPACING ENFORCEMENT ============== */
section + section {
  margin-top: 0;
}
.card + .card {
  margin-left: 20px;
}
.card,
.testimonial-card,
.feature-item {
  margin-bottom: 20px;
}

/* ============= LISTS, TABLES, DETAILS ============ */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  padding-left: 0;
  margin-bottom: 6px;
}

/* ============= HERO & SPECIAL SECTIONS ============= */
.hero {
  background: #FFFDF8;
  border-radius: 22px;
  box-shadow: 0 3px 22px rgba(35,38,84,0.09);
  padding: 48px 30px;
  margin-bottom: 54px;
}
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.18rem;
}
@media (max-width: 680px) {
  .hero {
    padding: 22px 8px;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* =========== FORMS (for contact, cookies) ============== */
input,
select,
textarea {
  font-family: inherit;
  border-radius: 6px;
  border: 1px solid #c9c6bb;
  background: #fff;
  font-size: 1rem;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: block;
  width: 100%;
  color: #232654;
  transition: border 0.17s;
}
input:focus,
select:focus,
textarea:focus {
  border: 1.5px solid #E9B946;
  outline: none;
}

/* ========== COOKIE BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  z-index: 1500;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1.5px solid #E9B946;
  box-shadow: 0 -4px 28px rgba(35,38,84,0.11);
  padding: 24px 10px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  animation: slideUpFadeIn 0.7s cubic-bezier(.41,1.49,.5,1) 1;
}
@keyframes slideUpFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1rem;
  color: #232654;
  text-align: center;
  margin-bottom: 3px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner .btn-secondary {
  padding: 10px 22px;
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-banner .btn-ghost {
  padding: 10px 16px;
  font-size: 1rem;
  margin-bottom: 0;
  border: 1.5px solid #E9B946;
}

@media (max-width: 420px) {
  .cookie-banner {
    padding: 20px 2px 12px 2px;
  }
  .cookie-banner-buttons {
    gap: 6px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  z-index: 1510;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,38,84, 0.27);
  opacity: 1;
  display: none;
  animation: fadeIn 0.45s cubic-bezier(.14,.91,.44,1) 1;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-backdrop.open {
  display: block;
}
.cookie-modal {
  position: fixed;
  z-index: 1520;
  left: 50%; top: 50%;
  max-width: 94vw;
  width: 430px;
  background: #FBFAF5;
  border-radius: 18px;
  padding: 33px 28px 25px 28px;
  box-shadow: 0 8px 52px rgba(35,38,84,0.21);
  transform: translate(-50%, -54%) scale(1);
  animation: slideInModal 0.36s cubic-bezier(.41,1.49,.5,1) 1;
}
@keyframes slideInModal {
  from { transform: translate(-50%, 50%) scale(0.92); opacity: 0; }
  to { transform: translate(-50%, -54%) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.16rem;
  margin-bottom: 17px;
}
.cookie-modal form {
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 10px;
  margin-bottom: 11px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #E9B946;
  width: 1.15em;
  height: 1.15em;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .btn-secondary, .cookie-modal .btn-ghost {
  font-size: 1rem;
  padding: 9px 16px;
}
@media (max-width: 520px) {
  .cookie-modal {
    width: 96vw;
    min-width: 0;
    padding: 16px 5vw 15px 5vw;
  }
}

/* ===================== MISC/EFFECTS ================== */
::-webkit-selection { background:#E9B946; color:#232654; }
::selection { background:#E9B946; color:#232654; }

hr {
  border: none;
  border-top: 1.5px solid #E9B946;
  margin: 22px 0;
}

/* Elegant decorative accent for lists */
ul li:before {
  content: '\2022';
  color: #E9B946;
  font-weight: bold;
  display: inline-block;
  width: 1.3em;
  margin-left: -1.3em;
}
ol li:before {
  display: none;
}



/* ============= RESPONSIVE ADJUSTMENTS =========== */
@media (max-width: 600px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  h1 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.07rem;
    margin-bottom: 11px;
  }
  .card {
    padding: 13px 4px;
  }
}

/* ================== PRINT ================ */
@media print {
  *, *:before, *:after {
    background: none !important;
    color: #000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
}

/* ============== MICRO-INTERACTIONS ============= */
.card, .testimonial-card, .cta-btn, button, .btn-secondary, .btn-ghost {
  transition: box-shadow 0.16s cubic-bezier(.48,.02,.52,1.12), transform 0.13s cubic-bezier(.48,.02,.52,1.12), background 0.19s;
}
.card:hover,
.card:focus-within,
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 38px rgba(35,38,84,0.16);
  transform: translateY(-4px) scale(1.021);
}

/* ============== ACCESSIBILITY =================== */
a:focus-visible, button:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px dashed #E9B946;
  outline-offset: 2px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  border: 0;
}

/* =================== END ===================== */
