/* 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, b, 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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #F1F6F9;
  color: #232931;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #2542a2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4361EE;
  text-decoration: underline;
}

/* SCROLLBAR (modern browsers) */
::-webkit-scrollbar {
  width: 8px;
  background: #eaeaf0;
}
::-webkit-scrollbar-thumb {
  background: #4361EE;
  border-radius: 12px;
}

/* CONTAINERS & COMMON STRUCTURE */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*---- MAIN NAVIGATION ----*/
header {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 24px 0 rgba(67, 97, 238, 0.07);
  position: relative;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 80px;
}
.logo img { height: 38px; }
.main-nav {
  display: flex;
  gap: 25px;
  align-items: center;
}
.main-nav a {
  position: relative;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #232931;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #4361EE;
}

/*---- CALL TO ACTION BUTTON ----*/
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #fff;
  background: #4361EE;
  border: none;
  padding: 13px 36px;
  border-radius: 32px;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(67, 97, 238, 0.11);
  margin-left: 18px;
  transition: background 0.22s, box-shadow 0.22s, transform 0.13s;
  outline: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-btn.primary {
  background: linear-gradient(90deg, #4361EE 60%, #2542a2 100%);
  color: #fff;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: linear-gradient(90deg, #2542a2 50%, #4361ee 100%);
  box-shadow: 0 6px 24px 0 rgba(67, 97, 238, .25);
  transform: translateY(-2px) scale(1.03);
  color: #fff;
}
.cta-btn:active {
  transform: scale(0.97);
}

/*---- HERO SECTION ----*/
.hero {
  width: 100%;
  background: #4361EE;
  color: #fff;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 24px 0 rgba(67,97,238,0.1);
  margin-bottom: 60px;
  padding: 56px 20px 40px 20px;
  position: relative;
}
.hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.13;
  margin-bottom: 18px;
  letter-spacing: 0.017em;
  color: #fff;
  text-shadow: 0 3px 16px rgba(67,97,238,0.15);
}
.hero p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero .cta-btn {
  margin-top: 10px;
}

/*---- SECTION SPACING ----*/
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(35,41,49, 0.06);
}
section:last-child { margin-bottom: 0; }

/*---- CARD & FLEX SPACING PATTERNS ----*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F1F6F9;
  border-radius: 18px;
  box-shadow: 0 1px 5px 0 rgba(67,97,238,0.10);
  overflow: hidden;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(67,97,238,0.20);
  transform: translateY(-5px) scale(1.02);
  z-index: 2;
}
.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;
  margin-top: 16px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  color: #232931;
  box-shadow: 0 3px 18px 0 rgba(67,97,238,0.11), 0 1.5px 5px 0 rgba(35,41,49, 0.07);
  font-size: 17px;
  line-height: 1.6;
}
.testimonial-card p {
  margin-right: 18px;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  font-size: 14px;
  font-weight: 600;
  color: #4361EE;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*---- BUTTONS & INTERACTIVES ----*/
.text-link {
  font-weight: 700;
  color: #2542a2;
  position: relative;
  padding-bottom: 2px;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  border-bottom: 2px solid #4361EE;
}
.text-link:after {
  content: '→';
  margin-left: 8px;
  color: #4361EE;
  font-weight: bold;
  font-size: 1em;
  vertical-align: -0.12em;
  transition: margin-left 0.18s;
}
.text-link:hover:after {
  margin-left: 16px;
}
.text-link:hover, .text-link:focus {
  color: #4361EE;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  align-items: center;
}
.categories span {
  font-weight: bold;
  color: #232931;
}
.categories a {
  color: #4361EE;
  font-weight: 600;
  background: #e9edfa;
  border-radius: 8px;
  padding: 4px 12px;
  margin-right: 3px;
  font-size: 15px;
  transition: background 0.16s, color 0.16s;
}
.categories a:hover, .categories a:focus {
  background: #4361ee22;
  color: #2542a2;
}

.editor-note {
  background: #fffbe8;
  color: #654e1e;
  border-left: 4px solid #ffe47a;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 16px;
  font-style: italic;
  margin-top: 14px;
}

/*---- LISTS & TABLES ----*/
ul, ol {
  padding-left: 22px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
ul li, ol li {
  font-size: 1rem;
  line-height: 1.5;
  position: relative;
  color: #232931;
  font-weight: 500;
  padding-left: 0;
}
ul li img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  background: #fff;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  font-size: 17px;
}
td, th {
  text-align: left;
  padding: 11px 16px;
  border: none;
  font-weight: 500;
}
tr {
  border-bottom: 2px solid #e3e7f3;
}

/*---- FOOTER ----*/
footer {
  background: #232931;
  color: #F1F6F9;
  padding: 42px 0 32px 0;
  width: 100%;
  position: relative;
  font-size: 16px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 60px;
}
.footer-nav a {
  color: #F1F6F9;
  font-weight: 700;
  font-size: 15px;
  opacity: 0.92;
  transition: color 0.17s, opacity 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #ffe356;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #F1F6F9;
}
.footer-logo {
  margin-left: auto;
}
.footer-logo img {
  height: 38px;
  filter: brightness(1.12);
}

/*---- TYPOGRAPHY ----*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232931;
  font-weight: 900;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  line-height: 1.15;
}
h1 { font-size: 2.3rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.27rem; }
h4 { font-size: 1.11rem; }

@media (min-width: 600px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.15rem; }
  h3 { font-size: 1.44rem; }
  h4 { font-size: 1.17rem; }
}

strong { font-weight: 700; color: #2542a2; }

p {
  margin-bottom: 9px;
  color: #232931;
}

/*---- SPECIAL SECTIONS ----*/
.working-hours td:first-child {
  font-weight: bold;
  color: #2542a2;
}
.thank-you-section {
  margin-bottom: 60px;
  padding: 48px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 11px 0 rgba(67,97,238,0.13);
}

/*---- MOBILE MENU BURGER ----*/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 21px;
  right: 20px;
  z-index: 32;
  width: 54px;
  height: 54px;
  border: none;
  background: #4361EE;
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 1px 10px 0 rgba(67,97,238, .15);
  justify-content: center;
  align-items: center;
  transition: background 0.18s, transform 0.14s;
}
.mobile-menu-toggle:active {
  background: #2542a2;
  transform: scale(0.97);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #232931;
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  z-index: 1001;
  padding: 0;
  width: 100vw;
  height: 100vh;
  transition: transform 0.28s cubic-bezier(.62,.22,.51,1.32), opacity 0.16s;
  transform: translateX(100%);
  opacity: 0;
  will-change: transform, opacity;
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0%);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  margin: 20px 28px 0 0;
  cursor: pointer;
  z-index: 1100;
  transition: color 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ffe356;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 36px;
  width: 100vw;
  margin-top: 18px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 9px 0;
  border-radius: 8px;
  transition: background 0.19s, color 0.16s, padding-left 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #4361EE;
  color: #ffe356;
  padding-left: 10px;
}

@media (max-width:1024px) {
  .header .container, header .container {
    gap: 14px;
  }
}
@media (max-width:940px) {
  .main-nav {
    gap: 13px;
    font-size: 14px;
  }
  .footer-logo img {
    height: 30px;
  }
}
@media (max-width:800px) {
  .footer-logo img { height: 28px; }
  .container { padding: 0 9px; }
}

@media (max-width: 890px) {
  header .container {
    gap: 9px;
  }
}
@media (max-width: 800px) {
  .footer-logo { margin-left: 0; margin-top: 22px; }
  .footer-contact { font-size: 14px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .cta-btn {
    margin-left: 0;
    font-size: 16px;
    padding: 11px 20px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container, .footer .container {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  footer .container {
    gap: 20px;
  }
  .footer-logo { margin-left: 0; margin-top: 24px; }
  header .container { gap: 7px; min-height: 66px; }
  .hero h1 { font-size: 2rem; }
  .section, section, .thank-you-section {
    padding: 24px 7px;
    margin-bottom: 34px;
    border-radius: 11px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 9px; }
  .categories {
    gap: 7px;
    font-size: 14px;
  }
}
@media (max-width:540px) {
  .logo img { height: 28px; }
  .hero {
    border-radius: 0 0 14px 14px;
    padding: 32px 7px 22px 7px;
  }
  .hero h1 { font-size: 1.25rem; }
  .cta-btn { font-size: 15px; }
  h2 { font-size: 1.23rem; }
  h3 { font-size: 1.07rem; }
  .footer-logo img { height: 20px; }
}

/*---- FLEX PATTERNS RESPONSIVENESS ----*/
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/*---- COOKIE CONSENT BANNER ----*/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232931;
  color: #fff;
  padding: 21px 18px 21px 18px;
  box-shadow: 0 -2px 24px 0 rgba(67,97,238,.22);
  z-index: 1102;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  font-size: 17px;
  transition: transform 0.34s cubic-bezier(.62,.22,.51,1.32), opacity 0.2s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 9px 23px;
  margin: 0 3px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.17s, color 0.12s, box-shadow 0.17s;
}
.cookie-banner .accept-btn {
  background: #ffe356;
  color: #232931;
  box-shadow: 0 1px 4px 0 rgba(255,227,86,0.11);
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #fffbe8;
  color: #4361EE;
}
.cookie-banner .reject-btn {
  background: #4361EE;
  color: #fff;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #2542a2;
  color: #ffe356;
}
.cookie-banner .settings-btn {
  background: #fff;
  color: #4361EE;
  border: 1.5px solid #4361EE;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #e9edfa;
  border-color: #2542a2;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 16px;
    padding: 15px 8px 22px 8px;
  }
  .cookie-banner .cookie-actions { gap: 8px; }
}

/*---- COOKIE SETTINGS MODAL ----*/
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1200;
  background: rgba(35,41,49, 0.64);
  justify-content: center;
  align-items: center;
  animation: fadeIn .22s;
  transition: opacity 0.17s;
  opacity: 1;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeIn {
  0% { opacity: 0; } 100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #232931;
  padding: 32px 26px 22px 26px;
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(67,97,238,.20);
  min-width: 330px;
  max-width: 98vw;
  width: 390px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #4361EE;
  font-size: 1.33rem;
  font-weight: 700;
}
.cookie-modal-content .modal-close {
  position: absolute;
  top: 11px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #4361EE;
  cursor: pointer;
  z-index: 2;
  transition: color 0.19s;
}
.cookie-modal-content .modal-close:hover {
  color: #2542a2;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F1F6F9;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 15px;
  position: relative;
}
.cookie-category label {
  font-weight: 600;
  color: #232931;
}
.cookie-category input[type="checkbox"] { accent-color: #4361EE; margin-top: 2.5px; }
.cookie-category .always-on {
  color: #4361EE;
  font-weight: 700;
  font-size: 15px;
  margin-left: 3px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 15px;
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  background: #4361EE;
  color: #fff;
  transition: background 0.16s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #2542a2;
}

/*---- RESPONSIVE TWEAKS ----*/
@media (max-width: 520px) {
  .cookie-modal-content { min-width: 98vw; width: 97vw; padding: 16px 4vw; }
}

/*---- MICRO-ANIMATIONS ----*/
.card, .testimonial-card, .section, section, .hero, .cta-btn, .text-link, .main-nav a, .mobile-nav a {
  transition-property: box-shadow, transform, color, background, opacity;
  transition-duration: 0.18s, 0.18s, 0.12s, 0.15s, 0.17s;
  transition-timing-function: cubic-bezier(.62,.22,.51,1.32);
}

/*---- Z-INDEX LAYERS ----*/
header { z-index: 20; }
.mobile-menu { z-index: 1001; }
.cookie-banner { z-index: 1102; }
.cookie-modal { z-index: 1200; }

/*---- ARTISTIC & VIBRANT ENERGETIC EXTRAS ----*/
.cta-btn.primary::after {
  content: '';
  display: block;
  position: absolute;
  left: 28px; bottom: -6px; right: 28px;
  height: 4px;
  border-radius: 2px;
  background: #ffe356;
  opacity: 0.66;
  transition: opacity 0.2s;
  z-index: 0;
}
.cta-btn.primary:hover::after, .cta-btn.primary:focus::after {
  opacity: 1;
}

.section, section {
  background: #fff;
}

/*---- MISC ANIMATIONS ----*/
@media (hover: hover) and (pointer: fine) {
  .cta-btn, .card, .card:hover, .mobile-menu, .main-nav a, .mobile-nav a {
    will-change: transform;
  }
}

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