/* =======================
 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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FAF8F6; color: #2E2A25; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul,ol,li { list-style: none; }
:focus { outline: 2px solid #56A1C9; outline-offset: 2px; }

/* =========================
  BRAND COLORS & FONTS
========================= */
:root {
  --primary-color: #13497C;
  --secondary-color: #56A1C9;
  --accent-color: #FFFFFF;
  --bg-light: #FAF8F6;
  --bg-paper: #FFF;
  --bg-card: #FEFBF7;
  --orange-warm: #FFD9B3;
  --yellow-warm: #FFF2CC;
  --grey-border: #F1EDE6;
  --grey-dark: #76716B;
  --grey-mid: #ECE6DD;
  --shadow1: 0 2px 8px 0 rgba(51,30,0,0.04), 0 0.5px 1.5px 0 rgba(51,30,0,0.03);
  --shadow2: 0 6px 24px 0 rgba(19,73,124,0.07);
  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
}

/* =========================
   TYPOGRAPHY
========================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: #2E2A25;
  background: var(--bg-light);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-color);
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 12px; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

.subheadline {
  font-size: 1.25rem;
  font-family: var(--font-body);
  color: #564837;
  margin-bottom: 24px;
}

p,li {
  font-size: 1rem;
  color: #3D3527;
  line-height: 1.6;
}

strong { font-weight: 600; }

.text-center { text-align: center; }

/* =========================
   LAYOUT/CONTAINERS
========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 600px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    padding: 16px 0;
  }
}

/* =========================
    HEADER / NAVIGATION
========================== */
header {
  background: var(--accent-color);
  width: 100%;
  padding: 0 0;
  box-shadow: var(--shadow1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
  z-index: 30;
}
header > a img {
  height: 48px;
  padding: 8px 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
  padding: 8px 12px;
  border-radius: 20px;
  transition: background .15s,color .15s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--orange-warm);
  color: var(--secondary-color);
}
.cta-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 11px 28px;
  background: var(--primary-color);
  color: var(--accent-color);
  border: none;
  border-radius: 32px;
  box-shadow: var(--shadow2);
  cursor: pointer;
  margin-left: 16px;
  transition: background .22s, box-shadow .24s, color .2s;
  outline: none;
  display: inline-block;
  text-align: center;
  letter-spacing:0.02em;
}
.cta-button:hover, .cta-button:focus {
  background: var(--secondary-color);
  color: var(--primary-color);
  box-shadow: 0 8px 32px 0 rgba(86,161,201,0.09);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary-color);
  margin-left: 28px;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: background .16s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--yellow-warm);
}

@media (max-width: 992px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =========================
     MOBILE MENU OVERLAY
========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(19,73,124,.96);
  color: var(--accent-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.78,.27,.27,.89);
  z-index: 9999;
  padding-top: 28px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--accent-color);
  border-radius: 10px;
  padding: 3px 14px;
  cursor: pointer;
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary-color);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 16px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--accent-color);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 6px;
  border-radius: 18px;
  transition: background .18s, color .18s;
  width: fit-content;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--yellow-warm);
  color: var(--primary-color);
}

@media (min-width: 992px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* =========================
         HERO BANNER
========================== */
.hero {
  background: linear-gradient(135deg, #fff 70%, var(--orange-warm) 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 32px 0 rgba(255,217,179,0.1);
  margin-bottom: 60px;
  padding: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 42px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  padding: 32px 0 0;
}

/* =========================
    SECTIONS & FLEX LAYOUTS
========================== */
.feature-grid, .faq-list, .testimonial-row, .blog-preview-row, .case-preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  gap: 24px;
  margin-top: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: 20px;
  box-shadow: var(--shadow1);
  padding: 28px 24px;
  min-width: 225px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .18s,transform .2s;
}
.feature-item img {
  width: 40px; height: 40px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 24px 0 rgba(19,73,124,0.11);
  transform: translateY(-4px) scale(1.015);
}

@media (max-width: 900px) {
  .feature-grid, .testimonial-row {
    flex-direction: column;
    gap: 16px;
  }
  .feature-item { width: 100%; }
}

.case-preview, .blog-preview, .faq-item, .testimonial-card, .text-section {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: 20px;
  box-shadow: var(--shadow1);
  padding: 24px 20px;
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .22s;
}
.blog-preview:hover, .case-preview:hover, .faq-item:hover {
  box-shadow: 0 8px 25px 0 rgba(86,161,201,0.08);
  transform: translateY(-3px) scale(1.01);
}

.text-section {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--accent-color);
  box-shadow: none;
  border: none;
  padding: 0;
}

@media (max-width: 700px) {
  .case-preview, .blog-preview, .faq-item, .testimonial-card {
    padding: 18px 8px;
  }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border-radius: 20px;
  box-shadow: var(--shadow1);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow .18s;
}
.card:hover {
  box-shadow: 0 8px 25px 0 rgba(86,161,201,0.09);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/****** Testimonials ******/
.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  background: #fffbe8;
  border: 1px solid var(--orange-warm);
  border-radius: 20px;
  box-shadow: var(--shadow1);
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .14s;
}
.testimonial-card p {
  color: #40331F;
  font-style: italic;
  font-size: 1.12rem;
  font-weight: 500;
}
.testimonial-card strong {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(255,217,179,0.17);
  transform: scale(1.018);
}

/****** FAQ, Step List *****/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.faq-item {
  flex: 1 0 220px;
  border-left: 8px solid var(--secondary-color);
  background: #fff;
  box-shadow: var(--shadow1);
  border-radius: 18px;
  padding: 22px 18px 18px 20px;
}
.faq-item h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: 700;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0 10px 0;
  padding-left: 8px;
}
.step-list li {
  padding: 20px 24px;
  background: #FFF7E8;
  border-radius: 16px;
  border-left: 7px solid var(--primary-color);
  margin-bottom: 10px;
  box-shadow: var(--shadow1);
}
.step-list strong {
  color: var(--primary-color);
  font-size: 1.125rem;
}

/* Contact & Address section */
.contact-info {
  display: flex;
  flex-direction: row;
  gap: 38px;
  margin-bottom: 24px;
}
.contact-info .text-section {
  flex: 1 1 320px;
  font-size: 1.08rem;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 14px;
  }
  .content-wrapper {
    max-width: 100%;
  }
}
.contact-info img {
  display: inline-block;
  width: 20px; height: 20px;
  margin-right: 7px;
  vertical-align: middle;
}

/* Blog & Case cards */
.blog-preview, .case-preview {
  background: var(--bg-card);
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  box-shadow: var(--shadow1);
  padding: 22px 18px;
  flex: 1 0 220px;
  transition: box-shadow .14s, transform .11s;
}
.blog-preview h2, .case-preview h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}
.blog-preview:hover, .case-preview:hover {
  box-shadow: 0 6px 30px 0 rgba(86,161,201,0.08);
  transform: scale(1.01);
}

/******** Footer **********/
footer {
  background: var(--primary-color);
  color: var(--accent-color);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -3px 24px 0 rgba(19,73,124,0.07);
  padding: 32px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--accent-color);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 14px;
  transition: background .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--orange-warm);
  color: var(--primary-color);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row;
}
.footer-brand img {
  width: 44px; height: 44px;
}
.footer-brand p {
  font-size: 1rem;
  color: var(--accent-color);
}
@media (max-width: 600px) {
  footer {
    padding: 24px 10px 12px 10px;
    border-radius: 20px 20px 0 0;
  }
  .footer-brand {
    flex-direction: column;
    gap: 6px;
  }
}

/* =====================
   BUTTONS & FORMS
====================== */
button, .cta-button {
  font-family: var(--font-display);
  cursor: pointer;
  border: none;
  border-radius: 32px;
  transition: background .19s, color .16s, box-shadow .20s;
}
button:active {
  transform: scale(.97);
}

/* ===========================
 MICRO-INTERACTIONS/TRANSITIONS
============================ */
a, button, .cta-button, .main-nav a, .mobile-nav a {
  transition: background .16s, color .16s, box-shadow .18s, transform .20s;
}

/* =====================
   UTILITY CLASSES
==================== */
.text-center { text-align: center; }
.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }
.mb20 { margin-bottom: 20px; }
.mb40 { margin-bottom: 40px; }
.pt20 { padding-top: 20px; }
.pt40 { padding-top: 40px; }

/****** Responsive Flex rules ******/
@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 100%;
    padding: 0 6px;
  }
}

/* ===============
 COOKIE BANNER
================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbe8;
  color: #2E2A25;
  border-top: 1.5px solid var(--orange-warm);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -5px 36px 0 rgba(255, 217, 179, 0.18);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 20px;
  z-index: 10000;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.4s cubic-bezier(.67,.23,.31,.95);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  flex: 1 1 350px;
  font-size: 1rem;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  display: flex; flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  margin-right: 6px;
  transition: background .15s, color .15s, box-shadow .18s;
}
.cookie-btn.accept {
  background: var(--primary-color);
  color: var(--accent-color);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.cookie-btn.reject {
  background: var(--orange-warm);
  color: var(--primary-color);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--secondary-color);
  color: var(--accent-color);
}
.cookie-btn.settings {
  background: var(--yellow-warm);
  color: var(--primary-color);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--orange-warm);
  color: var(--primary-color);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 8px;
    font-size: .97rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
  }
}

/******** COOKIE MODAL *********
   (should be toggled .active)  */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(19,73,124,0.54);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFFBE8;
  border-radius: 24px;
  box-shadow: 0 12px 56px rgba(19,73,124,0.13);
  padding: 38px 28px 24px 28px;
  max-width: 420px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position:relative;
  animation: showCookieModal .42s cubic-bezier(.78,.27,.27,.89) 1;
}
@keyframes showCookieModal {
  0% { transform: scale(.84); opacity:0; }
  85% { transform: scale(1.03); opacity: .97; }
  100% { transform: scale(1); opacity:1; }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  background: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow1);
  border: 1px solid var(--grey-border);
}
.cookie-category label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #493A27;
  font-weight: 500;
}
.cookie-category input[type=checkbox] {
  width: 20px; height: 20px;
  accent-color: var(--secondary-color);
  margin-right: 12px;
}
.cookie-category .always {
  font-size: .95rem;
  color: #96904a;
  margin-left:12px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position:absolute;
  top:14px; right:18px;
  font-size: 1.2rem;
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 10px;
  padding: 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--orange-warm);
}
@media (max-width:480px) {
  .cookie-modal {
    padding: 18px 6px 12px 8px;
    max-width: 98vw;
  }
}

/* ==============
   OTHER ELEMENTS
================= */
ul, ol {
  margin: 14px 0 14px 28px;
  list-style: disc outside;
}
ul li, ol li {
  margin-bottom: 7px;
}
a {
  color: var(--primary-color);
}
a:hover, a:focus {
  color: var(--secondary-color);
  text-decoration: underline;
}

/**** Text alignments ****/
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ==============
  SCROLL BARS
================ */
body::-webkit-scrollbar {
  width: 9px;
  background: var(--bg-card);
}
body::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 8px;
}

/* =============
   FORMS (input, textarea)
============== */
input, textarea {
  border-radius: 16px;
  border: 1px solid var(--grey-border);
  padding: 10px 13px;
  font-size: 1rem;
  background: #fff;
  margin-bottom: 18px;
  box-shadow: none;
  font-family: var(--font-body);
  transition: border .2s, box-shadow .2s;
  width: 100%;
  max-width: 450px;
}
input:focus, textarea:focus {
  border: 1.5px solid var(--secondary-color);
  box-shadow: 0 2px 10px 0 rgba(19,73,124,0.10);
}

/* =============
   MEDIA QUERIES
============== */
@media (max-width:480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
}

/* Hide default list style in feature lists */
.feature-list, .step-list, .faq-list {
  list-style: none;
  padding-left: 0;
}

/**************************************/
/*    END -- PlurisVolg MAIN STYLE    */
/**************************************/
