/* --------------------------------------------------
   CSS RESET & BASE (Normalize + Reset)
-------------------------------------------------- */
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;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #FFF;
  color: #23283B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #E39E16;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fcad1f;
  text-decoration: underline;
}
ul, ol {
  padding-left: 26px;
  margin-bottom: 18px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: #23283B;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.625rem;
  margin-bottom: 20px;
  text-shadow: 2px 4px 0 #FEE45A22;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p, li {
  font-size: 1rem;
  color: #23283B;
}
strong {
  font-weight: 700;
}
small {
  font-size: 0.87rem;
  color: #767676;
}

/* --------------------------------------------------
   CONTAINER & SECTIONS (Spacing & Layout)
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --------------------------------------------------
   BRAND PALETTE & PLAYFUL DYNAMIC COLORS
-------------------------------------------------- */
:root {
  --primary: #23283B;
  --accent: #E39E16;
  --secondary: #E2E2E2;
  /* Playful palette extensions */
  --bright1: #FEE45A;   /* bright yellow */
  --bright2: #42B2E7;   /* playful cyan */
  --bright3: #FC8FCE;   /* playful pink */
  --bright4: #51D88A;   /* playful green */
  --dark: #1b1e26;
}

/* --------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------- */
header {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 18px -4px #23283b33;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
}
.logo img {
  height: 46px;
  width: auto;
  margin-right: 10px;
  display: block;
  animation: floatLogo 3s infinite alternate cubic-bezier(.65,.05,.36,1);
}
@keyframes floatLogo {
  0%   { transform: translateY(0) rotate(-2deg); }
  45%  { transform: translateY(-4px) rotate(3deg);}
  100% { transform: translateY(0) rotate(-2deg); }
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.main-nav a {
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  transition: color 0.17s;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  color: var(--accent);
}
/* Button Primary in header/nav */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, var(--accent), var(--bright3));
  color: #23283B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 32px;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px 0 #E39E1633;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--bright3) 70%, var(--accent));
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}

/* Burger/Mobile nav */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #FFF;
  cursor: pointer;
  margin-left: 18px;
  z-index: 110;
  transition: color 0.18s, transform 0.18s;
}
.mobile-menu-toggle:active {
  color: var(--bright3);
  transform: scale(1.2) rotate(7deg);
}

/* --------------------------------------------------
   MOBILE NAVIGATION OVERLAY
-------------------------------------------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 24px 0 #23283b44;
  z-index: 200;
  transform: translateX(-120vw);
  transition: transform 0.38s cubic-bezier(.77, .2, .05, 1);
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: var(--primary);
  border: none;
  align-self: flex-end;
  margin: 22px 22px 12px 0;
  cursor: pointer;
  transition: color 0.18s, transform 0.18s;
  z-index: 201;
}
.mobile-menu-close:hover {
  color: var(--accent);
  transform: rotate(12deg) scale(1.2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  align-items: center;
  margin-top: 20px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  padding: 16px 0;
  width: 90%;
  border-radius: 12px;
  text-align: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* Hide desktop nav, show burger on mobile */
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* Hide mobile nav on desktop */
@media (min-width: 900px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
  background: linear-gradient(105deg, var(--bright1) 63%, var(--bright3) 100%);
  border-radius: 0 0 44px 44px;
  margin-bottom: 48px;
  animation: hero-pop 1.2s cubic-bezier(.25,1.38,.7,.98);
}
@keyframes hero-pop {
  from { opacity: 0; transform: translateY(-32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 66px 18px 66px 18px;
}
.hero h1 {
  font-size: 2.9rem;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.hero p {
  font-size: 1.27rem;
  color: #333;
  margin-bottom: 24px;
}
.hero .btn-primary {
  margin-top: 8px;
  font-size: 1.13rem;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------
   FEATURES/GRID/CARDS (Playful styles)
-------------------------------------------------- */
.features-grid, .services-grid, .case-studies, .card-container, .content-grid, .project-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  margin-bottom: 18px;
}
.feature, .service, .mini-case-study, .card, .faq-item {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0px 4px 21px -5px #23283b19, 0 1.5px 0 #FEE45A22;
  padding: 28px 20px 18px 20px;
  min-width: 222px;
  max-width: 360px;
  flex: 1 1 264px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.16s;
  overflow: hidden;
}
.feature:hover, .service:hover, .mini-case-study:hover, .card:hover, .faq-item:hover {
  box-shadow: 0px 12px 40px -9px #E39E1640, 0 2.5px 0 #fc8fce60;
  transform: translateY(-6px) scale(1.028) rotate(-1.5deg);
}
.feature img, .service img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: linear-gradient(120deg, var(--bright2), var(--bright4) 80%);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 2px 10px #23283b16;
  animation: icon-bounce 2s infinite alternate cubic-bezier(.84,.06,.74,1);
}
@keyframes icon-bounce {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.mini-case-study h3 {
  color: var(--accent);
}

/* --------------------------------------------------
   TESTIMONIALS & QUOTES
-------------------------------------------------- */
.testimonials {
  background: var(--bright2);
  border-radius: 44px;
  margin-bottom: 60px;
  padding: 36px 0 42px 0;
  box-shadow: 0 6px 24px -8px #23283b22;
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #212222;
  border-radius: 22px;
  box-shadow: 0px 4px 12px -4px #42b2e780, 0 1.5px 0 #FEE45A25;
  min-width: 244px;
  max-width: 650px;
  margin-top: 14px;
  margin-bottom: 18px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.17rem;
  color: #23283B;
  line-height: 1.45;
  font-style: italic;
  margin-right: 16px;
}
.testimonial-card footer {
  font-size: 0.99rem;
  color: var(--bright3);
  margin-left: auto;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

/* --------------------------------------------------
   PRICING TABLE
-------------------------------------------------- */
.pricing-table {
  margin: 28px 0 32px 0;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 11px -3px #E39E1620;
}
.pricing-table th, .pricing-table td {
  padding: 16px 14px;
  text-align: left;
}
.pricing-table thead tr {
  background: var(--accent);
  color: #23283B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
}
.pricing-table tbody tr {
  border-bottom: 2px solid #f6f6f6;
  transition: background 0.16s;
}
.pricing-table tbody tr:hover {
  background: #fcf2e1;
}
.pricing-table td {
  color: #23283B;
}

/* --------------------------------------------------
   LISTS / PROCESS / FEATURES
-------------------------------------------------- */
.features-grid, .services-grid, .case-studies {
  align-items: stretch;
}
.process-steps, .service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
  list-style: none;
}
.process-steps li, .service-list li {
  background: var(--bright4);
  color: #23283B;
  border-radius: 13px;
  padding: 13px 18px;
  font-size: 1.067rem;
  font-family: 'Open Sans', Arial, sans-serif;
  box-shadow: 0 2px 11px -4px #51d88a44;
  margin-bottom: 4px;
  transition: background 0.25s, color 0.15s;
}
.process-steps li:hover, .service-list li:hover {
  background: var(--bright1);
  color: var(--primary);
}

/* feature-item */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
  padding: 20px 20px 12px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px #51d88a33;
}

/* General card containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px -4px #23283b15;
  padding: 18px 14px;
}
.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;
}

/* --------------------------------------------------
   FAQ ITEMS
-------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  border-left: 7px solid var(--bright3);
  padding: 18px 18px 12px 24px;
  margin-bottom: 20px;
}
.faq-item h2 {
  font-size: 1.18rem;
}
.faq-item p {
  margin-top: 2px;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: var(--primary);
  box-shadow: 0 -2px 16px 0 #23283b20;
  color: #fff;
  font-size: 1rem;
  padding: 0;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  margin-top: 48px;
}
footer .container {
  padding: 34px 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
}
.footer-brand img {
  width: 48px;
  height: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
}
.footer-menu a {
  color: #fff;
  opacity: 0.93;
  transition: color 0.18s, opacity 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
  opacity: 1;
}
.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: #FFF;
}
.contact-snippet img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: text-bottom;
  margin-right: 5px;
  position: relative;
  top: 2px;
}
.contact-snippet a {
  color: var(--bright1);
  text-decoration: underline;
  word-break: break-all;
}
.contact-snippet a:hover {
  color: var(--bright3);
}

/* --------------------------------------------------
   FORMS & BUTTONS
-------------------------------------------------- */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 12px 13px;
  border-radius: 8px;
  border: 1.5px solid var(--secondary);
  font-size: 1.08rem;
  margin-bottom: 18px;
  outline: none;
  transition: border 0.18s, box-shadow 0.16s;
  width: 100%;
  background: #f5f5f5;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 2px 10px #E39E1620;
}
/* Reuse button styles for others */
.btn-primary, .btn, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--bright3));
  color: #23283B;
  padding: 12px 30px;
  border-radius: 36px;
  font-size: 1.09rem;
  box-shadow: 0 2px 12px 0 #E39E1622;
  margin: 12px 0 0 0;
  transition: background 0.2s, color 0.18s, transform 0.16s;
  outline: none;
  min-width: 180px;
}
.btn-primary:active, .btn:active, button:active, input[type="submit"]:active {
  background: linear-gradient(90deg, var(--accent), var(--bright1));
  color: #fff;
  transform: scale(.98) rotate(-2deg);
}

/* --------------------------------------------------
   SPECIAL COMPONENTS / MAP EMBED
-------------------------------------------------- */
.map-embed {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 13px 0;
  background: #FCF7EF;
  border-radius: 12px;
}
.map-embed img {
  width: 36px;
}

/* --------------------------------------------------
   GENERAL SPACING, FLEX LAYOUTS, HELPERS
-------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 299;
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 14px 18px 14px;
  box-shadow: 0px -4px 28px -4px #23283b65;
  font-size: 1.03rem;
  animation: bannerIn 0.6s cubic-bezier(.5,1.6,.47,.96);
}
@keyframes bannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-text {
  margin-right: 22px;
  max-width: 380px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.cookie-banner button {
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  box-shadow: 0 2px 8px #23283b22;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .cookie-accept {
  background: var(--accent);
  color: #23283B;
}
.cookie-banner .cookie-accept:hover {
  background: var(--bright1);
  color: var(--primary);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--primary);
}
.cookie-banner .cookie-reject:hover {
  background: var(--bright3);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: var(--bright2);
  color: #23283B;
}
.cookie-banner .cookie-settings:hover {
  background: var(--bright4);
  color: #23283B;
}

/* Cookie modal overlay */
#cookie-modal {
  position: fixed;
  z-index: 350;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,40,59,0.44);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s;
}
#cookie-modal.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-content {
  background: #fff;
  color: #23283B;
  border-radius: 27px;
  padding: 36px 28px 25px 28px;
  min-width: 320px;
  max-width: 98vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 2px 40px #23283b48;
  animation: cookiePop 0.34s cubic-bezier(.23,.99,.71,1.7);
}
@keyframes cookiePop {
  from { opacity: 0; transform: scale(.85) translateY(40px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h3 {
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-modal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 1.05rem;
}
.cookie-modal-content li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal-switch {
  width: 37px;
  height: 22px;
  border-radius: 12px;
  background: var(--secondary);
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  border: 1.5px solid #E2E2E2;
  position: relative;
  margin-left: 4px;
  transition: background 0.18s, border 0.17s;
}
.cookie-modal-switch.on {
  background: var(--bright4);
  border-color: var(--bright3);
}
.cookie-modal-switch .switch-handle {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.15s, background 0.19s;
}
.cookie-modal-switch.on .switch-handle {
  left: 19px;
  background: var(--bright3);
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 18px;
}
.cookie-modal-footer button {
  background: var(--accent);
  color: #23283B;
  font-size: 1.02rem;
  padding: 10px 20px;
}
.cookie-modal-footer .btn-cancel {
  background: var(--secondary);
  color: #23283B;
}

/* --------------------------------------------------
   RESPONSIVE DESIGN (Mobile-first!)
-------------------------------------------------- */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2.2rem; }
  .hero .container { padding: 42px 8px 50px 8px; }
  .features-grid, .services-grid, .content-grid, .project-overview {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }

  .container, .footer .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .content-wrapper, .footer .content-wrapper {
    padding: 0;
  }
  .section {
    padding: 30px 6px;
    margin-bottom: 42px;
  }
  .hero .container {
    padding: 32px 4px 36px 4px;
  }
  .features-grid, .services-grid, .content-grid, .project-overview {
    flex-direction: column;
    gap: 14px;
  }
  .feature, .service, .mini-case-study, .card {
    min-width: 85vw;
    max-width: 100vw;
    padding: 22px 10px 12px 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 8px;
    max-width: 98vw;
  }
  .footer .content-wrapper, footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 500px) {
  header .container, footer .container {
    padding: 7px 4px;
  }
  .section {
    padding: 14px 1px;
    margin-bottom: 24px;
  }
  .btn, .btn-primary, button, input[type="submit"] {
    min-width: 50vw;
    padding: 10px 10px;
    font-size: 0.98rem;
  }
  .cookie-modal-content {
    padding: 19px 8px 18px 8px;
    min-width: 90vw;
    max-width: 99vw;
  }
}

/* --------------------------------------------------
   ANIMATIONS, MICRO-INTERACTIONS
-------------------------------------------------- */
.btn-primary, .btn, button, input[type="submit"] {
  box-shadow: 0 2px 12px 0 #fce13522, 0 0.1px 0 #fc8fce14;
}
.btn-primary:focus {
  outline: 3px solid var(--accent);
}
.card, .feature, .service, .mini-case-study {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature:hover, .service:hover {
  box-shadow: 0 10px 32px -10px #51d88a60, 0 2.5px 0 #fc8fce37;
  transform: translateY(-4px) scale(1.015) rotate(-1deg);
}
/* Subtle animated marker for active nav link (optional, requires JS/CSS class logic) */
.main-nav a.active::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 38%;
  height: 3px;
  border-radius: 3px;
  background: var(--bright3);
  margin-top: 4px;
  animation: navHighlight 0.34s cubic-bezier(.12,.94,.7,1.01);
}
@keyframes navHighlight {
  from { width: 0; opacity:0; }
  to   { width: 38%; opacity:1; }
}

/* --------------------------------------------------
   PRINT STYLES (hide nav, cookie, mobile)
-------------------------------------------------- */
@media print {
  header, nav, .mobile-menu, .cookie-banner, footer { display: none !important; }
  * { color: #222 !important; background: #fff !important; box-shadow: none !important; }
}
