/* 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 {
  scroll-behavior: smooth;
  background: #FAFAFC;
}
body {
  line-height: 1.6;
  background: #FAFAFC;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2B374A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #7971C1;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #9679b7;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}

/* BRAND SOFT PASTEL COLOR PALETTE */
:root {
  --primary: #1C374D;
  --secondary: #A38B5C;
  --accent: #EDEBDF;
  --pastel-blue: #d0e8f2;
  --pastel-pink: #f8e8e7;
  --pastel-green: #e1f6e6;
  --pastel-lavender: #ece5f6;
  --pastel-mint: #e8f7f1;
  --pastel-yellow: #fdf6e5;
  --text-dark: #232e35;
  --text-light: #fff;
  --focus-shadow: 0 0 0 3px #d0e8f2;
  --card-bg: #fff;
  --section-bg: #f6f7fa;
  --shadow-sm: 0 1px 6px rgba(100,120,170,0.08);
  --shadow-lg: 0 8px 32px rgba(68,88,133,0.08);
}

/* FONT IMPORTS (add via @import or <link> in HTML) */
body,
p, ul, ol, li, input, textarea, select, label {
  font-family: 'Open Sans', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', seriff;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1.125rem;
}
p {
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: #354053;
  font-weight: 400;
}
strong {
  font-weight: 600;
}

/* GLOBAL CONTAINER + LAYOUTS */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--section-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.15s;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 16px rgba(120, 152, 194, 0.16);
  transform: translateY(-2px) scale(1.01);
}

.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;
  background: var(--pastel-blue);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID & BADGES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
}
.feature-grid > div {
  background: var(--pastel-yellow);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  flex: 1 1 280px;
  min-width: 240px;
  max-width: 340px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.15s;
  margin-bottom: 16px;
}
.feature-grid > div img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px rgba(168,190,209,0.17);
  transform: scale(1.015);
}
.trust-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 1rem;
  color: var(--secondary);
}
.trust-badges img {
  width: 36px;
  height: 36px;
}

/* TESTIMONIALS */
.testimonial {
  background: var(--card-bg);
  color: #263045;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 20px 22px;
  margin-bottom: 0;
  flex: 1 1 240px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.testimonial strong {
  color: var(--primary);
}
.testimonial-card {
  background: var(--pastel-blue);
  gap: 36px;
  flex-wrap: wrap;
}
.testimonial img[src*="icon-star"] {
  width: 20px;
  display: inline-block;
  margin-right: 2px;
  vertical-align: middle;
}

/* CTA & BUTTONS */
.cta-primary {
  display: inline-block;
  background: linear-gradient(90deg,#eae4fb,#d0e8f2);
  color: var(--primary);
  padding: 14px 36px;
  font-size: 1.13rem;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s, color 0.25s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: center;
}
.cta-primary:hover,
.cta-primary:focus {
  background: linear-gradient(90deg,#f8e8e7,#e1f6e6);
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(100,120,170,.10);
  text-decoration: none;
  transform: translateY(-1px) scale(1.01);
  outline: none;
}

/* HEADER & NAVIGATION */
header {
  background: var(--pastel-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(140,150,180,.06);
}
header .container {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}
header a img {
  height: 40px;
  width: auto;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
nav a {
  color: var(--primary);
  font-size: 1.05rem;
  font-family: 'Merriweather', serif;
  padding: 8px 15px;
  border-radius: 18px;
  transition: background .15s;
}
nav a:hover, nav a:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
header .cta-primary {
  margin-left: auto;
}
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-yellow);
  color: var(--primary);
  font-size: 1.8rem;
  border-radius: 50%;
  padding: 6px 16px 6px 16px;
  margin-left: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, box-shadow 0.18s;
  position: relative;
  z-index: 1301;
}
.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px #bde0fc;
  background: var(--pastel-lavender);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(245,245,250,0.97);
  box-shadow: 0 6px 28px rgba(60,60,80,0.12);
  z-index: 1300;
  transform: translateX(-100%);
  transition: transform 0.31s cubic-bezier(.4,.85,.46,1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--pastel-pink);
  color: #3a3849;
  border: none;
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 6px 17px 6px 17px;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background .23s, box-shadow .18s;
  z-index: 1400;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-lavender);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(150,140,200,0.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 24px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Merriweather', serif;
  color: var(--primary);
  padding: 10px 8px;
  border-radius: 8px;
  width: 100%;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/* MAIN HERO SECTION */
.hero {
  background: linear-gradient(135deg, #eae4fb 60%, #e1f6e6 100%);
  padding: 60px 0 40px 0;
  border-radius: 0 0 36px 36px;
  margin-bottom: 40px;
  box-shadow: 0 8px 32px rgba(173,183,200,.13);
}
.hero h1 {
  color: var(--primary);
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: .01em;
}
.hero p {
  font-size: 1.25rem;
  color: #3d495e;
  max-width: 650px;
  margin-bottom: 18px;
}

/* CONTACT SHORTFORM */
.contact-shortform {
  margin-top: 24px;
  background: var(--pastel-mint);
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(170,206,196,.08);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-shortform a {
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.18s;
}
.contact-shortform a:hover {
  color: #c7a955;
}

/* FOOTER */
footer {
  background: var(--pastel-pink);
  padding: 45px 0 22px 0;
  font-size: 1rem;
  margin-top: 50px;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 24px rgba(165,170,195,.07);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
  justify-content: center;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1.05rem;
  border-radius: 7px;
  padding: 6px 10px;
  transition: background 0.14s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #353445;
  font-size: 1rem;
  align-items: center;
}
.footer-contact img {
  width: 18px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}
.footer-brand img {
  width: 32px;
}
.footer-brand span {
  color: #666;
  font-size: 0.97rem;
}

/* TEXT SECTION UTILITY */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.text-section h3 {
  color: var(--secondary);
  font-size: 1.15rem;
}
.text-section p,
.text-section li,
.text-section ol li {
  color: #3d495e;
  font-size: 1.05rem;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  margin-bottom: 10px;
}
.text-section > div {
  margin-bottom: 7px;
}

/* COOKIES CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pastel-lavender);
  color: var(--primary);
  box-shadow: 0 -4px 22px rgba(168,170,190,0.12);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 19px 18px;
  gap: 14px;
  font-size: 1.05rem;
  animation: slideUpIn .6s cubic-bezier(.39,.7,.47,1);
}
@keyframes slideUpIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.cookie-banner button {
  border: none;
  font-size: 1.02rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 18px;
  padding: 10px 24px;
  margin-right: 2px;
  cursor: pointer;
  transition: background .19s, color .16s;
  background: var(--pastel-mint);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.cookie-banner button.accept {
  background: var(--pastel-green);
  color: #175135;
}
.cookie-banner button.reject {
  background: var(--pastel-pink);
  color: #923941;
}
.cookie-banner button.settings {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #d0e8f2;
  color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px #bde0fc;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(44, 50, 88, 0.23);
  z-index: 2220;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: all;
  transition: background .3s;
  opacity: 1;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 2px 26px rgba(70,80,140,0.14);
  padding: 34px 24px 28px 24px;
  min-width: 312px;
  max-width: 95vw;
  position: relative;
  margin-bottom: 0;
  animation: slideUpIn .35s cubic-bezier(.42,.71,.53,1);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
}
.cookie-option label {
  color: #444;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-option input:disabled {
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px;
  top: 14px;
  background: #eeeaf6;
  color: #642d6b;
  border-radius: 50%;
  padding: 2px 13px 3px 13px;
  font-size: 1.39rem;
  cursor: pointer;
  transition: background .19s;
  border: none;
  z-index: 3000;
}
.cookie-modal .close-modal:hover {
  background: var(--pastel-lavender);
  color: var(--primary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container { max-width: 97vw; }
}
@media (max-width: 1024px) {
  .container { max-width: 96vw; }
  .hero h1 { font-size: 2.1rem; }
  .feature-grid > div, .card { min-width: 180px; }
}
@media (max-width: 886px) {
  .feature-grid { gap: 16px; }
  .testimonial-card { gap: 14px; }
}
@media (max-width: 820px) {
  .feature-grid { flex-direction: column; gap: 18px; }
  .feature-grid > div { max-width: 100%; }
  .content-grid { flex-direction: column; gap: 18px; }
  header .container { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 768px) {
  .container { max-width: 99vw; padding-left: 13px; padding-right: 13px; }
  .hero { padding-top: 38px; padding-bottom: 13px; border-radius: 0 0 20px 20px; }
  .section { padding: 22px 10px; margin-bottom: 31px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
  .card-container, .content-grid, .feature-grid, .testimonial-card { flex-direction: column; gap: 18px; }
  .testimonial-card { padding: 14px; }
  .card { min-width: 95%; max-width: 99%; padding: 16px; }
  header .container { flex-direction: row; gap: 9px; }
  nav { display: none; }
  header .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 520px) {
  .container { padding-left: 4px; padding-right: 4px; }
  .hero h1 { font-size: 1.3rem; }
  .section, .card { padding: 8px; }
}

/* MOBILE NAV OVERRIDES */
@media (max-width: 950px) {
  header .container { flex-wrap: wrap; }
  .footer-contact { font-size: 0.95rem; gap: 7px; }
}

/* VISUAL EFFECTS & MICRO-INTERACTIONS */
button, .cta-primary {
  transition: background .23s, box-shadow .18s, color .15s, transform .16s;
}
.card, .feature-grid > div, .testimonial {
  transition: box-shadow .22s, transform .18s;
}
.card:hover, .feature-grid > div:hover, .testimonial:hover {
  box-shadow: 0 8px 28px rgba(175,210,209,0.10);
  transform: translateY(-2px) scale(1.01);
}
/* Form focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: var(--focus-shadow);
}

/* ACCESSIBILITY/FOCUS STATES */
a:focus, button:focus {
  outline: none;
  box-shadow: 0 0 0 3px #d0e8f2;
  z-index: 1;
}

/* CUSTOM UTILITIES */
.hide { display: none !important; }

/* Z-INDEX LAYERING */
.mobile-menu, .mobile-menu.open { z-index: 1300 !important; }
.mobile-menu-toggle { z-index: 1301; }
.cookie-banner, .cookie-modal-overlay { z-index: 2001; }

/* PREVENT OVERLAP/GAP SAFETY */
.section + .section { margin-top: 24px; }
.content-wrapper + .content-wrapper { margin-top: 24px; }

/* CARD LISTS SHORTCUTS */
.card-list { display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px; }
.card-list .card { flex: 1 1 280px; }

/* White space helpers */
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }


// ===== END OF CSS =====
