/* ============================================
   CSS Variables
   ============================================ */
:root {
  --color-bordo: rgba(138, 50, 36, 1);
  --color-bordo-hover: rgba(109, 40, 25, 1);
  --color-beige: rgba(238, 223, 210, 1);
  --color-grey: rgba(238, 237, 235, 1);
  --color-white: rgba(254, 253, 252, 1);
  --color-off-white: rgba(250, 250, 250, 1);
  --color-aura-grey: rgba(60, 57, 53, 1);
  --color-black: rgba(15, 15, 15, 1);
  --color-dark-rect: rgba(52, 52, 52, 1);

  --font-inter: "Inter", Helvetica, Arial, sans-serif;
  --font-poppins: "Poppins", Helvetica, Arial, sans-serif;

  --h1-size: 38px;
  --h1-weight: 700;
  --h1-tracking: -0.38px;

  --h2-size: 28px;
  --h2-weight: 700;
  --h2-tracking: -0.28px;

  --h3-caps-size: 20px;
  --h3-caps-weight: 600;
  --h3-caps-tracking: 0.2px;

  --h4-size: 18px;
  --h4-weight: 400;
  --h4-tracking: 0px;
  --h4-line-height: 25px;

  --h4-caps-size: 18px;
  --h4-caps-weight: 400;
  --h4-caps-tracking: -0.18px;

  --body-size: 16px;
  --body-weight: 400;
  --body-tracking: -0.16px;
  --body-line-height: 28px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  letter-spacing: var(--body-tracking);
  line-height: var(--body-line-height);
  color: var(--color-aura-grey);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   Typography
   ============================================ */
.section-heading-h1 {
  font-family: var(--font-inter);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  font-style: italic;
  letter-spacing: var(--h1-tracking);
  line-height: 1;
  color: var(--color-aura-grey);
  text-transform: uppercase;
}

.section-heading-h2 {
  font-family: var(--font-inter);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  font-style: italic;
  letter-spacing: var(--h2-tracking);
  line-height: 1;
  color: var(--color-aura-grey);
  text-transform: uppercase;
}

.heading-h2 {
  font-family: var(--font-inter);
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  font-style: italic;
  letter-spacing: var(--h2-tracking);
  line-height: 1;
}

.heading-h2-regular {
  font-family: var(--font-inter);
  font-size: var(--h2-size);
  font-weight: 400;
  font-style: normal;
  letter-spacing: var(--h2-tracking);
  line-height: 1;
}

.body-text {
  font-family: var(--font-inter);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  letter-spacing: var(--body-tracking);
  line-height: var(--body-line-height);
  color: var(--color-aura-grey);
}

.text-white {
  color: #fefdfc;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7.222px;
  padding: 16px 24px;
  border-radius: 72.222px;
  border: none;
  cursor: pointer;
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background-color: var(--color-bordo);
  color: var(--color-beige);
}

.btn-primary:hover {
  background-color: var(--color-bordo-hover);
}

.btn-hero {
  background-color: var(--color-bordo);
  color: #ffffff;
}

.btn-hero:hover {
  background-color: var(--color-bordo-hover);
}

.btn-lg {
  padding: 16px 24px;
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-bordo);
  border: 0.72px solid var(--color-bordo);
}

.btn-white:hover {
  background-color: rgba(254, 253, 252, 0.9);
}

.btn-article {
  gap: 12px;
}

/* ============================================
   Page Wrapper
   ============================================ */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-white);
}

.page-wrapper > section + section {
  margin-top: 120px;
}

.page-wrapper > .site-footer {
  margin-top: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/images/frame-1276.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 64px 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 600px;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 51px;
}

.hero-logo {
  width: 305.17px;
  height: auto;
}

.hero-text-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 804px;
  max-width: 100%;
}

.hero-heading {
  font-family: var(--font-inter);
  font-weight: 400;
  color: #ffffff;
  font-size: 52px;
  letter-spacing: -0.52px;
  line-height: 1.15;
}

.hero-heading-bold {
  font-weight: 700;
  letter-spacing: -0.27px;
}

/* ============================================
   WHY MYCODROP SECTION
   ============================================ */
.why-section {
  width: 100%;
  background-color: var(--color-white);
}

.why-inner {
  display: flex;
  align-items: center;
  gap: 164px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.why-images {
  position: relative;
  width: 600px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.why-collage-img {
  width: 760px;
  height: auto;
  margin-left: -103px;
}

.why-text {
  display: flex;
  flex-direction: column;
  width: 600px;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  margin-right: -44px;
}

.why-text-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
  width: 100%;
}

.why-text-inner .section-heading-h1 {
  margin-top: -1px;
}

.why-description {
  font-family: var(--font-inter);
  font-weight: 400;
  color: var(--color-aura-grey);
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.16px;
}

.why-description strong {
  font-weight: 700;
  line-height: 32px;
}

.why-badge {
  flex-shrink: 0;
}

/* ============================================
   QUIZ BANNER SECTION
   ============================================ */
.quiz-banner-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background-color: var(--color-white);
}

.quiz-banner-inner {
  width: 910px;
  max-width: 100%;
  margin: 0 auto;
  padding: 50px 60px;
  border-radius: 20px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%),
              url('../assets/images/frame-1140.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;
  max-width: 804px;
  width: 100%;
}

.quiz-banner-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  width: 100%;
}

.quiz-banner-heading {
  width: 100%;
  font-family: var(--font-inter);
  font-size: var(--h2-size);
  font-weight: 400;
  color: var(--color-white);
  text-align: center;
  letter-spacing: var(--h2-tracking);
  line-height: normal;
  text-transform: uppercase;
}

.quiz-banner-desc {
  width: 100%;
  font-family: var(--font-inter);
  font-weight: 400;
  color: var(--color-white);
  font-size: 16px;
  text-align: center;
  line-height: 28px;
  letter-spacing: -0.16px;
}

.quiz-banner-desc strong {
  font-weight: 700;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

.products-top-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 0;
  width: 100%;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  background-color: var(--color-white);
}

.products-header-inner {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.products-logo {
  width: 260px;
  height: 42.66px;
}

.products-highlight {
  width: 100%;
  background-color: var(--color-white);
}

.products-highlight-inner {
  display: flex;
  align-items: center;
  gap: 164px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 60px;
}

.products-highlight-text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}

.products-highlight-text-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.products-highlight-text-inner .body-text strong {
  font-weight: 700;
}

.products-highlight-img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* Products List */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
  width: 100%;
}

.products-list-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  background-color: var(--color-white);
}

.products-list-header .section-heading-h1 {
  text-align: center;
  width: 100%;
}

/* Product Card */
.product-card {
  width: 100%;
  background-color: var(--color-white);
}

.product-card-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 60px;
  gap: 164px;
}

.product-card-inner.image-left {
  flex-direction: row;
}

.product-card-inner.image-right {
  flex-direction: row;
}

.product-card-image {
  width: 360px;
  height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.product-card-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
  flex: 1;
  min-width: 0;
}

.product-card-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 8px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  width: fit-content;
  border-radius: 50px;
  border: 1px solid var(--color-bordo);
  font-family: var(--font-inter);
  font-size: var(--h4-caps-size);
  font-weight: var(--h4-caps-weight);
  letter-spacing: var(--h4-caps-tracking);
  line-height: 1;
  color: var(--color-bordo);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-product-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #8a3224;
  color: #eedfd2;
  border: none;
  border-radius: 72.222px;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.18px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  width: fit-content;
}

.btn-product-check:hover {
  opacity: 0.9;
}

/* ============================================
   QUIZ SECTION (Full-width with BG)
   ============================================ */
.quiz-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 124px 300px;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
              url('../assets/images/frame-1140.png');
  background-size: cover;
  background-position: center;
}

.quiz-main-heading {
  width: 100%;
  font-family: var(--font-inter);
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  font-style: italic;
  letter-spacing: var(--h1-tracking);
  line-height: 1;
  color: #fefdfc;
  text-align: center;
  text-transform: uppercase;
}

.quiz-columns {
  display: flex;
  align-items: flex-start;
  gap: 120px;
  width: 100%;
}

.quiz-col-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  flex: 1;
}

.quiz-col-left .section-heading-h2 {
  max-width: 513px;
}

.quiz-points {
  width: 100%;
  font-family: var(--font-inter);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  letter-spacing: var(--body-tracking);
  line-height: var(--body-line-height);
  color: #fefdfc;
}

.quiz-points ul {
  list-style-type: disc;
  padding-left: 24px;
  margin: 0;
}

.quiz-points ul li {
  margin: 0;
}

.quiz-col-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  flex: 1;
}

.quiz-right-text {
  width: 100%;
  font-family: var(--font-inter);
  font-weight: 400;
  color: #fefdfc;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.16px;
}

.quiz-right-text strong {
  font-weight: 700;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  padding: 0;
}

.testimonials-bg-vector {
  position: absolute;
  top: -421px;
  left: 179px;
  width: 1614px;
  height: 1347px;
  pointer-events: none;
  z-index: 0;
}

.testimonials-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 804px;
  width: 100%;
}

.testimonials-subtitle {
  width: 100%;
  font-family: var(--font-inter);
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  letter-spacing: var(--h4-tracking);
  line-height: var(--h4-line-height);
  color: var(--color-aura-grey);
  text-align: center;
}

.testimonials-cards {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 64px;
  max-width: 1490px;
  width: 100%;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 454px;
  align-items: center;
  gap: 38px;
  padding: 46px 32px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-bordo);
}

.testimonial-card-header {
  display: flex;
  flex-direction: column;
  height: 85px;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.testimonial-logo {
  width: 153.93px;
  height: 32px;
  object-fit: contain;
}

.testimonial-rating {
  display: flex;
  height: 37px;
  align-items: center;
  justify-content: center;
  gap: 19.5px;
}

.rating-text {
  width: 61px;
  height: 31px;
  font-family: var(--font-poppins);
  font-weight: 500;
  color: var(--color-aura-grey);
  font-size: 22.6px;
  text-align: center;
  line-height: normal;
}

.rating-stars {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7.29px;
}

.star-icon {
  width: 21.42px;
  height: 20.38px;
}

.testimonial-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  gap: 40px;
}

.testimonial-review {
  width: 100%;
  font-family: var(--font-inter);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  letter-spacing: var(--body-tracking);
  line-height: var(--body-line-height);
  color: var(--color-aura-grey);
}

.testimonial-author {
  width: 100%;
  font-family: var(--font-inter);
  font-weight: 400;
  font-style: italic;
  color: var(--color-aura-grey);
  font-size: 16px;
  letter-spacing: -0.16px;
  line-height: 22.4px;
}

/* ============================================
   ARTICLES SECTION
   ============================================ */
.articles-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 100px;
  width: 100%;
  padding: 124px 148px;
  background-color: var(--color-grey);
}

.articles-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 804px;
}

.articles-subtitle {
  width: 100%;
  font-family: var(--font-inter);
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  letter-spacing: var(--h4-tracking);
  line-height: var(--h4-line-height);
  color: var(--color-aura-grey);
  text-align: center;
}

.articles-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1490px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 70px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-dark-rect);
  border-radius: 999px;
  cursor: pointer;
  color: var(--color-aura-grey);
  padding: 0;
  transition: opacity 0.2s;
}

.carousel-arrow:hover {
  opacity: 0.7;
}

.carousel-arrow-left {
  right: calc(100% + 24px);
  transform: translateY(-50%) rotate(180deg);
}

.carousel-arrow-right {
  left: calc(100% + 24px);
}

.articles-carousel {
  display: flex;
  align-items: stretch;
  gap: 40px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.article-card {
  display: flex;
  flex-direction: column;
  width: 460px;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background-color: var(--color-off-white);
  border-radius: 16px;
  border: 1px solid var(--color-dark-rect);
  flex-shrink: 0;
}

.article-card-image {
  width: 100%;
  height: 248px;
  border-radius: 4px;
  object-fit: cover;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  gap: 40px;
}

.article-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
}

.article-card-title {
  width: 100%;
  font-family: var(--font-inter);
  font-weight: 600;
  color: var(--color-aura-grey);
  font-size: 20px;
  letter-spacing: -0.2px;
  line-height: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  width: 100%;
  min-height: 124px;
  background-color: var(--color-grey);
}

/* ============================================
   QUIZ MODAL
   ============================================ */
.quiz-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(60, 57, 53, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quiz-modal-overlay.open {
  display: flex;
}

.quiz-modal {
  position: relative;
  background: #fefdfc;
  border-radius: 20px;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  animation: quizFadeIn 0.35s ease;
  box-shadow: 0px 7px 15px rgba(0,0,0,0.1), 0px 27px 27px rgba(0,0,0,0.09), 0px 60px 36px rgba(0,0,0,0.05), 0px 107px 43px rgba(0,0,0,0.01), 0px 166px 47px rgba(0,0,0,0);
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.quiz-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.quiz-progress-segments {
  display: flex;
  gap: 24px;
  align-items: center;
}

.quiz-segment {
  width: 64px;
  height: 5px;
  border-radius: 50px;
  background: #eeedeb;
  transition: background-color 0.3s ease;
}

.quiz-segment.active {
  background: #562f23;
}

.quiz-modal-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3c3935;
  opacity: 0.5;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.quiz-modal-close:hover {
  opacity: 1;
}

.quiz-step {
  display: none;
  flex-direction: column;
}

.quiz-step.active {
  display: flex;
}

.quiz-step-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 56px;
}

.quiz-step-label {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.16px;
  text-transform: uppercase;
  color: #3c3935;
  line-height: 29px;
}

.quiz-step-heading {
  font-family: var(--font-inter);
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: #3c3935;
  letter-spacing: -0.28px;
  text-transform: uppercase;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 21.5px 34.8px;
  border: 1px solid #8a3224;
  border-radius: 695px;
  background: #fefdfc;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  font-family: var(--font-inter);
  text-align: left;
  width: 100%;
}

.quiz-option:hover {
  background-color: rgba(173, 103, 82, 0.08);
}

.quiz-option.selected {
  border-color: #fefdfc;
  background-color: #ad6752;
}

.quiz-option.selected .quiz-option-text {
  color: #fefdfc;
}

.quiz-option-text {
  font-weight: 400;
  font-size: 20px;
  color: #141415;
  line-height: 23.9px;
  text-align: left;
}

.quiz-modal-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 29px;
}

.quiz-modal-nav.hidden {
  display: none;
}

.quiz-nav-back {
  display: none;
  align-items: center;
  padding: 8.7px 17.3px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: #343434;
  border-radius: 72px;
  transition: opacity 0.2s;
}

.quiz-nav-back.visible {
  display: flex;
}

.quiz-nav-back:hover {
  opacity: 0.7;
}

.btn-quiz-next {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: #8a3224;
  color: #eedfd2;
  border: none;
  border-radius: 72px;
  cursor: pointer;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.2px;
  transition: opacity 0.2s;
}

.btn-quiz-next:hover {
  opacity: 0.9;
}

.btn-quiz-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.quiz-result {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
}

.quiz-result-heading {
  font-family: var(--font-inter);
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  line-height: 1.2;
  color: #3c3935;
  letter-spacing: -0.28px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.quiz-result-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 24px;
}

.quiz-result-img {
  width: 200px;
  height: 284px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.quiz-result-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.quiz-result-title {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 20px;
  color: #141415;
  line-height: 23.9px;
}

.quiz-result-personality {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 18px;
  color: #141415;
  line-height: 23.9px;
}

.quiz-result-product-text {
  width: 100%;
  margin-bottom: 48px;
}

.quiz-result-product-text p {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 18px;
  color: #141415;
  line-height: 23.9px;
}

.quiz-result-product-text strong {
  font-weight: 700;
}

.quiz-result-form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.quiz-result-form-header {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.quiz-result-form-desc {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 18px;
  color: #141415;
  line-height: 23.9px;
}

.quiz-result-form-desc strong {
  font-weight: 700;
}

.quiz-result-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.quiz-result-form .quiz-form-input + .quiz-form-input {
  margin-top: -4px;
}

.quiz-form-input {
  width: 100%;
  padding: 12px 24px;
  background: #f3f0ee;
  border: none;
  border-radius: 695px;
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 16px;
  color: #141415;
  line-height: 23.9px;
  outline: none;
  box-sizing: border-box;
}

.quiz-form-input::placeholder {
  color: #6f6f6f;
}

.quiz-form-input:focus {
  box-shadow: 0 0 0 2px rgba(138, 50, 36, 0.2);
}

.quiz-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  position: relative;
  user-select: none;
  width: 100%;
}

.quiz-consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quiz-consent-checkmark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #a2a2a2;
  border-radius: 4.18px;
  background: #f6f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.2s, border-color 0.2s;
}

.quiz-consent-checkbox:checked + .quiz-consent-checkmark {
  background: #8a3224;
  border-color: #8a3224;
}

.quiz-consent-checkbox:checked + .quiz-consent-checkmark::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.quiz-consent-text {
  font-family: var(--font-inter);
  font-weight: 400;
  font-size: 10px;
  color: #383838;
  line-height: normal;
  letter-spacing: 0.1px;
}

.quiz-consent-link {
  color: #383838;
  text-decoration: underline;
}

.quiz-consent-label.error .quiz-consent-checkmark {
  border-color: #e53935;
}

.quiz-form-submit {
  width: 100%;
  padding: 20px 24px;
  background: #8a3224;
  color: #eedfd2;
  border: none;
  border-radius: 72px;
  cursor: pointer;
  font-family: var(--font-inter);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.2px;
  transition: opacity 0.2s;
}

.quiz-form-submit:hover {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .quiz-modal {
    padding: 28px 20px;
    gap: 28px;
    max-width: 100%;
  }

  .quiz-progress-segments {
    gap: 12px;
  }

  .quiz-segment {
    width: 40px;
  }

  .quiz-modal-close {
    width: 36px;
    height: 36px;
  }

  .quiz-step-header {
    margin-bottom: 32px;
  }

  .quiz-step-heading {
    font-size: 22px;
  }

  .quiz-step-label {
    font-size: 14px;
  }

  .quiz-option {
    padding: 16px 24px;
  }

  .quiz-option-text {
    font-size: 16px;
  }

  .quiz-modal-nav {
    gap: 16px;
  }

  .quiz-nav-back,
  .btn-quiz-next {
    font-size: 16px;
  }

  .btn-quiz-next {
    padding: 16px 24px;
  }

  .quiz-result-card {
    flex-direction: column;
    align-items: center;
  }

  .quiz-result-img {
    width: 160px;
    height: 227px;
  }

  .quiz-result-heading {
    font-size: 22px;
  }

  .quiz-result-title,
  .quiz-result-form-title {
    font-size: 18px;
  }

  .quiz-result-personality,
  .quiz-result-product-text p,
  .quiz-result-form-desc,
  .quiz-form-input {
    font-size: 16px;
  }

  .quiz-form-submit {
    font-size: 18px;
    padding: 16px 20px;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 1024px) {
  .hero-section {
    min-height: 1000px;
  }

  .hero-content {
    padding: 128px 300px;
    min-height: 1000px;
  }
}

@media (max-width: 1600px) {
  .hero-content {
    padding-left: 60px;
    padding-right: 60px;
  }

  .why-inner {
    gap: 80px;
  }

  .why-images {
    width: 480px;
  }

  .why-collage-img {
    width: 608px;
    margin-left: -82px;
  }

  .why-text {
    width: auto;
    flex: 1;
    margin-right: 0;
  }

  .products-highlight-inner {
    gap: 80px;
  }

  .product-card-inner {
    gap: 80px;
  }

  .testimonials-cards {
    max-width: 100%;
    padding: 0 60px;
  }

  .carousel-arrow-left {
    right: calc(100% + 16px);
  }

  .carousel-arrow-right {
    left: calc(100% + 16px);
  }
}

@media (max-width: 1400px) {
  .page-wrapper > section + section {
    margin-top: 80px;
  }

  .why-inner {
    gap: 60px;
  }

  .why-images {
    width: 400px;
  }

  .why-collage-img {
    width: 509px;
    margin-left: -69px;
  }

  .quiz-banner-section {
    padding: 40px 60px;
  }

  .products-highlight-inner {
    gap: 60px;
  }

  .products-highlight-img {
    max-width: 400px;
  }

  .product-card-inner {
    gap: 60px;
  }

  .product-card-image {
    width: 300px;
    height: 340px;
  }

  .quiz-section {
    padding: 100px 60px;
  }

  .articles-section {
    padding: 100px 60px;
  }

  .testimonials-cards {
    gap: 32px;
  }

  .testimonial-card {
    max-width: none;
    flex: 1;
    min-width: 280px;
    padding: 36px 28px;
  }

  .articles-carousel-wrapper {
    max-width: calc(100% - 180px);
  }
}

@media (max-width: 1200px) {
  .page-wrapper > section + section {
    margin-top: 60px;
  }

  .hero-content {
    padding-left: 40px;
    padding-right: 40px;
  }

  .why-inner {
    flex-direction: column;
    padding: 0 40px;
    gap: 60px;
  }

  .why-images {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .why-text {
    width: 100%;
    margin-right: 0;
  }

  .quiz-banner-section {
    padding: 40px 40px;
  }

  .products-header {
    padding: 0 40px;
  }

  .products-highlight-inner {
    flex-direction: column;
    gap: 40px;
    padding: 40px 40px;
    align-items: center;
  }

  .products-highlight-img {
    max-width: 500px;
    width: 100%;
  }

  .products-highlight-text {
    max-width: 100%;
  }

  .product-card-inner {
    flex-direction: column !important;
    padding: 60px 40px;
    gap: 40px;
    align-items: center;
  }

  .product-card-image {
    order: -1;
    width: 100%;
    max-width: 360px;
    height: 340px;
  }

  .product-card-text {
    order: 1;
    max-width: 100%;
  }

  .quiz-section {
    padding: 80px 40px;
  }

  .quiz-columns {
    flex-direction: column;
    gap: 60px;
  }

  .articles-section {
    padding: 80px 40px;
  }

  .carousel-arrow {
    width: 56px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 14px;
  }

  .carousel-arrow-left {
    right: calc(100% + 8px);
  }

  .carousel-arrow-right {
    left: calc(100% + 8px);
  }

  .article-card {
    width: 380px;
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 28px;
    --h2-size: 22px;
    --h3-caps-size: 16px;
    --h4-size: 16px;
    --h4-caps-size: 14px;
    --body-size: 15px;
  }

  .hero-section {
    min-height: 600px;
  }

  .hero-content {
    padding: 80px 20px;
    min-height: 600px;
  }

  .hero-heading {
    font-size: 24px;
    letter-spacing: -0.24px;
  }

  .hero-logo {
    width: 200px;
  }

  .hero-text-block {
    gap: 32px;
  }

  .why-inner {
    padding: 40px 20px;
    gap: 40px;
  }

  .why-images {
    height: auto;
    display: none;
  }

  .quiz-banner-section {
    padding: 40px 16px;
  }

  .quiz-banner-inner {
    padding: 40px 20px;
  }

  .products-header {
    padding: 0 20px;
  }

  .products-highlight-inner {
    padding: 40px 20px;
    gap: 30px;
  }

  .product-card-inner {
    padding: 40px 20px;
    gap: 30px;
  }

  .product-card-image {
    width: 100%;
    height: 300px;
  }

  .quiz-section {
    padding: 60px 20px;
    gap: 40px;
  }

  .quiz-columns {
    gap: 40px;
  }

  .testimonials-header {
    padding: 0 20px;
    text-align: center;
  }

  .testimonials-cards {
    gap: 32px;
    padding: 0 20px;
  }

  .testimonial-card {
    max-width: 100%;
  }

  .testimonials-bg-vector {
    display: none;
  }

  .page-wrapper > section + section {
    margin-top: 40px;
  }

  .articles-section {
    padding: 60px 16px;
    gap: 60px;
  }

  .articles-carousel-wrapper {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .carousel-arrow {
    position: static;
    transform: none;
  }

  .carousel-arrow-left {
    transform: rotate(180deg);
    order: 1;
  }

  .carousel-arrow-right {
    order: 2;
  }

  .articles-carousel {
    order: 0;
    width: 100%;
  }

  .article-card {
    width: 300px;
  }

  .article-card-image {
    height: 180px;
  }

  .product-badge {
    white-space: normal;
  }

  .testimonials-cards {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .hero-heading {
    font-size: 22px;
    letter-spacing: -0.22px;
  }

  .btn-lg {
    padding: 16px 20px;
  }

  .article-card {
    width: 260px;
  }
}
@media (max-width: 768px) {
  
  /* 1. Naprawa ucinającego się słowa "WSPARCIE" w sekcji Hero */
  .hero-heading-bold {
    display: inline-block;
    max-width: 90% !important; 
    white-space: normal !important;
    word-break: keep-all !important;
  }
  .hero-heading span:not(.hero-heading-bold) {
    white-space: nowrap !important;
  }

  /* 2. Wyśrodkowanie i oddech dla nagłówka z opiniami */
  .testimonials-section .section-heading-h1 {
    text-align: center !important;
  }
  .testimonials-header {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 3. Pełnoekranowy slider artykułów (magnetyczne przeskakiwanie) */
  .articles-carousel {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    width: 100% !important;
    gap: 16px !important; 
    -ms-overflow-style: none; /* Ukrywa pasek przewijania IE/Edge */
    scrollbar-width: none;    /* Ukrywa pasek przewijania Firefox */
  }
  .articles-carousel::-webkit-scrollbar {
    display: none;            /* Ukrywa pasek przewijania Chrome/Safari */
  }
  .article-card {
    flex: 0 0 100% !important; 
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-align: center !important; /* Wymusza centrowanie karty po przewinięciu */
  }

  /* 4. Przycisk "PRZECZYTAJ WPIS" na całą szerokość karty */
  .btn-article {
    width: 100% !important;
  }
}

/* =========================================
   5. Wyłączenie efektu "szarego przycisku" (Sticky Hover) na telefonach
   ========================================= */
@media (hover: none) {
  .carousel-arrow:hover,
  .carousel-arrow:focus,
  .carousel-arrow:active {
    opacity: 1 !important; 
  }
}
/* =========================================
   1. STYLOWANIE GŁÓWNEGO PASKA PROMO (#top_header)
   Tylko dla ekranów powyżej 1025px (desktop)
   ========================================= */
@media screen and (min-width: 1025px) {
    /* Sztywne wymiary paska (40px) */
    #top_header {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        padding: 3px 0 !important; 
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Globalne wymuszenie czcionki (14px) w pasku */
    #top_header p, 
    #top_header a {
        font-size: 14px !important;
        font-family: inherit !important;
    }

    /* Centrowanie kontenera */
    #top_header .container {
        padding: 0 !important; 
        margin: 0 auto !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Ustawienie szerokości (1130px), wysokości (34px) i marginesu (-15px) */
    #top_header .header-content {
        width: 1130px !important;
        max-width: 100% !important; 
        height: 34px !important;
        margin: 0 -15px !important; 
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
    }

    /* Kolumny wewnątrz (wyśrodkowane w pionie) */
    #top_header .col-auto {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        flex: 0 0 auto !important;
    }

    #top_header .text {
      flex: 0 0 auto !important;
      white-space: nowrap !important;
    }

    /* Tekst paska - linia wyrównana do wysokości wnętrza (34px) */
    #top_header .text p {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 34px !important; 
        display: block !important;
        font-weight: 300 !important;
        font-size: 14px !important;
        letter-spacing: 0 !important;
    }

    /* Zabezpieczenie na domyślne marginesy przycisku */
    #top_header .btn {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
    }

    /* PRZYCISK PIGUŁKA - wymiary ze screena z odcięciem narzuconego fontu */
    #top_header .btn-sm {
        /* Model pudełkowy wg. obrazka */
        padding: 6px 8px !important;
        border-width: 1px !important;
        border-style: solid !important;
        margin: 1px 0 !important; 
        line-height: 18px !important; 
        height: auto !important; 
        display: inline-flex !important;
        align-items: center !important;
        white-space: nowrap !important;
        
        /* Zaokrąglenia i kolory bazowe */
        border-radius: 50px !important;       
        background-color: #f8f9fa !important; 
        border-color: #f8f9fa !important;     
        color: #343a40 !important;            
        text-decoration: none !important;     
        
        /* Oczyszczenie z agresywnej klasy .btn w motywie */
        font-size: 12px !important; 
        font-weight: 400 !important;
        font-family: inherit !important; 
        letter-spacing: normal !important; 
        text-transform: none !important; 
        
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !important;
    }

    /* Stan po najechaniu myszką */
    #top_header .btn-sm:hover {
        background-color: #e2e6ea !important; 
        border-color: #dae0e5 !important;
        color: #212529 !important; 
        text-decoration: none !important;
        cursor: pointer !important;
    }

    /* Tło pod całym banerem */
    .topka {
        margin-top: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
        display: block !important;
        background-color: #f8f9fa !important;
    }
}

/* =========================================
   2. NAPRAWA PRZYCISKU NA BLOGU (.btn-article)
   Usuwa efekt niebieskiego przycisku przy kliknięciu (poza media query)
   ========================================= */
a.btn.btn-primary.btn-article:active,
a.btn.btn-primary.btn-article:focus,
a.btn.btn-primary.btn-article:active:focus {
    box-shadow: none !important;
    outline: none !important;
    background-color: var(--color-bordo) !important; 
    border-color: var(--color-bordo) !important;
    color: #fff !important;
}

footer#footer.site-footer.mt-5 {
    margin-top: 0 !important;
}

/* Ukrycie pustej stopki z szablonu, jeśli nie jest używana */
main.page-wrapper > footer[data-testid="footer"] {
    display: none !important;
}

html, body {
    overflow-x: hidden;
}

/* Zabezpieczenie kontenera głównego */
.page-wrapper {
    overflow-x: hidden;
    width: 100%;
}

/* Footer icon list alignment fixes */
.main_footer .responsive-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main_footer .icon-list-2-wrapper.new_list2 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}

.main_footer .icon-list-2-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 1 1 180px;
  min-width: 160px;
}

.main_footer .icon-list-2-item img {
  display: block;
  margin: 0 auto;
  max-width: 84px;
  height: auto;
}