/* ===========================
   CSS RESET & NORMALIZATION
   =========================== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F8F9FB;
  color: #131313;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  border-style: none;
  max-width: 100%;
  display: block;
}
a {
  color: #0E2231;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #E1B862;
  outline: none;
}
ul, ol {
  margin: 0 0 1.5em 1.2em;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 18px;
  border-bottom: 1px solid #E5E7EA;
  text-align: left;
}
th {
  background: #16181A;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  font-size: 16px;
}
tr:nth-child(even) td {
  background: #FAFAFB;
}
/* ===============================
   TYPOGRAPHY - MONOCHROME STYLE
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  color: #0E2231;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #131313;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #16181A;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 14px;
}
h5, h6 {
  font-size: 1rem;
  margin-bottom: 14px;
}
p, li, td, th {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #272727;
}
p {
  margin-bottom: 18px;
  max-width: 760px;
}
strong {
  font-weight: 600;
  color: #0E2231;
}
blockquote {
  border-left: 4px solid #E1B862;
  padding-left: 24px;
  color: #16181a;
  margin: 20px 0 28px 0;
  font-style: italic;
  font-size: 1.1rem;
  background: #F3F5F8;
  border-radius: 5px;
}
blockquote footer {
  font-weight: 500;
  color: #6B7B8C;
  margin-top: 10px;
  font-size: 0.95rem;
}

/* =============================
   LAYOUT - FLEXBOX EVERYWHERE
   ============================= */
.container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(14,34,49,0.07);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FBFBFD;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(14,34,49,0.08);
  padding: 28px 24px;
  min-width: 280px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
}
.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: #F5F5F7;
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 rgba(14,34,49,0.05);
  margin-bottom: 20px;
  color: #17191B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
  font-size: 15px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}


/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  background: #0E2231;
  box-shadow: 0 2px 14px 0 rgba(14,34,49,0.10);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  min-height: 68px;
  justify-content: flex-start;
  padding: 0 20px;
}
.logo-link {
  margin-right: 30px;
  padding: 0;
  display: flex;
  align-items: center;
}
.main-nav a {
  color: #fff;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 5px;
  transition: background .2s, color .2s;
  position: relative;
}
.main-nav a.cta.primary {
  background: #E1B862;
  color: #181818;
  font-weight: bold;
  margin-left: 16px;
  padding: 10px 24px;
  box-shadow: 0 2px 10px 0 rgba(225,184,98,.15);
  transition: background .24s;
}
.main-nav a.cta.primary:hover,
.main-nav a.cta.primary:focus {
  background: #0e2231;
  color: #E1B862;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: #fff;
  color: #0E2231
}

/* Burger Menu Trigger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin-left: auto;
  cursor: pointer;
  z-index: 51;
  padding: 8px 16px 8px 8px;
  border-radius: 5px;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(225,184,98,0.07);
}

/* ========== MOBILE NAV MENU ========== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100vw;
  background: #131719eb;
  z-index: 1000;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(.77,.12,.36,1);
  visibility: hidden;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E1B862;
  font-size: 2.4rem;
  padding: 20px 20px 8px 20px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1002;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  padding-left: 36px;
  padding-bottom: 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 14px;
  margin-right: 10px;
  border-radius: 7px;
  background: none;
  transition: background .2s, color .2s;
  width: 90%;
  max-width: 460px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #22292f;
  color: #E1B862;
}


/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: linear-gradient(100deg, #fff 85%, #F3F3F6 100%);
  padding: 50px 0 48px 0;
  margin-bottom: 44px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.25rem;
  color: #0E2231;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.2rem;
  color: #6B7B8C;
  margin-bottom: 22px;
}
.hero .cta.primary {
  margin-top: 12px;
}

/* =============================
   BUTTONS & CTA
   ============================= */
.cta, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: none;
  border-radius: 7px;
  background: #0E2231;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.12rem;
  padding: 12px 26px;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(14,34,49,0.06);
  cursor: pointer;
  gap: 8px;
  margin-top: 8px;
  line-height: 1.18;
  transition: background .21s, color .21s, box-shadow .21s;
}
.cta.primary {
  background: #E1B862;
  color: #16181A;
  border: none;
  box-shadow: 0 2px 16px 0 rgba(225,184,98,.11);
}
.cta.primary:hover, .cta.primary:focus {
  background: #ffdb8d;
  color: #0E2231;
}
.cta.secondary {
  background: #13181a;
  color: #fff;
  border: 1px solid #0E2231;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #fff;
  color: #0E2231;
  border: 1px solid #E1B862;
}
button[disabled], .cta[disabled] {
  opacity: 0.56;
  pointer-events: none;
}

/* =============================
   LIST & ICON-LIST
   ============================= */
ul, ol {
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
  line-height: 1.7;
}
ul li img {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  position: relative;
  top: 3px;
}

/* =============================
   TESTIMONIALS
   ============================= */
.testimonial-card {
  background: #fff;
  border-left: 5px solid #E1B862;
  box-shadow: 0 2px 10px 0 rgba(14,34,49,0.07);
  border-radius: 8px;
  color: #17191B;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #272727;
  margin: 0 0 4px 0;
}
.testimonial-card strong {
  color: #6B7B8C;
  font-size: 0.98em;
  font-weight: 500;
}

/* =============================
   TABLES
   ============================= */
table {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 14px 0 rgba(14,34,49,0.075);
  overflow: hidden;
  margin-bottom: 24px;
  margin-top: 10px;
}
tr:hover td {
  background: #F3F5F8;
  transition: background 0.16s;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #0E2231;
  color: #fff;
  padding: 60px 0 30px 0;
  margin-top: 80px;
  font-size: 1rem;
  box-shadow: 0 -2px 10px 0 rgba(9,22,33,0.10);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav a {
  color: #fff;
  font-weight: 400;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E1B862;
}
.footer-contact img {
  margin-bottom: 10px;
  width: 54px;
  height: auto;
}
.footer-contact p {
  color: #E1E6EC;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.5;
}

/* =============================
   COOKIE BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #22262A;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 20px 16px 16px 16px;
  box-shadow: 0 -2px 22px 0 rgba(14,34,49,0.12);
  opacity: 0.97;
  font-size: 1rem;
  border-top: 1px solid #323840;
  animation: fadeInBottom .7s cubic-bezier(.54,.1,.67,1);
}
@keyframes fadeInBottom {
  from { transform: translateY(200px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 8px;
}
.cookie-banner button {
  min-width: 120px;
  font-weight: 600;
  font-family: 'Roboto Slab', Georgia, serif;
  border-radius: 6px;
  font-size: 1rem;
  color: #131313;
  background: #E1B862;
  padding: 10px 18px;
  border: none;
  transition: background .19s, color .19s;
  cursor: pointer;
}
.cookie-banner button.reject {
  background: #fff;
  color: #0E2231;
  border: 1px solid #bfc5c9;
  margin-left: 0;
}
.cookie-banner button.cookie-settings {
  background: #131719;
  color: #E1B862;
  border: 1.5px solid #E1B862;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ffdb8d;
  color: #0E2231;
}
.cookie-banner button.cookie-settings:hover {
  background: #0E2231;
  color: #E1B862;
}

.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 412px;
  background: #fff;
  color: #17191B;
  border-radius: 12px;
  box-shadow: 0 8px 40px 0 rgba(14,34,49,0.15);
  z-index: 4010;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  padding: 32px 28px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popModal .36s cubic-bezier(.55,.16,.53,1);
}
@keyframes popModal {
  from { opacity: 0; transform: translate(-50%, -43%) scale(.82); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #6B7B8C;
  font-size: 1.6rem;
  align-self: flex-end;
  cursor: pointer;
  margin-right: -10px;
  margin-top: -16px;
  margin-bottom: 4px;
  transition: color .17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #0E2231;
}
.cookie-modal-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0E2231;
}
.cookie-modal-section {
  margin-bottom: 12px;
  color: #17181b;
  font-size: 1.07rem;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
}
.cookie-switch input[type="checkbox"] {
  appearance: none;
  width: 34px;
  height: 18px;
  background: #e1e6e9;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background .15s;
  cursor: pointer;
}
.cookie-switch input[type="checkbox"]:checked {
  background: #E1B862;
}
.cookie-switch input[type="checkbox"]:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left .18s;
  box-shadow: 0 1px 2px 0 rgba(30,30,30,0.10);
}
.cookie-switch input[type="checkbox"]:checked:before {
  left: 17px;
}
.cookie-switch label {
  font-size: 1rem;
  color: #16181c;
  font-weight: 500;
}
.cookie-switch.essential label {
  color: #848A93;
  font-style: italic;
}

/* =============================
   ACCESSIBILITY & FINE DETAILS
   ============================= */
:focus {
  outline: 2px dotted #E1B862;
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #B2B6BB; }
::-moz-placeholder { color: #B2B6BB; }
:-ms-input-placeholder { color: #B2B6BB; }
::placeholder { color: #B2B6BB; }

hr {
  border: none;
  border-top: 1px solid #E5E5EA;
  margin: 32px 0;
}

/* =============================
   RESPONSIVE DESIGN
   ============================= */
@media (max-width: 1100px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .hero {
    padding-left: 0;
    padding-right: 0;
    min-height: 0;
  }
  .main-nav { gap: 8px; }
  .footer-nav { gap: 12px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero {
    padding: 30px 0 28px 0;
    margin-bottom: 26px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero p {
    font-size: 1.01rem;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cookie-banner {
    font-size: 0.97rem;
    padding: 13px 5px 16px 7px;
  }
  .cookie-banner .cookie-btns {
    gap: 10px;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 6px;
  }
  .footer-contact img {
    width: 45px;
  }
}
@media (max-width: 650px) {
  .footer-nav {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 7px;
  }
  .footer-contact p {
    font-size: 0.94rem;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  .testimonial-card, .section, .card {
    padding-left: 10px;
    padding-right: 10px;
  }
  .cookie-modal {
    padding: 14px 5px 9px 10px;
    border-radius: 8px;
  }
}
@media (max-width: 768px) {
  .content-grid, .text-image-section, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    align-items: stretch;
    gap: 6px;
  }
  .section {
    box-shadow: none;
    border-radius: 6px;
  }
}

/* =============================
   MICRO-INTERACTIONS
   ============================= */
.cta, .main-nav a, .mobile-nav a, button, .card, .testimonial-card {
  transition: box-shadow .19s, background .14s, color .2s, border .12s, transform .20s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(14,34,49,0.17);
  transform: translateY(-2px) scale(1.012);
}
input[type='checkbox']:focus, input[type='radio']:focus {
  outline: 2px solid #E1B862;
  outline-offset: 1.5px;
}

/* ==================================
  Z-INDEX, NO OVERLAPPING POLICY
=================================== */
footer, .cookie-banner, .cookie-modal, .mobile-menu {
  z-index: 40;
}
.mobile-menu,
.cookie-modal,
.cookie-banner {
  z-index: 1000;
}

/* =============================
   SPECIAL: TABLE SCROLL MOBILE
   ============================= */
@media (max-width: 568px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  thead {
    display: none;
  }
  tr {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 8px 0 rgba(14,34,49,0.08);
  }
  td {
    border-bottom: none;
    position: relative;
    padding: 10px 14px 10px 40%;
    min-height: 36px;
    font-size: 0.99rem;
  }
  td:before {
    position: absolute;
    top: 10px;
    left: 16px;
    width: 38%;
    white-space: nowrap;
    font-weight: 700;
    color: #6B7B8C;
    font-size: 0.95rem;
    content: attr(data-label);
    text-align: left;
  }
}

/* =============================
   PRINT STYLES (MINIMAL)
   ============================= */
@media print {
  body { background: #fff; color: #111; }
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .section, .card { box-shadow: none; border-radius: 0; background: #fff; }
}

/* ========== END ========== */
