/* ==== CSS RESET & NORMALIZER ==== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F4F4;
  color: #0C3959;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
a {
  color: #0C3959;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}
:root {
  --primary: #0C3959;
  --secondary: #86A293;
  --accent: #F4F4F4;
  --brand-art1: #F1435A;
  --brand-art2: #F7941D;
  --brand-art3: #48B6A0;
  --brand-art4: #3E6FCE;
  --display: 'Montserrat', Arial, Helvetica, sans-serif;
  --body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-lg: 0 8px 32px 0 rgba(12,57,89,.09);
  --shadow-md: 0 3px 12px 0 rgba(12,57,89,.08);
  --shadow-sm: 0 1.5px 4px 0 rgba(12,57,89,.08);
}

/* ==== TYPOGRAPHY - Creative Artistic ==== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: var(--primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--brand-art1);
  position: relative;
}
h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  background: var(--brand-art2);
  border-radius: 3px;
  margin-top: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--brand-art3);
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--brand-art4);
}
h4, h5, h6 {
  color: var(--primary);
}
p, li, span {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--primary);
}
strong {
  color: var(--brand-art1);
}
.subheadline {
  font-size: 1.2rem;
  font-family: var(--body);
  color: var(--secondary);
  margin-bottom: 24px;
}

/* ==== LAYOUT FLEXBOX STRUCTURES ==== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.18s cubic-bezier(.8,.2,.2,1), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-1deg);
  box-shadow: 0 8px 24px 0 rgba(241,67,90,0.12);
}
/* Additional content grid layouts */
.content-grid, .project-list, .features-grid, .services-overview, .team-overview, .advantage-grid, .inspiration-tiles {
  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: #fbfbfb;
  border-left: 8px solid var(--brand-art1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  border-color: var(--brand-art4);
  box-shadow: 0 4px 16px 0 rgba(62,111,206,0.07);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.team-overview > div, .project-list > div, .features-grid > div, .services-overview > div, .advantage-grid > div, .inspiration-tiles > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 32px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.team-overview > div:hover, .project-list > div:hover, .features-grid > div:hover, .services-overview > div:hover, .advantage-grid > div:hover, .inspiration-tiles > div:hover {
  box-shadow: 0 8px 22px 0 rgba(134,162,147,0.10);
  transform: translateY(-4px) scale(1.015) rotate(1deg);
}
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f9fafb;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 26px 20px;
  flex: 1 1 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.values-list li:hover {
  box-shadow: 0 6px 16px 0 rgba(247,148,29,0.09);
  transform: scale(1.01) rotate(-1deg);
}
/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s;
  border-left: 5px solid var(--brand-art2);
}
.faq-accordion > div:hover {
  box-shadow: 0 6px 14px 0 rgba(247,148,29,0.10);
  border-color: var(--brand-art4);
}
.contact-details, .contact-summary, .cta-area {
  margin-bottom: 20px;
}
.design-styles li {
  background: var(--brand-art3);
  color: #fff;
  display: inline-flex;
  padding: 8px 22px;
  border-radius: 14px;
  margin-right: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}
.confirmation-message {
  color: var(--brand-art4);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

/* === BUTTONS & CTA === */
.cta {
  display: inline-block;
  padding: 14px 38px;
  background: var(--brand-art4);
  color: #fff;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 32px;
  box-shadow: 0 4px 12px 0 rgba(62,111,206,0.17);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  margin-bottom: 10px;
}
.cta.primary {
  background: var(--brand-art1);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(241,67,90,0.16);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-art2);
  color: #fff;
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
  box-shadow: 0 8px 28px 0 rgba(247,148,29,0.11);
}
.cta.secondary {
  background: var(--brand-art3);
  color: #fff;
  box-shadow: 0 4px 12px 0 rgba(72,182,160,0.12);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--secondary);
  color: var(--primary);
}
a.cta {
  text-align: center;
}

/* === HEADER, NAV, FOOTER === */
header {
  background: #fff;
  border-bottom: 3px solid var(--brand-art4);
  box-shadow: 0 2px 12px 0 rgba(12,57,89,.05);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.03rem;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  background: var(--brand-art3);
  color: #fff;
}
header .cta.primary {
  margin-left: 12px;
}

footer {
  background: var(--secondary);
  color: #fff;
  padding: 35px 0 15px;
  margin-top: 60px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -2px 14px 0 rgba(134,162,147,0.12);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
footer nav a {
  color: #fff;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 7px;
  padding: 5px 11px;
  transition: background 0.18s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--brand-art1);
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.99rem;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 22px;
  top: 22px;
  font-size: 2.2rem;
  background: var(--brand-art4);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 22;
  border: none;
  transition: background 0.17s, color 0.17s, transform 0.17s;
}
.mobile-menu-toggle:active {
  background: var(--brand-art1);
  transform: scale(0.98);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(12,57,89, 0.97);
  z-index: 50;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.72,.3,.21,.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 21px 21px 0 auto;
  background: var(--brand-art1);
  color: #fff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  border: none;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 52;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 48px 32px 16px 30px;
}
.mobile-nav a {
  color: #fff;
  font-family: var(--display);
  font-size: 1.27rem;
  font-weight: 700;
  padding: 14px 4px;
  width: 100%;
  border-radius: 7px;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-art1);
}
@media (max-width: 1155px) {
  .container {
    max-width: 1000px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 760px; }
  .section { padding: 30px 8px; }
  .content-grid, .project-list, .features-grid, .services-overview, .team-overview, .advantage-grid, .inspiration-tiles, .values-list {
    gap: 15px;
  }
  .card-container { gap: 12px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    margin-bottom: 34px;
    padding: 20px 4px;
    border-radius: var(--radius-md);
  }
  .content-wrapper, .content-grid, .project-list, .features-grid, .services-overview, .team-overview, .advantage-grid, .inspiration-tiles, .values-list {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card, .team-overview > div, .project-list > div, .features-grid > div, .services-overview > div, .advantage-grid > div, .inspiration-tiles > div, .values-list li {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
    padding: 20px 10px;
    border-radius: var(--radius-md);
  }
  .text-image-section {
    flex-direction: column;
    gap: 15px;
  }
  footer .content-wrapper {
    gap: 8px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 460px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .cta, .cta.primary, .cta.secondary { font-size: 1.01rem; padding: 10px 16px; }
}

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -3px 18px 0 rgba(12,57,89,0.18);
  z-index: 100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 32px;
  border-radius: 18px 18px 0 0;
  animation: banner-in 0.42s cubic-bezier(.75,.1,.45,1) forwards;
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 1rem;
  flex: 3 1 100px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 11px 26px;
  border-radius: 19px;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: none;
  margin: 0;
  transition: background 0.18s, color 0.18s, transform 0.17s;
}
.cookie-accept {
  background: var(--brand-art3);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--brand-art1);
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: var(--brand-art1);
  border: 2px solid var(--brand-art1);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--brand-art1);
  color: #fff;
}
.cookie-settings {
  background: var(--brand-art2);
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--brand-art4);
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 7px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions { gap: 8px; }
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(12,57,89, 0.70);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open { display: flex; }
.cookie-modal {
  background: #fff;
  padding: 36px 30px 22px;
  border-radius: 22px;
  box-shadow: 0 8px 44px 0 rgba(12,57,89,0.19), 0 2px 7px 0 rgba(241,67,90,0.07);
  z-index: 120;
  min-width: 310px;
  min-height: 180px;
  position: relative;
  animation: cookie-modal-in .38s cubic-bezier(.8,.2,.3,1);
}
@keyframes cookie-modal-in {
  from { transform: translateY(35px) scale(0.93); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 13px;
  background: var(--brand-art1);
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-art4);
  color: #fff;
}
.cookie-modal h2 {
  margin-bottom: 13px;
}
.cookie-modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-family: var(--display);
  font-size: 1.07rem;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--brand-art3);
  cursor: pointer;
}
.cookie-category.essential label {
  color: var(--brand-art2);
  position: relative;
}
.cookie-category.essential input {
  pointer-events: none;
  opacity: .6;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 15px;
  justify-content: flex-end;
}

/* ==== GENERAL DECORATIVE & CREATIVE_ARTISTIC ==== */
.section {
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -40px;
  width: 74px;
  height: 74px;
  background: var(--brand-art1);
  opacity: 0.12;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(3px);
}
.section:nth-of-type(2)::before {
  left: auto;
  right: -34px;
  background: var(--brand-art4);
}
.card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 50px;
  height: 50px;
  background: var(--brand-art2);
  opacity: 0.10;
  border-radius: 40% 60% 70% 30% / 50% 40% 60% 20%;
  z-index: 1;
  pointer-events: none;
  filter: blur(1px);
}

/* Artistic fonts for headlines */
h1, h2, .cta {
  letter-spacing: .02em;
  text-shadow: 0 2px 1px rgba(241,67,90,0.05), 0 0.5px 2px rgba(62,111,206,0.06);
}
h1 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-style: italic;
}

/* Micro-interactions on interactive elements */
a, button, .cta, [tabindex] {
  outline: none;
  transition: box-shadow .17s, color .19s, background .19s, transform .18s;
}
a:focus, button:focus, .cta:focus {
  box-shadow: 0 0 0 3px var(--brand-art2);
}

/* === SPACING ENSURANCE === */
.section + .section {
  margin-top: 20px;
}
.card:not(:last-child),
.card-container > *:not(:last-child),
.card-container > * { margin-right: 20px; }
.values-list li:not(:last-child) { margin-bottom: 20px; }
.team-overview > div:not(:last-child), .project-list > div:not(:last-child), .features-grid > div:not(:last-child), .advantage-grid > div:not(:last-child), .services-overview > div:not(:last-child), .inspiration-tiles > div:not(:last-child) {
  margin-bottom: 20px;
}

/* === FORM ELEMENTS for Cookie Modal === */
input[type="checkbox"] {
  accent-color: var(--brand-art3);
  width: 20px; height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}
input[type="checkbox"]:disabled {
  opacity: 0.7;
}

/* === UTILS === */
.hide { display: none !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }
.rounded { border-radius: var(--radius-md); }

/* ==== KEY ACCESSIBILITY & CONTRAST ==== */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #222;
  background: #fff;
  font-size: 1.05rem;
  font-family: var(--body);
  line-height: 1.5;
}
.testimonial-card span {
  font-style: italic;
  color: var(--brand-art1);
}

/* ==== ICONS/IMAGES ==== */
.features-grid img, .team-overview img, .project-list img, .services-overview img, .advantage-grid img, .values-list img, .footer-contact img {
  width: 38px; height: 38px; margin-bottom: 5px; filter: drop-shadow(0 0 7px rgba(76,193,255,.07));
}
.footer-contact img { width: 24px; height: 24px; margin-right: 3px; }

/* ===============================  */
/* ===== END OF CREATIVE CSS ====== */
/* ===============================  */
