/* --- 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 {
  height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F4F6FA;
  color: #213A5C;
  overflow-x: hidden;
  line-height: 1.56;
}
img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: #213A5C;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
}
button { cursor: pointer; background: none; }

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
:root {
  --primary: #213A5C;
  --secondary: #F4F6FA;
  --accent: #FF7D2A;
  --white: #fff;
  --black: #181C24;
  --gray: #D8DCE5;
}

/* --- LAYOUT CONTAINER & STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(33,58,92,0.04);
}
main > section:not(.no-section){
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
h4 {
  font-size: 1.05rem;
  font-weight: 600;
}
.subheadline {
  font-size: 1.17rem;
  color: var(--black);
  letter-spacing: 0.01em;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 8px;
  margin-top: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: 700;
}

/* --- BUTTONS & LINKS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--primary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,58,92,0.08);
  transition: background 0.25s, box-shadow 0.2s, color 0.2s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255,125,42,0.16);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--white);
}

a {
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--white);
  border-bottom: 3px solid var(--gray);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  position: relative;
}
.logo img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--white);
  background: var(--accent);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.7,.2,.3,1), opacity 0.4s;
  box-shadow: 0 2px 32px rgba(33,58,92,0.16);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  right: 28px;
  top: 22px;
  background: var(--gray);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 10px;
  border: none;
  padding: 4px 16px 3px;
  z-index: 3100;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--accent);
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 16px 8px;
  color: var(--primary);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--white);
}

/* --- HERO/BANNERS & GRIDS --- */
.feature-grid, .team-grid, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
  margin-bottom: 10px;
}
.feature-grid > div,
.team-member,
.workshop-list > .text-section {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1.5px 6px rgba(33,58,92,0.05);
  padding: 32px 24px 24px 24px;
  flex: 1 1 260px;
  min-width: 235px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 2.5px solid var(--gray);
  transition: border-color 0.18s, box-shadow 0.21s, transform 0.19s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .team-member:hover, .workshop-list > .text-section:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(255,125,42,0.09);
  transform: translateY(-3px) scale(1.025);
}
.feature-price {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--accent);
}

/* --- LISTS & CHECKS --- */
.usp-list, .feature-list, .service-list, .feature-bullets, .checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.usp-list li, .feature-list li, .service-list li, .feature-bullets li, .checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.5;
}
.usp-list li::before, .feature-list li::before, .service-list li::before, .feature-bullets li::before, .checklist li::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--accent);
  mask: url('../assets/icons/icon-check.svg') no-repeat center center / 60% 60%;
  -webkit-mask: url('../assets/icons/icon-check.svg') no-repeat center center / 60% 60%;
}

/* --- STEP LIST (OL) --- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
  max-width: 650px;
  margin: 0 0 12px 0;
}
.step-list li {
  position: relative;
  padding-left: 44px;
  font-size: 1.02rem;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.4;
}
.step-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--white);
  background: var(--primary);
  border-radius: 6px;
}

/* --- PRICE BOX --- */
.price-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.30rem;
  border-radius: 12px;
  box-shadow: 0 2.5px 10px rgba(255,125,42,0.09);
  padding: 15px 36px;
  min-width: 130px;
  font-weight: 700;
  margin: 14px 0 16px 0;
}

/* --- TESTIMONIAL CARD --- */
.testimonial-card {
  background: var(--white);
  color: var(--black);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(33,58,92,0.07);
  padding: 20px 30px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  border-left: 8px solid var(--accent);
  transition: box-shadow 0.17s, transform 0.17s;
  font-size: 1.05rem;
  max-width: 560px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px rgba(33,58,92,0.13);
  transform: scale(1.015) translateY(-3px);
}
.testimonial-card p {
  font-size: 1.12rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 0px;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #666b76;
  font-size: 0.94rem;
}

/* --- CLIENT LOGO ROW --- */
.client-logo-row {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 24px;
}

/* --- TEAM GRID --- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 250px;
  background: var(--white);
  border-radius: 14px;
  border: 2px solid var(--gray);
  box-shadow: 0 2px 16px rgba(33,58,92,0.07);
  padding: 24px 20px;
  transition: border-color 0.18s, box-shadow 0.19s, transform 0.16s;
  gap: 10px;
  max-width: 330px;
  margin-bottom: 20px;
}
.team-member:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(255,125,42,0.09);
  transform: translateY(-2.5px);
}
.team-member img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.team-member h4 {
  margin-bottom: 2px;
}

/* --- TEXT SECTIONS --- */
.text-section {
  background: var(--white);
  border-radius: 10px;
  padding: 22px 20px;
  margin-bottom: 16px;
  font-size: 1.07rem;
  box-shadow: 0 1.5px 8px rgba(33,58,92,0.05);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* --- SOCIAL LINKS --- */
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 12px 0 0 0;
}
.social-links li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: var(--primary);
}

/* --- WORKSHOP-LIST --- */
.workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.workshop-list .text-section {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  border: 2px solid var(--gray);
  box-shadow: 0 1.5px 6px rgba(33,58,92,0.05);
  border-radius: 10px;
  padding: 20px 16px;
  margin-bottom: 0;
  transition: border-color 0.17s, box-shadow 0.2s, transform 0.18s;
}
.workshop-list .text-section:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(255,125,42,0.12);
  transform: scale(1.022);
}

/* --- CARDS GENERAL --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(33,58,92,0.07);
  padding: 24px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: var(--white);
  margin-top: 70px;
  padding: 32px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  opacity: 0.95;
  transition: text-decoration 0.14s, opacity 0.16s;
  border-radius: 7px;
  padding: 7px 10px;
}
.footer-nav a:hover {
  text-decoration: underline;
  opacity: 1;
  background: var(--accent);
}
.footer-contact {
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.90;
  font-size: 1rem;
  margin-bottom: 7px;
}
footer span {
  font-size: 0.96rem;
  opacity: 0.75;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3200;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 14px rgba(33,58,92,0.16);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 30px;
  max-width: 100vw;
  font-size: 1rem;
  transition: transform 0.29s cubic-bezier(.7,.2,.3,1), opacity 0.29s;
  border-top: 4px solid var(--accent);
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-banner__button {
  background: var(--primary);
  color: var(--white);
  border-radius: 7px;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.16s, color 0.18s;
  margin-left: 0;
}
.cookie-banner__button:not(:first-child) {
  background: var(--gray);
  color: var(--primary);
}
.cookie-banner__button:hover {
  background: var(--accent);
  color: var(--white);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3300;
  align-items: center;
  justify-content: center;
  background: rgba(33,58,92,0.18);
  pointer-events: none;
}
.cookie-modal.open {
  display: flex;
  pointer-events: all;
}
.cookie-modal__content {
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 12px 56px rgba(33,58,92,0.21);
  padding: 36px 28px;
  max-width: 420px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: cookie-slidein 0.44s cubic-bezier(.62,1.8,.2,1);
}
@keyframes cookie-slidein {
  0% { opacity: 0; transform: scale(0.85) translateY(40px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 1.6rem;
  border: none;
  background: var(--gray);
  border-radius: 6px;
  color: var(--primary);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.12s;
}
.cookie-modal__close:hover {
  background: var(--accent);
  color: var(--white);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.01rem;
  margin-bottom: 9px;
}
.cookie-category input[type="checkbox"]:not(:disabled) {
  accent-color: var(--primary);
  width: 22px; height: 22px;
  border-radius: 5px;
  margin-right: 8px;
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: var(--gray);
}

/* Cookie Modal - Confirm Btn */
.cookie-modal__confirm {
  margin-top: 19px;
  background: var(--primary);
  color: var(--white);
  border-radius: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 26px;
  border: none;
  align-self: flex-end;
  transition: background 0.18s, color 0.2s;
}
.cookie-modal__confirm:hover{
  background: var(--accent);
  color: var(--white);
}

/* --- RESPONSIVE & MOBILE --- */
@media (max-width: 1050px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .feature-grid > div,
  .team-member, .workshop-list > .text-section {
    min-width: 175px;
    max-width: 100%;
    flex: 1 1 200px;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 15px;
    font-size: 0.95rem;
  }
  .card-container, .feature-grid, .team-grid, .workshop-list {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.77rem; }
  h2 { font-size: 1.33rem; }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  main > section:not(.no-section) {
    margin-bottom: 34px;
    padding: 32px 0 0 0;
  }
  .container {
    padding: 0 9px;
    max-width: 100vw;
  }
  .feature-grid, .team-grid, .workshop-list {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid > div, .team-member, .workshop-list > .text-section {
    width: 100%;
    min-width: 120px;
    padding: 20px 13px 17px 13px;
    max-width: 97vw;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .btn-primary, .btn-secondary {
    padding: 11px 16px;
    font-size: 1rem;
  }
  .testimonial-card {
    padding: 13px 9px 13px 16px;
    font-size: 1rem;
    max-width: 93vw;
  }
  .footer-nav {
    gap: 12px;
    font-size: 0.96rem;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
  .client-logo-row {
    gap: 13px;
    margin-top: 13px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7vw 13px 7vw;
    font-size: .97rem;
    gap: 17px;
  }
}
@media (max-width: 520px) {
  header .container {
    flex-wrap: wrap;
    gap: 6px;
    min-height: 56px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .logo img { height: 31px; }
  .btn-primary { padding: 8px 9px; font-size: 0.99rem; }
  h1 { font-size: 1.17rem; }
  h2 { font-size: 1.06rem; }
  .section {
    padding: 16px 2px;
    margin-bottom: 18px;
  }
  .cookie-banner {
    padding: 14px 3.6vw 12px 3.6vw;
    font-size: .95rem;
    gap: 10px;
  }
  .cookie-modal__content {
    padding: 19px 6vw;
  }
}
@media (max-width: 400px) {
  .testimonial-card { padding: 10px 5px 10px 10px; }
  .footer-contact { font-size: 0.87rem; }
  .footer-nav { font-size: 0.85rem; }
}

/* --- MICRO-INTERACTIONS --- */
.card, .feature-grid > div, .testimonial-card, .btn-primary, .btn-secondary, .team-member, .workshop-list > .text-section,
.cookie-banner__button {
  transition: transform 0.19s cubic-bezier(.56,.01,0,1), box-shadow 0.16s cubic-bezier(.56,.01,0,1), background 0.17s cubic-bezier(.56,.01,0,1);
}
.btn-primary:active, .btn-secondary:active, .cookie-banner__button:active {
  transform: scale(0.97);
}
.team-member:active, .feature-grid > div:active, .workshop-list > .text-section:active {
  transform: scale(0.97) translateY(2px);
}

/* --- SCROLLBAR STYLING --- */
::-webkit-scrollbar {
  width: 7px;
  background: var(--gray);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 7px;
}

/* --- GEOMETRIC DESIGN DECOR --- */
.section {
  position: relative;
  overflow: visible;
}
.section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -18px; left: -20px;
  width: 38px; height: 38px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.08;
  pointer-events: none;
}
.section::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: -16px; right: -18px;
  width: 30px; height: 30px;
  background: var(--primary);
  border-radius: 6px;
  opacity: 0.08;
  pointer-events: none;
}

/* --- SPACING --- */
.section, .feature-grid, .card-container, .team-grid, .workshop-list, .testimonial-card, .card {
  margin-bottom: 20px;
}

/* --- MISC UTILS --- */
.hide { display: none !important; }
.show { display: block !important; }