/* Reset & base styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #FAFAFD;
  color: #23253C;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: none; }
a { color: #0E8FA8; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #23253C; text-decoration: underline; }
ul, ol { padding-left: 1.25em; margin-bottom: 1.5em; }
li { margin-bottom: 0.4em; }

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Pastel color palette */
:root {
  --primary: #23253C;
  --secondary: #0E8FA8;
  --accent: #F6D864;
  --pastel-pink: #FAE3E3;
  --pastel-mint: #D5F5EF;
  --pastel-blue: #E3F0FA;
  --pastel-yellow: #FFF7D6;
  --pastel-lilac: #E0DAF8;
  --white: #ffffff;
  --neutral: #F4F5FB;
  --border-light: #E7E9F2;
  --shadow: 0 2px 12px rgba(232,195,246, 0.14);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.3em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--secondary);
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--secondary);
}
h4 {
  font-size: 1.15rem;
  line-height: 1.25;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--primary);
}
strong { color: var(--secondary); font-weight: 700; }

/* Buttons & CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #E0DAF8 10%, #D5F5EF 60%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.85em 2.6em;
  border: none;
  border-radius: 28px;
  box-shadow: 0 2px 8px rgba(14, 143, 168, 0.08);
  cursor: pointer;
  margin-top: 1em;
  margin-bottom: 1em;
  transition: background 0.3s, transform 0.15s, color 0.2s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #F6D864 16%, #FAE3E3 98%);
  color: var(--secondary);
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 18px rgba(246, 216, 100, 0.19);
  text-decoration: none;
}

/* Header + Navigation */
header {
  background: var(--neutral);
  width: 100%;
  padding: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 12px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
  text-decoration: none;
}

header a.cta-btn {
  margin: 0 0 0 12px;
}

header img { height: 42px; }

/* Mobile burger menu */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 202;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14,143,168,0.09);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--pastel-pink);
  color: var(--secondary);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(233, 238, 248, 0.98);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 40px rgba(14,143,168,0.10);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  margin: 24px 26px 0 0;
  cursor: pointer;
}
.mobile-nav {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  align-items: flex-start;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1.22rem;
  padding: 14px 0 14px 8px;
  width: 100%;
  border-radius: 18px;
  transition: background 0.19s, color 0.14s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-mint);
  color: var(--secondary);
}

@media (max-width: 1080px) {
  header .container { max-width: 100vw; }
  nav, header nav { gap: 12px; }
}
@media (max-width: 900px) {
  header .container { padding: 12px 4px; gap: 12px; }
  header nav { gap: 6px; }
}
@media (max-width: 820px) {
  header .container { flex-wrap: wrap; gap: 12px; }
  header nav { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  header nav, header a.cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* HERO & BANNERS */
.hero {
  background: linear-gradient(110deg,var(--pastel-mint) 50%, var(--pastel-lilac) 100%);
  box-shadow: 0 4px 24px rgba(35,37,60,0.04);
  margin-bottom: 60px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  margin-bottom: 0.15em;
}
.hero p {
  font-size: 1.18rem;
  color: var(--secondary);
}

.cta-banner {
  background: linear-gradient(90deg, var(--pastel-yellow) 80%, #FFF7D6 100%);
  text-align: center;
  box-shadow: 0 2px 16px rgba(246,216,100,.11), var(--shadow);
}
.cta-banner .content-wrapper {
  align-items: center;
}
.cta-banner h2 {
  color: var(--secondary);
}

/* Features */
.features {
  background: var(--pastel-blue);
  box-shadow: var(--shadow);
}
.features .content-wrapper {
  gap: 36px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(14,143,168,0.09);
  padding: 28px 20px 24px 20px;
  min-width: 220px;
  max-width: 324px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.feature-item img {
  width: 38px; height: 38px;
  filter: drop-shadow(0 0 8px #e3f0fa);
}
.feature-item h3 {
  margin: 0.18em 0 .1em 0;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 28px 0 rgba(14,143,168,0.13);
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 900px) {
  .feature-grid { gap: 16px; }
  .feature-item { min-width: 140px; padding: 18px 12px 16px 12px; }
}
@media (max-width: 680px) {
  .feature-grid { flex-direction: column; gap: 18px; }
}

/* Card Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(246,216,100,.10);
  padding: 24px 22px;
  transition: box-shadow 0.18s;
}
.card:hover { box-shadow: 0 4px 20px 0 rgba(14,143,168,0.15); }

.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; gap: 20px; }
}

/* Team Bios */
.team-bios {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0 16px 0;
}
.bio {
  background: var(--pastel-pink);
  border-radius: 18px;
  padding: 20px 18px;
  min-width: 180px;
  flex: 1 1 180px;
  box-shadow: 0 2px 10px rgba(246,216,100,0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.bio h3 {
  color: var(--secondary);
  margin-bottom: 0.1em;
}

/* Preview Sections */
.about-preview {
  background: var(--pastel-mint);
  box-shadow: var(--shadow);
}
.services-preview, .services {
  background: var(--pastel-pink);
}
.case-highlights {
  background: var(--pastel-lilac);
}
.contact {
  background: var(--pastel-blue);
}
.contact-form {
  background: var(--pastel-pink);
}

.info-callout {
  background: var(--neutral);
  border-left: 4px solid var(--secondary);
  border-radius: 10px;
  padding: 10px 16px;
  color: var(--primary);
  font-size: 1.01rem;
  margin-top: 8px;
  margin-bottom: 12px;
}

.benefits-list, .service-features {
  background: var(--pastel-mint);
  border-radius: 13px;
  padding: 16px 18px;
  margin: 18px 0 10px 0;
  box-shadow: 0 2px 8px rgba(14,143,168,.07);
}
.benefits-list ul, .service-features ul {
  margin-bottom: 0;
}

.project-item {
  background: var(--white);
  border-radius: 14px;
  padding: 20px 20px 14px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(14,143,168,0.09);
  transition: box-shadow 0.19s, transform 0.14s;
}
.project-item span {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
}
.project-item:hover {
  box-shadow: 0 4px 28px 0 rgba(14,143,168,0.10);
  transform: translateY(-2px) scale(1.017);
}

/* Blog & Newsletter */
.blog-posts {
  background: var(--pastel-yellow);
  box-shadow: 0 2px 12px rgba(246,216,100,.13);
}
.post-preview {
  background: var(--white);
  border-radius: 14px;
  padding: 18px 18px 12px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(246,216,100,0.08);
  transition: box-shadow 0.17s, transform 0.12s;
}
.post-preview:hover {
  box-shadow: 0 4px 22px 0 rgba(246,216,100,0.11);
  transform: translateY(-1px) scale(1.01);
}
.newsletter-signup {
  background: var(--pastel-mint);
  text-align: center;
  box-shadow: 0 2px 10px rgba(14,143,168,0.08);
}
.newsletter-signup .content-wrapper { align-items: center; }

/* Testimonials */
.testimonials-preview {
  background: var(--pastel-lilac);
  box-shadow: 0 2px 16px rgba(232,195,246,0.09);
}
.testimonials-preview .content-wrapper {
  gap: 28px;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,37,60,0.09);
  margin-bottom: 20px;
  position: relative;
  min-width: 200px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card p {
  color: #23253C;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 0;
  margin-right: 4px;
}
.testimonial-info {
  color: var(--secondary);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(35,37,60,0.19);
  transform: translateY(-1px) scale(1.01);
}


/* FAQ & Steps */
.faq-list, .steps ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item, .steps ul li {
  background: var(--white);
  border-radius: 13px;
  padding: 17px 18px;
  box-shadow: 0 2px 8px rgba(14,143,168,.05);
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-start;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.15em;
}

.steps ul li img {
  width: 34px; height: 34px;
  margin-right: 12px;
}

/**** Footer ****/
footer {
  background: var(--neutral);
  padding: 36px 0 24px 0;
  border-top: 1px solid var(--border-light);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--primary);
  font-size: 0.97rem;
  margin-bottom: 2px;
  text-decoration: none;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--primary);
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer img { height: 36px; margin-bottom: 10px; }

/**** Legal Pages ****/
.legal {
  background: var(--pastel-mint);
  min-height: 300px;
  box-shadow: 0 1px 10px rgba(14,143,168,0.06);
}

/**** Cookie Consent Banner & Modal ****/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe3;
  color: var(--primary);
  box-shadow: 0 -2px 28px 0 rgba(246,216,100,0.17);
  z-index: 1500;
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  padding: 22px 30px;
  font-size: 1rem;
  animation: showBanner 0.43s cubic-bezier(.77,0,.18,1);
}
@keyframes showBanner { from { transform: translateY(100%);} to{transform: translateY(0);} }
.cookie-consent-banner p{flex: 1;}
.cookie-consent-banner .cookie-btn {
  margin-left: 10px;
  border: none;
  background: var(--pastel-mint);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 18px;
  margin-right: 8px;
  border-radius: 22px;
  box-shadow: 0 1px 8px rgba(14,143,168,0.04);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.1s, color 0.13s;
}
.cookie-consent-banner .cookie-btn.accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(21,29,44,0.27);
  z-index: 2002;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .19s;
}
@keyframes fadeIn { from { opacity: 0;} to { opacity: 1; } }
.cookie-modal {
  background: var(--white);
  padding: 38px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 2px 32px 0 rgba(14,143,168,0.23);
  width: 98vw; max-width: 430px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalIn .36s cubic-bezier(.77,0,.18,1);
}
@keyframes modalIn { from{transform:scale(.85) translateY(60px);opacity:0;} to{transform:none;opacity:1;}}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 0.5em;
  color: var(--secondary);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pastel-mint);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 9px;
  font-size: 1rem;
}
.cookie-category .cookie-toggle {
  width: 36px;
  height: 17px;
  background: var(--pastel-blue);
  border-radius: 12px;
  position: relative;
  border: 1px solid var(--border-light);
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-category .cookie-toggle[data-on="true"] {
  background: var(--secondary);
}
.cookie-category .cookie-toggle:before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 13px; height: 13px;
  background: var(--white);
  border-radius: 50%;
  transition: left 0.17s;
}
.cookie-category .cookie-toggle[data-on="true"]:before {
  left: 19px;
}
.cookie-modal .cookie-btn-row {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-modal .cookie-btn {
  padding: 8px 20px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(14,143,168,0.05);
  transition: background 0.2s, color 0.13s;
  cursor: pointer;
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal .cookie-btn.cancel {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: var(--pastel-pink);
  color: var(--secondary);
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 880px) {
  .container { max-width: 98vw; }
}
@media (max-width: 768px) {
  /* Stack footer columns and header */
  footer .container { flex-direction: column; gap: 14px; align-items: flex-start; }
  section { padding: 34px 8px; }
  .hero, .cta-banner, .features, .about-preview, .services-preview, .contact, .services, .case-highlights, .blog-posts, .newsletter-signup, .testimonials-preview, .legal, .contact-form {
    padding: 24px 4px;
    margin-bottom: 36px;
    border-radius: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  h3 { font-size: 1.08rem; }
  .cta-btn { font-size: 1rem; padding: 0.7em 2em; }
  .feature-grid, .team-bios, .content-grid, .card-container { flex-direction: column; gap: 18px; }
  .feature-item, .bio, .card, .project-item, .testimonial-card, .post-preview { min-width: unset; max-width: unset; }
  .steps ul, .faq-list { gap: 11px; }
  .login-modal, .cookie-modal { width: 97vw; min-width: unset; }
}

@media (max-width: 520px) {
  header img, footer img { height: 30px !important; }
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.05rem; }
  .cta-btn { font-size: 0.98rem; padding: 0.65em 1.2em; }
  .cookie-consent-banner { flex-direction: column; padding: 16px 10px; gap: 14px; font-size: 0.96rem; }
}

/* Utility */
.d-none { display: none !important; }
.visible { display: block !important; }

/**** VISUAL HIERARCHY & MICRO-INTERACTIONS ****/
.card, .post-preview, .project-item, .testimonial-card, .feature-item {
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover, .post-preview:hover, .project-item:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 6px 34px 0 rgba(14,143,168,0.13),0 1px 16px rgba(246,216,100,0.09);
  transform: translateY(-2px) scale(1.018);
}

/* Selection */
::selection { background: var(--pastel-lilac); color: var(--primary); }

/* Focus states */
a:focus-visible, .cta-btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Hide Cookie Modal & Banner by default (shown via JS) */
.cookie-consent-banner, .cookie-modal-overlay { display: none; }

