/* --- CSS RESET & NORMALIZE --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; font-weight: normal; }
body { min-height: 100vh; font-family: 'Arial', Arial, sans-serif; color: #232323; background: #FAFAFA; line-height: 1.56; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px; text-align: left; border-bottom: 2px solid #E9ECEF; }
th { background: #F8FAFC; font-size: 16px; font-family: 'Roboto Slab', Arial, sans-serif; letter-spacing: 0.3px; }

/* --- TYPOGRAPHY (geometric_structured) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #1D3557;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, blockquote, td, th, a, div { font-size: 1rem; }
p { margin-bottom: 18px; }
strong, b { font-weight: 700; color: #1D3557; }
blockquote {
  border-left: 4px solid #F2B705;
  padding: 8px 0 8px 20px;
  background: #F8FAFC;
  font-size: 1rem;
  font-style: italic;
  color: #232323;
}

/* --- BASE LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #FFFFFF;
  border-bottom: 4px solid #F2B705;
  padding: 0;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-direction: row;
  gap: 24px;
}
header a img {
  height: 48px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1D3557;
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.3px;
  transition: color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #F2B705;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
  border-radius: 8px;
  background: #1D3557;
  color: #FFFFFF;
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(29,53,87,0.07);
  border: 2px solid #1D3557;
  transition: background 0.14s, color 0.14s, transform 0.175s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #F2B705;
  color: #1D3557;
  transform: translateY(-2px) scale(1.02);
  border-color: #F2B705;
}

header .btn-primary { margin-left: 32px; }

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: #F2B705;
  color: #1D3557;
  border: none;
  padding: 8px 16px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(29,53,87,0.18);
  position: relative;
  z-index: 1112;
  cursor: pointer;
  transition: background 0.17s;
  margin-left: 16px;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #fac43e;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1D3557;
  color: #FFFFFF;
  z-index: 1100;
  transform: translateX(110vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.41s cubic-bezier(.77,.2,.05,1), opacity 0.34s;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  background: none;
  border: none;
  color: #F2B705;
  padding: 16px 24px 10px 0;
  cursor: pointer;
  transition: color 0.19s;
  z-index: 1112;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFFFFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: flex-start;
  margin-left: 38px;
}
.mobile-nav a {
  color: #F2B705;
  font-size: 1.32rem;
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.7px;
  padding: 7px 0;
  transition: color 0.15s, border-bottom 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFFFFF;
  border-bottom: 2.5px solid #FFFFFF;
}

/* --- SECTIONS & FLEX STRUCTURE --- */
section {
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 2px 14px rgba(29,53,87,0.06);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  background: #F8FAFC;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(29,53,87,0.09);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 275px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1 1 auto;
}

.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: #F2B705;
  color: #232323;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 1.08rem;
  box-shadow: 0 2.5px 10px rgba(29,53,87,0.10);
  border-left: 7px solid #1D3557;
  max-width: 590px;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  margin-right: 15px;
  color: #232323;
}
.testimonial-card div {
  font-size: 0.97rem;
  color: #1D3557;
  font-style: normal;
  font-weight: 600;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 13px;
  line-height: 1.4;
}
ul li img, .feature-item img { height: 28px; width: 28px; flex-shrink: 0; margin-right: 7px; }

/* --- LINKS & MICROINTERACTIONS --- */
a {
  cursor: pointer;
  transition: color 0.17s, border-bottom 0.2s;
}
a:hover, a:focus { color: #F2B705; }

ul li a {
  color: #1D3557;
  font-weight: 500;
  border-bottom: 2px solid #F2B705;
  padding-bottom: 2px;
  transition: color 0.17s,
    border-bottom 0.21s;
}
ul li a:hover, ul li a:focus {
  color: #F2B705;
  border-bottom: 2px solid #1D3557;
}

/* --- TABLES --- */
table {
  border-radius: 10px;
  box-shadow: 0 1.5px 6px rgba(29,53,87,0.06);
  background: #FFF;
  margin-bottom: 24px;
  overflow-x: auto;
}
trepr, td {
  font-family: 'Arial', Arial, sans-serif;
  color: #232323;
  vertical-align: top;
}
'td img, th img { vertical-align: middle; margin-right: 5px; }
'tbody tr:nth-child(even) { background: #F8FAFC; }
'tbody tr:hover { background: #F2B70522; }

/* --- FOOTER --- */
footer {
  background: #1D3557;
  color: #FFFFFF;
  padding: 48px 0 24px 0;
  margin-top: 48px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
footer a img {
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}
.nav.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-nav a {
  color: #F2B705;
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFFFFF; text-decoration: underline; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  max-width: 450px;
  justify-content: center;
  font-size: 0.97rem;
}
.footer-contact img {
  height: 20px; width: 20px; margin-right: 8px; }
footer small { color: #F2B705; font-size: 0.93rem; margin-top: 18px;}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: #1D3557;
  color: #FFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 4000;
  padding: 22px 34px;
  box-shadow: 0 -2px 16px rgba(29,53,87,0.18);
  gap: 16px;
  transition: transform 0.33s cubic-bezier(.46,.44,.24,1);
}
.cookie-banner.hide {
  transform: translateY(150px);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__text {
  flex: 2;
  font-size: 1.07rem;
  margin-right: 22px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 7px;
  border: 2px solid transparent;
  cursor: pointer;
  background: #F2B705;
  color: #1D3557;
  font-weight: 700;
  transition: background 0.13s, color 0.13s, border 0.18s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #1D3557;
  color: #F2B705;
  border: 2px solid #F2B705;
}
.cookie-btn.secondary {
  background: #FFFFFF;
  color: #1D3557;
  border: 2px solid #F2B705;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #F2B705;
  color: #1D3557;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  bottom: 0; top: 0;
  background: rgba(29,53,87,0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__content {
  background: #FFF;
  color: #232323;
  border-radius: 18px;
  min-width: 320px;
  max-width: 416px;
  padding: 38px 32px 24px 32px;
  box-shadow: 0 8px 36px rgba(29,53,87,0.20);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h2 {
  font-size: 1.36rem;
  color: #1D3557;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: 'Roboto Slab', Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 600;
}
.cookie-toggle {
  margin-left: auto;
  width: 38px;
  height: 23px;
  position: relative;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #EEE;
  border-radius: 20px;
  transition: background 0.2s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: #1D3557;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px; top: 2.15px;
  width: 17px; height: 17px;
  background: #F2B705;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(15px);
}
.cookie-category-desc {
  margin-left: 8px;
  color: #444;
  font-size: 0.98rem;
  font-weight: 400;
}
.cookie-modal__actions {
  display: flex;
  gap: 15px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  top: 15px; right: 19px;
  background: none;
  border: none;
  color: #1D3557;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal__close:hover {
  color: #F2B705;
}

/* --- SPECIAL LAYOUT CLASSES & UTILITIES --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.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; }

/* --- RESPONSIVE DESIGN (mobile first) --- */
@media (max-width: 880px) {
  .container { max-width: 98vw; }
  section, .section { padding: 30px 7vw; }
  header .container { flex-direction: column; gap: 14px; padding: 16px 0; align-items: stretch; }
}
@media (max-width: 768px) {
  .main-nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .container { max-width: 100vw; padding: 0 8px; }
  .content-wrapper { padding: 0; }
  .footer-contact { flex-direction: column; gap: 10px; }
  .card-container, .content-grid, .text-image-section { flex-direction: column; gap: 20px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px; }
  .footer-nav { gap: 12px; }
  section, .section { padding: 22px 2vw; margin-bottom: 35px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
}
@media (max-width: 500px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 18px 10px; }
  .cookie-banner__text { margin-right: 0; margin-bottom: 10px; }
  .cookie-modal__content { min-width: 98vw; max-width: 98vw; border-radius: 9px; padding: 16vw 5vw 11vw 9vw; }
  .testimonial-card { max-width: 98vw; }
}

/* --- GEOMETRIC STRUCTURE VISUALS --- */
section, .section, .card {
  border-radius: 16px;
  box-shadow: 0 2.5px 14px rgba(29,53,87,0.11);
  border: 1.7px solid #E9ECEF;
}

.card-container .card, .card-content, .feature-item, .testimonial-card {
  /* angular corners for geometric look */
  border-radius: 10px 10px 18px 5px;
}

/* Angular underlines for headings */
h2, h3 {
  position: relative;
}
h2:after, h3:after {
  content: "";
  display: block;
  width: 61px;
  height: 4px;
  background: #F2B705;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 3% 100%);
  margin-top: 8px;
}

/* Button icon hover microinteraction */
.btn-primary svg {
  margin-left: 7px;
  transition: transform 0.2s;
}
.btn-primary:hover svg { transform: translateX(4px) scale(1.02); }

/* --- FORM & MISC --- */
input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border-radius: 4px;
}

input:focus, textarea:focus, select:focus {
  border-color: #F2B705;
  box-shadow: 0 0 0 2px #F2B70544;
}

/* --- Z-INDEX RELEASES --- */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1000; }

/* --- UTILITY CLASSES --- */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-20 { gap: 20px !important; }

/* --- PRINT --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; } 
  body { background: #FFF; }
  section, .section, .card { box-shadow: none; border: none; }
}
