/*-----------------------------------------
  CSS RESET & SOFT PASTEL DESIGN BASELINE
-----------------------------------------*/
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 {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  background: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  background: #FAFAF4;
  color: #223B39;
  line-height: 1.7;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

img, video, svg {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.3em;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  background: none;
}
a {
  color: #274947;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D3A356;
}

/*-----------------------------------------
  COLOR PALETTE SOFT PASTEL
-----------------------------------------*/
:root {
  --soft-primary: #223B39;
  --soft-secondary: #FAFAF4;
  --soft-accent: #D3A356;
  --soft-pink: #FFD6E0;
  --soft-blue: #C1EFFF;
  --soft-green: #D3F6E6;
  --soft-purple: #EEE8F6;
  --soft-yellow: #FFF8D6;
  --soft-gray: #EDF1F4;
  --soft-bg-alt: #FFFFFF;
  --soft-text: #223B39;
  --soft-heading: #274947;
  --soft-shadow: 0 2px 16px 0 rgba(175,192,196,0.16), 0 0.5px 1.5px 0 rgba(176,176,181,0.03);
  --border-radius-lg: 28px;
  --border-radius: 14px;
  --border-radius-sm: 8px;
}

/*-----------------------------------------
  TYPOGRAPHY
-----------------------------------------*/
h1, h2, h3, h4, h5 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--soft-heading);
  font-weight: bold;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4, h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1.12rem;
  margin-bottom: 16px;
  color: var(--soft-text);
}
strong {
  font-weight: 700;
}
em {
  color: var(--soft-accent);
  font-style: normal;
  font-weight: 500;
}
.text-section {
  margin-bottom: 32px;
}

/*-----------------------------------------
  LAYOUT
-----------------------------------------*/
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  margin-bottom: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--soft-bg-alt);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--soft-gray);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF8D6;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--soft-shadow);
  color: #223B39;
  font-size: 1.08rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, .card, .testimonial-card {
    padding: 20px;
  }
  .content-wrapper {
    margin-bottom: 18px;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/*---------------------------------------------
  HEADER & NAVIGATION - SOFT PASTEL STYLE
---------------------------------------------*/
header {
  background: linear-gradient(90deg, #FFE6F3 0%, #E3FAFF 100%);
  box-shadow: 0 2px 12px 0 rgba(200,200,220,0.08);
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  z-index: 30;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.main-nav > a {
  padding: 8px 18px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  border-radius: var(--border-radius-sm);
  transition: background 0.15s, color 0.2s;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--soft-pink);
  color: var(--soft-primary);
}
.main-nav > a.cta-btn {
  margin-left: auto;
  background: var(--soft-accent);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  border-radius: var(--border-radius);
  padding: 10px 28px;
  box-shadow: 0 2px 10px 0 rgba(211,163,86,0.08);
  transition: background 0.22s, color 0.17s, transform 0.18s;
}
.main-nav > a.cta-btn:hover,
.main-nav > a.cta-btn:focus {
  background: #223B39;
  color: #fffbe7;
  transform: translateY(-2px) scale(1.03);
}

.main-nav img {
  height: 34px;
  margin-right: 16px;
  vertical-align: middle;
}

/* Hide menu if not enough space on mobile */
@media (max-width: 950px) {
  .main-nav > a:not(:first-child):not(.cta-btn) {
    display: none;
  }
}
@media (max-width: 650px) {
  .main-nav > a.cta-btn {
    font-size: 1rem;
    padding: 8px 18px;
    margin-left: 0;
  }
  .main-nav img {
    height: 28px;
    margin-right: 10px;
  }
}

/*--------------------
  MOBILE NAVIGATION
---------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--soft-accent);
  color: #fff;
  border: none;
  margin-left: 18px;
  border-radius: var(--border-radius-sm);
  font-size: 2.1rem;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.18s, color 0.15s, transform 0.18s;
  z-index: 51;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--soft-accent);
}

@media (max-width: 950px) {
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav {
    width: 100%;
    gap: 0;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #FFE6F3 0%, #C1EFFF 100%);
  box-shadow: 0 4px 32px 0 rgba(90,84,110,0.16);
  transform: translateX(-110vw);
  transition: transform 0.35s cubic-bezier(.73,.37,.46,.85);
  z-index: 200;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--soft-primary);
  font-size: 2.1rem;
  padding: 12px 18px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 201;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 54px;
  padding-left: 42px;
}
.mobile-nav a {
  color: var(--soft-primary);
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.26rem;
  padding: 10px 0;
  border-radius: var(--border-radius-sm);
  transition: background .18s, color .17s;
  width: fit-content;
}
.mobile-nav a:active,
.mobile-nav a:hover {
  background: var(--soft-pink);
  color: var(--soft-accent);
}

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

/*-----------------------------------------
  HERO SECTION & LANDING CTA
-----------------------------------------*/
.hero {
  background: linear-gradient(120deg, #FFFBF8 0%, #C1EFFF 100%);
  padding: 60px 0 40px 0;
  box-shadow: var(--soft-shadow);
  border-radius: 0 0 44px 44px;
}
.hero h1, .hero h2, .hero h3 {
  color: var(--soft-heading);
  font-weight: 900;
}
.hero p {
  font-size: 1.25rem;
  margin-top: 16px;
  margin-bottom: 20px;
  color: #223B39cc;
}
.hero .cta-btn {
  display: inline-block;
  font-size: 1.15rem;
  padding: 15px 38px;
  background: var(--soft-accent);
  color: white;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-shadow: 0 2px 12px #eedfbf10;
  box-shadow: 0 2px 10px 0 #eedfbf30;
  letter-spacing: .5px;
  transition: background 0.20s, transform 0.16s, color 0.18s;
  border: none;
  cursor: pointer;
}
.hero .cta-btn:hover {
  background: #e8c277;
  color: #223B39;
  transform: scale(1.04) translateY(-2px);
}

@media (max-width: 768px) {
  .hero {
    padding: 32px 0 20px 0;
    border-radius: 0 0 24px 24px;
  }
}

/*--------------------------------------
  FEATURES & SERVICES - Pastel Boxes
---------------------------------------*/
.features, .services, .process, .faq, .cta-block, .articles-preview {
  background: #FFF8D6;
  margin-bottom: 60px;
  padding: 40px 0 20px 0;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--soft-shadow);
}
.features h2, .services h2, .process h2 {
  margin-bottom: 32px;
  color: var(--soft-heading);
}
.features ul, .services ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 32px;
}
.features ul li, .services ul li {
  background: #EDF1F4;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 7px 0 rgba(200,192,135,0.10);
  padding: 22px 18px 18px 18px;
  font-size: 1.1rem;
  min-width: 210px;
  color: #223B39;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.features ul li img,
.services ul li img {
  width: 38px;
  height: 38px;
  margin-right: 14px;
  flex-shrink: 0;
}
.services ul li strong {
  color: var(--soft-accent);
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.10rem;
}
.services ul li span {
  color: #44504D;
  font-size: 1.02rem;
}
.services ul li em {
  color: #857141;
  font-size: 1rem;
  font-style: normal;
  margin-top: 3px;
}
.services .cta-btn {
  margin-top: 32px;
}

@media (max-width: 900px) {
  .features ul, .services ul, .articles-preview ul {
    flex-direction: column;
    gap: 14px;
  }
}

/*--------------------------------------
  TESTIMONIALS CARDS
---------------------------------------*/
.testimonials {
  background: #F8F4FF;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--soft-shadow);
  margin-bottom: 60px;
  padding: 38px 0 24px 0;
}
.testimonial-card {
  background: #FFF8D6;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--soft-shadow);
  font-size: 1.04rem;
  padding: 24px;
  color: var(--soft-text);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 220px;
  max-width: 430px;
}
.testimonial-card strong {
  color: var(--soft-primary);
}
.stars {
  color: #D3A356;
  letter-spacing: 2px;
  font-size: 1.1rem;
}
@media (min-width: 700px) {
  .testimonials .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .testimonial-card {
    margin-right: 24px;
  }
}

/*----------------------------------
  ARTICLES PREVIEW
-----------------------------------*/
.articles-preview {
  background: #FBF8FF;
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  padding: 28px 0 18px 0;
}
.articles-preview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-bottom: 18px;
  padding: 0;
}
.articles-preview ul li {
  background: #EDF1F4;
  border-radius: var(--border-radius);
  padding: 16px 14px;
  box-shadow: 0 1px 5px 0 rgba(168,168,200,0.11);
  color: #223B39;
  flex: 1 1 260px;
  margin-bottom: 8px;
}
.articles-preview ul li a {
  color: #4F7182;
  font-weight: bold;
  margin-top: 6px;
  display: inline-block;
  transition: color 0.17s;
}
.articles-preview ul li a:hover {
  color: var(--soft-accent);
}

@media (max-width: 900px) {
  .articles-preview ul {
    flex-direction: column;
    gap: 10px;
  }
}

/*------------------------------
  CONTACT & ADDRESS SECTION
-------------------------------*/
.contact, .cta-block {
  background: #FEF6F8;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--soft-shadow);
  margin-bottom: 60px;
  padding: 34px 0 20px 0;
}
address {
  font-style: normal;
  color: var(--soft-text);
  font-size: 1.1rem;
  margin: 12px 0 4px 0;
  word-break: break-word;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #FFF8D6;
  border-radius: 50%;
  box-shadow: 0 2px 8px #eee5dd1a;
  transition: box-shadow 0.18s, background 0.19s, transform 0.18s;
}
.social-links a:hover {
  background: #FFE6F3;
  box-shadow: 0 2px 12px #F7B8D6;
  transform: scale(1.08);
}
.social-links img {
  width: 22px;
  height: 22px;
}

/*-----------------------------------
  BUTTONS & INTERACTIVE ELEMENTS
--------------------------------------*/
.cta-btn {
  display: inline-block;
  background: var(--soft-accent);
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 11px 34px;
  margin-top: 16px;
  margin-bottom: 16px;
  letter-spacing: .5px;
  box-shadow: 0 2px 10px #eedfbf20;
  transition: background 0.18s, color 0.14s, transform 0.18s;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--soft-primary);
  color: #FAFAF4;
  transform: translateY(-2px) scale(1.03);
}
@media (max-width: 450px) {
  .cta-btn {
    padding: 8px 16px;
    font-size: 0.98rem;
  }
}

button {
  cursor: pointer;
  border: none;
  padding: 8px 18px;
  border-radius: var(--border-radius-sm);
  transition: background 0.17s, color 0.16s;
  background: var(--soft-accent);
  color: #FFF;
}
button:hover, button:focus {
  background: #223B39;
  color: #FFFBE4;
}

/*-----------------------
  FOOTER STYLES
------------------------*/
footer {
  background: linear-gradient(92deg, #F5F9FE 40%, #FFF8D6 100%);
  box-shadow: 0 -1px 8px #D3F6E620;
  padding: 32px 0 30px 0;
  border-radius: 38px 38px 0 0;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  color: var(--soft-primary);
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 1rem;
}
.footer-menu a {
  color: var(--soft-primary);
  padding: 6px 10px;
  border-radius: var(--border-radius-sm);
  transition: background 0.13s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: #FFD6E0;
}
.address {
  color: #85969c;
  text-align: center;
  font-size: 0.99rem;
  margin-bottom: 16px;
}
footer .social-links {
  justify-content: center;
  margin-top: 12px;
}

/*-------------------------------
  MISCELLANEOUS CLASSES & UTILITIES
--------------------------------*/
ol {
  margin: 10px 0 14px 28px;
  padding-left: 0;
}
ul {
  margin: 10px 0 14px 22px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
}
h3 {
  margin-top: 20px;
}

/*-------------------------
  COOKIE CONSENT BANNER
--------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FBF8FF;
  border-top: 2px solid #D3F6E6;
  box-shadow: 0 -2px 32px #ccbecb27;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: center;
  z-index: 9999;
  padding: 28px 18px 20px 18px;
  font-size: 1.05rem;
  transition: transform 0.30s cubic-bezier(.85,0,.26,1), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #223B39;
  margin-bottom:0;
  max-width: 480px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Lato', Arial, sans-serif;
  padding: 9px 17px;
  font-size: 1.02rem;
  border-radius: var(--border-radius-sm);
  margin: 0;
  border: none;
  background: var(--soft-accent);
  color: #fff;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.cookie-banner button.cookie-reject {
  background: #FFD6E0;
  color: #223B39;
}
.cookie-banner button.cookie-settings {
  background: var(--soft-primary);
  color: #fff;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  filter: brightness(1.15);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 7vw 15px 5vw;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    justify-content: flex-start;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(50,40,80,0.39);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.17s cubic-bezier(.82,.01,.56,.98);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 38px 32px 26px 32px;
  box-shadow: 0 6px 32px #c3e9d730;
  min-width: 335px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: riseIn 0.38s cubic-bezier(.9,.12,.6,1.13);
}
@keyframes riseIn {
  0% {transform: translateY(70px); opacity: 0;}
  100% {transform: none; opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 22px;
  right: 40px;
  background: transparent;
  color: #D3A356;
  font-size: 1.85rem;
  border: none;
  cursor: pointer;
}
.cookie-modal-dialog h4 {
  font-size: 1.26rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-bottom: 24px;
}
.cookie-category {
  padding: 14px 0 6px 0;
  border-bottom: 1px solid #EDF1F4;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.08rem;
  color: #223B39;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #FFE6F3;
  border-radius: 22px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  margin-left: 12px;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #D3A356;
}
.cookie-switch:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s;
}
.cookie-switch:checked:after {
  left: 18px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  padding: 8px 17px;
  border-radius: var(--border-radius-sm);
  border: none;
  background: var(--soft-accent);
  color: #fff;
  transition: background 0.17s;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: var(--soft-primary);
  color: #FFFDE8;
}

@media (max-width: 500px) {
  .cookie-modal-dialog {
    padding: 22px 10px 18px 10px;
    min-width: 95vw;
  }
}

/*----------- ACCESSIBILITY FOCUS -------------*/
:focus-visible {
  outline: 2px solid #D3A356;
  outline-offset: 2px;
  transition: outline 0.14s;
}

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

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