/* === CSS RESET & NORMALIZE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #182438;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
ahref, a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
:focus {
  outline: 2px solid #B6975B;
  outline-offset: 2px;
}

/* === BRAND COLORS & TYPOGRAPHY === */
:root {
  --color-primary: #1B3556;
  --color-secondary: #B6975B;
  --color-accent: #F4F1EB;
  --color-electric-pink: #F7095B;
  --color-electric-blue: #0070FA;
  --color-electric-lime: #A9F83A;
  --color-electric-cyan: #13E2C4;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(27, 53, 86, 0.07), 0 1.5px 12px rgba(247, 9, 91, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* === HEADER & NAV === */
header {
  background: var(--color-primary);
  padding: 0;
  width: 100%;
  border-bottom: 4px solid var(--color-electric-pink);
  position: relative;
  z-index: 102;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
header img {
  height: 48px;
  margin-right: 18px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  padding: 6px 10px;
  border-radius: 7px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--color-electric-pink);
  background: rgba(245, 9, 91, 0.08);
}
nav .cta.primary {
  background: var(--color-electric-pink);
  color: #fff;
  font-weight: bold;
  border-radius: 18px;
  padding: 10px 26px;
  margin-left: 16px;
  font-size: 1.13rem;
  box-shadow: 0 1.5px 8px var(--color-electric-pink, #F7095B25);
  transition: background 0.16s;
}
nav .cta.primary:hover, nav .cta.primary:focus {
  background: var(--color-electric-blue);
  color: #fff;
}

/* === SUBHEADLINE & TITLES === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--color-primary);
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 12px;
  color: var(--color-electric-pink);
  text-shadow: 0 4px 15px #F7095B44;
  font-weight: 700;
}
h2 {
  font-size: 2.1rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
  color: var(--color-electric-blue);
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.19rem;
  color: var(--color-primary);
  opacity: 0.82;
  margin-bottom: 10px;
  font-weight: 400;
}
p, li, span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1B3556;
}
.section ul, .section ol {
  margin: 10px 0 0 0;
  padding: 0;
  display: flex;
  flex-flow: column wrap;
  gap: 13px;
}
.section ul li, .section ol li {
  gap: 8px;
  align-items: center;
  font-size: 1rem;
  display: flex;
  line-height: 1.6;
}
.section ul li img, .section ol li img {
  width: 32px;
  height: 32px;
  margin-right: 9px;
}

/* === FLEX PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1.5px 9px #0070FA14;
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 320px;
  padding: 26px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.17s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px #0070FA33;
}
.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 {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 10px #1B35561A;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  min-width: 260px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-electric-pink);
  transition: box-shadow 0.25s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px #1B355633;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-style: italic;
  margin-bottom: 7px;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === CTA BUTTONS === */
.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.06rem;
  border-radius: 24px;
  padding: 14px 34px;
  margin-top: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  letter-spacing: 0.4px;
  border: none;
  transition: background 0.17s, box-shadow 0.18s, color 0.16s, transform 0.18s;
  box-shadow: 0 2px 16px #1B355610, 0 1.5px 10px var(--color-electric-pink, #F7095B14);
}
.cta.primary {
  background: var(--color-electric-pink);
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-electric-lime);
  color: #1B3556;
  transform: scale(1.04) translateY(-2px);
}
.cta.secondary {
  background: var(--color-primary);
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-electric-blue);
  color: #fff;
  transform: scale(1.04) translateY(-2px);
}

/* === FOOTER === */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 28px 0 20px 0;
  border-top: 3px solid var(--color-electric-pink);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  gap: 8px;
}
footer nav a {
  font-size: 1rem;
  color: #fff;
  opacity: 0.88;
  transition: color 0.155s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-electric-pink);
}
footer p {
  font-size: 0.98rem;
  color: #fff;
  opacity: 0.78;
  margin-top: 6px;
}

/* === HOMEPAGE/BLOG/CONTENT CARDS === */
.map-placeholder {
  background: #fff7ed;
  color: var(--color-secondary);
  border-radius: 17px;
  box-shadow: 0 1.5px 10px #1B355608;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 500;
}
.case-study {
  background: #F4F1EB;
  border-radius: 13px;
  box-shadow: 0 1.5px 10px #0070fa13;
  margin-bottom: 20px;
  padding: 24px;
  margin-top: 12px;
}
.before-after {
  background: #B6975B15;
  border-radius: 11px;
  margin-top: 10px;
  padding: 22px;
  box-shadow: 0 0.5px 7px #B6975B14;
}

/* === SPACING & ALIGNMENT === */
main {
  margin-top: 0;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

/* Ensure spacing between all section/content/cards */
.section + .section,
.card + .card,
.testimonial-card + .testimonial-card,
.case-study + .before-after,
.text-section + .map-placeholder {
  margin-top: 32px;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 21px;
  right: 24px;
  z-index: 500;
  background: var(--color-electric-pink);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 2rem;
  border: none;
  box-shadow: 0 2px 10px #F7095B27;
  transition: background 0.16s, color 0.12s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-electric-blue);
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,.2,.05,1.0);
  box-shadow: 4px 0 44px #1B355633;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: var(--color-electric-pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 10px #F7095B30;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.14s;
  z-index: 10001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 96px 32px 32px 32px;
  gap: 18px;
  width: 100%;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  padding: 17px 0 13px 0;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;  
  color: var(--color-primary);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-electric-pink);
  color: #fff;
}

/* === CARD HIERARCHY EFFECTS === */
.card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:focus-within, .card:hover {
  box-shadow: 0 12px 32px #0070fa1e, 0 2px 10px var(--color-electric-pink, #F7095B14);
  transform: scale(1.03) translateY(-6px);
}
.testimonial-card:focus-within, .testimonial-card:hover {
  box-shadow: 0 14px 28px #F7095B23;
}

/* === ANIMATIONS & MICRO-INTERACTIONS === */
.cta, .cta.primary, .cta.secondary {
  transition: box-shadow 0.2s, background 0.18s, color 0.14s, transform 0.18s;
}
.cta:active {
  transform: scale(0.98);
  box-shadow: 0 0.5px 2px #B6975B44;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 20000;
  background: linear-gradient(90deg, var(--color-electric-pink) 0%, var(--color-electric-blue) 100%);
  color: #fff;
  padding: 26px 24px 26px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  box-shadow: 0 -2px 24px #1B355633;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(.5,1.8,.7,.7);
}
.cookie-banner.hidden {
  transform: translateY(150%);
}
.cookie-banner .cookie-message {
  flex: 2 1 320px;
  font-size: 1.08rem;
  font-weight: 400;
  color: #fff;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 19px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-body);
  transition: background 0.16s, color 0.12s, filter 0.18s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-electric-lime);
  color: #102246;
  box-shadow: 0 2px 8px #A9F83A57;
}
.cookie-banner .cookie-btn.accept:hover, .cookie-banner .cookie-btn.accept:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-electric-cyan);
  color: #002c40;
  box-shadow: 0 2px 8px #13E2C457;
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: var(--color-electric-pink);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #fff7;
  box-shadow: 0 1.5px 8px #B6975B19;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 20010;
  background: rgba(27,53,86,0.47);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInBg 0.23s;
}
@keyframes fadeInBg {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: linear-gradient(110deg, var(--color-accent) 70%, #fff 100%);
  border-radius: 16px;
  box-shadow: 0 4px 36px #B6975B44, 0 1.5px 12px #1B35561A;
  padding: 44px 36px 32px 36px;
  min-width: 340px;
  max-width: 98vw;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: slideDown 0.32s;
  position: relative;
}
@keyframes slideDown {
  from { transform: translateY(-70px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-electric-pink);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-electric-lime);
  border-radius: 6px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 16px;
  font-weight: 600;
}
.cookie-modal .cookie-btn.close {
  background: var(--color-electric-pink);
  color: #fff;
}
.cookie-modal .cookie-btn.save {
  background: var(--color-electric-lime);
  color: #1B3556;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  filter: brightness(0.92);
}
.cookie-modal .cookie-category.essential input {
  accent-color: var(--color-secondary);
}
.cookie-modal .cookie-category.essential label {
  font-weight: 700;
  color: var(--color-secondary);
  opacity: 1;
}
.cookie-modal .cookie-category.essential input {
  pointer-events: none;
  opacity: 0.7;
}

/* === RESPONSIVENESS === */
@media (max-width: 1050px) {
  .container {
    max-width: 960px;
  }
  .section {
    padding: 36px 7px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
  .section {
    padding: 27px 4px;
  }
  h1 { font-size: 2.22rem; }
  h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
  .section {
    margin-bottom: 36px;
    padding: 16px 4px;
  }
  main {
    gap: 20px;
  }
  header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 4px;
  }
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px;
  }
  .map-placeholder {
    font-size: 1rem;
    min-height: 54px;
    padding: 10px;
  }
}
@media (max-width: 580px) {
  h1 { font-size: 1.46rem; }
  h2 { font-size: 1.18rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 4px 18px 7px;
    font-size: 0.97rem;
  }
  .cookie-modal {
    padding: 17px 6px 18px 6px;
    min-width: 0;
  }
}

/* === UTILITIES === */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* === CUSTOM SCROLLBAR FOR COLORFUL VIBE === */
::-webkit-scrollbar {
  width: 12px;
  background: var(--color-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--color-electric-pink);
  border-radius: 20px;
}

/* === ACCESSIBILITY: HIGH CONTRAST FOR TESTIMONIALS === */
.testimonial-card,
.testimonial-card p,
.testimonial-card span {
  color: #182438;
  background: #fff;
}
/* On dark backgrounds, boost contrast */
footer, footer nav a, footer p {
  color: #fafafa;
}

/* === REMOVE ABSOLUTE SPACING FOR CONTENT (only allow for close button etc) === */
.card, .testimonial-card, .case-study, .map-placeholder {
  position: relative;
}

/* === SHOW/HIDE NAV BASED ON SCREEN === */
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* === VISUAL HIERARCHY: MARK SPECIAL SECTIONS === */
.section:nth-child(odd) {
  background: #fff;
  box-shadow: 0 1.5px 9px #0070FA09;
}
.section:nth-child(even) {
  background: var(--color-accent);
}
.card, .case-study, .before-after {
  border: 2px solid var(--color-electric-blue);
  box-shadow: 0 2px 11px #F7095B1A, 0 1.5px 7px #B6975B08;
}

/* === DYNAMIC BORDERS FOR ENERGETIC VIBE === */
.section {
  border-left: 8px solid var(--color-electric-pink);
  border-right: 8px solid var(--color-electric-lime);
}
@media (max-width: 700px) {
  .section {
    border-left: 4px solid var(--color-electric-pink);
    border-right: 4px solid var(--color-electric-lime);
  }
}

/* === BRAND FOCUS: LOGO DISTINCTION === */
header img {
  border-radius: 12px;
  box-shadow: 0 3px 18px #0070FA22;
  background: #fff;
  padding: 6px 9px;
}
