/* =============================
  CSS RESET & BASE STYLES
============================= */
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, 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  color: #1E365D;
  background: #FFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  position: relative;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
a {
  color: #1E365D;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #1E365D;
  line-height: 1.2;
}
h1 { font-size: 2.8rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }

/* COLOR CLASSES */
.bg-primary { background: #1E365D; color: #fff; }
.bg-secondary { background: #DEE2E6; }
.bg-accent { background: #F4B942; color: #fff; }
.text-primary { color: #1E365D !important; }
.text-accent { color: #F4B942 !important; }
.text-secondary { color: #495057 !important; }

/* =============================
  LAYOUT & RESPONSIVE CONTAINER
============================= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}


/* =============================
    HEADER & NAVIGATION
============================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30,54,93,0.06);
  position: sticky;
  top: 0;
  z-index: 800;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
header a img {
  height: 36px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #1E365D;
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 4px;
  position: relative;
  transition: background 0.13s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #DEE2E6;
  color: #114077;
}
.cta-btn {
  background: #1E365D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 24px 12px 24px;
  border-radius: 28px;
  box-shadow: 0 3px 16px 0 rgba(30,54,93,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
  display: inline-block;
  margin-left: 12px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F4B942;
  color: #1E365D;
  box-shadow: 0 6px 20px 0 rgba(30,54,93,0.14);
}

.mobile-menu-toggle {
  display: none;
  background: #1E365D;
  color: #fff;
  font-size: 2rem;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  border: none;
  transition: background 0.15s;
  z-index: 999;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #114077;
}

/* =============================
      MOBILE NAVIGATION
============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  transition: transform 0.34s cubic-bezier(.61,-0.19,.7,1.17);
  box-shadow: 4px 0 32px 0 rgba(30,54,93,0.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: #DEE2E6;
  color: #1E365D;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4B942;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 85px;
  align-items: flex-start;
  width: 100vw;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #1E365D;
  padding: 12px 0;
  min-width: 200px;
  border-radius: 8px;
  transition: background 0.14s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DEE2E6;
  color: #114077;
  padding-left: 12px;
}

/* =============================
    HERO & SECTION STYLES
============================= */
.hero {
  background: #DEE2E6;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 340px;
}
.hero h1 {
  font-size: 2.4rem;
  color: #1E365D;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 12px;
  font-weight: 800;
}
.hero p {
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.hero .cta-btn {
  margin-top: 8px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 20px 0 rgba(30,54,93,0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =============================
    FEATURE GRID & CARDS
============================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin-top: 16px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8FAFC;
  padding: 26px 22px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(30,54,93,0.05);
  min-width: 225px;
  flex: 1 1 235px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.18s;
}
.feature-item img {
  width: 44px;
  height: 44px;
}
.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.feature-item p {
  color: #495057;
}
.feature-item:hover {
  box-shadow: 0 10px 28px rgba(30,54,93,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Cards container pattern for other content */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(30,54,93,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
  margin-bottom: 40px;
}

/* =============================
    COLLECTIONS & CASE STUDIES
============================= */
.collection-list, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.collection-item, .case-study-item {
  background: #F8FAFC;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,54,93,0.03);
  padding: 26px 22px;
  flex: 1 1 290px;
  min-width: 230px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.collection-item:hover,
.case-study-item:hover {
  box-shadow: 0 7px 24px rgba(30,54,93,0.11);
  transform: translateY(-2px) scale(1.02);
}
.collection-item h2, .case-study-item h2 {
  font-size: 1.25rem;
  margin-bottom: 7px;
}

/* =============================
      TESTIMONIALS
============================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F8FAFC;
  border-radius: 14px;
  box-shadow: 0 3px 14px 0 rgba(30,54,93,0.11);
  margin-bottom: 24px;
  border-left: 5px solid #F4B942;
}
.testimonial-card p {
  color: #1E365D;
  font-style: italic;
  font-size: 1.07rem;
  font-weight: 400;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #495057;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* =============================
          CONTACT DATA
============================= */
.contact-data {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 26px;
}
.contact-data ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-data li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1E365D;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.contact-data img {
  width: 24px;
  height: 24px;
}

/* =============================
            FOOTER
============================= */
footer {
  background: #1E365D;
  color: #fff;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  padding: 4px 0;
  transition: color 0.18s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F4B942;
}
.footer-brand img {
  width: 68px;
  height: auto;
  margin-bottom: 12px;
}
.footer-contact p {
  color: #DEE2E6;
  font-size: 0.97rem;
  margin-bottom: 6px;
}

/* =============================
     COOKIE CONSENT BANNER
============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF;
  color: #1E365D;
  box-shadow: 0 -2px 18px 0 rgba(30,54,93,0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 40px 20px 24px;
  z-index: 9001;
  transition: transform 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  flex: 1 1 0;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 22px;
  padding: 8px 22px;
  border: none;
  background: #DEE2E6;
  color: #1E365D;
  margin-left: 0;
  transition: background 0.16s, color 0.17s, box-shadow 0.17s;
  box-shadow: 0 1px 4px rgba(30,54,93,0.07);
}
.cookie-btn.accept {
  background: #1E365D;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F4B942;
  color: #1E365D;
}
.cookie-btn.reject {
  background: #fff;
  color: #1E365D;
  border: 1px solid #DEE2E6;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F4B942;
  color: #fff;
  border: 1px solid #F4B942;
}
.cookie-btn.settings {
  background: #DEE2E6;
  color: #1E365D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #1E365D;
  color: #fff;
}

/* =============================
    COOKIE PREFERENCES MODAL
============================= */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,54,93, 0.35);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 38px rgba(30,54,93,0.17);
  max-width: 420px;
  padding: 36px 30px 28px 30px;
  color: #1E365D;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.32s cubic-bezier(.61,-0.19,.7,1.17);
}
@keyframes modalIn {
  from { opacity:0; transform: translateY(48px) scale(0.97); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal ul {
  list-style: none;
  padding-left: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #DEE2E6;
  border-radius: 32px;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #F4B942;
}
.cookie-slider:before {
  position: absolute;
  content: '';
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 3.5px;
  background-color: #fff;
  transition: transform 0.19s cubic-bezier(.55,0,.36,1), background 0.15s;
  border-radius: 50%;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(18px);
  background: #fff;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #DEE2E6;
  color: #1E365D;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 1.2rem;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F4B942;
  color: #fff;
}

/* =============================
        RESPONSIVE DESIGN
============================= */
@media (max-width: 1200px) {
  .container{
    max-width: 95vw;
  }
}
@media (max-width: 992px) {
  .feature-grid,
  .collection-list,
  .case-study-list,
  .card-container,
  .content-grid {
    gap: 16px;
  }
  .feature-item, .collection-item, .case-study-item, .card {
    min-width: 180px;
    max-width: 100%;
    flex: 1 1 199px;
  }
  header .container {
    gap: 14px;
    min-height: 60px;
  }
  .footer-brand img { width: 54px; }
}
@media (max-width: 900px) {
  .container { padding-left: 10px; padding-right: 10px; }
  .footer-brand img { width: 42px; }
  .section, section { padding: 26px 8px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .hero {
    min-height: 230px;
    padding: 0;
  }
  .hero .container {
    min-height: 190px;
    padding-top: 24px;
    padding-bottom: 18px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .feature-grid, .collection-list, .case-study-list, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .section, section {
    margin-bottom: 38px;
    padding: 24px 4px;
    border-radius: 10px;
  }
  .testimonial-card,
  .feature-item, .collection-item, .case-study-item, .card {
    padding: 18px 10px;
    border-radius: 9px;
  }
  .footer-menu, .footer-brand, .footer-contact {
    align-items: flex-start;
  }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .contact-data {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    gap: 8px;
    font-size: 0.98rem;
  }
}
@media (max-width: 500px) {
  .cookie-modal {
    max-width: 96vw;
    padding: 18px 8px 16px 8px;
    border-radius: 8px;
  }
}

/* =============================
      UTILITIES
============================= */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-16 { margin-top: 16px!important; }
.mb-16 { margin-bottom: 16px!important; }
.mt-32 { margin-top: 32px!important; }
.mb-32 { margin-bottom: 32px!important; }
.text-center { text-align: center!important; }

/* =============================
      MICRO-INTERACTIONS
============================= */
.cta-btn, .main-nav a, .mobile-nav a, .feature-item, .collection-item, .case-study-item, .card,
.cookie-btn, .cookie-modal-close {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.15s;
}

/* =============================
       ACCESSIBILITY FOCUS
============================= */
a:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #F4B942;
  outline-offset: 1px;
}

/* =============================
      Z-INDEX POLICIES
============================= */
header { z-index: 800; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 9001; }
.cookie-modal-overlay { z-index: 10001; }
