/* ====================================================== */
/* Impeccianu Soft Pastel Responsive CSS                  */
/* Only Flexbox layouts. No CSS Grid or Columns.          */
/* Brand: Impeccianu | Style: soft pastel                 */
/* ====================================================== */

/* ---- CSS RESET + NORMALIZATION ---- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFBFD;
  color: #2A3347;
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #40718C;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #2E8B57;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}
h1, h2, h3, h4, h5, h6 {
  color: #173E5B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
  font-weight: 700;
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
}
h2 {
  font-size: 2rem;
  margin-top: 0.6em;
}
h3 {
  font-size: 1.38rem;
}
.subheadline {
  font-size: 1.2rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #357471;
  margin-bottom: 1em;
  font-weight: 400;
}

/* ---- LAYOUT ELEMENTS ---- */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  margin-top: 0.5em;
}

/* ---- Sections & Spacing Patterns ---- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 2px 18px 0 rgba(157,200,192,0.09);
  position: relative;
  transition: box-shadow 0.24s;
}
@media (max-width: 768px) {
  .section { padding: 32px 12px; margin-bottom: 34px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 260px;
  margin-bottom: 20px;
  background: #F7FCFA;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(134, 182, 191, 0.065);
  position: relative;
  padding: 32px 24px 28px;
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(46,139,87,0.15), 0 2px 12px rgba(57,161,180,0.05);
  transform: translateY(-6px) scale(1.015);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 20px; }
  .card-container { flex-direction: column; gap: 18px; }
}

.text-section {
  max-width: 700px;
  margin-bottom: 1.6em;
}

/* ---- Feature Grid ---- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
}
@media (max-width: 888px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div { flex: 1 1 100%; max-width: 100%; }
}
.feature-grid > div {
  background: #F2F6F9;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(157,200,192,0.10);
  padding: 28px 22px 22px;
  min-width: 225px;
  min-height: 220px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.16s, background 0.16s;
}
.feature-grid > div img {
  width: 38px;
  height: 38px;
  margin-bottom: 0.2em;
}
.feature-grid > div:hover {
  background: #F3FBF8;
  box-shadow: 0 8px 32px rgba(46,139,87,0.10);
}

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

/* ----- Testimonial Cards ----- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 28px 20px 28px;
  background: linear-gradient(90deg,#FCFAFE 70%,#E9F4F7 100%);
  border-radius: 22px;
  box-shadow: 0 4px 24px rgba(57,144,123,.07);
  margin-bottom: 20px;
  min-width: 260px;
  transition: box-shadow .17s, transform .18s;
}
.testimonial-card blockquote {
  color: #243046;
  font-style: italic;
  font-size: 1.19rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 10px;
}
.testimonial-card p {
  color: #466B63;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card img {
  width: 28px; height: 28px; border-radius: 50%; background: #D8E5E7; border: 1.5px solid #BDE0DC; padding: 2.5px;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px rgba(46,139,87,0.17);
  transform: scale(1.018);
}

/* ----- Buttons ----- */
.cta-button {
  background: #FFD6E0;
  color: #173E5B;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  border: none;
  border-radius: 18px;
  padding: 0.9em 2.1em;
  box-shadow: 0 1px 8px rgba(157,185,200,0.07);
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 10px;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.17s;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #F5C39B;
  color: #285690;
  box-shadow: 0 4px 18px rgba(46,139,87,0.16);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #F6FAF5;
  box-shadow: 0 1px 22px 0 rgba(46,139,87,0.05);
  padding: 0 0 0.5em;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2E8B57;
  font-weight: 500;
  font-size: 1.01rem;
  padding: 7px 0;
  transition: color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #173E5B;
  outline: none;
}
.header-flex img {
  height: 38px;
}

.mobile-menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: #6B7180;
  display: none;
  margin-left: 8px;
  padding: 3px 10px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EFECF7;
  color: #2E8B57;
}
@media (max-width: 950px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    font-size: 1.07rem;
    padding: 0.7em 1.7em;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(252, 250, 254, 0.97);
  z-index: 1090;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.51,0.01,0.48,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 34px 0 20px;
  box-sizing: border-box;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 6px 24px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #35606B;
  cursor: pointer;
  z-index: 1120;
  border-radius: 9px;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #EDD7E8;
  color: #2E8B57;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #2E8B57;
  font-weight: 500;
  padding: 13px 0 13px 2px;
  border-radius: 12px;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F6F9;
  color: #173E5B;
  outline: none;
}
@media (min-width: 951px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none;
  }
}

/* ---- FOOTER ---- */
footer {
  background: #F6FAF5;
  border-top: 2px solid #E9F4F7;
  padding: 42px 0 16px 0;
  margin-top: 40px;
}
.footer-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-flex img {
  height: 38px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 170px;
}
.footer-nav a {
  color: #35606B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 4px 0;
  transition: color 0.16s;
  border-radius: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #2E8B57;
  background: #FAEEFF;
}
.footer-contact p {
  color: #5C7577;
  font-size: 1rem;
  margin-bottom: 2px;
}
@media (max-width: 900px) {
  .footer-flex {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-nav { flex-direction: row; gap: 18px; }
  .footer-contact { margin-top: 6px; }
}


/* ---- TABLES ---- */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(46,139,87,0.045);
  font-size: 1.01rem;
}
thead {
  background: #E8F0FB;
  color: #173E5B;
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tbody tr {
  border-bottom: 1px solid #F0F3F8;
}
tbody tr:last-child {
  border-bottom: none;
}
tr:nth-child(even) td {
  background: #F9FBFE;
}

/* ---- NEWSLETTER BLOCKS ---- */
.newsletter-signup {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #FFF5F9;
  padding: 24px 20px;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(246,202,242,0.04);
  font-family: 'Montserrat', Arial, sans-serif;
}
.newsletter-archive {
  background: #F8F3FA;
  border-radius: 12px;
  padding: 15px 18px 13px;
  margin: 10px 0;
}
.newsletter-archive h3 {
  font-size: 1.07rem;
  margin-bottom: 7px;
}

/* ---- ELEMENTS ---- */
strong {
  color: #173E5B;
  font-weight: 600;
}
.blockquote, blockquote {
  border-left: 4px solid #E1BEE7;
  padding-left: .8em;
  color: #314243;
  font-style: italic;
  opacity: 0.97;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #2E8B57;
  margin-bottom: 0.25em;
}
dd {
  margin-bottom: 1em;
  margin-left: 1.4em;
}

/* ---- LISTS IN CARDS & SECTIONS ---- */
section ul, section ol {
  margin-bottom: 1.4em;
  margin-top: 0.6em;
  color: #52798D;
}
section li {
  margin-bottom: .45em; font-size: 1.01em; line-height: 1.6;
  padding-left: 0.25em;
}

/* ---- RESPONSIVE SPACING ---- */
@media (max-width: 670px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.06rem; }
  .cta-button { font-size: 0.99rem; padding: 0.7em 1.3em; }
  table, th, td { font-size: 0.99rem; }
}
@media (max-width: 600px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .section { padding: 22px 5px; border-radius: 16px; }
}

/* ---- MAP AND CONTACT INFO ---- */
.map-location {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 5px 0;
  background: #E8FAF6;
  padding: 12px 13.5px;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.contact-support {
  margin-top: 15px;
  background: #F7F6F9;
  border-radius: 10px;
  padding: 11px 11px 11px 20px;
  color: #437387;
  font-size: 0.98rem;
}

/* ---- LINKS IN TEXT BLOCKS ---- */
.text-section a { color: #2E8B57; text-decoration: underline; font-weight: 500; font-family: inherit; }
.text-section a:hover, .text-section a:focus { color: #173E5B; text-decoration: underline dotted; }

/* ----- COOKIE CONSENT BANNER & MODAL ----- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1800;
  width: 100%;
  background: #FFF5E9;
  box-shadow: 0 -2px 28px 0 rgba(187, 191, 190, 0.13);
  padding: 22px 19px 19px 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: fadeInSlideUp 0.52s cubic-bezier(.21,.34,.51,1.17);
}
@keyframes fadeInSlideUp {
  0% { opacity:0; transform: translateY(30px); }
  100% { opacity:1; transform: translateY(0); }
}
.cookie-banner-message {
  flex: 1 1 220px;
  color: #26615A;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  background: #E1BEE7;
  color: #173E5B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 0.65em 1.4em;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 2px 11px rgba(157, 185, 200, 0.06);
  transition: background 0.14s, color 0.14s, box-shadow 0.14s, transform 0.18s;
}
.cookie-btn.accept {
  background: #B9F8D8;
  color: #15322E;
}
.cookie-btn.reject {
  background: #FFD6E0;
  color: #7C2442;
}
.cookie-btn.settings {
  background: #FFF1F6;
  color: #437387;
  border: 1px solid #EEC3D5;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E5F5F2;
  color: #2E8B57;
  outline: none;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 16px rgba(233, 173, 242, 0.13);
}

/* ---- COOKIE MODAL ---- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  background: rgba(222,209,239,0.22);
  animation: fadeInBg .4s;
}
@keyframes fadeInBg {
  0% { opacity:0; } 100%{ opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 7px 32px 0 rgba(157,200,192,0.17);
  padding: 38px 32px 24px 32px;
  max-width: 420px;
  width: 95vw;
  position: relative;
}
.cookie-modal-content h3 {
  font-size: 1.3rem;
  color: #2E8B57;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 6px;
  background: #F5F4FB;
  border-radius: 10px;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #E5BFE6;
  border-radius: 5px;
  margin-right: 2px;
  cursor: pointer;
}
.cookie-category .category-label {
  color: #173E5B;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
}
.cookie-category .description {
  color: #6F8491;
  font-size: 0.97rem;
}
.cookie-modal-close {
  position: absolute;
  right: 16px; top: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #2E8B57;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #EFF2F9; color: #173E5B; }

/* ---- Accessibility: Focus States ---- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .cookie-modal-close:focus {
  outline: 2px dashed #B9F8D8;
  outline-offset: 3px;
  background: #FAFCF3;
}

/* ---- MICRO-INTERACTIONS ---- */
.card, .feature-grid > div, .testimonial-card, .cta-button, .cookie-btn {
  transition-property: background, box-shadow, color, transform;
  transition-duration: 0.14s, 0.16s, 0.13s, 0.14s;
}

/* ---- TYPOGRAPHY SCALE ---- */
@media (min-width: 900px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.16rem; }
  h3 { font-size: 1.27rem; }
}

/* ---- PASTEL PALETTE BG UTILS (if needed in sections) ---- */
.bg-mint    { background: #C6FEE7 !important; }
.bg-blush   { background: #FFF1F6 !important; }
.bg-skyblue { background: #EAF8FF !important; }
.bg-lilac   { background: #E8D7F1 !important; }
.bg-sand    { background: #FFFDEB !important; }
.bg-accent  { background: #F2F6F9 !important; }
.bg-white   { background: #FFF !important; }

/* ---- PASTEL DECORATIVE BORDERS (if needed) ---- */
.border-mint { border-color: #B9F8D8 !important; }
.border-sky  { border-color: #CAF6FE !important; }
.border-blush{ border-color: #FFD6E0 !important; }
.border-lilac{ border-color: #E1BEE7 !important; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 10px;
  background: #FFF7FC;
}
::-webkit-scrollbar-thumb {
  background: #E1BEE7;
  border-radius: 8px;
}

/* ---- Z-INDEX LAYER CONTROL ---- */
header { z-index: 129; position: relative; }
footer { z-index: 109; position: relative; }
.mobile-menu { z-index: 1700; }

/* ---- Extra: Hide elements for print ---- */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
}

/* ---------- END ---------- */
