/* IGNIZAMMUS MINIMALIST FLEXBOX CSS */

/* =====================
   CSS RESET & BASE
===================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #115B8C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C25B18;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin: 1em 0;
}
li {
  margin-bottom: 0.5em;
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #115B8C;
  margin: 0 0 0.7em 0;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 1.2em;
}
h3 {
  font-size: 1.15rem;
  color: #222;
  font-weight: 600;
}
p {
  margin: 0 0 1.2em 0;
  color: #222;
  font-size: 1.05rem;
}
strong {
  font-weight: 600;
  color: #115B8C;
}

/* =====================
   CONTAINER & LAYOUT
===================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(17,91,140,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================
   HEADER & NAVIGATION
===================== */
header {
  background: #fff;
  border-bottom: 1px solid #E1F0F8;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
header img {
  height: 38px;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #115B8C;
  border-bottom: 2px solid #115B8C;
}
.btn-primary {
  background: #115B8C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(17,91,140,0.07);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  margin-left: 20px;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #C25B18;
  color: #fff;
  box-shadow: 0 4px 16px rgba(194,91,24,0.10);
  outline: none;
}

/* Hamburger menu button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #115B8C;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #115B8C;
}

/* =====================
   MOBILE NAVIGATION
===================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 32px rgba(17,91,140,0.08);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #115B8C;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid #115B8C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #222;
  padding: 10px 0;
  border-bottom: 1px solid #E1F0F8;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C25B18;
  outline: none;
}

/* Hide desktop nav on mobile, show burger */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================
   HERO SECTION
===================== */
.hero {
  background: #E1F0F8;
  border-radius: 0 0 24px 24px;
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
  box-shadow: 0 2px 12px rgba(17,91,140,0.04);
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #115B8C;
  font-size: 2.3rem;
  margin-bottom: 0.5em;
}
.hero p {
  color: #222;
  font-size: 1.15rem;
  margin-bottom: 1.5em;
}
.hero .btn-primary {
  margin-left: 0;
}

/* =====================
   FLEXBOX LAYOUTS
===================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(17,91,140,0.05);
  padding: 24px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px rgba(17,91,140,0.10);
  transform: translateY(-2px) scale(1.01);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(17,91,140,0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(17,91,140,0.10);
  transform: translateY(-2px) scale(1.01);
}

.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: 12px;
  box-shadow: 0 2px 8px rgba(17,91,140,0.07);
  margin-bottom: 20px;
  color: #222;
  font-size: 1.08rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(17,91,140,0.10);
  transform: translateY(-2px) scale(1.01);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   BUTTONS & INTERACTIONS
===================== */
button, .btn-primary {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
}
button:focus, .btn-primary:focus {
  outline: 2px solid #115B8C;
  outline-offset: 2px;
}

/* =====================
   FORMS & INPUTS
===================== */
input[type="text"], input[type="email"], input[type="search"], textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  border: 1px solid #E1F0F8;
  border-radius: 8px;
  background: #F8FBFD;
  color: #222;
  margin-bottom: 16px;
  transition: border 0.2s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #115B8C;
  outline: none;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #F8FBFD;
  border-top: 1px solid #E1F0F8;
  padding: 40px 0 20px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 12px;
}
footer nav a {
  color: #115B8C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: #C25B18;
}
footer p {
  color: #666;
  font-size: 0.98rem;
  margin: 0 0 6px 0;
}

/* =====================
   COOKIE CONSENT BANNER
===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #E1F0F8;
  box-shadow: 0 -2px 16px rgba(17,91,140,0.07);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px;
  gap: 20px;
  opacity: 1;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 0;
  color: #222;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-btn.accept {
  background: #115B8C;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #C25B18;
  color: #fff;
}
.cookie-btn.reject {
  background: #E1F0F8;
  color: #115B8C;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F7A278;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  color: #115B8C;
  border: 1px solid #E1F0F8;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E1F0F8;
  color: #115B8C;
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(17,91,140,0.10);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(17,91,140,0.12);
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal 0.4s cubic-bezier(.77,0,.18,1);
}
@keyframes fadeInModal {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  color: #115B8C;
  margin-bottom: 0.5em;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: #222;
}
.cookie-modal .cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #E1F0F8;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
  box-shadow: 0 1px 4px rgba(17,91,140,0.07);
}
.cookie-modal .cookie-toggle input:checked + span {
  left: 19px;
  background: #115B8C;
}
.cookie-modal .cookie-category.essential label {
  color: #888;
}
.cookie-modal .cookie-category.essential .cookie-toggle {
  background: #E1F0F8;
  cursor: not-allowed;
}
.cookie-modal .cookie-category.essential span {
  background: #115B8C;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
}

/* =====================
   RESPONSIVE DESIGN
===================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 36px 0 24px 0;
    margin-bottom: 36px;
    border-radius: 0 0 16px 16px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 10px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 8px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 20px 8px 16px 8px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .hero {
    padding: 22px 0 12px 0;
    margin-bottom: 18px;
    border-radius: 0 0 10px 10px;
  }
  .section {
    padding: 14px 2px;
    margin-bottom: 18px;
  }
}

/* =====================
   MISCELLANEOUS
===================== */
::-webkit-scrollbar {
  width: 8px;
  background: #F8FBFD;
}
::-webkit-scrollbar-thumb {
  background: #E1F0F8;
  border-radius: 8px;
}

/* Hide outline for mouse users, show for keyboard */
:focus:not(:focus-visible) {
  outline: none;
}

/* =====================
   VISUAL MICRO-INTERACTIONS
===================== */
.card, .feature-grid > div, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(17,91,140,0.10);
  transform: translateY(-2px) scale(1.01);
}

/* =====================
   ACCESSIBILITY
===================== */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}

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