/* --- CSS RESET & NORMALIZATION --- */
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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F7FA;
  color: #19334D;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #1fc3a6;
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: underline;
}
ul, ol {
  padding-left: 22px;
}
section { margin-bottom: 60px; padding: 40px 20px; background: #fff; border-radius: 18px; box-shadow: 0 2px 18px 0 rgba(25,51,77,0.09); }
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- BRAND FONTS (Google Fonts needed for Montserrat/Open Sans) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}
h1 { font-size: 2.5rem; color: #19334D; margin-bottom: 18px; line-height: 1.15; }
h2 { font-size: 1.75rem; color: #19334D; margin-bottom: 16px; }
h3 { font-size: 1.25rem; color: #ca4d84; margin-bottom: 10px; }
h4 { font-size: 1.1rem; color: #19334D; margin-bottom: 8px; }
p, li, dd { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; color: #19334D; margin-bottom: 10px; }
p:last-child, li:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* --- LAYOUT WRAPPERS --- */
.content-wrapper { display: flex; flex-direction: column; gap: 24px; }
.features-grid, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  justify-content: flex-start;
}
.features-grid > div, .benefits-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #f7eeca;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(211,175,110,0.13);
  padding: 28px 20px 18px 20px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative;
  transition: transform .17s cubic-bezier(.62,1.4,.56,1.02), box-shadow .2s;
  z-index: 1;
}
.features-grid > div:hover, .benefits-grid > div:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 6px 16px rgba(25,51,77,0.11), 0 1.5px 8px #d3af6e99;
}
.features-grid img, .benefits-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}
.benefits-grid {
  background: none;
  box-shadow: none;
  padding: 0;
  margin-top: 20px;
}
.benefits-grid > div {
  background: #e7f6fa;
}

/* --- HEADER + NAVIGATION --- */
header {
  background: #19334D;
  color: #fff;
  width: 100%;
  padding: 0;
  box-shadow: 0 2px 12px 0 rgba(25,51,77,0.07);
  z-index: 100;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  padding: 18px 16px 18px 16px;
  gap: 18px;
  justify-content: space-between;
}
header img {
  height: 46px;
}
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  transition: color .16s, background .18s;
  padding: 6px 12px;
  border-radius: 8px;
  background: none;
  outline: none;
}
nav a:hover, nav a:focus {
  color: #D3AF6E;
  background: rgba(255,255,255,0.21);
  text-decoration: none;
}
.cta, .mini-cta {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #D3AF6E;
  color: #19334D;
  border: none;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 26px;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(211,175,110,0.10);
  transition: background .18s, color .18s, transform .13s;
  position: relative;
  outline: none;
  margin-left: 18px;
}
.cta:hover, .mini-cta:hover, .cta:focus, .mini-cta:focus {
  background: #19334D;
  color: #fff;
  transform: scale(1.06);
}
.mini-cta {
  padding: 10px 16px;
  font-size: .98rem;
  margin-top: 12px;
  margin-left: 0;
  background: #ca4d84;
  color: #fff;
}
.mini-cta:hover, .mini-cta:focus {
  background: #D3AF6E;
  color: #19334D;
}

/* --- MOBILE NAV STYLES --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.1rem;
  margin-left: 10px;
  cursor: pointer;
  z-index: 105;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #19334D;
  color: #fff;
  z-index: 900;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.56,.02,.46,1.17);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 22px 18px 7px 0;
  cursor: pointer;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: flex-start;
  padding: 32px 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.24rem;
  padding: 7px 0;
  border-radius: 12px;
  transition: background .16s, color .16s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #D3AF6E;
  color: #19334D;
}

/* Show/hide desktop nav & mobile menu */
@media (max-width: 1000px){
  nav {
    display: none;
  }
  .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- MAIN LAYOUT SPACING --- */
main {
  width: 100%;
  min-height: 70vh;
  margin: 0 auto 40px auto;
}

/* --- CARDS & FLEX LAYOUTS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: #e7f6fa;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(25,51,77,0.07);
  padding: 28px 24px 24px 24px;
  min-width: 240px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow .15s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 #ca4d8475, 0 2px 12px rgba(25,51,77,0.09);
  transform: translateY(-6px) scale(1.03);
}
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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;
}

/* Responsive: text under image */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
  .features-grid, .benefits-grid { flex-direction: column; }
  .content-grid { flex-direction: column; gap: 20px; }
  .section { padding: 28px 8px; }
  .container { padding: 0 6px; }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 18px 24px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff9ec;
  box-shadow: 0 2.5px 16px 0 #d3af6e0d, 0 1px 6px 0 rgba(25,51,77,0.07);
  border: 2px solid #f5ebd0;
  min-width: 220px;
  max-width: 640px;
  margin-top: 18px;
  transition: box-shadow .17s, border-color .17s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #D3AF6E33, 0 2px 16px #d3af6e22;
  border-color: #ca4d84;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', cursive, sans-serif;
  color: #19334D;
  font-size: 1.15rem;
  margin-bottom: 9px;
  font-style: italic;
}
.testimonial-card p {
  font-size: 1rem;
}
.stars {
  display: flex;
  align-items: center;
  gap: 5px;
}
.stars img {
  width: 22px;
  height: 22px;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0 16px 0;
}
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #E7F6FA;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 1rem;
  min-width: 220px;
  flex: 1 1 220px;
}
.contact-details img {
  width: 32px; height: 32px;
}

/* --- INDUSTRY ICONS --- */
.industry-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 16px 0;
}
.industry-icons img {
  background: #ca4d84;
  border-radius: 50%;
  padding: 12px;
  width: 56px;
  height: 56px;
  transition: box-shadow .17s;
  box-shadow: 0 2px 8px #ca4d8440;
}
.industry-icons img:hover {
  box-shadow: 0 6px 14px #D3AF6E44, 0 2px 8px #19334D33;
}

/* --- CASE STUDY TEASER --- */
.case-study-teaser {
  background: #e7f6fa;
  border-radius: 14px;
  margin-top: 22px;
  padding: 22px 20px 20px 22px;
  box-shadow: 0 1.5px 8px #d3af6e22;
}
.case-study-teaser h3 {
  color: #ca4d84;
  margin-bottom: 9px;
  font-weight: 700;
}

/* --- MAP EMBED --- */
.map-embed {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #e7f6fa;
  border-radius: 12px;
  padding: 18px 16px;
  margin: 20px 0;
  box-shadow: 0 1.5px 8px #d3af6e12;
}

/* --- OFFICE INFO --- */
.office-info {
  margin: 12px 0 0 0;
  background: #f7eeca;
  border-radius: 12px;
  padding: 12px 16px 8px 16px;
  box-shadow: 0 0.5px 5px #D3AF6E18;
  font-size: 1.02rem;
}

/* --- COOKIE CONSENT --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #19334D;
  z-index: 1110;
  box-shadow: 0 -2px 18px 0 #d3af6e15;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  transition: transform .34s cubic-bezier(.45,.65,.42,1.11);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-text {
  font-size: 1.05rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  background: #ca4d84;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 1rem;
  transition: background .17s, color .17s, transform .14s;
  outline: none;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #2ac8aa;
  color: #19334D;
  transform: scale(1.07);
}
.cookie-reject {
  background: #D3AF6E;
  color: #19334D;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #19334D;
  color: #fff;
}
.cookie-settings {
  background: #fff9ec;
  color: #ca4d84;
  border: 2px solid #ca4d84;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #ca4d84;
  color: #fff;
}

@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 10px 16px 12px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  z-index: 1120;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(25,51,77,0.26);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .23s;
}
.cookie-modal.open {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal-content {
  background: #fff;
  color: #19334D;
  border-radius: 18px;
  max-width: 370px;
  width: 94vw;
  box-shadow: 0 6px 32px #19334D22;
  padding: 35px 24px 22px 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 14px;
  background: none; border: none;
  font-size: 1.2rem;
  color: #ca4d84;
  cursor: pointer;
}
.cookie-modal-content h4 {
  font-size: 1.28rem;
  color: #ca4d84;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category label {
  font-size: 1.01rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: #e7f6fa;
  appearance: none;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background .18s;
  margin-right: 6px;
}
.cookie-toggle:checked {
  background: #ca4d84;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left .18s;
}
.cookie-toggle:checked::before {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-content .cookie-accept, .cookie-modal-content .cookie-reject, .cookie-modal-content .cookie-settings {
  font-size: 1rem;
  padding: 9px 17px;
}

/* --- FOOTER --- */
footer {
  background: #19334D;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0 0 6px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 30px;
  padding-bottom: 10px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.footer-nav a {
  color: #D3AF6E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  transition: color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
footer p {
  font-size: 0.97rem;
  opacity: 0.97;
  margin: 0;
}

/* --- DYNAMIC PLAYFUL EFFECTS (BUTTON JIGGLE) --- */
.cta, .mini-cta, .cookie-accept, .cookie-reject, .cookie-settings {
  position: relative;
  animation: popIn .55s cubic-bezier(.56,.25,.29,1.41);
}
@keyframes popIn { 0% { transform: scale(0.8); opacity: 0; } 90% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }

/* Fun playful bounce for hover (for playful_dynamic) */
.cta:hover, .mini-cta:hover, .cookie-accept:hover, .cookie-reject:hover, .cookie-settings:hover {
  animation: bouncey .5s cubic-bezier(.73,1.62,.6,.99) 1;
}
@keyframes bouncey { 10% { transform: scale(.98) rotate(-2deg); } 20% { transform: scale(1.05) rotate(2deg); } 40% { transform: scale(.98) rotate(-1.5deg); } 60% { transform: scale(1.025) rotate(0deg); } 100% { transform: scale(1) rotate(0deg); } }


/* --- PLAYFUL/DYNAMIC COLOR ACCENTS & BACKGROUND SPOTS (DECO) --- */
section::before, section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
section {
  position: relative;
  overflow: visible;
}
section:nth-child(even)::before {
  top: -28px; left: -55px;
  width: 80px; height: 80px;
  background: #ca4d84;
  opacity: 0.17;
  border-radius: 50%;
}
section:nth-child(even)::after {
  bottom: -36px; right: -60px;
  width: 110px; height: 45px;
  background: #2ac8aa;
  opacity: 0.12;
  border-radius: 55px 80px 70px 90px / 80px 33px 66px 33px;
  transform: rotate(-11deg);
}
section:nth-child(odd)::before {
  top: -32px; right: -44px;
  width: 64px; height: 64px;
  background: #D3AF6E;
  opacity: 0.13;
  border-radius: 90px 44px 75px 60px / 50px 70px 40px 80px;
}
section:nth-child(odd)::after {
  bottom: -44px; left: -41px;
  width: 70px; height: 30px;
  background: #ca4d84;
  opacity: 0.09;
  border-radius: 40px 80px 88px 66px / 41px 60px 70px 33px;
  transform: rotate(9deg);
}

/* --- LISTS / FAQ / ACCORDION --- */
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ca4d84;
  margin-top: 15px;
  margin-bottom: 4px;
}
dd {
  margin-bottom: 10px;
  font-size: .99rem;
  color: #19334D;
}

/* --- OL/UL Numbering playful --- */
ol > li::marker {
  color: #ca4d84;
  font-size: 1.15em;
}
ul > li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 7px;
}
ul > li::before {
  content: '\2022';
  color: #2ac8aa;
  font-size: 1.5em;
  position: absolute;
  left: -12px;
  top: 2px;
  line-height: 1;
}

/* --- TYPOGRAPHY HIERARCHY / SCALE --- */
@media (max-width: 760px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.34rem; }
  h3 { font-size: 1.1rem; }
  p, li, dd { font-size: 0.98rem; }
}


/* --- RESPONSIVENESS --- */
@media (max-width: 700px) {
  .container,
  footer .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  section {
    padding: 21px 3vw;
    margin-bottom: 32px;
  }
  header .container { flex-direction: row; padding: 11px 3vw; }
  .footer-nav { gap: 12px; }
  .contact-details { flex-direction: column; gap: 14px; }
}

/* SIMPLE FORM STYLES (visible in contact) */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid #D3AF6E;
  margin-bottom: 10px;
  width: 100%;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #ca4d84;
  background: #f5ebd0;
}

/* --- EXTRAS TO AVOID OVERLAPPING --- */
section, .card, .testimonial-card, .case-study-teaser, .map-embed, .office-info {
  margin-bottom: 24px;
}

/* --- ACCESSIBLE FOCUS STYLES --- */
a, .cta, .mini-cta, button, .cookie-accept, .cookie-reject, .cookie-settings, .mobile-menu-close, .mobile-menu-toggle, .cookie-modal-close {
  outline: none;
}
a:focus-visible, .cta:focus-visible, .mini-cta:focus-visible, button:focus-visible, .cookie-accept:focus-visible, .cookie-reject:focus-visible, .cookie-settings:focus-visible, .mobile-menu-close:focus-visible, .mobile-menu-toggle:focus-visible, .cookie-modal-close:focus-visible {
  box-shadow: 0 0 0 3px #ca4d84;
}

/* --- SCROLLBAR for playful accent --- */
::-webkit-scrollbar { width: 10px; background: #e7f6fa; }
::-webkit-scrollbar-thumb { background: #ca4d84; border-radius: 6px; }


/* --- UTILITIES (for spacing etc) --- */
.mb-24 { margin-bottom: 24px !important; }
.mt-12 { margin-top: 12px !important; }
.space-above-40 { margin-top: 40px !important; }
.mt-0 { margin-top: 0 !important; }

/* --- PRINT SAFE --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  section, main, .container { background: #fff !important; }
}

/* --- HIGHLIGHT ACCENTS --- */
.accent {
  color: #ca4d84;
}
.bg-accent {
  background: #e7f6fa;
  border-radius: 12px;
  padding: 6px 10px;
}

/* --- ACCESSIBILITY: COLOR CONTRAST TESTIMONIALS --- */
.testimonial-card, .testimonial-card blockquote, .testimonial-card p, .testimonial-card strong {
  color: #19334D;
  background: #fff9ec;
}

/* --- Z-INDEX fixes (no overlap!) --- */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1000; }

/* --- FUN FONTS for playful (headings get letter spacing & bold) --- */
h1, h2, h3 {
  letter-spacing: -0.02em;
  font-variation-settings: 'wght' 710;
}

/* --- Remove margin on container first & last --- */
.container > :first-child { margin-top: 0; }
.container > :last-child { margin-bottom: 0; }