/*---------------------*
 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 {
  line-height: 1.5;
  background: #F8FAFB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #27374d;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #23416A;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A394D9;
  text-decoration: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 8px;
}


/*------------------*
  COLORS (SOFT PASTEL)
*------------------*/
:root {
  --pp-blue: #23416A;
  --pp-blue-light: #B6C4D5;
  --pp-yellow: #F8E6A0;
  --pp-pink: #F7C6D6;
  --pp-mint: #B7DFDF;
  --pp-white: #FFFFFF;
  --pp-gray: #E8EBF0;
  --pp-text: #27374d;
  --pp-soft-shadow: 0 4px 24px 0 rgba(143, 173, 204, 0.12);
}


/*-----------------------*
  TYPOGRAPHY
*------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #23416A;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #23416A;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #23416A;
}
h4 {
  font-size: 1.12rem;
}
p, li, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--pp-text);
}
strong { color: var(--pp-blue); }
.text-section p, .text-section ul, .text-section ol { max-width: 740px; }

/* Text Hierarchy */
.text-section h2, .text-section h3 { margin-top: 16px; }


/*-------------------*
  LAYOUT: CONTAINER
*--------------------*/
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section { max-width: 870px; }

/*--------------------*
  HEADER & NAVBAR
*---------------------*/
header {
  background: linear-gradient(90deg, #F7C6D6 0%, #F8E6A0 100%);
  box-shadow: 0 2px 16px 0 rgba(143,173,204,0.09);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 16px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  gap: 18px;
}
.main-nav a img {
  height: 36px;
  width: auto;
  margin-right: 18px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  align-items: center;
  margin: 0;
}
.main-nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 22px;
  color: var(--pp-blue);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover, 
.main-nav ul li a:focus {
  background: var(--pp-blue-light);
  color: #23416A; 
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 22px;
  background: linear-gradient(90deg, #F7C6D6 0%, #F8E6A0 100%);
  color: #23416A;
  border: none;
  cursor: pointer;
  margin-left: 18px;
  box-shadow: 0 2px 8px 0 rgba(143,173,204,0.09);
  transition: background 0.26s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(270deg, #F8E6A0 0%, #B7DFDF 100%);
  color: #23416A;
  box-shadow: 0 4px 24px 0 rgba(143,173,204,0.16);
}

/* Hamburger & Mobile */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #23416A;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 1201;
  cursor: pointer;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(255,255,255,0.75);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(180deg, #F7C6D6 0%, #B7DFDF 60%, #F8FAFB 100%);
  z-index: 2000;
  padding: 32px 26px 24px 26px;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.6,.34,.33,1.18);
  box-shadow: 2px 0 32px 0 rgba(143,173,204,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #23416A;
  background: transparent;
  border: none;
  margin-bottom: 24px;
  cursor: pointer;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.6);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav a {
  color: var(--pp-blue);
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pp-blue-light);
  color: #23416A;
}

@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  .main-nav a.btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  .main-nav ul, .main-nav a.btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    padding-right: 52px;
  }
  .container {
    padding: 0 10px;
  }
}


/*--------------------------*
  HERO SECTION
*---------------------------*/
.hero {
  background: linear-gradient(90deg, #F8FAFB 75%, #F7C6D6 100%);
  padding: 55px 0 36px 0;
  margin-bottom: 38px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
.hero h1 {
  margin-bottom: 18px;
  font-size: 2.5rem;
  color: var(--pp-blue);
  text-shadow: 0 1px 0 #fff7, 0 2px 8px #e7e7f780;
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 24px;
  color: #23416A;
}
@media (max-width: 768px) {
  .hero {
    padding: 36px 0 28px 0;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}


/*--------------------------------*
  FEATURE/CARD, FAQ, BLOG, CASES
*---------------------------------*/
.feature-grid,
.case-study-list,
.team-bios,
.card-container,
.blog-list,
.faq-list,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 8px;
  margin-top: 12px;
}
.feature-grid > div,
.case-study-list > div,
.team-bios > div,
.blog-list > article,
.faq-list > div {
  background: #fff;
  border-radius: 20px;
  flex: 1 1 220px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 2px 12px 0 rgba(165,151,184,0.08);
  padding: 32px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-height: 230px;
  margin-bottom: 20px;
  border: 1px solid #f4f4fa;
  transition: box-shadow 0.17s, border 0.23s;
}
.feature-grid > div:hover,
.case-study-list > div:hover,
.team-bios > div:hover,
.blog-list > article:hover,
.faq-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(143,173,204,0.13);
  border: 1.5px solid var(--pp-blue-light);
}
.feature-grid > div img,
.case-study-list > div img,
.team-bios > div img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #F7C6D6;
  box-shadow: 0 1px 8px 0 #f8e6a017;
}

.testimonial-list {
  gap: 20px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px 24px 24px;
  background: #FDFDFE;
  border-radius: 18px;
  margin-bottom: 20px;
  min-width: 250px;
  max-width: 410px;
  box-shadow: 0 2px 16px 0 rgba(115,151,198,0.07);
  border: 1px solid #f6e6ff;
  color: #23416A;
  position: relative;
  transition: box-shadow 0.17s, border 0.23s;
}
.testimonial-card p {
  color: #27374d;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #23416A;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(144,173,204,0.15);
  border: 1.5px solid #F7C6D6;
  background: #FFFcff;
  z-index: 1;
}

.blog-list article {
  min-width: 240px;
  max-width: 340px;
  background: #fff;
  padding: 24px 18px 18px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(143,173,200,0.07);
  border: 1px solid #F7C6D6;
  transition: box-shadow 0.17s, border 0.22s;
  margin-bottom: 20px;
}
.blog-list article:hover {
  box-shadow: 0 8px 28px 0 rgba(196,168,217,0.15);
  border: 1.5px solid #B7DFDF;
}

.faq-list > div {
  min-width: 250px;
  max-width: 410px;
  margin-bottom: 20px;
  background: #FEFEFE;
  border: 1px solid #B6C4D5;
  border-radius: 16px;
  box-shadow: 0 1px 7px 0 rgba(143,173,204,0.06);
  padding: 22px 18px 14px 18px;
  transition: box-shadow 0.17s, border 0.2s;
}
.faq-list > div h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}
.faq-list > div p {
  font-size: 1.002rem;
  color: #23416A;
}
.faq-list > div:hover {
  box-shadow: 0 6px 18px 0 rgba(143,173,204,0.13);
  border: 1.6px solid #F7C6D6;
}

@media (max-width: 900px) {
  .feature-grid,
  .case-study-list,
  .team-bios,
  .blog-list,
  .faq-list,
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .case-study-list > div, .team-bios > div, .faq-list > div, .testimonial-card, .blog-list article {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}


/*--------------------------*
  CTA SECTIONS
*--------------------------*/
.cta {
  background: linear-gradient(90deg, #F7C6D6 0%, #B7DFDF 100%);
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px 0 rgba(173,208,211,0.07);
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta h2 {
  color: #23416A;
  font-size: 2rem;
}
.cta p {
  color: #23416A;
}

/*--------------------------*
  CONTACT DETAILS/BLOCKS
*--------------------------*/
.address-block, .office-hours, .contact-details {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: #23416A;
}

@media (max-width: 768px) {
  .content-wrapper { padding: 0 5px; }
}

/*--------------------------*
  FOOTER
*--------------------------*/
footer {
  background: linear-gradient(90deg, #F7C6D6 0%, #F8E6A0 100%);
  padding: 32px 0 12px 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -2px 24px 0 rgba(143,173,204,0.09);
  margin-top: 86px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.footer-nav a {
  color: #23416A;
  padding: 5px 13px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  background: transparent;
  transition: background 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #FEFEFE;
  color: #23416A;
}
.footer-contact {
  text-align: center;
  color: #23416A;
  font-size: 1rem;
  margin-bottom: 0;
  margin-top: 10px;
  line-height: 1.8;
}
.footer-contact img {
  height: 30px;
  width: auto;
  margin-bottom: 5px;
  background: #fff7;
  border-radius: 10px;
}
@media (max-width: 768px) {
  .footer-nav { flex-direction: column; gap: 10px; }
  footer { padding: 26px 0 8px 0; }
}

/*---------------------------*
RESPONSIVE FLEX PATTERNS
*---------------------------*/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 900px) {
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .section { padding: 28px 6px; margin-bottom: 40px; }
  .cta { margin-bottom: 40px; }
}

/*-----------------------------*
   BUTTONS, INPUTS, INTERACTIONS
*------------------------------*/
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: 22px;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
}
.btn-secondary {
  background: #B7DFDF;
  color: #23416A;
  padding: 9px 22px;
  border-radius: 22px;
  font-weight: 500;
  border: none;
  margin: 0 7px 0 0;
  box-shadow: 0 2px 7px 0 rgba(143,173,204,0.08);
  transition: background 0.2s, color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F7C6D6;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid #23416A;
  color: #23416A;
  padding: 9px 22px;
  border-radius: 22px;
  font-weight: 500;
  margin: 0 7px 0 0;
  transition: background 0.17s, color 0.14s, border 0.13s;
}
.btn-outline:hover, .btn-outline:focus {
  background: #23416A;
  color: #fff;
  border-color: #23416A;
}

input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 14px;
  margin-bottom: 18px;
  border: 1.5px solid #E8EBF0;
  border-radius: 12px;
  width: 100%;
  transition: border 0.21s, box-shadow 0.22s;
  background: #F8FAFB;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 2px 10px 0 #B7DFDF33;
  border: 1.7px solid #B7DFDF;
}

/*------------------------------*
SMOOTH MICRO-ANIMATIONS
*-------------------------------*/
section, .card, .feature-grid > div, .team-bios > div, .blog-list article, .faq-list > div, .testimonial-card {
  transition: box-shadow 0.25s, transform 0.24s;
}
section:target, .card:focus-within, .feature-grid > div:focus-within {
  box-shadow: 0 6px 32px 0 rgba(183,223,223,0.19);
  transform: translateY(-2px) scale(1.01);
}

/*------------------------------*
COOKIE CONSENT BANNER & POPUP
*------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3200;
  background: linear-gradient(90deg, #F7C6D6 0%, #F8E6A0 100%);
  box-shadow: 0 -2px 20px 0 rgba(143,173,204,0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  gap: 28px;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  font-size: 1rem;
}
.cookie-banner p {
  color: #23416A;
  font-size: 1rem;
  margin: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-btn-accept {
  background: var(--pp-mint);
  color: #23416A;
  padding: 8px 24px;
  border-radius: 22px;
  font-weight: 500;
  border: none;
  margin: 0 5px 0 0;
  box-shadow: 0 2px 7px 0 rgba(143,173,204,0.06);
  transition: background 0.2s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: var(--pp-yellow);
}
.cookie-btn-reject {
  background: #F7C6D6;
  color: #23416A;
  padding: 8px 18px;
  border-radius: 22px;
  border: none;
  font-weight: 500;
  margin-right: 5px;
  transition: background 0.2s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #E8EBF0;
}
.cookie-btn-settings {
  background: transparent;
  color: #23416A;
  border: 1.5px solid #23416A;
  padding: 8px 18px;
  font-weight: 500;
  border-radius: 22px;
  margin-right: 5px;
  transition: background 0.13s, color 0.16s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #23416A;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 12px;
    font-size: 0.95rem;
  }
}

/* COOKIE POPUP MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #27374d4a;
  backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #FFFDFB;
  border-radius: 22px;
  box-shadow: 0 8px 52px 0 rgba(143,173,204,0.19);
  min-width: 320px;
  max-width: 410px;
  padding: 32px 26px 26px 26px;
  color: #23416A;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  animation: modalShow 0.36s cubic-bezier(.65,1.77,.33,1) both;
}
@keyframes modalShow {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.cookie-modal h3 {
  margin-bottom: 9px;
  color: #23416A;
  font-size: 1.16rem;
  font-family: 'Montserrat';
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 1rem;
}
.cookie-category label {
  font-weight: 500;
  color: #23416A;
}
.cookie-category input[type="checkbox"] {
  accent-color: #B7DFDF;
  transform: scale(1.18);
  margin-left: 10px;
}
.cookie-essential {
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 17px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #23416A;
  cursor: pointer;
  border-radius: 6px;
  padding: 2px 7px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #B7DFDF33;
}

@media (max-width: 500px) {
  .cookie-modal {
    min-width: 90vw;
    padding: 22px 5vw 20px 5vw;
  }
}

/*-------------------------*
  MISC. HELPERS & UTILITIES
*--------------------------*/
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.rounded-16 { border-radius: 16px !important; }
.shadow-soft {
  box-shadow: 0 8px 24px 0 rgba(143,173,204,0.11) !important;
}

/*-------------------------*
   PRINT OPTIMIZATION
*--------------------------*/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, footer {
    display: none !important;
  }
  .container { padding: 0 !important; }
  body { color: #000; background: #fff; }
}
