/* 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,main,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,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F1EA;
  color: #314154;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #314154;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.43,1.36,.62,1);
}
a:hover, a:focus {
  color: #E16B3D;
}
ul,ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
strong {
  font-weight: bold;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* === COLOR VARIABLES with fallbacks === */
:root {
  --primary: #314154;
  --secondary: #A6B190;
  --accent: #F4F1EA;
  --brand-orange: #FFB73B;
  --fun-blue: #567AF2;
  --fun-coral: #E16B3D;
  --card-bg: #fff;
  --shadow: 0 2px 24px rgba(49,65,84,0.09);
  --testimonial-bg: #fff;
  --testimonial-text: #314154;
  --border-radius: 24px;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 18px;
  animation: fadeInUp 0.7s 0.15s both;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.26rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  color: var(--primary);
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1rem; }
}

/* === PLAYFUL FONT DETAIL === */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fun-blue);
}
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* === BUTTONS === */
.btn-primary {
  background: linear-gradient(90deg, var(--fun-coral) 60%, var(--brand-orange) 100%);
  color: #fff !important;
  padding: 14px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(225,107,61,0.14);
  transition: background 0.18s cubic-bezier(0.42, 0.0, 0.58, 1), transform 0.15s cubic-bezier(.46,1.48,.59,1);
  border: none;
  display: inline-block;
  margin-top: 14px;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--fun-coral) 20%, var(--fun-blue) 84%);
  transform: scale(1.06) rotate(-1deg);
}
.btn-secondary {
  background: var(--fun-blue);
  color: #fff;
  padding: 11px 22px;
  border-radius: 22px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.16s, box-shadow 0.14s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--fun-coral);
  box-shadow: 0px 2px 12px 0px #E16B3D33;
}

/* === NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0 4px 14px rgba(49,65,84,0.08);
  z-index: 100;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start;
  padding: 24px 0 20px 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav img {
  height: 38px;
  margin-right: 20px;
}
.main-nav > a:not(.btn-primary) {
  color: var(--fun-blue);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background .17s, color .17s;
  font-size: 1rem;
}
.main-nav > a:not(.btn-primary):hover, .main-nav > a:not(.btn-primary):focus {
  background: var(--accent);
  color: var(--fun-coral);
}
.main-nav .btn-primary {
  margin-left: auto;
  margin-right: 0;
}
.mobile-menu-toggle {
  display: none;
  background: var(--fun-coral);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 201;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--fun-blue);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.32s cubic-bezier(.65,1.49,.52,1), box-shadow 0.28s;
  box-shadow: 0 4px 40px rgba(49,65,84,0.19);
  display: flex;
  flex-direction: column;
  padding: 32px 32px 20px 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--fun-coral);
  font-size: 2.4rem;
  line-height: 1;
  padding: 0;
  margin-bottom: 18px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--fun-blue);
  font-weight: 700;
  padding: 12px 0;
  border-radius: 12px;
  transition: background 0.17s, color 0.17s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--fun-coral);
}

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

/* === HERO SECTION & STANDARD SECTIONS === */
.hero-section {
  margin-bottom: 60px;
  padding: 48px 0 40px 0;
  background: linear-gradient(99deg, #FFB73B26 46%, #A6B19009 95%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  max-width: 720px;
  animation: fadeInUp 0.6s 0.1s both;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === CARD + FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: transform 0.16s, box-shadow 0.2s;
}
.card:hover, .card:focus-visible {
  box-shadow: 0 4px 32px rgba(49,65,84,0.17);
  transform: translateY(-4px) scale(1.03);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* === FEATURES LISTS === */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  margin-bottom: 32px;
  margin-top: 22px;
}
.features-list li {
  flex: 1 1 240px;
  min-width: 210px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #567AF22A;
  padding: 32px 24px 26px 24px;
  transition: box-shadow 0.23s, transform 0.17s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: visible;
  animation: bounceInCard 0.9s cubic-bezier(.24,2.18,.87,.86) both;
}
.features-list li:hover, .features-list li:focus-visible {
  box-shadow: 0 6px 30px #567AF242;
  transform: translateY(-3px) scale(1.025);
}
.features-list img {
  height: 46px;
  width: 46px;
  filter: drop-shadow(0 2px 6px #FFB73B11);
}
.features-list h3 {
  color: var(--fun-coral);
  margin-bottom: 7px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
.features-list p {
  font-size: 0.97rem;
  color: var(--primary);
}

/* .feature-item for optional lists: */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === USP LIST === */
.usp-list {
  margin-top: 44px;
  background: #fffbe5;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 12px #FFB73B15;
}
.usp-list h3 {
  color: var(--fun-blue);
  margin-bottom: 10px;
}
.usp-list ul {
  list-style: disc inside;
  color: var(--primary);
  margin-bottom: 0;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  box-shadow: 0 2px 12px #31415408;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 24px;
  max-width: 460px;
  transition: box-shadow 0.16s, transform 0.13s;
  border-left: 6px solid var(--fun-coral);
  position: relative;
  animation: fadeInTestimonial 0.7s both;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: var(--fun-blue);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 4px;
}
.testimonial-card p {
  color: var(--testimonial-text);
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.testimonial-card:after {
  content: '60A';
  position: absolute;
  right: 18px;
  top: 17px;
  font-size: 1.25rem;
  opacity: 0.25;
  pointer-events: none;
}

/* == PROJECTS AND BLOG CARDS == */
.project-card, .post-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px #567AF216;
  padding: 24px 24px 20px 24px;
  margin-bottom: 22px;
  transition: box-shadow .17s, transform .15s;
  font-family: 'Roboto', Arial, sans-serif;
}
.project-card:hover, .post-card:hover {
  box-shadow: 0 8px 36px #E16B3D24, 0 1px 10px #A6B19019;
  transform: translateY(-3px) scale(1.02);
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  max-width: 400px;
}
.blog-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
@media (max-width: 800px) {
  .blog-overview {
    flex-direction: column;
    gap: 16px;
  }
}
.tags span {
  font-size: 0.9rem;
  color: var(--fun-blue);
  background: var(--accent);
  border-radius: 10px;
  padding: 3px 10px;
  margin-right: 4px;
  margin-top: 6px;
  font-weight: 600;
}

/* === THANK YOU SECTION === */
.thankyou-section {
  padding: 60px 0 56px 0;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #FFB73B10 0%, #A6B19008 80%);
  text-align: center;
}

/* === CONTACT TEASER & FORM === */
.contact-teaser p {
  font-size: 0.97rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.contact-form-placeholder {
  background: #fff7e1;
  padding: 22px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 12px #FFB73B12;
  margin-top: 16px;
  margin-bottom: 0;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 4px solid var(--fun-coral);
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 32px 0 16px 0;
  justify-content: space-between;
  gap: 24px;
}
.footer-wrapper img {
  height: 48px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--fun-blue);
  font-size: 1.01rem;
  font-weight: 600;
  transition: color .19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--fun-coral);
}
footer address {
  font-size: 0.97rem;
  font-style: normal;
  color: var(--primary);
  opacity: 0.65;
}
@media (max-width: 800px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 32px 0 10px 0;
  }
}

/* === LEGAL SECTION === */
.legal-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 22px #3141540d;
}
.legal-section h2 {
  color: var(--fun-blue);
  margin-top: 32px;
}

/* === CONTENT WRAPPER AND TEXT SECTION === */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 740px;
}

/* === UTILITIES & SPACING === */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, .hero-section, .legal-section {
    padding: 24px 8px;
  }
  .features-list {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .content-wrapper {
    gap: 8px;
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounceInCard {
  0% { transform: translateY(90px) scale(.92); opacity:0; }
  48% { transform: translateY(-10px) scale(1.03); opacity:1; }
  78% { transform: translateY(6px) scale(0.98); }
  100% { transform: translateY(0) scale(1); opacity:1; }
}
@keyframes fadeInTestimonial {
  from { opacity: 0; transform: translateY(34px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe6;
  color: var(--primary);
  box-shadow: 0 -3px 48px #A6B19038;
  z-index: 1002;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  font-size: 1rem;
  animation: fadeInUp 0.5s 0.05s both;
  gap: 18px;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 19px 8px;
  }
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 20px;
  border: none;
  margin: 0;
  font-weight: 700;
  transition: background 0.14s, color 0.12s, box-shadow 0.15s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 2px 10px #FFB73B26;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--fun-coral);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--fun-coral);
  border: 2px solid var(--fun-coral);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fbe1d5;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--fun-blue);
  border: 2px solid var(--fun-blue);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #eef6ff;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%) scale(1);
  background: #fff;
  color: var(--primary);
  z-index: 1100;
  border-radius: 25px;
  box-shadow: 0 12px 84px #31415433;
  max-width: 98vw;
  min-width: 310px;
  width: 360px;
  padding: 36px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.36s 0.03s both;
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  color: var(--fun-coral);
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-modal__category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: var(--fun-blue);
  font-size: 1.11rem;
}
.cookie-modal__category input[type=checkbox] {
  accent-color: var(--fun-coral);
  width: 21px;
  height: 21px;
}
.cookie-modal__category.essential label {
  opacity: 0.63;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* === MICRO-INTERACTIONS === */
section, .hero-section, .legal-section {
  will-change: transform, box-shadow;
}
.btn-primary:active {
  transform: scale(0.98);
}
.features-list li:active {
  transform: scale(0.99);
}

@media (max-width: 480px) {
  .cookie-modal {
    width: 97vw;
    padding: 27px 4vw 18px 4vw;
  }
  h1, h2 { word-break: break-word; }
}

/* === ACCESSIBILITY VISUAL CUES === */
a:focus-visible,.btn-primary:focus-visible,.cookie-btn:focus-visible,.mobile-menu-close:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 1.5px;
}

/* === MISC === */
::-webkit-scrollbar {
  width: 10px;
  background: #F4F1EA;
}
::-webkit-scrollbar-thumb {
  background: #A6B19033;
  border-radius: 5px;
}

/* === PRINT === */
@media print {
  .main-nav, .mobile-menu, .mobile-menu-toggle, .footer-nav, .btn-primary, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #000; }
}

/* === END === */
