/* ========================================================
   Pulsar Scintilla Akademie – Monochrome Sophisticated CSS
   Author: Senior CSS Developer & UI Designer
   Style: Monochrome sophisticated, brand-compliant, flexbox-only
   ======================================================== */

/* ------------------ CSS RESET & NORMALIZE ------------------ */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }

body {
  min-height: 100vh;
  background: #fff;
  color: #202024;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #222;
  text-decoration: none;
  transition: color 0.17s;
}
a:active,
a:focus {
  outline: 2px solid #27356B;
  outline-offset: 2px;
}

ul, ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* --------------- BRAND & STYLE VARIABLES --------------- */
:root {
  --color-bg: #fff;
  --color-fg: #19191a;
  --color-light: #f8f9fa;
  --color-primary: #19191a;
  --color-primary-brand: #27356B;
  --color-secondary: #A6BF4B;
  --color-section: #f5f5f5;
  --color-muted: #ededed;
  --color-accent-bg: #F6F8F4;
  --color-border: #E1E2E5;
  --color-shadow: rgba(30, 30, 45, 0.08);
  --color-link: #27356B;
  --color-link-hover: #A6BF4B;
  --color-footer-bg: #18181A;
  --color-footer-fg: #f6f6f7;
  --color-disabled: #bbb;
  --radius-sm: 8px;
  --radius-md: 16px;
  --shadow-sm: 0 2px 8px var(--color-shadow);
  --shadow-md: 0 4px 16px var(--color-shadow);
  --transition: all 0.19s cubic-bezier(.42,.16,.18,.98);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* --------------- TYPOGRAPHY & HEADINGS --------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.16;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.325rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
}

p, ul, ol, li, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-fg);
  margin-bottom: 14px;
}

strong {
  font-weight: 700;
  color: var(--color-primary);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

/* --------------- HEADER & NAVIGATION --------------- */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 4px rgba(30,30,47,0.02);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 15px 20px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  color: var(--color-primary-brand);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  transition: color 0.16s;
}
.main-nav a:hover {
  color: var(--color-secondary);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  margin-left: 26px;
  box-shadow: var(--shadow-sm);
  border: none;
}
.cta.primary {
  background: var(--color-primary-brand);
  color: #fff;
  border: 2px solid var(--color-primary-brand);
}
.cta.primary:hover,
.cta.primary:focus {
  background: #fff;
  color: var(--color-primary-brand);
  border-color: var(--color-primary-brand);
  box-shadow: 0 2px 16px rgba(25, 25, 35, 0.11);
}
.cta.secondary {
  background: transparent;
  color: var(--color-primary-brand);
  border: 2px solid var(--color-primary-brand);
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--color-primary-brand);
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary-brand);
  cursor: pointer;
  margin-left: 30px;
  padding: 7px 6px;
  transition: color .16s;
  border-radius: 6px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: var(--color-secondary);
  background: var(--color-muted);
}

/* ------- MOBILE NAVIGATION/OVERLAY ------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(21,21,26,0.96);
  z-index: 1020;
  transform: translateX(-105%);
  transition: transform 0.34s cubic-bezier(.8,.24,.14,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #fff;
  align-self: flex-end;
  margin: 24px 24px 10px 0;
  cursor: pointer;
  transition: color .17s;
  padding: 5px 7px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 36px;
  gap: 27px;
}
.mobile-nav a {
  color: #fafafa;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.5px;
  border-radius: var(--radius-sm);
  padding: 8px 4px 7px 0;
  transition: color .15s, background .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.085);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
  .cta {
    margin-left: 9px;
  }
}
@media (max-width: 900px) {
  .header .main-nav a {
    font-size: .95rem;
  }
}
@media (max-width: 850px) {
  .main-nav { display:none; }
  .cta { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ==========================  MAIN CONTENT  =========================== */
main {
  flex: 1 1 100%;
  width: 100%;
  background: var(--color-bg);
}
section {
  width: 100%;
  background: transparent;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 0;
}
/* Hero Section */
section:first-of-type {
  background: #fff;
  border-bottom: 1.5px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(30,30,45,0.05);
  margin-bottom: 44px;
}

/* Features Section */
ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 0;
  padding-left: 0;
}
ul > li {
  padding-left: 0px;
  position: relative;
  color: #232325;
}

/* Service/Card Styles */
.service-list {
  margin: 0 0 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 338px;
  background: #fafbfc;
  padding: 28px 24px 22px 24px;
  border: 1.6px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow .20s, transform .14s, border-color .19s;
  margin-bottom: 20px;
}
.service-item:hover,
.service-item:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-brand);
  transform: translateY(-4px) scale(1.016);
  z-index: 2;
}
.price {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.03rem;
  margin-top: 3px;
}

.pricing-card {
  background: #fafbfc;
  border: 1px solid var(--color-border);
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin: 18px 0 0 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  position: relative;
  background: var(--color-accent-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  justify-content: center;
}

.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-bottom: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1.3px solid var(--color-border);
  box-shadow: 0 2px 16px rgba(40,40,60,0.07);
  position: relative;
  transition: box-shadow .18s, border-color .19s, transform .19s;
}
.testimonial-card:hover {
  border-color: var(--color-primary-brand);
  box-shadow: 0 4px 28px rgba(40,40,60,0.10);
  transform: translateY(-3px) scale(1.01);
  z-index: 2;
}
.testimonial-card p {
  color: #232325;
  font-size: 1.08rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  margin-left: 18px;
  font-size: .99rem;
  color: #4a4a4a;
  font-family: var(--font-display);
}

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

.contact-snippet {
  padding: 14px 18px;
  background: var(--color-accent-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 1.05rem;
  color: #16161B;
  margin: 8px 0 18px 0;
  font-family: var(--font-body);
  line-height: 1.55;
  box-shadow: 0 1px 6px rgba(40,50,70,0.05);
}

/* ==========================  FOOTER  =========================== */
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-fg);
  padding-top: 34px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-nav, .footer-policy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a, .footer-policy a {
  color: #eaf0fa;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  position: relative;
  padding: 2.5px 0;
  border-radius: 5px;
  transition: color 0.16s, background 0.16s;
}
.footer-nav a:hover, .footer-policy a:hover {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.025);
}
.footer-contact {
  font-size: 0.99rem;
  color: #cfd1d6;
  line-height: 1.55;
  margin-bottom: 5px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #eee;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, filter .16s;
}
.footer-social img:hover {
  filter: brightness(0.85);
  box-shadow: 0 1px 12px rgba(180,180,180,0.10);
}
.footer-bottom {
  text-align: center;
  font-size: 0.97rem;
  color: #b0b1b6;
  margin: 24px 0 4px 0;
  border-top: 1px solid #24242A;
  padding-top: 17px;
}

/* ================== COOKIE CONSENT BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 1400;
  background: #23232A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  border-top: 3px solid var(--color-secondary);
  box-shadow: 0 -3px 16px rgba(35,35,35,0.10);
  padding: 18px 36px 18px 26px;
  font-family: var(--font-body);
  font-size: 1rem;
  animation: bannerIn .39s cubic-bezier(.82,.05,.34,1.06);
}
@keyframes bannerIn {
  0% { transform: translateY(120%); opacity:0; }
  100%{ transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  flex: 1 1 240px;
  margin-right: 22px;
  color: #fff;
}
.cookie-banner__btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-btn {
  min-width: 112px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary-brand);
  border-radius: var(--radius-sm);
  border: none;
  padding: 8px 17px;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  box-shadow: var(--shadow-sm);
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1.3px solid var(--color-secondary);
}
.cookie-btn.reject {
  background: #2b2b2e;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: var(--color-muted);
  color: #19191a;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(33,33,37,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(.49,.16,.38,.99);
}
.cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal__dialog {
  background: #fff;
  color: #27272a;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 36px rgba(30,30,40,0.13);
  padding: 38px 30px 28px 34px;
  min-width: 330px;
  max-width: 96vw;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal__close:hover {
  color: var(--color-primary-brand);
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  margin-bottom: 6px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;
  height: 18px;
  margin-right: 6px;
}
.cookie-modal__category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #222;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
  margin-top: 8px;
}
.cookie-modal__note {
  font-size: 0.93rem;
  color: #666;
  margin-top: 6px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 10px 17px 10px;
    gap: 17px;
  }
  .cookie-banner__btns {
    flex-direction: column;
    gap: 9px;
    width: 100%;
  }
  .cookie-btn {
    width: 100%;
  }
  .cookie-modal__dialog {
    min-width: 92vw;
    padding: 20px 8vw 20px 8vw;
  }
}

/* ================== RESPONSIVE & MOBILE =================== */
@media (max-width: 1150px) {
  .container {
    max-width: 980px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 780px; }
  .service-list, .card-container, .footer-main {
    gap: 18px;
  }
  .content-wrapper { max-width: 97vw; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1,.h1 { font-size: 2rem; }
  h2,.h2 { font-size: 1.45rem; }
  .section, section {
    padding: 22px 5vw;
    margin-bottom: 37px;
  }
  .content-wrapper { padding: 0; gap: 17px; }
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .service-item,
  .card {
    max-width: 100%;
    min-width: 0;
  }
  .footer-main {
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
  }
  .footer-contact {
    margin-bottom: 4px;
  }
  .footer-policy, .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  header .container { padding: 13px 10px; }
}
@media (max-width: 500px) {
  .container { padding: 0 4vw; }
  .cookie-modal__dialog { padding: 18px 2vw 18px 2vw; }
  section, .section { padding: 13px 3vw; }
}

/* =================== UTILITIES & MICRO-ANIMATIONS =============== */
.fade-in { animation: fadeIn .7s cubic-bezier(.47,.67,.46,1) both; }
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

.shadow-xl { box-shadow: 0 10px 48px rgba(14,16,25,0.14); }

::-webkit-selection { background: var(--color-secondary); color: #fff; }
::selection { background: var(--color-secondary); color: #fff; }

/* =================== ACCESSIBILITY ===================== */
:focus-visible {
  outline: 2px dashed var(--color-secondary);
  outline-offset: 2px;
}

/* For visually-hidden text */
.sr-only {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

/* =================== PRINT STYLES ===================== */
@media print {
  header, .mobile-menu, footer, .cookie-banner { display: none !important; }
  body { color: #000; background: #fff; }
}
