/* ==== CSS RESET / NORMALIZE ==== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F2F6FA;
}
body {
  min-height: 100vh;
  background: #F2F6FA;
  color: #19324E;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}
a {
  color: #19324E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5C044;
}
ul, ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
ul ul, ol ol, ul ol, ol ul {
  margin-bottom: 0;
}
li {
  margin-bottom: 10px;
}

/* ==== BRAND FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #19324E;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.25rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 1.75rem; line-height: 1.22; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
h5, h6 { margin-bottom: 8px; }
p { margin-bottom: 16px; max-width: 760px; }

blockquote {
  font-style: italic;
  color: #19324E;
  border-left: 4px solid #F5C044;
  padding-left: 16px;
  margin-bottom: 10px;
  background: #fff9e8;
}
cite {
  display: block;
  margin-top: 5px;
  font-size: 0.95em;
  color: #6d6d84;
  font-style: normal;
}

/* ==== COLORS Variables with Fallback ==== */
:root {
  --primary: #19324E;
  --secondary: #F5C044;
  --accent: #F2F6FA;
  --white: #fff;
  --black: #000;
  --neutral: #e6e6e9;
  --art-orange: #F58B4C;
  --art-blue: #3DA9FC;
  --art-pink: #fc3a76;
  --shadow: rgba(25,50,78,0.09);
}


/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: 0 6px 32px -6px var(--shadow);
}

/* ==== FLEX PATTERNS ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 3px 12px 0 var(--shadow);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 14px 44px -10px var(--shadow);
  transform: translateY(-3px) scale(1.03) rotate(-0.6deg);
}
.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: #fff9e8;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 var(--shadow);
  flex-direction: column;
  min-width: 230px;
  max-width: 510px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  padding: 18px 16px;
  border-radius: 16px;
  box-shadow: 0 1px 6px 0 var(--shadow);
  margin-bottom: 20px;
}


/* ==== HEADER & NAV ==== */
header {
  background: var(--white);
  box-shadow: 0 2px 20px -8px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 90;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 15px 0 15px 0;
  justify-content: flex-start;
}
.main-nav .logo {
  margin-right: 26px;
  padding: 3px 3px 3px 0;
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  color: var(--primary);
  background: none;
  border-radius: 7px;
  padding: 6px 14px;
  transition: background 0.13s, color 0.15s;
  position: relative;
  z-index: 1;
}
.main-nav a.cta.primary {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 14px;
  font-size: 1.03em;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 8px -4px #f5c04477;
}
.main-nav a.cta.primary:hover {
  background: #ffe28a;
  color: var(--primary);
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
  background: #f7e7b4;
  color: var(--art-orange);
}

/* ==== HAMBURGER MENU BUTTON ==== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 14px;
  background: none;
  color: var(--primary);
  font-size: 2.3rem;
  border: none;
  cursor: pointer;
  z-index: 201;
  padding: 4px 10px;
  border-radius: 11px;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent);
}

/* ==== MOBILE MENU (SLIDE) ==== */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  background: var(--white);
  z-index: 220;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.67,.2,.23,1.12);
  display: flex;
  flex-direction: column;
  padding: 0 0 0 0;
  will-change: transform;
  box-shadow: 0 0 32px -4px var(--shadow);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  align-self: flex-end;
  background: none;
  color: var(--art-pink);
  font-size: 2.2rem;
  border: none;
  margin: 15px 18px 0 0;
  cursor: pointer;
  transition: color 0.2s, background 0.16s;
  border-radius: 8px;
  padding: 3px 12px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--art-blue);
  background: #ffe3c7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px 22px 24px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.20rem;
  color: var(--primary);
  border-radius: 9px;
  padding: 11px 0 11px 14px;
  background: none;
  margin-right: 0;
  transition: background 0.13s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fdefc7;
  color: var(--art-orange);
}


/* ==== HERO & SECTIONS ==== */
.hero {
  background: linear-gradient(110deg, #f5c044 0%, #F58B4C 100%);
  color: var(--primary);
  border-radius: 0 0 30px 30px;
  margin-bottom: 44px;
  padding: 40px 0 46px 0;
  box-shadow: 0 3px 16px -6px var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.25rem;
  color: #394e67;
  margin-bottom: 19px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--secondary);
  color: var(--primary);
  padding: 12px 28px;
  font-size: 1.06rem;
  border-radius: 19px;
  box-shadow: 0 2px 12px 0 #f5c04444;
  margin-top: 6px;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0.03em;
  transition: background 0.18s, color 0.15s, transform 0.12s, box-shadow 0.16s;
  cursor: pointer;
}
.cta.primary {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 2px 14px -6px #19324e30;
  border: 2px solid var(--secondary);
}
.cta.primary:hover, .cta.primary:focus {
  background: #2f527f;
  color: #fff;
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 8px 28px -9px #19324e24;
}
.cta:hover, .cta:focus {
  background: #ffe39b;
  color: var(--art-orange);
  transform: scale(1.02);
}

/* ==== LIST ICONS ==== */
ul li img {
  width: 26px;
  height: 26px;
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: -6px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #f7ce6a;
  box-shadow: 0 0px 4px 0 #f2f2df;
}

/* ==== TESTIMONIALS ==== */
.testimonials {
  margin-bottom: 60px;
}
.testimonials .testimonial-card {
  background: #fff9e8;
  color: #19324E;
  border-left: 5px solid #F5C044;
  margin-bottom: 24px;
  max-width: 520px;
  min-width: 210px;
  font-size: 1.07rem;
  box-shadow: 0 4px 16px -7px var(--shadow);
  transition: box-shadow 0.21s, transform 0.20s;
}
.testimonials .testimonial-card:hover {
  box-shadow: 0 16px 38px -12px #f5c04466;
  transform: scale(1.025) rotate(-1deg);
}
.testimonials cite {
  color: #7d601f;
  margin-top: 3px;
  font-weight: 700;
  font-style: normal;
}

/* ==== BLOG GRID, CARDS ==== */
.blog-list .blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.blog-list article {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 1px 11px 0 var(--shadow);
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 340px;
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.blog-list article:hover {
  box-shadow: 0 8px 40px -10px var(--art-blue);
  transform: translateY(-5px) scale(1.04) rotate(0.8deg);
}
.categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.categories li {
  background: #fbe8cd;
  color: #19324E;
  border-radius: 14px;
  padding: 4px 14px;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  margin-bottom: 0;
}

/* ==== SUBSCRIBE SECTION ==== */
.subscribe {
  background: linear-gradient(93deg, #f5c044 0%, #F58B4C 100%);
  border-radius: 26px;
  color: #19324e;
  padding: 42px 0 40px 0;
  margin-bottom: 42px;
}
.subscribe h2, .subscribe p {
  color: #19324e;
}


/* ==== CONTACT SECTION ==== */
.contact-teaser, .contact-info, .map {
  margin-bottom: 60px;
  padding: 36px 18px;
  background: var(--accent);
  border-radius: 24px;
  box-shadow: 0 4px 22px -10px var(--shadow);
}
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info li img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

.map div {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}
.map span img {
  width: 28px;
  height: 28px;
}


/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 34px 0 22px 0;
  margin-top: 60px;
  border-radius: 35px 35px 0 0;
  box-shadow: 0 -3px 18px -12px var(--shadow);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 19px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 1em;
  background: none;
  border-radius: 9px;
  padding: 6px 13px;
  font-weight: 500;
  transition: background-color 0.12s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #f5c04422;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.98em;
}
.footer-contact img {
  width: 55px;
  margin-bottom: 7px;
}
.footer-contact p { color: #ffe9a3; font-weight: 500; margin-bottom: 0; }


/* ====== GENERIC CARD DESIGN & SPACING ====== */
.card {
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 1px 9px 0 var(--shadow);
  padding: 26px 18px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 8px 32px -10px var(--art-pink);
  transform: scale(1.022) translateY(-2px) rotate(1.2deg);
}


/* ======= LEGAL & POLICY PAGES ======= */
.legal {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 48px 24px 36px 24px;
  box-shadow: 0 4px 24px -12px var(--shadow);
  font-size: 1.08em;
  color: #223c5f;
}
.legal h1, .legal h2, .legal h3 {
  color: #19324E;
}

/* ======= CTA SECTION ======= */
.cta {
  text-align: left;
  margin-bottom: 30px;
  margin-top: 15px;
}

/* ======= TEAM/CLIENTS AVATAR ICONS ======= */
.team ul, .clients ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}
.team li, .clients li {
  background: var(--accent);
  border-radius: 18px;
  padding: 18px 24px;
  font-weight: 500;
  font-size: 1.09em;
  box-shadow: 0 1px 6px 0 var(--shadow);
  min-width: 150px;
  text-align: center;
}
.clients ul img {
  width: 80px;
  height: 40px;
  object-fit: contain;
}

/* ====== ANIMATIONS & MICRO-INTERACTIONS ====== */
.cta, .card, .testimonial-card, .blog-list article {
  transition: box-shadow 0.2s, transform 0.18s;
}

/* Focus ring for accessibility */
a:focus, button:focus, .cta:focus {
  outline: 2px dashed var(--art-blue);
  outline-offset: 1px;
}

/* ====== RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 1020px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .main-nav { gap: 12px; }
  .card-container, .content-grid, .clients ul, .team ul { gap: 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 27px 0 30px 0;
    border-radius: 0 0 27px 27px;
  }
  .section, .contact-teaser, .contact-info, .map, .legal {
    padding: 25px 10px;
    border-radius: 19px;
  }
  .content-grid, .card-container, .clients ul, .team ul, .blog-list .blog-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card, .card, .clients ul img {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-contact img {
    width: 38px;
  }
  .categories ul {
    flex-direction: column;
    gap: 7px;
  }
  .blog-list .blog-grid {
    padding: 0;
    margin: 0;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.14rem; }
  .container { padding-left: 3vw; padding-right: 3vw; }
  .section, .contact-teaser, .contact-info, .map, .legal { padding: 13px 3vw; }
  .footer-contact { font-size: 0.94em; }
  .main-nav .logo img { max-width: 96px; }
}


/* ======= COOKIE CONSENT BANNER ======= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffbed;
  color: #19324e;
  border-top: 3px solid #F5C044;
  box-shadow: 0 -3px 20px -10px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw 21px 6vw;
  z-index: 2200;
  font-size: 1rem;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.29s,
    opacity 0.19s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner .cookie-banner-text {
  flex: 1;
  margin-right: 18px;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  border-radius: 13px;
  border: none;
  outline: none;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 #f5c04455;
  background: #fff9e8;
  color: #19324E;
  transition: background 0.14s, color 0.14s, border 0.14s;
}
.cookie-banner .cookie-btn.accept {
  background: #F5C044;
  color: #19324E;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: #f9d97e;
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: #fc3a76;
  border: 2px solid #fc3a76;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #fbe8ed;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #3DA9FC;
  border: 2px solid #3DA9FC;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #eaf6fe;
}

/* === Cookie Modal === */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(40,40,68,0.23);
  z-index: 2205;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffbed;
  padding: 37px 24px 26px 24px;
  border-radius: 22px;
  box-shadow: 0 8px 50px -12px #F58B4C11, 0 2px 12px 0 #F5C04433;
  min-width: 320px;
  max-width: 98vw;
  width: 95vw;
  max-width: 380px;
  z-index: 2210;
  display: flex;
  flex-direction: column;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 17px;
  color: #19324e;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-toggle {
  display: inline-block;
  width: 38px;
  height: 24px;
  border-radius: 20px;
  background: #f7e7b4;
  position: relative;
  cursor: pointer;
  border: 1px solid #e8be4f;
  transition: background 0.13s;
}
.cookie-modal .cookie-toggle[data-checked='true'] {
  background: #F5C044;
}
.cookie-modal .cookie-toggle[data-checked='true'] .toggle-circle {
  left: 18px;
  background: #fff;
}
.cookie-modal .toggle-circle {
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  width: 20px;
  height: 20px;
  background: #fff8e2;
  border-radius: 50%;
  transition: left 0.15s;
}
.cookie-modal .cookie-category-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08em;
  font-weight: 600;
  color: #19324e;
}
.cookie-modal .cookie-category-desc {
  font-size: 0.93em;
  color: #6a6a84;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal .cookie-btn {
  padding: 8px 24px;
  font-size: 1em;
  border-radius: 9px;
  font-weight: 700;
}

/* Disable interaction outside modal when open */
body.modal-open {
  overflow: hidden;
}


/* ===== CREATIVE ARTISTIC DECORATIVE ELEMENTS ===== */
.section, .hero, .testimonials, .cta, .subscribe, .legal {
  position: relative;
}
.section::after, .hero::after, .cta::after, .testimonials::before {
  content: '';
  display: block;
  position: absolute;
  border-radius: 50%;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.section::after {
  bottom: 14px;
  right: 2vw;
  width: 110px;
  height: 110px;
  background: #3DA9FC;
}
.hero::after {
  top: 29px;
  right: -54px;
  width: 180px;
  height: 180px;
  background: #fc3a76;
  opacity: 0.07;
  z-index: 1;
}
.cta::after {
  left: -41px;
  top: 14px;
  width: 75px;
  height: 75px;
  background: #F58B4C;
  opacity: 0.12;
  z-index: 1;
}
.testimonials::before {
  left: -39px;
  top: 36px;
  width: 95px;
  height: 95px;
  background: #3DA9FC;
  opacity: 0.09;
  z-index: 1;
}

/* Extra creative separation doodle */
.section + .section {
  border-top: 5px dotted #ffeab6;
}

/* ==== SCROLLBAR ==== */
::-webkit-scrollbar {
  width: 11px;
  background: #f5c04427;
  border-radius: 13px;
}
::-webkit-scrollbar-thumb {
  background: #e9b83f;
  border-radius: 13px;
}

/* ===== UTILITIES ===== */
.mt-2 { margin-top: 8px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mt-4 { margin-top: 16px !important; }
.mb-4 { margin-bottom: 16px !important; }

/* Ensure main content spacing between sections */
main section {
  margin-bottom: 42px;
}
main section:last-child {
  margin-bottom: 0;
}
