/* === 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,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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  scroll-behavior: smooth;
}
body {
  background: #F0F0F3;
  color: #253659;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #253659;
  text-decoration: none;
  transition: color .2s cubic-bezier(0.85,0,0.15,1);
  cursor: pointer;
}
a:hover, a:focus {
  color: #DAA520;
  outline: none;
}
ul,
ol {
  list-style: none;
}

/* --- Responsive Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #253659;
  line-height: 1.15;
  margin-bottom: 8px;
  text-rendering: optimizeLegibility;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-top: 12px; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.15rem; }
p, li {
  font-size: 1.08rem;
  color: #273b61;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  margin-bottom: 6px;
}
p.hero-sub {
  font-size: 1.25rem;
  color: #DAA520;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.5px;
}
strong, b { font-weight: bold; }
em, i { font-style: italic; }

/* --- Artistic Headings Elements --- */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 6px;
  background: #DAA520;
  border-radius: 12px;
  margin-top: 18px;
  margin-bottom: -14px;
  transition: background .4s;
}
h1::after { margin-top: 20px; }

/* === BUTTONS & INTERACTIVES === */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  min-width: 48px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.12rem;
  transition: background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  box-shadow: 0 3px 15px 0 rgba(37,54,89,0.06);
  margin-top: 16px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: #253659;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(37,54,89,0.12);
}
.btn-primary:hover, .btn-primary:focus {
  background: #DAA520;
  color: #253659;
  box-shadow: 0 4px 24px 0 rgba(218,165,32,.20),0 1.5px 10px 0 rgba(37,54,89,0.10);
}
.btn-secondary {
  background: #fff;
  color: #DAA520;
  border: 2px solid #DAA520;
  box-shadow: 0 2px 12px 0 rgba(218,165,32,0.09);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #DAA520;
  color: #253659;
  border-color: #DAA520;
}

/* --- Artistic Button Extras --- */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-secondary::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  background: rgba(218,165,32,0.08);
  opacity: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 0;
}
.btn-primary:active::after, .btn-secondary:active::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* === FLEXBOX LAYOUTS & SPACING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(37,54,89,0.06);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(37,54,89,0.06);
  padding: 26px 32px 26px 32px;
  min-width: 270px;
  flex: 1 1 270px;
  transition: transform .14s, box-shadow .23s;
}
.card:hover {
  transform: translateY(-3px) scale(1.028);
  box-shadow: 0 6px 28px -3px rgba(218,165,32,0.14),0 2px 12px 0 rgba(37,54,89,0.08);
}
.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;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(37,54,89,0.10);
  margin-bottom: 20px;
  max-width: 600px;
  color: #273b61;
  font-size: 1.09rem;
  flex: 1 1 320px;
  position: relative;
}
.testimonial-card p {
  color: #273b61;
}
.testimonial-card span {
  font-weight: bold;
  color: #253659;
  font-size: 0.97rem;
  margin-left: 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.star-rating {
  font-size: 1.2rem;
  color: #DAA520;
  margin-left: 8px;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === NAVIGATION === */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 32px;
  background: transparent;
  z-index: 102;
  position: relative;
}
.main-nav > a > img {
  width: 162px;
  height: auto;
  margin-right: 18px;
}
.main-nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-left: 20px;
}
.main-nav li {
  position: relative;
}
.main-nav li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.03rem;
  color: #253659;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .23s, color .23s;
}
.main-nav li a:hover, .main-nav li a:focus,
.main-nav li.active a {
  background: #DAA52018;
  color: #DAA520;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: #DAA520;
  border: none;
  color: #253659;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 211;
  margin-left: 18px;
  cursor: pointer;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #253659;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,54,89,0.88);
  box-shadow: 0 4px 60px 0 rgba(37,54,89,0.18);
  z-index: 210;
  transform: translateX(-100vw);
  transition: transform .37s cubic-bezier(.69,-0.04,.26,1), visibility .34s;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  margin: 18px 0 0 18px;
  z-index: 212;
  align-self: flex-start;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 42px 0 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  padding: 8px 0 8px 0;
  border-radius: 10px;
  transition: color .18s, background .21s;
  min-width: 200px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DAA520;
  color: #253659;
}

/* --- Navigation Responsive --- */
@media (max-width: 1024px) {
  .main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 900px) {
  .main-nav .btn-primary {
    display: none;
  }
}

/* === LISTS / FEATURE / SERVICE GRIDS === */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 6px;
}
.feature-list li {
  flex: 1 1 230px;
  background: #FAF7ED;
  border-left: 6px solid #DAA520;
  border-radius: 14px;
  padding: 20px 22px 20px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  position: relative;
  min-width: 220px;
  margin-bottom: 12px;
  box-shadow: 0 0px 8px 0 rgba(218,165,32,0.07);
  transition: box-shadow .15s;
}
.feature-list img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-list li:hover {
  box-shadow: 0 4px 18px 0 rgba(218,165,32,0.08),0 2px 10px 0 rgba(37,54,89,0.07);
}
.feature-list span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  color: #DAA520;
}

.service-list, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-list li, .service-grid li {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  border-left: 5px solid #253659;
  box-shadow: 0 2px 12px 0 rgba(37,54,89,0.04);
  padding: 22px 22px 20px 34px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  min-width: 230px;
  transition: box-shadow .15s, border .17s;
}
.service-list li:hover, .service-grid li:hover {
  box-shadow: 0 6px 32px 0 rgba(37,54,89,0.10);
  border-left: 5px solid #DAA520;
}
.service-price {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.038rem;
  color: #253659;
  letter-spacing: 0.2px;
  background: #FAF7ED;
  padding: 6px 22px;
  border-radius: 8px;
  box-shadow: 0 2px 10px 0 rgba(218,165,32,0.05);
  align-self: flex-start;
}

/* === NEWS/ANALYSIS/TRAININGS GRIDS === */
.news-feed, .analysis-feed, .training-feed {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.news-feed article, .analysis-feed article,
.training-feed li {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(37,54,89,0.089);
  padding: 20px 22px 22px 24px;
  min-width: 260px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .18s, transform .20s;
  position: relative;
  overflow: hidden;
}
.news-feed article:hover, .analysis-feed article:hover,
.training-feed li:hover {
  box-shadow: 0 8px 32px 0 rgba(37,54,89,0.13);
  transform: translateY(-3px) scale(1.015);
}
.news-feed article h3, .analysis-feed article h3, .training-feed h3 {
  margin-bottom: 7px;
  color: #DAA520;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
}
.news-feed article a, .analysis-feed article a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #DAA520;
  font-size: 1.01rem;
  align-self: flex-end;
  margin-top: 5px;
  font-weight: 600;
  transition: color .19s;
}
.news-feed article a:hover, .analysis-feed article a:hover {
  color: #253659;
  text-decoration: underline;
}

.training-feed span {
  font-size: 0.96rem;
  color: #253659;
  margin: 0 0 7px 0;
}
.training-feed .btn-secondary {
  margin-left: auto;
  margin-top: 15px;
  font-size: 1rem;
  min-width: 130px;
}

/* --- Filter / Controls Navigation --- */
.news-controls ul, .analysis-controls ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.news-controls li a, .analysis-controls li a {
  background: #F0F0F3;
  color: #273b61;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 6px 16px;
  font-size: 0.97rem;
  font-weight: 500;
  transition: background .17s, color .17s;
}
.news-controls li a:hover, .news-controls li a:focus {
  background: #DAA520;
  color: #253659;
}

/* === TEAM GRID / MILESTONES === */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  align-items: stretch;
}
.team-member {
  flex: 1 1 225px;
  background: #fff;
  border-radius: 13px;
  padding: 24px 24px 22px 24px;
  box-shadow: 0 3px 18px 0 rgba(218,165,32,0.07), 0 1.5px 10px 0 rgba(37,54,89,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  min-width: 200px;
  margin-bottom: 16px;
  position: relative;
  transition: box-shadow .19s, transform .19s;
}
.team-member img {
  width: 54px;
  height: 54px;
  margin-bottom: 9px;
}
.team-member h3 {
  color: #DAA520;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 7px;
}
.team-member p {
  color: #273b61;
  font-size: 0.97rem;
  margin-bottom: 5px;
}

.milestones-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #25365910;
  padding: 18px 22px;
  border-radius: 11px;
  max-width: 340px;
  min-width: 200px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  color: #253659;
}
.milestones-timeline h3 {
  font-size: 1.129rem;
  margin-bottom: 6px;
  color: #253659;
}
.milestones-timeline ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* === TEXT SECTIONS & INFO === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 6px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-left: 14px;
  margin-top: 3px;
}
.text-section li {
  position: relative;
  padding-left: 16px;
  /* Artistic Bullet */
}
.text-section li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #DAA520;
  border-radius: 50%;
  margin-right: 9px;
}

/* === FOOTER === */
footer {
  background: #253659;
  color: #fff;
  padding: 42px 0 16px 0;
  margin-top: 50px;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -8px 36px 0 rgba(37,54,89,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer ul {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
footer ul li a {
  color: #DAA520;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  transition: color .16s;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
}
footer ul li a:hover {
  color: #fff;
  border-bottom: 1.5px solid #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  font-size: 1.01rem;
}
.footer-brand img {
  width: 34px;
  height: 34px;
}

/* === PAGE HERO/BANNER SECTIONS === */
section > .container > .content-wrapper > h1, section > .container > .content-wrapper > h2 {
  margin-top: 0;
}
section:first-child {
  background: linear-gradient(114deg,#fff 60%,#FAF7ED 100%);
  box-shadow: 0 8px 38px -10px rgba(218,165,32,0.045);
  border-radius: 0 0 54px 54px;
  min-height: 230px;
}

/* === NEWSLETTER SECTION === */
.text-section ul li {
  font-size: 1.05rem;
  color: #DAA520;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* === TESTIMONIALS SLIDER === */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 10px;
}
@media (max-width: 1023px) {
  .testimonial-slider {
    gap: 23px;
  }
}
@media (max-width: 700px) {
  .testimonial-slider {
    flex-direction: column;
  }
  .card-container, .content-grid, .feature-list, .service-list, .service-grid, .news-feed, .analysis-feed, .team-grid {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card p {
  color: #1a2642;
  font-size: 1.07rem;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: #253659;
  font-size: 0.97rem;
}

/* === ARTISTIC SHADOWS & UNIQUE DECORATIONS === */
.card, .feature-list li, .service-list li, .service-grid li, .team-member, .testimonial-card {
  box-shadow: 0 1.5px 10px 0 rgba(218,165,32,0.06), 0 3px 18px 0 rgba(37,54,89,0.036);
  border-radius: 17px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4000;
  background: #253659;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 30px;
  gap: 30px;
  box-shadow: 0 -3px 26px 0 rgba(37,54,89,0.18);
  border-radius: 24px 24px 0 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  transition: transform .3s, opacity .3s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; transform: translateY(80px); }
.cookie-banner .banner-content {
  max-width: 640px;
  line-height: 1.6;
  margin-right: 30px;
}
.cookie-banner .banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 0;
  align-items: center;
}
.cookie-banner .cookie-btn {
  background: #DAA520;
  color: #253659;
  font-weight: bold;
  border: none;
  border-radius: 14px;
  min-width: 48px;
  min-height: 36px;
  padding: 9px 22px;
  font-size: 1.03rem;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  transition: background .19s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #253659;
}
.cookie-banner .cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #DAA520;
}
.cookie-banner .cookie-btn.settings:hover {
  background: #DAA520;
  color: #253659;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  z-index: 4100;
  background: rgba(37,54,89,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .23s;
}
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
.cookie-modal {
  background: #fff;
  color: #253659;
  border-radius: 24px;
  max-width: 420px;
  min-width: 290px;
  padding: 34px 38px 28px 38px;
  box-shadow: 0 7px 32px 0 rgba(37,54,89,0.20);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  position: relative;
}
.cookie-modal h3 {
  color: #DAA520;
  font-size: 1.33rem;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px;
  right: 18px;
  font-size: 2rem;
  border: none;
  background: transparent;
  color: #253659;
  cursor: pointer;
  z-index: 1;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background: #F0F0F3;
  padding: 10px 17px;
}
.cookie-category .cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #DAA52023;
  border-radius: 11px;
  outline: none;
  position: relative;
  cursor: pointer;
  transition: background .14s;
}
.cookie-category .cookie-toggle:checked {
  background: #DAA520;
}
.cookie-category .cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 5px 0 rgba(37,54,89,0.13);
  transition: left .18s;
}
.cookie-category .cookie-toggle:checked:before {
  left: 19px;
}
.cookie-category label {
  font-size: 1.01rem;
  color: #253659;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 1024px) {
  .content-wrapper { gap: 19px; }
  .section { padding: 32px 10px; }
  .card, .service-list li, .service-grid li, .feature-list li, .team-member, .news-feed article, .analysis-feed article, .testimonial-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    flex-direction: row;
    gap: 18px;
    padding: 15px 0;
  }
}
@media (max-width: 780px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 26px 3vw; margin-bottom: 40px; }
  footer { border-radius: 28px 28px 0 0; }
  .content-wrapper { gap: 11px; }
  .service-list, .service-grid, .feature-list, .team-grid, .news-feed, .analysis-feed {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .testimonial-card { max-width: 100vw; }
  .milestones-timeline { max-width: 100vw; min-width: 120px; }
}
@media (max-width: 600px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .main-nav > a > img { width: 130px; }
  .card, .service-list li, .service-grid li, .feature-list li, .team-member, .news-feed article, .analysis-feed article, .testimonial-card {
    min-width: 90vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .footer-brand img { width: 28px; height: 28px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.08rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 7px;
    gap: 13px;
  }
  .cookie-banner .banner-content { margin-right: 0; }
  .cookie-banner .banner-actions {
    flex-direction: column;
    gap: 7px;
  }
  .cookie-modal {
    padding: 19px 14px 14px 14px;
    max-width: 93vw;
    min-width: unset;
  }
}

/* FLEXBOX-ONLY SAFEGUARD + GAP REINFORCEMENT */
.card-container, .content-grid, .feature-list, .service-list, .service-grid, .team-grid, .testimonial-slider,
.news-feed, .analysis-feed, .training-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}
.text-image-section, .stats-counters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.stats-counters {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}
@media (max-width: 800px) {
  .text-image-section, .stats-counters { flex-direction: column; gap: 20px; align-items: stretch; }
}

/* === UNIQUE ARTISTIC ELEMENTS === */
.card:before, .service-list li:before, .feature-list li:before,
.service-grid li:before, .team-member:before, .testimonial-card:before {
  content: '';
  position: absolute;
  top: -22px; left: -22px;
  width: 45px; height: 45px;
  background: #DAA52022;
  border-radius: 50%;
  z-index: 0;
  filter: blur(4px);
  opacity: 0.45;
  pointer-events: none;
  display: block;
  transition: filter .23s, opacity .14s;
}
.card:hover:before, .service-list li:hover:before,
.feature-list li:hover:before, .service-grid li:hover:before,
.team-member:hover:before, .testimonial-card:hover:before {
  filter: blur(8px);
  opacity: 0.56;
}

/* === REMOVE UNWANTED INPUT OUTLINES === */
input, button, textarea, select {
  outline: none;
  font-family: inherit;
}
input:focus, button:focus, textarea:focus, select:focus {
  outline: 2px solid #DAA520;
}

/* === FOCUS STATES === */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #DAA520;
  outline-offset: 1.5px;
}

/* === PRINT SAFETY === */
@media print {
  .main-nav, .mobile-menu, footer, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #253659 !important;
  }
}
