/* PRISTINETREK SOFT PASTEL STYLESHEET - MOBILE FIRST */

/* 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,
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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  background: #FAFAFB;
  color: #32333c;
  font-family: 'Roboto', Arial, sans-serif;
}
*, *::before, *::after {
  box-sizing: inherit;
}
img, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #2460A7;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #7fb3e7;
  outline: none;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button,
input[type="button"], input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
}
input, textarea {
  font-size: 16px;
  font-family: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d3e0ef;
  background: #F5F7FA;
  width: 100%;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(36,96,167,0.04);
}
input:focus, textarea:focus {
  outline: 2px solid #c7d7f8;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 32px;
  background: #fff7f8;
  box-shadow: 0 4px 32px 0 rgba(36,96,167,0.03);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1B314B;
  font-weight: 700;
  letter-spacing: -1px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 12px;
  line-height: 1.18;
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 8px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
p, ul, ol, address {
  font-size: 1rem;
  color: #32333c;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.7;
}
strong {
  font-weight: bold;
}
small {
  font-size: 0.87rem;
  color: #6a6c7c;
}

/* SPACING UTILS - Gaps for flex layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F5F7FA;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(36,96,167,0.07);
  padding: 24px 20px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(36,96,167,0.16);
}
.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;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 24px 0 rgba(140,155,183,0.12);
  margin-bottom: 24px;
  flex-direction: column;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO, CTA, BUTTONS */
.hero, .hero-eu {
  background: linear-gradient(140deg,#F5F7FA 0%,#d9ecff 100%);
  padding: 50px 0 40px 0;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 30px rgba(36,96,167,0.04);
  margin-bottom: 40px;
}
.hero h1, .hero-eu h1 {
  color: #2e476c;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cta, .cta-contact {
  background: #e0f2fe;
  border-radius: 28px;
  padding: 30px 16px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: 0 3px 14px rgba(36,96,167,0.07);
}
.cta h2, .cta-contact h2 {
  color: #2460A7;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.cta-button {
  background: #8bbbe9;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 1rem;
  color: #1B314B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(74,138,218,0.06);
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.18s;
  outline: none;
  margin: 12px 0;
  display: inline-block;
}
.cta-button a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}
.cta-button:hover,
.cta-button:focus {
  background: #2460A7;
  color: #fff;
  box-shadow: 0 5px 18px 0 rgba(74,138,218,0.14);
}

/* MAIN NAV */
header {
  background: #F5F7FA;
  box-shadow: 0 2px 18px 0 rgba(140,155,190,0.03);
  padding-top: 6px;
  padding-bottom: 6px;
  width: 100%;
  z-index: 13;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: #1B314B;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 12px;
  transition: background 0.16s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #c7d7f8;
  color: #2460A7;
}
.main-nav .cta-button {
  margin-left: 12px;
  font-size: 1rem;
  background: #2460A7;
  color: #fff;
  padding: 10px 20px;
}
.main-nav .cta-button:hover {
  background: #7fb3e7;
  color: #1B314B;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: #fff;
  border: 2px solid #2460A7;
  color: #2460A7;
  padding: 8px 16px;
  border-radius: 16px;
  font-size: 1.7rem;
  box-shadow: 0 0 10px rgba(36,96,167,0.07);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background 0.14s, color 0.12s;
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #2460A7;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(250,250,255,0.98);
  box-shadow: 0 12px 60px 0 rgba(36,96,167,0.16);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.74,0.22,0.33,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 20px 0 20px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #2460A7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.7rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #7fb3e7;
  color: #1B314B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  color: #1B314B;
  font-size: 1.19rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #e5ecf6;
  width: 100%;
  text-decoration: none;
  transition: background 0.21s, color 0.13s;
}
.mobile-nav a:active, .mobile-nav a:focus,
.mobile-nav a:hover {
  color: #2460A7;
  background: #d9ecff;
}

/* Hide navs appropriately */
.main-nav,
.mobile-menu-toggle {
  display: none;
}
@media (min-width: 990px) {
  .main-nav {
    display: flex;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 989px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* SECTIONS & SITEWIDE STYLING */
.features, .about-snippet, .services-preview, .services, .services-eu, .resources, .support, .process, .faq,
.account-login, .blog-preview, .blog-intro, .article-list, .contact-form, .contact-details, .confirmation,
.legal, .legal-gdpr, .legal-cookie, .legal-terms {
  background: #F5F7FA;
  border-radius: 24px;
  margin-bottom: 40px;
  box-shadow: 0 6px 24px 0 rgba(140,155,190,0.07);
  padding: 36px 18px;
}
.features h2, .services-eu h2, .about-snippet h2, .services-preview h2, .process h2, .faq h2, .resources h2, .support h2, .credentials h2 {
  color: #2460A7;
  margin-bottom: 14px;
  font-size: 1.4rem;
}
.features ul, .about-snippet ul, .services-preview ul, .services ul, .services-eu ul, .faq ul, .process ol, .credentials ul {
  list-style: none;
  padding: 0;
}
.features li, .about-snippet li, .services-preview li, .services li, .services-eu li, .faq li, .process li, .credentials li {
  background: #f0f4ff;
  border-radius: 14px;
  margin-bottom: 18px;
  padding: 12px 16px 12px 40px;
  min-height: 40px;
  color: #1b314b;
  display: flex;
  align-items: center;
  position: relative;
  font-size: 1.05rem;
  box-shadow: 0 1px 6px 0 rgba(140,155,183,0.05);
}
.features li img, .resources li img {
  width: 23px;
  height: 23px;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.services-preview a, .about-snippet a, .blog-preview a, .contact-snippet a, .contact-details a {
  color: #2460A7;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #2460A7;
  transition: color 0.17s;
}
.services-preview a:hover, .about-snippet a:hover, .blog-preview a:hover, .contact-snippet a:hover, .contact-details a:hover {
  color: #8bbbe9;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 54px;
}
.testimonial-card {
  background: #fff;
  color: #1b314b;
  min-width: 0;
  box-shadow: 0 3px 18px 0 rgba(74,138,218,0.10);
  border-radius: 20px;
  margin-bottom: 20px;
  padding: 26px 20px 20px 20px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.16s, transform 0.12s;
}
.testimonial-card strong {
  color: #2460A7;
  font-size: 1rem;
  margin-top: 13px;
  display: block;
}
.testimonial-card p {
  font-size: 1.04rem;
  color: #32333c;
  font-style: italic;
}
.testimonial-card .stars {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.testimonial-card .stars img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(36,96,167,0.09));
}

/* BLOG CARDS */
.blog-preview ul, .article-list ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-preview li, .article-list li {
  background: #e8eefb;
  border-radius: 14px;
  padding: 20px 14px;
  box-shadow: 0 1px 5px 0 rgba(140,155,183,0.07);
  margin-bottom: 6px;
}

/* ACCOUNT LOGIN & FORMS */
.account-login label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1B314B;
  margin-bottom: 6px;
}
.account-login input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #b5cbed;
  background: #f5f7fa;
  margin-bottom: 18px;
}
.account-login a {
  color: #2460A7;
  font-weight: 500;
  text-decoration: none;
}
.account-login a:hover {
  text-decoration: underline;
}

/* FOOTER */
footer {
  background: #F5F7FA;
  padding: 30px 0 16px 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -4px 30px 0 rgba(36,96,167,0.07);
  margin-top: 60px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #2460A7;
  font-size: 1rem;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #1B314B;
}
footer address {
  color: #1b314b;
  text-align: center;
  font-size: 0.97rem;
  margin: 0 0 4px 0;
  font-style: normal;
}
footer small {
  color: #7e89a9;
  margin-top: 12px;
  display: inline-block;
}

/* ——— COOKIE CONSENT BANNER ——— */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe9;
  color: #1b314b;
  border-top: 1px solid #e6e9f2;
  box-shadow: 0 -5px 30px 0 rgba(246,199,127,0.14);
  width: 100vw;
  z-index: 22222;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 10px 16px 10px;
  gap: 10px;
  font-size: 1rem;
  transition: transform 0.36s, opacity 0.18s;
  opacity: 1;
  pointer-events: all;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin-bottom: 8px;
  font-size: 1rem;
  text-align: center;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  padding: 10px 20px;
  margin: 0 2px;
  cursor: pointer;
  background: #f3e2fb;
  color: #614287;
  font-weight: 600;
  transition: background 0.14s, color 0.12s;
}
.cookie-btn.accept {
  background: #C0E7D7;
  color: #136a4f;
}
.cookie-btn.reject {
  background: #fde1e5;
  color: #ae233d;
}
.cookie-btn.settings {
  background: #e2eaff;
  color: #2460A7;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.82;
  box-shadow: 0 2px 8px rgba(36,96,167,0.08);
}

/* ——— COOKIE MODAL ——— */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,34,48,0.28);
  z-index: 33333;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.21s;
  pointer-events: all;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 350px;
  width: 94vw;
  box-shadow: 0 12px 44px rgba(100,134,200,0.16);
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cookie-modal h3 {
  margin-bottom: 10px;
  color: #2460A7;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  width: 100%;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-category[data-essential] input[type="checkbox"] {
  accent-color: #2460A7;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
}

/* PRIVACY NOTICE */
.privacy-notice {
  background: #fffaf6;
  color: #b89241;
  border-radius: 9px;
  padding: 13px 14px 11px 14px;
  margin: 14px 0 8px 0;
  font-size: 0.98rem;
  border: 1px solid #ecdfa9;
}

/* RESPONSIVE STYLES (Mobile First) */
@media (max-width: 989px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  .section {
    padding: 20px 8px;
    margin-bottom: 36px;
  }
  .card {
    padding: 18px 4vw;
  }
  .content-grid, .text-image-section{
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
  }
  .testimonial-card {
    padding: 15px 9px 7px 9px;
  }
  .cta, .cta-contact {
    padding: 18px 6px;
  }
  .blog-preview ul, .article-list ul {
    gap: 10px;
  }
  footer .container {
    gap: 13px;
  }
}
@media (min-width: 769px) {
  .content-grid, .text-image-section {
    flex-direction: row;
    gap: 36px;
    justify-content: space-between;
  }
  .section {
    padding: 46px 44px;
  }
  .card-container {
    flex-direction: row;
    gap: 24px;
  }
}

/* FOCUS STATES & MICRO-INTERACTIONS */
a, button, .cta-button, input, .cookie-btn {
  outline: none;
  transition: box-shadow 0.14s, border 0.14s;
}
a:focus-visible, .cta-button:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #A0CDFB;
  box-shadow: 0 0 0 3px #c7d7f8;
}

/* SUBTLE ANIMATION UTILS */
.fade-in {
  animation: fadeIn 1s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* SHADOWS AND BORDERS */
.card, .testimonial-card, .section, .cta, .cta-contact, .about-snippet, .cookie-modal {
  box-shadow: 0 3px 19px 0 rgba(100,134,200,0.08);
}

/* SUBTLE SOFT PASTEL DECOR */
.hero, .about-snippet, .cta, .cta-contact {
  background: linear-gradient(114deg,#fffafd 60%,#e9e5fa 100%);
}

/* VISUAL HIERARCHY & WHITE SPACE */
main > section {
  margin-bottom: 36px;
}
main > section:last-child {
  margin-bottom: 0;
}

/* SPECIAL STYLING FOR THANK YOU BUTTON */
.confirmation .cta-button {
  margin: 28px auto 0 auto;
  display: block;
  background: #2460A7;
  color: #fff;
}
.confirmation .cta-button:hover {
  background: #7fb3e7;
  color: #1B314B;
}

/* COLOR PALETTE (fallback) */
:root {
  --primary: #2460A7;
  --secondary: #F5F7FA;
  --accent: #1B314B;
}

/* Hide overflow for modals/menus when active */
body.menu-open, body.cookie-modal-open {
  overflow: hidden !important;
}
