/* --- CSS RESET & BASE TYPOGRAPHY --- */
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,
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;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F2EF;
  color: #273A58;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: #273A58;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* --- GEOMETRIC STRUCTURED TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #273A58;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}
h4, h5 {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .section {
    padding: 60px 0 60px 0;
    margin-bottom: 80px;
  }
}
.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
/* --- HEADER & NAVIGATION --- */
header {
  background: #FFFFFF;
  border-bottom: 3px solid #F4B942;
  padding: 0;
  box-shadow: 0 3px 10px rgba(39,58,88,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
  color: #273A58;
  border: 2px solid transparent;
}
header nav a:hover, header nav a:focus {
  background: #F4B942;
  color: #273A58;
  border-color: #F4B942;
}
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4B942;
  color: #273A58;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  padding: 8px 16px;
  margin-left: 14px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 150;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #273A58;
  color: #F4B942;
}
/* Hide nav on mobile */
@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}
/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #273A58;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(.25,.46,.45,.94), opacity 0.3s;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 24px 0 0;
  background: #F4B942;
  color: #273A58;
  border: none;
  border-radius: 10px;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFF;
  color: #273A58;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 36px 40px 0 40px;
  align-items: flex-start;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #FFF;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1.5px solid #F4B942;
  transition: color 0.2s, background 0.2s;
  border-radius: 6px;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4B942;
  color: #273A58;
}
/* --- HERO/CTA SECTIONS --- */
.hero, .cta {
  background: #FFF;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 8px 24px rgba(39,58,88, .07);
  margin-bottom: 40px;
  padding: 40px 0 32px 0;
}
.hero .container, .cta .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper, .cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-btn {
  display: inline-block;
  background: #F4B942;
  color: #273A58;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 14px;
  padding: 14px 36px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.25s cubic-bezier(.4,0,.2,1), color 0.25s, transform 0.15s;
  box-shadow: 0 3px 8px rgba(244,185,66,0.14);
}
.cta-btn:hover, .cta-btn:focus {
  background: #273A58;
  color: #F4B942;
  transform: translateY(-3px) scale(1.03);
  outline: none;
}
/* --- FEATURES SECTION --- */
.features {
  background: #273A58;
  color: #FFF;
  border-radius: 32px;
  box-shadow: 0 8px 24px rgba(39,58,88, .10);
}
.features .content-wrapper {
  align-items: stretch;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 20px;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-item {
  background: #FFF;
  color: #273A58;
  padding: 28px 20px 22px 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 3px 12px rgba(39,58,88,0.09);
  border: 2.5px solid #F4B942;
  width: 100%;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.28s cubic-bezier(.4,0,.2,1), transform 0.18s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px rgba(244,185,66,0.21);
  transform: translateY(-5px) scale(1.03);
  z-index: 5;
}
.feature-item img {
  width: 38px; height: 38px;
  margin-bottom: 6px;
  filter: none;
  background: #273A58;
  border-radius: 50%;
  padding: 4px;
}
.feature-tag {
  background: #F4B942;
  color: #273A58;
  font-size: 0.95rem;
  padding: 4px 16px;
  border-radius: 12px;
  font-weight: 700;
  align-self: flex-end;
  margin-top: 4px;
}
@media (max-width: 992px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .feature-item {
    width: 100%;
    max-width: none;
  }
}
@media (min-width: 993px) {
  .feature-grid {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 32px;
  }
}
/* --- CARDS SHARED / FLEXIBLE LAYOUTS --- */
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
/* --- ABOUT, TEAM, ARTICLES, LEGAL --- */
.about-intro,
.about,
.team,
.articles,
.subscription,
.services,
.info,
.legal,
.contact,
.contact-cta,
.confirmation {
  background: #FFF;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 10px rgba(39,58,88,0.07);
  padding: 40px 20px;
}
.highlight-grid,
.article-list,
.event-listings,
.benefit-list,
.pricing-info ul,
.service-features ul,
.pricing-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.highlight-item,
.article-item,
.event-item,
.benefit-list li {
  background: #F6F2EF;
  border-radius: 14px;
  padding: 20px 18px;
  box-shadow: 0 2px 8px rgba(39,58,88,0.06);
  flex: 1 1 320px;
  min-width: 220px;
}
.article-item:hover, .highlight-item:hover {
  box-shadow: 0 5px 20px rgba(244,185,66,.09);
  transform: translateY(-3px);
}
.event-item h3,
.article-item h3,
.highlight-item h3 {
  margin-bottom: 10px;
}
@media (max-width: 992px) {
  .highlight-grid, .article-list, .event-listings, .benefit-list {
    flex-direction: column;
    gap: 16px;
  }
}
/* --- PRICING TABLES --- */
.pricing-table, .pricing-overview {
  background: #F6F2EF;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(39,58,88,0.08);
  padding: 16px 18px;
  margin: 22px 0 34px 0;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  color: #273A58;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #EEE3C0;
  text-align: left;
}
.pricing-table th {
  font-size: 1.05rem;
  font-weight: 700;
  background: #F4B942;
  color: #273A58;
  border-radius: 4px;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
/* --- FAQ --- */
.faq ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.faq li {
  background: #FFF;
  padding: 10px 14px;
  border-radius: 8px;
  border-left: 5px solid #F4B942;
  font-size: 1rem;
}
/* --- TESTIMONIALS --- */
.testimonials {
  background: #273A58;
  color: #FFF;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(39,58,88,.11);
  padding: 40px 20px;
}
.testimonials .content-wrapper {
  align-items: stretch;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  color: #273A58;
  padding: 20px 26px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(244,185,66, .09);
  margin-bottom: 20px;
  position: relative;
  border-left: 8px solid #F4B942;
  transition: box-shadow 0.21s cubic-bezier(.4,0,.2,1), transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 24px rgba(244,185,66, .13);
  transform: scale(1.02);
}
.testimonial-meta {
  font-weight: 600;
  color: #6E7591;
  font-size: 0.98rem;
  margin-left: 8px;
}
.star-ratings {
  display: flex;
  flex-direction: row;
  gap: 2px;
  margin-top: 10px;
  font-size: 1.3rem;
  color: #F4B942;
}
@media (max-width: 992px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 14px;
    gap: 10px;
  }
}
/* --- ADDRESS & CONTACT BLOCKS --- */
.address-block,
.email-block,
.hours-block {
  background: #F6F2EF;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 12px 18px 6px 18px;
  box-shadow: 0 1px 5px rgba(244,185,66,0.08);
  color: #273A58;
}
.address-block h3, .email-block h3, .hours-block h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
/* --- FOOTER --- */
footer {
  background: #273A58;
  color: #FFF;
  padding: 38px 0 24px 0;
  border-top: 4px solid #F4B942;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  text-transform: uppercase;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #F4B942;
}
.footer-contact p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #F6F2EF;
  margin-bottom: 3px;
}
.footer-contact a {
  color: #F4B942;
  font-weight: 600;
  text-decoration: underline;
}
footer img {
  height: 42px;
  margin-bottom: 8px;
}
@media (max-width: 992px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FFF;
  color: #273A58;
  border-top: 3px solid #F4B942;
  box-shadow: 0 -3px 14px rgba(39,58,88,.18);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 20px 18px 20px;
  transition: transform 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  font-size: 1rem;
  text-align: center;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
}
.cookie-btn, .cookie-settings-btn {
  background: #F4B942;
  color: #273A58;
  border: none;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  box-shadow: 0 1px 4px rgba(244,185,66, .10);
}
.cookie-btn.reject {
  background: #273A58;
  color: #F4B942;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #273A58;
  color: #F4B942;
  outline: none;
  box-shadow: 0 1px 10px rgba(39,58,88,.16);
}
/* --- COOKIE MODAL POPUP --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39,58,88,0.62);
  z-index: 2600;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFF;
  color: #273A58;
  border-radius: 22px;
  box-shadow: 0 6px 40px rgba(39,58,88,0.33);
  max-width: 450px;
  width: 95%;
  padding: 35px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalpop .38s cubic-bezier(.4,0,.2,1);
}
@keyframes modalpop {
  from { transform: translateY(60px) scale(.92); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 14px;
  font-size: 1.08rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  accent-color: #F4B942;
}
.cookie-category.essential label {
  opacity: 0.62;
  font-style: italic;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 14px;
  background: transparent;
  border: none;
  color: #273A58;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  padding: 0;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F4B942;
  outline: none;
}
/* --- MISC GEOMETRIC ELEMENTS & MICROINTERACTIONS --- */
section {
  scroll-margin-top: 90px;
}
hr {
  border: none;
  border-top: 1.5px solid #EEE3C0;
  margin: 30px 0;
}
::-webkit-scrollbar {
  width: 12px;
  background: #F6F2EF;
}
::-webkit-scrollbar-thumb {
  background: #EEE3C0;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F4B942;
}
/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #F4B942;
  outline-offset: 3px;
}
/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .section, .about-intro, .about, .team, .articles, .subscription, .services, .info, .legal, .contact, .contact-cta, .confirmation, .testimonials {
    padding: 28px 7px;
    border-radius: 13px;
  }
  .footer-contact, .footer nav { align-items: flex-start; }
  .feature-grid, .highlight-grid, .article-list, .event-listings, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  footer img { height: 32px; }
  .mobile-nav { padding: 30px 20px 0 20px; }
}
@media (max-width: 480px) {
  .cookie-modal { padding: 22px 8px 14px 8px; }
  .cookie-banner { padding: 15px 6px 12px 6px; }
}
/* --- UTILITY/MARGIN HELPERS --- */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
/* --- END OF STYLE.CSS --- */
