/* --- CSS RESET and 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;
  outline: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  background: #FFF9EA;
  color: #3B4252;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
a {
  color: #457e6a;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #89B893;
  text-decoration: underline;
}

/* --- BRAND COLORS --- */
:root {
  --color-primary: #3B4252;
  --color-secondary: #89B893;
  --color-accent: #FFF9EA;
  --color-hotaccent: #FFB857;
  --color-creative1: #FF6F61;
  --color-creative2: #57C7F9;
  --color-creative3: #B57EDC;
  --color-creative4: #FFD23F;
  --shadow-main: 0 4px 20px 0 rgba(59, 66, 82, 0.10);
  --shadow-card: 0 2px 8px 0 rgba(137,184,147,0.07);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.14;
  /* Slight creative font effect */
  text-shadow: 1px 1px 0 var(--color-creative2), 2px 3px 0 #fff6dc;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--color-creative1);
  position: relative;
}
h2:before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-creative4);
  margin-right: 12px;
  vertical-align: middle;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 800;
}
h4, h5, h6 { font-size: 1.1rem; }

p, li, .subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #3B4252;
}
.subheadline {
  color: var(--color-creative3);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
}
strong { font-weight: bold; color: var(--color-creative1); }
ul, ol {
  margin-left: 24px;
  margin-bottom: 18px;
}
li {
  margin-bottom: 8px;
}

/* --- CONTAINER & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-main);
  padding: 36px 28px;
  margin-bottom: 32px;
  position: relative;
}

/* --- FLEX PATTERN CLASSES (MANDATORY) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  min-width: 240px;
  transition: box-shadow 0.16s, transform 0.16s;
  border: 2px solid transparent;
}
.card:hover {
  box-shadow: 0 6px 28px 0 rgba(59, 66, 82, 0.13);
  transform: translateY(-3px) scale(1.025);
}
.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;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: row;
  border-left: 6px solid var(--color-creative1);
  min-width: 0;
  position: relative;
  max-width: 600px;
  color: var(--color-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* --- HERO, FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: 18px 18px 32px 8px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 28px 24px;
  min-width: 210px;
  max-width: 320px;
  min-height: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.12s;
  position: relative;
  border: 2.5px solid var(--color-accent);
  cursor: pointer;
}
.feature:hover, .feature:focus {
  box-shadow: 0 6px 24px 0 rgba(255, 176, 87, 0.17);
  border-color: var(--color-creative2);
  transform: scale(1.025);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature h3 {
  font-size: 1.22rem;
  color: var(--color-secondary);
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- MAIN NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: var(--shadow-main);
}
.main-navigation {
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: 12px 0;
  gap: 28px;
  justify-content: flex-start;
}
.main-navigation a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 22px;
  border-radius: 30px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  background: none;
}
.main-navigation img {
  height: 42px;
  margin-right: 10px;
}
.main-navigation a:hover, .main-navigation a:focus {
  color: #fff;
  background: var(--color-secondary);
}
.main-navigation .cta-main {
  background: var(--color-creative1);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 12px 0 rgba(255,111,97,0.06);
  padding: 8px 26px;
  margin-left: 20px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-radius: 35px 12px 35px 14px;
  transition: box-shadow 0.15s, background 0.18s;
}
.main-navigation .cta-main:hover, .main-navigation .cta-main:focus {
  background: var(--color-hotaccent);
  color: var(--color-primary);
  box-shadow: 0 4px 16px 0 rgba(255, 184, 87, .12);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2.25rem;
  background: var(--color-creative1);
  color: #fff;
  border: none;
  border-radius: 40px;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 1001;
  box-shadow: 0 2px 10px 0 rgba(255,111,97,0.07);
  transition: background .18s, color .17s;
  outline: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-hotaccent);
  color: #222;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 32px 0 rgba(59,66,82,0.17);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .36s cubic-bezier(.78,.24,.27,1.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 26px 24px 26px;
  gap: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: var(--color-creative1);
  color: #fff;
  border: none;
  border-radius: 36px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-bottom: 17px;
  cursor: pointer;
  box-shadow: 0 1px 5px 0 rgba(255,111,97,0.11);
  transition: background .15s, color .13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-creative4);
  color: #3B4252;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary);
  background: #fff7eb;
  padding: 15px 12px;
  border-radius: 18px;
  transition: background 0.13s, color 0.13s;
  margin-bottom: 6px;
  box-shadow: 0 1px 6px 0 rgba(137,184,147,0.05);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Nav: Responsive Burger */
@media (max-width:1160px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .main-navigation {
    gap: 12px;
    padding: 14px 0;
  }
}
@media (max-width: 820px) {
  .main-navigation a:not(:first-child) {
    font-size: 0.98rem;
    padding: 8px 11px;
  }
}
@media (max-width: 820px) {
  .main-navigation .cta-main { padding: 8px 14px; }
}
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* --- FORMS, BUTTONS, CTA --- */
.cta-main {
  display: inline-block;
  background: var(--color-creative2);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 35px 14px 35px 14px;
  border: none;
  box-shadow: 0 3px 12px 0 rgba(87,199,249,.12);
  transition: background .17s, color .16s, box-shadow .18s, transform .13s;
  margin-top: 18px;
  margin-bottom: 10px;
  cursor: pointer;
  letter-spacing: .01em;
  text-shadow: 0 1px 2px #9edffa60;
}
.cta-main:hover, .cta-main:focus {
  background: var(--color-hotaccent);
  color: var(--color-primary);
  box-shadow: 0 8px 20px 0 rgba(255,184,87,0.13);
  transform: scale(1.037);
  outline: none;
}
button, input[type="submit"], input[type="button"] {
  font-family: inherit;
  cursor: pointer;
}

/* --- FORMS (if present in contact) --- */
input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  border: 1.5px solid var(--color-secondary);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  width: 100%;
  transition: border .16s, box-shadow .15s;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(59,66,82,0.04);
  color: var(--color-primary);
}
input:focus, textarea:focus {
  border-color: var(--color-creative1);
  box-shadow: 0 3px 12px 0 rgba(255,111,97,0.05);
  outline: none;
}
label { font-weight: 700; margin-bottom: 5px; display: block; }

/* --- TESTIMONIALS --- */
.testimonial-card {
  border: 2.5px solid var(--color-accent);
  font-size: 1rem;
  color: #272c38;
  background: #fff;
  box-shadow: var(--shadow-main);
  line-height: 1.65;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 0;
  color: #111827;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-creative2);
  font-weight: 700;
  margin-left: 18px;
  font-size: 1rem;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 24px 0 18px;
  margin-top: 38px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
  align-items: center;
}
.footer-menu a {
  color: #fff;
  opacity: 0.88;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 18px;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  transition: background .13s, opacity .13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--color-creative1);
  opacity: 1;
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #fff;
}
footer .contact-info p{
  color: #fff;
}
.contact-info img {
  width: 19px;
  height: 19px;
  vertical-align: middle;
  margin-right: 9px;
}
.brand-logo img {
  height: 38px;
  margin-top: 16px;
  filter: brightness(2) saturate(1.5); /* creative artistic effect */
  opacity: 0.84;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1080px) {
  .feature-grid {
    gap: 16px;
  }
  .feature {
    max-width: 48vw;
  }
  .testimonial-card { max-width: 94vw; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .feature {
    max-width: 100%;
    min-width: unset;
    min-height: unset;
    padding: 22px 10px 22px 16px;
  }
  .section {
    padding: 28px 6px;
  }
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 0;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 10px;
    min-width: 0;
  }
  .main-navigation {
    display: none;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 570px) {
  .footer-menu a { font-size: 0.95rem; padding: 7px 8px; }
  .feature {
    padding: 16px 5px 16px 8px;
    border-radius: 14px 12px 18px 6px;
  }
  h1, h2 { font-size: 1.3rem !important; }
}

/* --- CARDS, SPACING & ARTISTIC DECOR --- */
.card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: 16px 40px 18px 12px;
  border: 2px solid var(--color-creative2);
  position: relative;
}
.card:after {
  content: '';
  position: absolute;
  bottom: -6px; right: -6px;
  width: 30px; height: 30px;
  background: var(--color-creative3);
  border-radius: 50%;
  opacity: 0.14;
  z-index: 0;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  position: relative;
  z-index: 2;
}

/* --- SHADOWS AND EFFECTS --- */
.card,
.feature,
.testimonial-card,
.text-section {
  transition: box-shadow .13s, border-color 0.14s, transform .12s;
}
.card:hover,
.feature:hover,
.testimonial-card:hover,
.card:focus,
.feature:focus,
.testimonial-card:focus {
  box-shadow: 0 8px 24px 0 rgba(181,126,220,0.14);
  border-color: var(--color-creative3);
  z-index: 3;
}

/* --- ICONS & IMAGES ARTISTIC FILTER --- */
.feature img, .contact-info img, .footer-menu img, .brand-logo img {
  filter: drop-shadow(0 2px 7px rgba(255,183,87,0.10));
  transition: transform .16s;
}
.feature:hover img {
  transform: scale(1.08) rotate(-6deg);
  filter: drop-shadow(0 5px 18px var(--color-creative2));
}
/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1600;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  background: #fff9ea;
  box-shadow: 0 -5px 24px 0 rgba(59,66,82,0.09);
  border-top: 3px solid var(--color-secondary);
  padding: 28px 20px;
  min-height: 80px;
  font-size: 1rem;
  animation: fadeBannerIn .8s;
}

@keyframes fadeBannerIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity:1; transform:translateY(0); }
}
.cookie-banner .cookie-text {
  max-width: 540px;
  color: var(--color-primary);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 22px;
  border: none;
  padding: 12px 23px;
  font-size: 1rem;
  margin: 0 0 0 6px;
  cursor: pointer;
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 1px 7px rgba(59,66,82,0.06);
  transition: background .15s, color .13s;
}
.cookie-banner .cookie-accept {
  background: var(--color-creative1);
  color: #fff;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--color-hotaccent);
  color: var(--color-primary);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: var(--color-creative3);
  color: #fff;
  border-color: var(--color-creative2);
}
.cookie-banner .cookie-settings {
  background: var(--color-creative3);
  color: #fff;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--color-creative2);
  color: #fff;
}

@media (max-width:600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 7px;
  }
}

/* --- COOKIE MODAL (for preferences) --- */
.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(59,66,82,0.19);
  z-index:1700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeModalBg .24s;
}
@keyframes fadeModalBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 420px;
  width: 94vw;
  padding: 36px 24px;
  box-shadow: 0 6px 32px 0 rgba(59,66,82,0.17);
  z-index: 1701;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeModalContent 0.35s cubic-bezier(.63,1.48,.65,-0.29);
}
@keyframes fadeModalContent {
  from { transform: translateY(64px) scale(.93); opacity: 0; }
  to { transform: none; opacity: 1;}
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.25rem;
}
.cookie-modal .modal-list {
  list-style: none;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 2px solid var(--color-secondary);
  background: #FFF9EA;
  margin-right: 6px;
  position: relative;
  transition: border .15s, background .15s;
}
.cookie-modal input[type="checkbox"]:checked {
  background: var(--color-creative2);
  border-color: var(--color-creative1);
}
.cookie-modal input[type="checkbox"]:checked:after {
  content: '\2714';
  color: #fff;
  font-size: 1.12rem;
  position: absolute;
  left: 4px; top: 0px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 14px; right: 17px;
  background: var(--color-creative1);
  color: #fff;
  border: none;
  border-radius: 36px;
  width: 36px; height: 36px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(255,111,97,0.06);
  transition: background .12s, color .14s;
  z-index: 1500;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-secondary);
  color: #fff;
}


/* --- MISCELLANEOUS --- */
hidden, .hidden { display: none !important; }
svg, img {max-width: 100%; height: auto; display: inline-block;}

/* --- SPACING, OVERFLOWS, PREVENT OVERLAP --- */
section, .section, .card, .feature, .testimonial-card, .content-wrapper, .container {
  margin-bottom: 24px;
}
section:last-child, .section:last-child, .container:last-child { margin-bottom: 0 !important; }
.card-container, .feature-grid, .content-grid {
  gap: 20px;
  margin-bottom: 28px;
}

/* --- VISUAL ARTISTIC DECORATIVE EXTRAS --- */
body {
  /* Subtle floating artistic circles as background decorations */
  background: #FFF9EA;
  position: relative;
}
body:before, body:after {
  content: '';
  position: fixed;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--color-creative2);
  opacity: 0.09;
  z-index: 1;
  pointer-events: none;
  filter: blur(5px);
}
body:before {
  left: -70px; top: 12vh;
}
body:after {
  right: -80px; bottom: 8vh;
  background: var(--color-creative1);
}

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 2.5px dotted var(--color-creative1);
  outline-offset: 2px;
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  main { padding: 0 !important; }
}
