/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222;
  background: #F8F9FB;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
}
a {
  text-decoration: none;
  color: #1565C0;
  transition: color .2s;
}
a:hover,
a:focus {
  color: #FBC02D;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 0.5em;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: 1em;
  border-radius: 6px;
  outline: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
}
h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #1565C0;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 22px;
  color: #FBC02D;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: #1565C0;
  margin-bottom: 16px;
}
p {
  margin-bottom: 1em;
}

/* COLOR PALETTE (Creative Artistic) */
:root {
  --primary: #1565C0;
  --secondary: #FBC02D;
  --accent: #FFFFFF;
  --art-orange: #FF7043;
  --art-violet: #8E24AA;
  --art-turquoise: #00B8D4;
  --art-green: #43A047;
  --neutral-bg: #F8F9FB;
  --shadow: rgba(21,101,192,0.10);
}


/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  padding-bottom: 0.5em;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: 0 8px 32px var(--shadow), 0 1.5px 5px #FBC02D55;
}


/* HEADER / NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 16px var(--shadow);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  max-height: 54px;
  margin-right: 24px;
  /* Slight hand-drawn effect */
  filter: drop-shadow(2px 2px 0 #ffecb3);
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: .02em;
  padding: 7px 12px;
  border-radius: 8px;
  position: relative;
  transition: background .18s, color .18s, box-shadow .22s;
}
nav a:hover, nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 9px #FBC02D23;
}
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: var(--accent);
  font-size: 2.1rem;
  padding: 7px 16px;
  border-radius: 10px;
  transition: background 0.18s;
  margin-left: 20px;
  z-index: 500;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--art-orange);
  color: var(--accent);
}

/* MOBILE NAVIGATION */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: linear-gradient(135deg, var(--accent) 80%, var(--art-turquoise) 100%);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .42s cubic-bezier(.93, -.01, .23, .99);
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px;
  min-width: 230px;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  box-shadow: 0 8px 45px #1565C055;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  color: var(--primary);
  background: none;
  border: none;
  margin-bottom: 14px;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--art-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--primary);
  padding: 10px 8px;
  border-radius: 8px;
  transition: background .19s, color .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--art-turquoise);
  color: #fff;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN & FLEX LAYOUTS */
main {
  margin-top: 0;
  margin-bottom: 70px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  transition: transform .19s, box-shadow .19s;
}
.card:hover {
  transform: translateY(-8px) scale(1.02) rotate(-1deg);
  box-shadow: 0 13px 34px #1565C055;
  outline: 2px solid var(--art-violet);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 22px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 235px;
  background: var(--art-turquoise);
  color: #fff;
  padding: 22px 18px;
  border-radius: 14px 40px 16px 19px;
  margin-bottom: 22px;
  box-shadow: 0 2px 9px var(--shadow);
  font-size: 1.05rem;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff7e6;
  border-radius: 18px 35px 14px 14px;
  box-shadow: 0 4px 19px #FBC02D33;
  margin-bottom: 24px;
  font-size: 1.12rem;
  color: #222;
  min-width: 220px;
  max-width: 620px;
  position: relative;
  transition: box-shadow .19s, transform .17s;
}
.testimonial-card:before {
  content: '';
  display: block;
  width: 7px;
  height: 100%;
  background: linear-gradient(to bottom, var(--art-orange), var(--art-turquoise));
  border-radius: 6px;
  margin-right: 17px;
}
.testimonial-card:hover {
  box-shadow: 0 9px 36px #FF704322;
  transform: scale(1.02) rotate(0.6deg);
}
.testimonial-card span {
  font-weight: 700;
  color: var(--art-violet);
}

/* CTA BUTTONS */
.cta-button, .newsletter button, form button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 13px 32px;
  border-radius: 28px 12px 32px 16px;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: .05em;
  box-shadow: 0px 3px 18px #1565C033;
  transition: background .18s, color .18s, box-shadow .18s, transform .16s;
  margin-top: 10px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.cta-button:hover, .newsletter button:hover, form button:hover,
.cta-button:focus, .newsletter button:focus, form button:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px #FBC02D55;
}

/* INPUTS & FORMS */
input[type="email"] {
  padding: 12px 16px;
  border: 1.5px solid #B3C6E2;
  border-radius: 12px 12px 18px 8px;
  font-size: 1rem;
  margin-right: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1.2px 5px #cfd8dc22;
  transition: border-color .15s, box-shadow .15s;
}
input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 1px 8px #1565C035;
}
form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* BLOG TAG CLOUD */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.tag-cloud span {
  background: var(--art-green);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 10px 3px 13px 14px;
  letter-spacing: .1em;
  box-shadow: 0 2px 9px #43A04719;
}

/* FOOTER */
footer {
  width: 100%;
  background: #fff;
  border-top: 4px solid var(--secondary);
  box-shadow: 0 -5px 30px #FBC02D27;
  margin-top: 50px;
  padding: 32px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background .15s, color .15s;
}
.footer-menu a:hover {
  background: var(--secondary);
  color: var(--art-violet);
}
.contact-info {
  font-size: 1.05rem;
  font-weight: 400;
  color: #444;
  margin-bottom: 8px;
  margin-top: 2px;
}
.newsletter p {
  margin-bottom: 10px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.social-links a img {
  width: 36px;
  height: 36px;
  filter: grayscale(.18) drop-shadow(1px 2px 0 #00B8D4);
  transition: filter .18s, transform .18s;
}
.social-links a:hover img {
  filter: none;
  transform: scale(1.1) rotate(-5deg);
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: linear-gradient(87deg, var(--secondary) 85%, var(--primary) 100%);
  color: #222;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 12px 18px 12px;
  box-shadow: 0 -4px 23px #1565C044;
  z-index: 9999;
  transition: transform .32s cubic-bezier(.92,.03,.3,1.12), opacity .28s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}
.cookie-banner button {
  padding: 9px 18px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px 18px 17px 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  transition: background .16s, color .16s, transform .13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--art-orange);
  color: #fff;
  transform: scale(1.06);
}
.cookie-banner .cookie-settings-btn {
  background: var(--art-turquoise);
  color: #fff;
  margin-left: 7px;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  background: rgba(0,0,0,0.55);
  top:0; left:0; right:0; bottom:0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .24s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeIn .3s;
}
@keyframes fadeIn { 0% { opacity:0; } 100% { opacity:1; } }
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 410px;
  width: 98vw;
  box-shadow: 0 7px 42px #1565C066;
  padding: 35px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  font-size: 1.06rem;
  position: relative;
  z-index: 10001;
  animation: modalIn .37s cubic-bezier(.82, 0, .35, 1);
}
@keyframes modalIn { 0% { transform: scale(0.95) translateY(16px); opacity:0; } 98% { opacity: 1; } 100% { transform: scale(1) translateY(0); opacity:1; } }
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.19rem;
}
.cookie-preference-group {
  margin-bottom: 13px;
}
.cookie-preference-group label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  font-size: 1.01rem;
  color: #222;
  cursor: pointer;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  background: #cfd8dc;
  border-radius: 13px;
  position: relative;
  transition: background .15s;
}
.cookie-toggle:checked {
  background: var(--art-green);
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: left .14s;
  box-shadow: 0 1px 5px #2223;
}
.cookie-toggle:checked:before {
  left: 19px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 20px;
  top: 18px;
  background: transparent;
  color: #888;
  border: none;
  font-size: 1.66rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  color: var(--art-orange);
}

/* ARTISTIC/CREATIVE DECORATIVE ELEMENTS */
.section {
  /* Abstract painted border at the top, using a pseudo-element */
  position: relative;
  overflow: visible;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 26px; right: 26px; top: -24px;
  height: 13px;
  background: linear-gradient(90deg, var(--art-orange) 12%, var(--art-violet) 50%, var(--art-turquoise) 100%);
  border-radius: 24px 24px 0 0;
  z-index: 1;
  opacity: 0.55;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-menu {
    gap: 10px;
    flex-direction: column;
  }
  .footer-menu a {
    font-size: 1rem;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
    padding-left: 8px;
    padding-right: 8px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }
  .section,
  .content-wrapper {
    padding: 26px 7px;
    gap: 14px;
  }
  .testimonial-card,
  .card,
  .feature-item {
    min-width: unset;
    max-width: 98vw;
  }
  .newsletter form,
  form
  {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .social-links {
    gap: 7px;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .section:before {
    left: 8px;
    right: 8px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.22rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  .section, .content-wrapper {
    padding: 12px 0px 16px 5px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    padding: 13px 2px 11px 2px;
    font-size: 0.98rem;
  }
}

/* ACCESSIBILITY & FOCUS STYLES */
a:focus, button:focus, .cta-button:focus {
  outline: 2px dashed var(--art-violet);
  outline-offset: 2px;
}

/* MISC */
::-webkit-scrollbar {
  width: 10px;
  background: #efefef;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #FF704366;
  border-radius: 8px;
}

/* PRINT */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
