/* CSS RESET & NORMALIZATION */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F8F9FD;
  color: #20283E;
}
ul, ol {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  outline: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* CSS VARIABLES FOR PASTEL THEME */
:root {
  --primary: #20283E;
  --secondary: #D1DFE1;
  --accent: #FFA630;
  --pastel-pink: #F9D5E5;
  --pastel-blue: #C9DBF4;
  --pastel-green: #D1EFDF;
  --pastel-lilac: #E3D9F4;
  --neutral-100: #F8F9FD;
  --neutral-200: #EEF3F9;
  --border-radius: 18px;
  --shadow-base: 0 2px 16px rgba(32,40,62,0.10);
  --shadow-hover: 0 6px 24px rgba(32,40,62,0.15);
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: var(--neutral-100);
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.13;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, span {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary);
}
strong {
  font-weight: 600;
}

/* CONTAINER HELPERS */
.container {
  width: 100%;
  max-width: 1190px;
  padding: 0 18px;
  margin: 0 auto;
}

/* HEADER STYLES */
header {
  background: linear-gradient(90deg, var(--pastel-pink) 0%, var(--pastel-blue) 100%);
  padding: 0;
  box-shadow: 0 2px 10px rgba(32,40,62,0.05);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  position: relative;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: #fff;
}
.cta-btn {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: var(--shadow-base);
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 18px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #ffbc55;
  box-shadow: var(--shadow-hover);
  color: #fff;
}

/* HAMBURGER (mobile) */
.mobile-menu-toggle {
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border: none;
  display: none;
  z-index: 1020;
}

/* MOBILE MENU STYLES */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
  box-shadow: 0 0 60px rgba(32,40,62,0.13);
  z-index: 1000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.79,.14,.15,.86);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  margin-top: 26px;
  margin-bottom: 20px;
  background: var(--pastel-pink);
  border-radius: 50%;
  padding: 8px 16px;
  box-shadow: 0 2px 6px rgba(32,40,62,0.12);
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--primary);
  padding: 16px;
  border-radius: 14px;
  transition: background 0.19s, color 0.19s;
  margin-left: -4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

/* MAIN & SECTION LAYOUTS */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 76px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--neutral-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-base);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s;
}
.card:hover, .card:focus {
  box-shadow: var(--shadow-hover);
}
.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;
}
.section .text-image-section {
  padding: 0;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(32,40,62,0.10);
  margin-bottom: 20px;
  border: 1px solid var(--pastel-blue);
  max-width: 590px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card span, .testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin: 0 0 20px 0;
  background: var(--neutral-200);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 1px 8px rgba(32,40,62,0.07);
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(92deg, var(--pastel-blue) 15%, var(--pastel-pink) 90%);
  border-radius: 32px;
  margin: 26px auto 48px auto;
  box-shadow: 0 8px 32px rgba(32,40,62,0.07);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.hero p {
  color: #4A576C;
  font-size: 1.18rem;
  margin-bottom: 20px;
  max-width: 620px;
}
.hero .cta-btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* SERVICES AND FEATURES */
.features, .services {
  background: var(--pastel-lilac);
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(188,186,223,0.09);
}
.features h2, .services h2, .features h3, .services h3 {
  color: var(--primary);
}
.features ul, .services ul, .features ol, .services ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features li, .services li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.07rem;
  line-height: 1.7;
  color: var(--primary);
}
.features img, .services img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.tag {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 11px;
  padding: 3px 12px;
  font-size: 0.91rem;
  font-weight: 600;
  margin-left: 6px;
}

/* CONTACT */
.contact ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}
.contact img {
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 28px;
}

/* FOOTER */
footer {
  background: var(--pastel-pink);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 12px rgba(32,40,62,0.07);
  padding: 36px 0 0 0;
  position: relative;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 17px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-menu a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 0;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--accent);
  color: #fff;
}
.contact-info p {
  margin-bottom: 7px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  transition: transform 0.17s;
}
.social-links a:hover img, .social-links a:focus img {
  transform: scale(1.12) rotate(-6deg);
}
.newsletter-signup {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 15px;
  padding: 16px 26px 18px 22px;
  box-shadow: 0 1px 6px rgba(32,40,62,0.08);
  max-width: 380px;
  margin-bottom: 8px;
}
.newsletter-signup h3 {
  font-size: 1.14rem;
  margin-bottom: 6px;
}
.newsletter-signup p {
  font-size: 1rem;
}
.copyright {
  width: 100%;
  text-align: center;
  color: var(--primary);
  font-size: 0.97rem;
  opacity: 0.65;
  margin: 0;
  padding: 14px 0 20px 0;
}

/* LEGAL/TEXT SECTIONS */
.legal, .about-section, .text-section {
  background: var(--neutral-200);
  border-radius: 24px;
  box-shadow: 0 2px 14px rgba(58,54,110,0.07);
}
.legal h1, .about-section h1 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 14px;
}
.legal h2, .about-section h2, .about-section h3 {
  color: var(--primary);
  margin: 14px 0 9px 0;
}
.legal ul, .about-section ul {
  margin-bottom: 18px;
}
.legal li {
  color: var(--primary);
  font-size: 1.02rem;
}

/* COOKIE CONSENT BAR & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--pastel-green) 60%, var(--pastel-pink) 120%);
  color: var(--primary);
  box-shadow: 0 -4px 16px rgba(32,40,62,0.09);
  padding: 20px 10px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 11000;
  gap: 18px;
  transition: transform 0.22s, opacity 0.2s;
}
.cookie-banner.hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 7px;
}
.cookie-banner button {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  box-shadow: 0 1px 8px rgba(32,40,62,0.11);
  border: none;
  margin: 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button.cookie-settings {
  background: var(--pastel-blue);
  color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #ffbc55;
  color: #fff;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: var(--accent);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 6px 48px rgba(32,40,62,0.22);
  padding: 34px 30px;
  width: 92vw;
  max-width: 415px;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 17px;
  opacity: 1;
  transition: opacity 0.19s, transform 0.22s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-50%) scale(0.93);
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.02rem;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category {
  margin-bottom: 9px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-modal .modal-close {
  background: var(--pastel-blue);
  color: var(--primary);
  border-radius: 10px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.0rem;
  font-weight: 600;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--accent);
  color: #fff;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 9px;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-lilac);
  border-radius: 9px;
}
::-webkit-scrollbar-track {
  background: var(--neutral-200);
}

/* TRANSITION & MICRO-INTERACTIONS */
a, button, .card, .cta-btn, .main-nav a, .footer-menu a, .mobile-nav a {
  transition: background 0.18s, color 0.18s, box-shadow 0.20s, transform 0.14s;
}
button:active {
  transform: scale(0.97);
}
.card:active, .cta-btn:active {
  transform: scale(0.98);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1220px) {
  .container {
    max-width: 97vw;
    padding: 0 11px;
  }
}
@media (max-width: 992px) {
  header .container {
    height: auto;
    flex-wrap: wrap;
    gap: 13px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .footer-content {
    flex-wrap: wrap;
    gap: 25px;
  }
}
@media (max-width: 870px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .newsletter-signup {
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    height: auto;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .main-nav {
    display: none !important;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--primary);
  }
  .hero,
  .features, .services, .legal, .about-section {
    border-radius: 18px;
    margin: 18px 0 28px 0;
    padding: 30px 10px;
  }
  .section, section {
    padding: 25px 10px;
    margin-bottom: 35px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card-container {
    gap: 13px;
  }
  .testimonial-card, .card {
    padding: 18px 10px;
  }
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 22px;
  }
  .newsletter-signup {
    padding: 15px 10px 14px 10px;
  }
}
@media (max-width: 545px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  p,
  li,
  span { font-size: 0.98rem; }
  .container { padding: 0 4px; }
  .footer-content { flex-direction: column; gap: 15px; }
}

/* HIDE SCROLL ON OVERLAY OPEN (for menu/cookie modal) */
body.menu-open,
body.cookie-modal-open {
  overflow: hidden !important;
}

/* SPECIAL CASES: visually focusable for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
