/* CSS RESET & NORMALIZE */
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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F9;
  color: #02284E;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  appearance: none;
}
ul, ol {
  list-style: none;
}

/* === BRAND COLORS & FONTS === */
:root {
  --primary: #02284E;
  --secondary: #F3B218;
  --secondary-dark: #C99411;
  --accent: #F7F7F9;
  --danger: #ff2e63;
  --electric-pink: #FD267D;
  --electric-blue: #25B2FB;
  --electric-green: #00FFAD;
  --electric-orange: #FF7B19;
  --white: #fff;
  --black: #1a1a1a;
  --shadow: 0 6px 24px 0 rgba(2, 40, 78, 0.10), 0 1.5px 3px 0 rgba(2, 40, 78, 0.07);
  --radius: 18px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--electric-pink);
}
.section h1, .section h2, .section h3 {
  margin-bottom: 18px;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.6;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--electric-blue);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

/* === LAYOUT & CONTAINER === */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 15px;
  padding-bottom: 15px;
}
header img[alt="Const Ottim Redekunst Logo"] {
  height: 45px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 0;
  color: var(--primary);
  letter-spacing: .02em;
  border-radius: 6px;
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--electric-pink);
  background: var(--accent);
}
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 28px;
  padding: 12px 26px;
  font-size: 1.08rem;
  font-weight: 900;
  font-family: var(--font-display);
  box-shadow: 0 2px 10px 0 rgba(0,0,0,.065);
  letter-spacing: 0.08em;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-left: 21px;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1;
  outline: none;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--electric-pink);
  color: var(--white);
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 12px 36px 0 rgba(253,38,125,0.10);
}

/* === MOBILE NAV === */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 40;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--electric-pink);
  color: var(--white);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 94vw;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 24px 0 rgba(2,40,78,0.16);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 32px 22px 22px 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--electric-pink);
  background: none;
  border: none;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 28px;
  transition: color var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary);
  padding: 10px 0;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--electric-pink);
  color: var(--white);
}
@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav .cta-button {
    margin-left: 7px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(105deg, var(--electric-pink) 0%, var(--electric-blue) 90%);
  color: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 54px 0 48px 0;
  position: relative;
  overflow: hidden;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 680px;
  gap: 18px;
}
.hero h1 {
  color: var(--white);
  font-size: 2.55rem;
}
.hero .subheadline {
  color: var(--accent);
  font-size: 1.28rem;
}
.hero .cta-button {
  background: var(--secondary);
  color: var(--primary);
  font-size: 1.12rem;
  margin-left: 0;
}
.hero .cta-button:hover,
.hero .cta-button:focus {
  background: var(--white);
  color: var(--electric-pink);
}

/* == FEATURES SECTION == */
.features {
  background: var(--accent);
  border-radius: var(--radius);
}
.features .content-wrapper {
  gap: 30px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature-grid > div {
  flex: 1 1 280px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 210px;
  max-width: 285px;
}
.feature-grid > div:hover {
  box-shadow: 0 14px 44px 0 rgba(37,178,251,0.13);
  transform: translateY(-4px) scale(1.025);
}
.feature-grid img {
  height: 38px;
  width: auto;
  margin-bottom: 8px;
  filter: saturate(1.8) brightness(1.2);
}
.feature-grid h3 {
  color: var(--electric-blue);
  font-size: 1.2rem;
}
.feature-grid p {
  color: var(--primary);
  font-size: 1rem;
}

/* == SERVICES SECTION == */
.services .content-wrapper {
  gap: 26px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-list > div {
  flex: 1 1 296px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 210px;
  max-width: 330px;
}
.service-list > div:hover {
  box-shadow: 0 16px 48px 0 rgba(2,40,78,0.10);
  transform: translateY(-3px) scale(1.018);
}
.service-list h3 {
  color: var(--electric-orange);
  font-weight: 800;
}
.service-list .price {
  color: var(--electric-green);
  font-size: 1.14rem;
  font-weight: 600;
  margin-top: 4px;
}

/* == ABOUT & LEGAL == */
.about, .legal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.content-wrapper ul li {
  position: relative;
  padding-left: 22px;
  color: var(--primary);
  font-size: 1.03rem;
  line-height: 1.6;
}
.content-wrapper ul li:before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: var(--electric-blue);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

/* == TESTIMONIALS == */
.testimonials {
  background: var(--accent);
  border-radius: var(--radius);
}
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
  max-width: 670px;
}
.testimonial-card:hover {
  box-shadow: 0 16px 48px 0 rgba(2,40,78,0.13);
  transform: scale(1.028);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.13rem;
  margin-bottom: 0;
}
.testimonial-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--electric-pink);
}
.testimonial-details span {
  color: var(--primary);
}
.testimonial-details span:first-child {
  color: #F3B218;
  font-size: 1.16em;
  letter-spacing: 1px;
}

/* == CTA BANNER == */
.cta {
  background: linear-gradient(101deg, var(--secondary) 0%, var(--electric-pink) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.cta .content-wrapper {
  align-items: flex-start;
  gap: 17px;
}
.cta h2 {
  color: var(--primary);
  font-size: 2.0rem;
}
.cta .cta-button {
  margin-left: 0;
  background: var(--electric-pink);
  color: var(--white);
  font-size: 1.12rem;
}
.cta .cta-button:hover,
.cta .cta-button:focus {
  background: var(--white);
  color: var(--electric-pink);
}

/* == CONTACT == */
.contact {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
  margin-top: 4px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 500;
}
.contact-details a {
  color: var(--electric-blue);
  font-weight: 700;
  transition: color var(--transition);
}
.contact-details a:hover,
.contact-details a:focus {
  color: var(--electric-pink);
}

/* == CLIENT LOGOS == */
.client-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
  padding-top: 6px;
}
.client-logos img {
  height: 46px;
  filter: saturate(2.5) brightness(1.26);
  opacity: 0.88;
}

/* == FOOTER == */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 34px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 6px 0;
  transition: color var(--transition), text-decoration var(--transition);
  opacity: 0.90;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--secondary);
  text-decoration: underline;
  opacity: 1;
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.96rem;
  margin-bottom: 4px;
}
.contact-info a {
  color: var(--electric-blue);
  font-weight: 700;
  transition: color var(--transition);
}
.contact-info a:hover,
.contact-info a:focus {
  color: var(--electric-pink);
}
.social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.social-links a {
  background: var(--accent);
  border-radius: 50%;
  padding: 8px;
  transition: background var(--transition);
  display: flex;
  align-items: center;
}
.social-links a:hover {
  background: var(--electric-pink);
}
.social-links img {
  width: 24px;
  height: 24px;
  filter: saturate(1.3);
}

/* == CONTENT ALIGNMENT PATTERNS == */
.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/POPUP == */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--electric-blue);
  color: var(--primary);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 18px 28px;
  font-size: 1.04rem;
  box-shadow: 0 -5px 20px 0 rgba(37,178,251,0.11);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  animation: cookie-banner-in .38s cubic-bezier(.45,1.13,.58,.99);
}
@keyframes cookie-banner-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 10px 19px;
  border-radius: 21px;
  font-size: 1.08rem;
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px 0 rgba(0,0,0,.065);
}
.cookie-banner .cookie-accept {
  background: var(--electric-green);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover,
.cookie-banner .cookie-accept:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-banner .cookie-reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: var(--primary);
}
.cookie-banner .cookie-settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: var(--electric-pink);
  color: var(--white);
}
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(2,40,78,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3900;
  opacity: 1;
  pointer-events: auto;
  transition: opacity var(--transition);
}
.cookie-modal .cookie-popup {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 18px 66px 0 rgba(2,40,78,0.15);
  padding: 36px 32px 30px 32px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: cookie-popup-in .29s cubic-bezier(.6,-0.2,.3,1.3);
  position: relative;
}
@keyframes cookie-popup-in {
  from { transform: scale(.88); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-popup h2 {
  color: var(--electric-pink);
  font-size: 1.22rem;
}
.cookie-popup label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 8px;
}
.cookie-popup input[type="checkbox"] {
  accent-color: var(--electric-blue);
}
.cookie-popup .cookie-close {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--electric-pink);
  background: none;
  border: none;
  transition: color var(--transition);
}
.cookie-popup .cookie-close:hover {
  color: var(--primary);
}
.cookie-popup .cookie-modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-popup button {
  padding: 10px 18px;
  border-radius: 21px;
  background: var(--electric-pink);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  transition: background var(--transition), color var(--transition);
  border: none;
  cursor: pointer;
}
.cookie-popup button:hover,
.cookie-popup button:focus {
  background: var(--primary);
}

/* == GENERAL FORMATS == */
a:focus-visible, .cta-button:focus-visible, .mobile-menu-toggle:focus-visible {
  outline: 2.5px solid var(--electric-blue);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #aab4c6; }
::-moz-placeholder          { color: #aab4c6; }
:-ms-input-placeholder      { color: #aab4c6; }
::placeholder              { color: #aab4c6; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
  .hero {
    padding: 44px 0 36px 0;
  }
}
@media (max-width: 1024px) {
  .feature-grid, .service-list, .content-grid, .card-container {
    gap: 16px;
  }
  .feature-grid > div, .service-list > div {
    max-width: 45vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 7px;
  }
  .feature-grid > div, .service-list > div {
    max-width: 98vw;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.62rem;
  }
  h2 {
    font-size: 1.40rem;
  }
  .hero {
    border-radius: 0 0 20px 20px;
    padding: 32px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero .content-wrapper {
    max-width: 98vw;
    gap: 10px;
  }
  .section, .features, .services, .about, .legal, .cta, .contact, .testimonials {
    margin-bottom: 38px;
    padding: 26px 5px;
  }
  .feature-grid, .service-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-list > div {
    max-width: 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 13px;
    max-width: 99vw;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    font-size: 1rem;
    padding: 17px 12px;
    align-items: flex-start;
  }
  .cookie-banner .cookie-btns {
    width: 100%;
    gap: 10px;
    justify-content: flex-end;
  }
  .cookie-popup {
    min-width: 90vw;
    padding: 17px 8vw;
  }
}

/* === SCROLLBAR & SELECTION === */
::-webkit-scrollbar {
  width: 8px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--electric-pink);
  border-radius: 8px;
}
::selection {
  background: var(--secondary);
  color: var(--primary);
}
