/* =======================================================
   Timeless Crypt Solutions - Creative Artistic CSS
   Style: vibrant, artistic, innovative, flexbox layouts only
   Fonts: Montserrat (display), Roboto (body)
   Colors: #183153 (primary), #F2B12C (secondary), #F9F4EF (accent)
   No CSS Grid or Columns. Flexbox everywhere!
   ======================================================= */
   
/* ========== CSS RESET & NORMALIZE ========== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
html, body { height: 100%; background: #F9F4EF; }
body { font-family: 'Roboto', Arial, sans-serif; color: #183153; font-size: 16px; line-height: 1.7; min-height: 100vh; overflow-x: hidden; }
img, picture { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #F2B12C; outline-offset: 2px; }
button { font: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

/* ========== BRAND FONTS ========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6, .cta-primary, .mobile-menu-toggle {
  font-family: 'Montserrat', Arial, sans-serif;
}

h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -1px; line-height: 1.13; margin-bottom: 24px; color: #183153; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 18px; color: #183153; position: relative; }
h3 { font-size: 1.25rem; font-weight: 700; color: #183153; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1.1rem; }

p, li, span, .lead { font-family: 'Roboto', Arial, sans-serif; font-size: 1rem; }
.lead, .tagline { font-size: 1.25rem; font-weight: 500; color: #183153; margin-bottom: 18px; }

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

/* ========== SECTIONS & SPACING ========== */
section {
  width: 100%;
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 6px 24px rgba(24,49,83,0.09), 0 1.5px 3px rgba(242,177,44,0.08);
  border-radius: 18px;
  padding: 32px 24px;
  transition: box-shadow 0.22s, transform 0.22s;
  min-width: 240px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(24,49,83,0.15);
  transform: translateY(-3px) scale(1.025);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(24,49,83,0.07);
  border-left: 8px solid #F2B12C;
  border-radius: 14px;
  margin-bottom: 24px;
  max-width: 430px;
  transition: box-shadow 0.22s, transform 0.22s;
  margin-right: 20px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(24,49,83,0.14);
  transform: translateY(-2px) scale(1.012);
}
.reviewer {
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #183153;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 8px;
}
.star-rating {
  color: #F2B12C;
  font-size: 1.09rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.service-list > div {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(24,49,83,0.07);
  margin-bottom: 20px;
  flex: 1 1 270px;
  min-width: 250px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.service-list > div:hover {
  box-shadow: 0 7px 32px rgba(24,49,83,0.13);
  transform: translateY(-2.5px) scale(1.02);
}

/* ========== HEADER ========== */
header {
  background: #183153;
  color: #fff;
  width: 100%;
  z-index: 12;
  box-shadow: 0 3px 16px rgba(24,49,83,0.06);
  position: sticky;
  top: 0;
  left: 0;
}
header .container {
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 10px 18px;
  gap: 22px;
  display: flex;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F9F4EF;
  font-weight: 500;
  font-size: 1.02rem;
  padding: 8px 8px;
  letter-spacing: 0.4px;
  border-radius: 5px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
header nav a:not(.cta-primary):hover,
header nav a:not(.cta-primary):focus {
  background: #F2B12C;
  color: #183153;
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F2B12C;
  color: #183153;
  font-weight: 900;
  font-size: 1.09rem;
  padding: 14px 32px;
  border-radius: 28px 8px 28px 8px;
  margin-left: 10px;
  letter-spacing: 0.7px;
  box-shadow: 0 2px 8px rgba(242,177,44,0.13);
  transition: background 0.21s, color 0.16s, box-shadow 0.21s, transform 0.18s;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: #183153;
  color: #F2B12C;
  box-shadow: 0 4px 22px rgba(24,49,83,0.16);
  transform: scale(1.045);
}

.mobile-menu-toggle {
  display: none;
  background: #F2B12C;
  color: #183153;
  font-size: 2.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, box-shadow .2s;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #e2a222;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,49,83,0.97);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 42px;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: -14px 0 32px rgba(24,49,83,0.16);
}
.mobile-menu-close {
  color: #F2B12C;
  background: none;
  border: none;
  font-size: 2.4rem;
  position: absolute;
  top: 23px;
  right: 36px;
  cursor: pointer;
  z-index: 51;
  transition: color 0.13s, background 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
  background: #F2B12C;
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  width: 100vw;
}
.mobile-nav a {
  color: #F2B12C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.32rem;
  padding: 18px 0;
  letter-spacing: 1px;
  border-radius: 8px;
  width: 74vw;
  text-align: center;
  transition: background 0.15s,color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff;
  color: #183153;
}

/* ========== MAIN SECTIONS ========== */
main {
  flex: 1 0 auto;
  min-height: 540px;
  padding-top: 24px;
}
section:not(:last-child) {
  margin-bottom: 60px;
}

/* Decorative section underline for h2, artistic touch */
h2::after {
  content: '';
  display: block;
  margin-top: 7px;
  width: 54px;
  height: 5px;
  background: #F2B12C;
  border-radius: 2.5px;
  opacity: 0.85;
}

ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 1rem;
}
ul li strong {
  color: #F2B12C;
}
ul li:before {
  content: '\25D0';
  /* Artistic bullet: circle */
  color: #F2B12C;
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.04em;
  font-weight: bold;
}

.certificates span {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1rem;
  background: #F2B12C;
  color: #183153;
  border-radius: 8px;
  padding: 7px 18px;
  margin-right: 16px;
  margin-top: 8px;
  display: inline-block;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(24,49,83,0.10);
}

.faq strong {
  color: #183153;
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

/* ========== FOOTER ========== */
footer {
  background: #183153;
  color: #F9F4EF;
  width: 100%;
  box-shadow: 0 -2px 16px rgba(24,49,83,0.13);
  margin-top: 60px;
  padding: 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  padding: 32px 18px;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img {
  height: 54px;
  margin-bottom: 12px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #F2B12C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0;
  transition: color 0.14s;
}
footer nav a:hover,
footer nav a:focus {
  color: #fff;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.95rem;
}
.footer-legal a {
  color: #F9F4EF;
  font-size: 0.97rem;
  opacity: 0.87;
  transition: color 0.16s, opacity 0.13s;
}
.footer-legal a:hover,
.footer-legal a:focus {
  color: #F2B12C;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact a {
  color: #F2B12C;
}

/* ========== ARTISTIC & CREATIVE EFFECTS ========== */
/* Artistic shadow on section backgrounds */
section:nth-child(2n) {
  background: #fff;
  border-radius: 32px 64px 18px 24px;
  margin-top: 20px;
  box-shadow: 0 10px 44px rgba(24,49,83,0.06);
}

section:not(:first-child):not(:last-child) {
  border-bottom: 4px dotted #F2B12C;
  border-radius: 0 0 32px 32px;
  margin-bottom: 70px;
}

main .cta-primary {
  margin-top: 20px;
  margin-bottom: 0px;
}

/* ========== COOKIES CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 999;
  background: #fffbe7;
  color: #183153;
  box-shadow: 0 -1.2px 14px rgba(24,49,83,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 17px 32px;
  gap: 18px;
  font-size: 1.05rem;
  animation: cookieSlideIn 0.58s cubic-bezier(.51,0,.59,1) 1;
}
@keyframes cookieSlideIn {
  0% { transform: translateY(100%); opacity: 0.5; }
  70% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 9px;
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  transition: background 0.16s, color 0.18s, box-shadow 0.14s;
}
.cookie-banner .accept-all {
  background: #F2B12C;
  color: #183153;
  box-shadow: 0 1.5px 6px rgba(242,177,44,0.16);
}
.cookie-banner .accept-all:hover,
.cookie-banner .accept-all:focus {
  background: #183153;
  color: #F2B12C;
  box-shadow: 0 3px 16px rgba(24,49,83,0.13);
}
.cookie-banner .reject-all {
  background: #ededed;
  color: #183153;
}
.cookie-banner .reject-all:hover,
.cookie-banner .reject-all:focus {
  background: #ccc;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: #183153;
  border: 2px dashed #F2B12C;
  padding: 8px 17px;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #F2B12C;
  color: #183153;
  border-style: solid;
}

/* ========== COOKIE PREFS POPUP ========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,49,83,0.41);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieFadeIn 0.36s;
}
@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  max-width: 420px;
  padding: 38px 30px 30px 30px;
  box-shadow: 0 3px 30px rgba(24,49,83,0.20);
  color: #183153;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.08rem;
  position: relative;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1.18rem;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: #183153;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #F2B12C;
  background: #f9f4ef;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cookie-category label {
  font-weight: 500;
}
.cookie-toggle {
  display: inline-block;
  width: 40px;
  height: 24px;
  background: #edece7;
  border-radius: 12px;
  position: relative;
  margin-left: 9px;
  transition: background 0.18s;
  vertical-align: middle;
  box-shadow: 0 0.5px 4px rgba(24,49,83,0.09);
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 3px; left: 5px;
  width: 16px; height: 16px;
  background: #F2B12C;
  border-radius: 50%;
  transition: left 0.14s, background 0.14s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 19px;
  background: #183153;
}
.cookie-category.essential label {
  opacity: 0.7;
  font-style: italic;
}
.cookie-category.essential .cookie-toggle {
  background: #F2B12C;
  opacity: 0.5;
}
.cookie-category.essential .cookie-toggle-slider {
  background: #183153;
}
.cookie-category.essential .cookie-toggle input { pointer-events: none; }

/* ========== RESPONSIVE DESIGN (Mobile first) ========== */
@media (max-width: 1024px) {
  header .container { gap: 10px; }
  .container { max-width: 98vw; }
  .card, .service-list > div { min-width: 170px; }
  footer .container { gap: 18px; padding: 30px 5px; }
}
@media (max-width: 800px) {
  .card, .service-list > div { min-width: 120px; padding: 16px 10px; }
  .testimonial-card { max-width: 98vw; }
  .footer-contact { min-width: 120px; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .container { max-width: 100vw; padding: 0 8px; }
  main { padding-top: 16px; }
  .section, section { padding: 30px 5px; margin-bottom: 40px; }
  .card-container, .service-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    margin-bottom: 24px;
    margin-right: 0;
    min-width: unset;
    width: 100%;
  }
  .content-wrapper { gap: 10px; }
  footer .container {
    flex-direction: column;
    gap: 20px;
    padding: 24px 6px;
  }
  section:nth-child(2n) {
    border-radius: 22px 22px 12px 12px;
  }
}
@media (max-width: 560px) {
  header .container { flex-direction: row; }
  .card, .service-list > div { padding: 14px 5px; min-width: 98px; }
  .testimonial-card { padding: 12px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .lead, .tagline { font-size: 1.07rem; }
  .cookie-banner { flex-direction: column; gap: 9px; padding: 11px 4px; font-size: 0.97rem; }
  .cookie-modal { padding: 20px 10px 10px 10px; }
}
@media (max-width: 360px) {
  .cookie-modal { padding: 9px 2px 9px 2px; }
  .mobile-nav a { font-size: 1.11rem; }
}

/* ========== ANIMATIONS FOR MICRO-INTERACTIONS ========== */
.card, .service-list > div, .testimonial-card {
  transition: box-shadow .21s, transform .19s;
}
.cta-primary, .cookie-banner button {
  transition: background .18s, color .15s, box-shadow .18s, transform .12s;
}
.mobile-menu, .cookie-banner, .cookie-modal {
  will-change: transform, opacity;
}

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