/* 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,
main, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: #FAF9F6;
  color: #212124;
  line-height: 1.7;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
main, article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
  border: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.1s;
}
:focus {
  outline: 2px solid #2251A2;
  outline-offset: 1px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #102245;
  font-weight: 700;
  margin-bottom: 0.7em;
  line-height: 1.13;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 22px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, ul, ol, dl, blockquote {
  margin-bottom: 1.2em;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}
blockquote {
  font-family: 'Georgia', serif;
  font-size: 1.25rem;
  color: #4862A3;
  border-left: 4px solid #E3B55A;
  padding-left: 16px;
  font-style: italic;
  margin: 24px 0;
  background: #F6F3EC;
}
cite {
  font-size: 0.93em;
  color: #6b6b77;
}

/* CONTAINER */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  padding: 0;
}

/* SPACING PATTERNS */
.section, section{
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(34,81,162, 0.08);
  padding: 28px 20px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(34,81,162, 0.12);
  transform: translateY(-2px);
}
.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 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(34,81,162,0.06);
  margin-bottom: 20px;
  border-left: 3px solid #E3B55A;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(34,81,162,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 12px 0;
}
.feature-list li {
  background: #F6F3EC;
  border-radius: 10px;
  padding: 22px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  box-shadow: 0 1px 4px rgba(224,191,116, 0.02);
}
.feature-list img {
  width: 38px;
  height: 38px;
}

.benefit-points li {
  margin-bottom: 12px;
  padding-left: 16px;
  position: relative;
}
.benefit-points li:before {
  content: "•";
  color: #E3B55A;
  margin-right: 8px;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
}

/* HEADER & NAV */
header {
  background: #f4f3ee;
  box-shadow: 0 2px 6px rgba(34,81,162,0.02);
  width: 100%;
  z-index: 12;
}
.logo-link img {
  height: 56px;
  margin: 16px 16px 16px 0;
  display: block;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
}
.main-nav a {
  color: #2251A2;
  padding: 8px 5px 8px 5px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
  position: relative;
}
.main-nav a:not(.cta-button):hover, .main-nav a:not(.cta-button):focus {
  background: #E3B55A;
  color: #102245;
}
.cta-button {
  background: #2251A2;
  color: #fff;
  font-family: 'Georgia', serif;
  padding: 9px 28px;
  border-radius: 22px;
  font-size: 1.11rem;
  font-weight: 700;
  margin-left: 14px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, transform 0.14s;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(34,81,162,0.09);
}
.cta-button:hover, .cta-button:focus {
  background: #1b417f;
  color: #fffbe9;
  box-shadow: 0 4px 16px rgba(34,81,162,0.13);
  transform: translateY(-1.5px) scale(1.03);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  color: #2251A2;
  border: none;
  cursor: pointer;
  padding: 7px 16px 7px 16px;
  border-radius: 9px;
  transition: background 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover {
  background: #E3B55A;
  color: #102245;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F6F3EC;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.4, .9, .5, 1.1);
  display: flex;
  flex-direction: column;
  padding: 0 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 24px rgba(34,81,162,0.13);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: #2251A2;
  align-self: flex-end;
  background: none;
  border: none;
  padding: 16px 11px 2px 11px;
  margin-top: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 9px;
  transition: background 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E3B55A;
  color: #102245;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 23px;
  font-size: 1.19rem;
  font-family: 'Georgia', serif;
}
.mobile-nav a {
  color: #2251A2;
  padding: 14px 6px 14px 6px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E3B55A;
  color: #102245;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO / SECTIONS */
.hero {
  background: linear-gradient(90deg, #fffbe9 0%, #e6e1d4 100%);
  padding-top: 64px;
  padding-bottom: 56px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 2px 18px rgba(224,191,116,0.06);
  margin-bottom: 50px;
  text-align: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.hero h1 {
  color: #2251A2;
  font-size: 2.8rem;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.11rem;
  color: #102245;
  margin-bottom: 14px;
}

.section.cta, section.cta {
  background: #F6F3EC;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(224,191,116, 0.04);
  text-align: center;
  margin-bottom: 50px;
}
.section.cta .cta-button, section.cta .cta-button {
  margin-top: 22px;
}

/* PRODUCT & POST GRIDS */
.product-grid ul, .post-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
  margin-bottom: 0;
  padding-left: 0;
  justify-content: flex-start;
}
.product-grid ul li, .post-grid ul li {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(224,191,116, 0.07);
  padding: 20px 20px 12px 20px;
  min-width: 230px;
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
}
.product-grid .button, .post-grid .button {
  align-self: flex-start;
  font-family: 'Georgia', serif;
  background: #E3B55A;
  color: #2251A2;
  padding: 7px 18px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.17s;
  margin-top: 10px;
  border: none;
  box-shadow: 0 1px 7px rgba(224,191,116, 0.09);
}
.product-grid .button:hover, .post-grid .button:hover {
  background: #2251A2;
  color: #fffbe9;
}

/* NEWSLETTER/SUBSCRIBE */
.newsletter {
  max-width: 600px;
  margin: 0 auto 52px auto;
  background: #FFFCF5;
  border-radius: 15px;
  box-shadow: 0 1px 7px rgba(224,191,116, 0.07);
}
.newsletter .content-wrapper {
  text-align: center;
}

/* FOOTER */
footer {
  background: #f4f3ee;
  padding: 32px 0 28px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-family: 'Georgia', serif;
  font-size: 1rem;
}
.footer-nav a {
  color: #2251A2;
  border-radius: 7px;
  padding: 5px 10px;
  transition: background 0.12s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #E3B55A;
  color: #102245;
}
footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  flex-direction: column;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #60606c;
}
footer img {
  vertical-align: middle;
  width: 18px;
  margin-right: 9px;
}

/* FORMS & INPUTS */
input[type="text"], input[type="email"], textarea {
  background: #fff;
  border: 1px solid #ded6c7;
  border-radius: 7px;
  padding: 9px 12px;
  font-size: 1rem;
  color: #102245;
  margin-top: 6px;
  margin-bottom: 16px;
  transition: border .15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #2251A2;
}
label {
  font-size: 1.01rem;
  color: #485700;
  font-family: 'Georgia', serif;
  margin-bottom: 5px;
  display: inline-block;
}

/* TESTIMONIALS & REVIEWS */
.testimonials {
  background: #faf7ef;
  border-radius: 15px;
  box-shadow: 0 1px 12px rgba(224,191,116, 0.06);
  padding-bottom: 24px;
}
.star-rating {
  color: #E3B55A;
  font-size: 1.2rem;
  letter-spacing: 1.1px;
  font-family: 'Georgia', serif;
}

/* FAQ, DETAILS, DL */
.faq dl {
  margin-top: 22px;
}
.faq dt {
  font-weight: 700;
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #2251A2;
}
.faq dd {
  margin-bottom: 15px;
  color: #312e24;
  font-size: 1rem;
  margin-left: 18px;
}

/* ARTICLE/POST FEATURED */
.featured-post {
  background: #FFFDF4;
  padding: 24px 20px 18px 20px;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(224,191,116, 0.06);
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin: 16px 0 32px 0;
}
.featured-post h2 {
  font-size: 1.3rem;
}

/* MISC */
.text-section {
  margin-bottom: 17px;
}
.text-section ul {
  margin-bottom: 20px;
  padding-left: 16px;
}
.text-section ul li {
  margin-bottom: 10px;
  position: relative;
}
.text-section ul li:before {
  content: "\2014  ";
  color: #E3B55A;
  font-weight: 800;
  font-size: 1.2em;
  margin-right: 8px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 12px;
  }
  .main-nav {
    display: none !important;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 28px;
  }
  .section, section {
    padding: 24px 5px;
    margin-bottom: 35px;
  }
  .content-grid, .feature-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 17px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .product-grid ul, .post-grid ul {
    flex-direction: column;
    gap: 18px;
  }
}

/* TRANSITIONS & MICRO-INTERACTIONS */
.button, .cta-button, input[type="text"], input[type="email"], textarea {
  transition: background 0.18s, color 0.15s, box-shadow 0.13s, border 0.15s, transform 0.12s;
}
a, button {
  transition: color 0.14s, background 0.14s, box-shadow 0.13s, transform 0.12s;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe9;
  box-shadow: 0 -2px 16px rgba(34,81,162,0.13);
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 23px 16px 17px 16px;
  font-size: 1rem;
  font-family: 'Georgia', serif;
  color: #22262e;
  border-top: 2px solid #E3B55A;
  animation: cc-banner-in 0.6s cubic-bezier(.4,.9,.6,1.13);
  will-change: transform;
}
@keyframes cc-banner-in {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-btn, .cookie-consent-banner button {
  margin: 0 8px;
  background: #E3B55A;
  color: #102245;
  border-radius: 15px;
  padding: 8px 19px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.17s, color 0.13s;
  border: none;
  cursor: pointer;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #2251A2;
  color: #fffbe9;
}
.cookie-consent-banner .cookie-btn.accept:hover {
  background: #193C73;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #e96b51; /* subtle stop color for reject */
  color: #fff;
}
.cookie-consent-banner .cookie-btn.reject:hover {
  background: #d35737;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #E3B55A;
  color: #102245;
  border: 1px solid #2251A2;
}
.cookie-consent-banner .cookie-btn.settings:hover {
  background: #f4d38a;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,81,162, 0.23);
  z-index: 4100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cc-modal-fadein 0.28s cubic-bezier(.4,.8,.4,1.15);
}
@keyframes cc-modal-fadein {
  0% { opacity: 0; } 100%{ opacity:1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(34,81,162,0.18);
  padding: 35px 25px 25px 25px;
  max-width: 410px;
  width: 96vw;
  font-family: 'Georgia', serif;
  color: #212124;
  animation: cc-modal-in 0.22s cubic-bezier(.6,.85,.5,1.16); 
}
@keyframes cc-modal-in{
  0%{ transform: scale(.95); opacity: 0; } 100%{ transform: scale(1); opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.26rem;
  margin-bottom: 18px;
  color: #2251A2;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  color: #102245;
  margin-bottom: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #E3B55A;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-modal-btns {
  margin-top: 18px;
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  background: #d7e0ee;
  color: #2251A2;
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 1em;
  border: none;
  margin-left: 11px;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #E3B55A;
  color: #102245;
}

/* Utility Classes */
.hide {
  display: none !important;
}

/* CUSTOM SCROLLBAR FOR ELEGANCE */
::-webkit-scrollbar {
  width: 9px;
  background: #F6F3EC;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #E3B55A;
  border-radius: 7px;
}

/* Color accessibility for testimonials */
.testimonial-card p, .testimonial-card span, .testimonial-card .star-rating {
  color: #1C283A;
}

/* ACCESSIBILITY: readable link focus for testimonials and footer */
.testimonial-card a:focus, .footer-nav a:focus {
  outline: 2px solid #2251A2;
  outline-offset: 1px;
}

/* HOVERS & MICRO-ANIMATION */
.feature-list li:hover, .product-grid ul li:hover, .post-grid ul li:hover {
  box-shadow: 0 3px 25px rgba(224,191,116, 0.16);
  transform: translateY(-1px) scale(1.015);
}

/* GENERAL RESPONSIVE TWEAKS */
@media (max-width: 550px) {
  .logo-link img {
    height: 38px;
  }
  h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
  .feature-list li, .product-grid ul li, .post-grid ul li {
    min-width: 140px;
    padding: 12px 7px 12px 7px;
  }
  .section, section {
    padding: 12px 2px;
    margin-bottom: 15px;
  }
  .footer-nav {
    font-size: 0.99rem;
  }
}
