/* ==== 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, 
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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F4F6F8;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222e36;
  background: #F4F6F8;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #FFB240;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover {
  color: #2D3C4E;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #2D3C4E;
  margin-bottom: 16px;
  text-wrap: balance;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.15rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 0.85rem;
}

p, ul, ol, blockquote {
  margin-bottom: 1.1em;
}

ul, ol {
  padding-left: 1.3em;
}

strong {
  font-weight: 700;
}

section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 4px 20px 0 rgba(45, 60, 78, 0.08);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ==== HEADER ==== */
header {
  background: #fff;
  box-shadow: 0 4px 20px 0 rgba(45, 60, 78, 0.06);
  position: sticky;
  top: 0;
  z-index: 12;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #2D3C4E;
  position: relative;
  padding: 5px 6px;
  letter-spacing: 0.6px;
  transition: color 0.22s;
}
header nav a:hover, header nav a:focus {
  color: #FFB240;
}

.cta-button {
  background: #FFB240;
  color: #2D3C4E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  border: none;
  border-radius: 33px;
  padding: 12px 32px;
  cursor: pointer;
  box-shadow: 0 6px 22px -7px #ffb24077;
  transition: background 0.22s, color 0.22s, transform 0.19s;
  margin-left: 12px;
  letter-spacing: 0.5px;
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #2D3C4E;
  color: #ffb240;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px -6px #2d3c4e22;
}
.cta-button.secondary {
  background: #2D3C4E;
  color: #FFF;
  border: 2px solid #FFB240;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: #FFB240;
  color: #2D3C4E;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #FFB240;
  font-size: 2.1rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 13px;
  transition: background 0.2s, color 0.23s;
  z-index: 90;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFB240;
  color: #2D3C4E;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #2D3C4E;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.87, 0, 0.13, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 32px;
  gap: 32px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.25rem;
  color: #FFB240;
  background: none;
  border: none;
  margin: 12px 20px 14px 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 8px 36px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.23rem;
  letter-spacing: 1.3px;
  padding: 8px 0;
  width: 100%;
  border-radius: 7px;
  transition: background 0.19s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #ffb240;
  color: #2D3C4E;
}

@media (max-width: 1080px) {
  header .container nav {
    gap: 9px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  header .container nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-button {
    margin-left: 0;
  }
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(90deg, #2D3C4E 60%, #FFB240 220%);
  color: #fff;
  padding-top: 46px;
  padding-bottom: 56px;
  margin-bottom: 48px;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 12px 33px -12px #2d3c4e22;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  max-width: 600px;
}
.hero .subheadline {
  color: #FFB240;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.26rem;
  max-width: 680px;
  margin-bottom: 14px;
  letter-spacing: 0.8px;
}
.hero .cta-button {
  background: #FFF;
  color: #2D3C4E;
  font-size: 1.15rem;
}
.hero .cta-button:hover { background: #FFB240; color: #2D3C4E; }

/* ==== FEATURE CARDS, FLEX ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 24px;
}
.feature-item {
  background: #F7F3FF;
  border-radius: 22px;
  box-shadow: 0px 4px 20px 0 #ffb2401a;
  padding: 28px 26px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-height: 190px;
  transition: transform 0.18s, box-shadow 0.2s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item img {
  height: 38px; width: 38px;
}
.feature-item h3 {
  color: #2D3C4E;
  font-size: 1.17rem;
  font-weight: 800;
  margin-bottom: 0.35em;
  margin-top: 0;
}
.feature-item p {
  color: #293d56;
  font-size: 1rem;
}
.feature-item:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 14px 34px -10px #ffb24039;
}

/* ==== CARD LAYOUTS ==== */
.card-container, .inspiration-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffbe5;
  border-radius: 17px;
  box-shadow: 0 2px 20px 0 #ffb24030;
  padding: 22px 18px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 300px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 5px solid #FFB240;
  transition: box-shadow 0.2s, border-color 0.23s, transform 0.17s;
}
.card:hover {
  border-color: #2D3C4E;
  box-shadow: 0 8px 30px 0 #ffb24020;
  transform: translateY(-3px) scale(1.025);
}

/* ==== SECTION SPACING (MANDATORY PATTERNS) ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { 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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === TESTIMONIALS & CASE STUDIES === */
.testimonials {
  background: #FFB240;
  border-radius: 23px;
  box-shadow: 0 4px 32px -10px #2d3c4e17;
  color: #252e40;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonials h2 {
  color: #2D3C4E;
}
.testimonial-slider, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 25px;
  margin-bottom: 10px;
}
.testimonial-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 14px 0 #2d3c4e10;
  padding: 28px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.17s;
  flex: 1 1 260px;
}
.testimonial-card blockquote {
  color: #2D3C4E;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.42;
  margin-bottom: 0.6em;
}
.testimonial-card .author {
  color: #ffb240;
  font-weight: 700;
  font-size: 1.03rem;
  font-family: 'Montserrat',sans-serif;
  letter-spacing: 0.5px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px -7px #2d3c4e1a;
  transform: translateY(-2px) scale(1.015);
}
.client-quotes blockquote {
  color: #2D3C4E;
  background: #fffbe5;
  border-left: 6px solid #FFB240;
  border-radius: 8px;
  margin: 16px 0 0 0;
  padding: 16px 18px;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.44;
}
.client-quotes .author {
  color: #ffb240;
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
}

/* ==== FEATURES LISTS & ICONS ==== */
.feature-list, .trend-list, .event-list, .step-by-step-guide, .innovation-examples ul, .event-highlights ul, .trend-highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 18px 0;
  padding-left: 0;
}
.trend-list img {
  width: 30px; height: 30px; vertical-align: middle; margin-right: 9px;
}
.trend-icons {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  align-items: center;
}
.trend-icons img {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 24px 0 #ffb24038;
  padding: 5px;
}

/* === FOOTER === */
footer {
  background: #2D3C4E;
  color: #FFF;
  padding: 38px 0 12px 0;
  margin-top: 40px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 4px 32px 0 #2d3c4e30;
  min-height: 185px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-branding img {
  width: 55px;
  margin-bottom: 4px;
}
.footer-branding p {
  color: #FFF;
  font-size: 0.97rem;
  opacity: 0.92;
  margin-bottom: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 8px 0;
}
footer nav a {
  color: #ffb240;
  font-family: 'Montserrat',sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: color 0.22s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #ffeecc;
  font-size: 0.97rem;
}
footer .contact-info img {
  margin-right: 8px;
  vertical-align: middle;
  width: 20px; height: 20px;
}

/* ==== CTA SECTIONS ==== */
.newsletter-cta, .cta {
  background: #2D3C4E;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 22px -10px #2d3c4e88;
  padding: 36px 14px;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.newsletter-cta h2, .cta h2 { color: #FFB240; }

/* ==== LAYOUTS: FLEXBOX ONLY ==== */
.features, .trend-highlights, .event-highlights, .client-quotes, .services, .case-study-list, .innovation-examples {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

/* ==== MISCELLANEOUS ELEMENTS ==== */
blockquote {
  quotes: '\201E''\201D''\201A''\2019';
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}
blockquote:before {
  content: open-quote;
  color: #FFB240;
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -.7em;
  margin-right: 6px;
}
blockquote:after {
  content: close-quote;
  color: #FFB240;
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -.7em;
  margin-left: 4px;
}

code, pre {
  background: #fffae2;
  color: #2D3C4E;
  font-size: 0.94em;
  padding: 4px 7px;
  border-radius: 4px;
}

/* ==== COOKIE CONSENT BAR & MODAL ==== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  box-shadow: 0 -4px 20px -5px #2D3C4E33;
  z-index: 150;
  padding: 20px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.45,0,0.27,1);
  transform: translateY(0);
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-consent-banner .cookie-message {
  color: #2D3C4E;
  font-size: 1rem;
  margin-bottom: 6px;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: #FFB240;
  color: #2D3C4E;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  padding: 8px 22px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 6px;
  box-shadow: 0 2px 10px #ffb24022;
  transition: background 0.16s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #2D3C4E;
  color: #FFB240;
}
.cookie-btn.secondary {
  background: #F4F6F8;
  color: #2D3C4E;
  border: 1px solid #FFB240;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #FFB240;
  color: #2D3C4E;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%,50%) scale(0.76);
  z-index: 180;
  background: #fff;
  box-shadow: 0 8px 44px 0 #2d3c4e2a;
  border-radius: 21px;
  width: 350px;
  max-width: 99vw;
  padding: 28px 26px 18px 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.28s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,40%) scale(1);
}
.cookie-modal h4 {
  font-size: 1.19rem;
  color: #2D3C4E;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.02rem;
  padding: 6px 0;
}
.cookie-category label {
  font-weight: 600;
  color: #2D3C4E;
}
.cookie-toggle {
  background: #F4F6F8;
  border-radius: 15px;
  border: none;
  width: 38px;
  height: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 100%;
  background: #FFB240;
  transition: left 0.16s, background 0.15s;
}
.cookie-toggle[aria-checked="true"]:before {
  left: 19px;
  background: #2D3C4E;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 10px;
}

/* ==== UTILITY CLASSES ==== */
.hide { display: none !important; }

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1170px) {
  .feature-grid, .testimonial-slider, .case-study-list, .card-container, .inspiration-cards {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .testimonial-slider, .case-study-list, .card-container, .inspiration-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer .container, footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  section, .section {
    padding: 30px 5px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 32px 9px 33px 9px;
  }
}
@media (max-width: 650px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.35rem; }
  .hero {
    border-radius: 0 0 16px 16px;
    min-height: 160px;
    padding-top: 28px;
    padding-bottom: 22px;
  }
  .cta-button, .cookie-btn {
    padding: 10px 16px;
    font-size: 0.97rem;
  }
}
@media (max-width: 480px) {
  .section, section, .newsletter-cta, .cta {
    padding: 16px 3px;
    margin-bottom: 24px;
  }
}

/* ==== ANIMATIONS ==== */
.cta-button, .feature-item, .card, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.2s, color 0.2s, background 0.2s, transform 0.17s;
}
.mobile-menu, .cookie-consent-banner, .cookie-modal {
  will-change: transform, opacity;
}

/* ==== FOR ACCESSIBILITY ==== */
:focus { outline: 2px dashed #FFB240; outline-offset: 2px; }

/* ==== BRAND COLORS CSS VARS for compatibility ==== */
:root {
  --color-primary: #2D3C4E;
  --color-secondary: #F4F6F8;
  --color-accent: #FFB240;
  --color-bg: #fff;
  --color-bg-alt: #F7F3FF;
  --color-card: #fffbe5;
}

/* ==== FORMS & BUTTONS UTILS ==== */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1px solid #bbc4cc;
  border-radius: 7px;
  background: #fff;
  color: #2D3C4E;
  margin-bottom: 10px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #FFB240;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==== MANDATORY: PREVENT OVERLAPPING ==== */
.card, .feature-item, .testimonial-card, section, .section, .card-container > *, .content-grid > * {
  margin-bottom: 20px;
}

/* ==== END OF CSS ==== */
