/* --- VARIABLES --- */
:root {
  /* Palette: Bauhaus Revival */
  --color-bg: #f4f4f0; /* Off-white paper feel */
  --color-text: #1a1a1a;
  --color-primary: #2d58f0; /* Klein Blue */
  --color-accent-red: #e94b35; /* Bauhaus Red */
  --color-accent-yellow: #f2c94c; /* Bauhaus Yellow */
  --color-dark: #121212;
  --color-border: #121212; /* Strong borders */

  /* Spacing & Layout */
  --container-width: 1280px;
  --header-height: 80px;
  --border-width: 2px;
  --border-radius-bento: 0px; /* Sharp corners for Bauhaus */

  /* Fonts */
  --font-main: "Manrope", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
}

/* --- RESET & GLOBAL --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-bg);
  border-bottom: var(--border-width) solid var(--color-border);
  z-index: 100;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.header__logo-img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__list {
  display: flex;
  gap: 32px;
}

.header__link {
  font-weight: 500;
  position: relative;
  font-size: 1rem;
}

/* Micro-interaction: Bauhaus Underline */
.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 4px;
  background-color: var(--color-accent-red);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__link:hover::after {
  width: 100%;
}

.header__cta {
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border: var(--border-width) solid var(--color-border);
  box-shadow: 4px 4px 0px var(--color-border);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.header__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--color-border);
  background-color: var(--color-accent-yellow);
  color: var(--color-dark);
}

.header__cta:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--color-border);
}

.header__toggle,
.header__close {
  display: none;
  font-size: 24px;
}

/* --- MOBILE NAV --- */
@media (max-width: 992px) {
  .header__list {
    display: none; /* Hide desktop list */
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s ease;
    border-left: var(--border-width) solid var(--color-border);
    z-index: 200;
  }

  .header__nav.active {
    right: 0;
  }

  .header__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .header__link {
    font-size: 1.5rem;
    font-family: var(--font-display);
  }

  .header__toggle {
    display: block;
    margin-left: 20px;
  }

  .header__close {
    display: block;
    position: absolute;
    top: 24px;
    right: 20px;
  }

  .header__actions .header__cta {
    display: none; /* Hide CTA on mobile header, usually put inside menu or kept simple */
  }
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-text);
  color: #fff;
  padding: 80px 0 20px;
  margin-top: auto;
  border-top: var(--border-width) solid var(--color-border);
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Bento Grid proportions */
  gap: 40px;
  margin-bottom: 60px;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: var(--color-accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer__logo-slogan {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 20px;
  font-style: italic;
}

.footer__desc {
  font-size: 0.95rem;
  color: #bbb;
  max-width: 300px;
  line-height: 1.5;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: #eee;
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s;
}

.footer__link:hover {
  color: var(--color-accent-yellow);
  padding-left: 10px;
}

/* Diagonal arrow effect on hover */
.footer__link:hover::before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #eee;
}

.footer__icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent-red);
  flex-shrink: 0;
}

.footer__note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--color-accent-yellow);
  border: 1px solid var(--color-accent-yellow);
  padding: 8px;
  text-align: center;
  font-family: var(--font-display);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    left: 0;
  }
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* --- HERO SECTION (Bento Grid) --- */
.hero {
  /* Offset for fixed header */
  padding-top: var(--header-height);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-bg);
}

.hero__container {
  max-width: var(--container-width);
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;

  /* Grid Layout */
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Common Bento Box Style */
.bento-box {
  background-color: #fff;
  border: var(--border-width) solid var(--color-border);
  padding: 40px;
  position: relative;
  box-shadow: 8px 8px 0px var(--color-border); /* Hard shadow */
  transition: transform 0.3s ease;
}

.bento-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0px var(--color-border);
}

/* 1. Main Content Block */
.hero__content {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-accent-yellow);
  color: var(--color-dark);
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: var(--border-width) solid var(--color-border);
  margin-bottom: 24px;
  width: fit-content;
}

.hero__title {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.highlight--yellow {
  background: linear-gradient(
    120deg,
    var(--color-accent-yellow) 0%,
    var(--color-accent-yellow) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 85%;
}

.hero__desc {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
  max-width: 90%;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

/* Button Styles */
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  border: var(--border-width) solid var(--color-border);
  transition: all 0.2s;
  font-size: 1rem;
}

.btn--primary {
  background-color: var(--color-accent-red);
  color: #fff;
  box-shadow: 4px 4px 0px var(--color-dark);
}

.btn--primary:hover {
  background-color: var(--color-dark);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--color-primary);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-dark);
}

.btn--outline:hover {
  background-color: var(--color-accent-yellow);
  box-shadow: 4px 4px 0px var(--color-dark);
}

.hero__subtext {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__subtext i {
  width: 16px;
  color: var(--color-primary);
}

/* 2. Visual Block (Canvas) */
.hero__visual {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-primary);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bauhausCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__visual-overlay {
  position: absolute;
  right: 20px;
  top: 20px;
  bottom: 20px;
  width: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
}

/* 3. Stats Block */
.hero__stats {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background-color: var(--color-dark);
  color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-yellow);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: #ccc;
  max-width: 150px;
  display: block;
}

/* Mobile Adaptation */
@media (max-width: 992px) {
  .hero__title {
    font-size: 3rem;
  }

  .hero__container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .hero__content {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero__visual {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 250px;
  }

  .hero__stats {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__btn {
    width: 100%;
  }
}

/* --- GLOBAL SECTION STYLES --- */
.section {
  padding: 100px 0;
  border-bottom: var(--border-width) solid var(--color-border);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 60px;
  max-width: 600px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.1rem;
  color: #555;
}

/* Highlights */
.highlight--red {
  color: var(--color-accent-red);
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.highlight--blue {
  background-color: var(--color-primary);
  color: #fff;
  padding: 0 10px;
}

/* --- COURSES (BENTO GRID) --- */
.courses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 20px;
}

.course-card {
  border: var(--border-width) solid var(--color-border);
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

/* Hover Effect: Lift + Shadow */
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0px var(--color-border);
}

.course-card--large {
  grid-column: span 2;
  grid-row: span 2;
  background-color: #fff;
}

.course-card--wide {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: var(--color-bg);
}

.course-card__icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-width) solid var(--color-border);
  margin-bottom: 20px;
}

.course-card__icon-box i {
  width: 32px;
  height: 32px;
  color: var(--color-dark);
}

.bg-blue {
  background-color: var(--color-primary);
}
.bg-yellow {
  background-color: var(--color-accent-yellow);
}
.bg-red {
  background-color: var(--color-accent-red);
}

.course-card__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.course-card--large .course-card__title {
  font-size: 2.5rem;
}

.course-card__desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.course-card__list {
  margin-bottom: 30px;
}

.course-card__list li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.course-card__list li::before {
  content: "■";
  color: var(--color-accent-red);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8em;
}

.course-card__link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: auto;
}

.course-card__link:hover {
  color: var(--color-primary);
  gap: 10px; /* sliding arrow */
}

/* CTA Block Specifics */
.cta-block {
  justify-content: space-between;
  border-style: dashed;
}

.cta-block__text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

/* --- METHODOLOGY (Horizontal Process) --- */
.methodology {
  background-color: #fff;
}

.methodology__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  gap: 20px;
}

.step-card {
  flex: 1;
  border: var(--border-width) solid var(--color-border);
  padding: 24px;
  background: var(--color-bg);
  min-height: 240px;
  transition: transform 0.3s;
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  line-height: 1;
}

.step-card__title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.step-card__text {
  font-size: 0.9rem;
  color: #555;
}

/* Visual Connector */
.step-connector {
  height: 2px;
  background-color: var(--color-border);
  flex-grow: 0;
  width: 30px;
  align-self: center;
  margin-top: -40px; /* optical alignment with cards center */
}

.bg-dark {
  background-color: var(--color-dark);
}
.text-white {
  color: #fff;
}
.text-yellow {
  color: var(--color-accent-yellow);
  opacity: 1;
}
.text-gray {
  color: #bbb;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .courses__grid {
    grid-template-columns: 1fr;
  }

  .course-card--large,
  .course-card--wide {
    grid-column: span 1;
    grid-row: auto;
  }

  .cta-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .methodology__steps {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0;
    align-self: center;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

/* --- ANIMATION UTILS --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for methodology steps if needed */
.step-card:nth-child(1) {
  transition-delay: 0.1s;
}
.step-card:nth-child(3) {
  transition-delay: 0.2s;
} /* skipping connector divs */
.step-card:nth-child(5) {
  transition-delay: 0.3s;
}
.step-card:nth-child(7) {
  transition-delay: 0.4s;
}

/* --- MENTORS --- */
.mentors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.mentor-card {
  text-align: center;
}

.mentor-card__img-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  overflow: hidden;
  border: var(--border-width) solid var(--color-border);
  position: relative;
  background-color: #ddd;
}

.mentor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Bauhaus black & white photo style */
  transition: filter 0.3s;
}

.mentor-card:hover .mentor-card__img {
  filter: grayscale(0%);
}

/* Geometric Shapes */
.shape-circle {
  border-radius: 50%;
}
.shape-square {
  border-radius: 0;
}
.shape-arch {
  border-radius: 100px 100px 0 0;
}

.mentor-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.mentor-card__role {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.mentor-card__bio {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

/* --- FAQ --- */
.faq__wrapper {
  max-width: 800px;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.faq__question {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  transition: transform 0.3s;
}

details[open] .faq__icon {
  transform: rotate(45deg); /* Plus becomes X */
}

.faq__answer {
  padding-bottom: 20px;
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

/* --- CONTACT FORM --- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0; /* Bento style merged */
}

.contact__info {
  border-right: none;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.contact__desc {
  margin-bottom: 40px;
  opacity: 0.8;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 500;
}

.contact__form-wrapper {
  padding: 60px 40px;
}

/* Form Styles */
.form__group {
  margin-bottom: 24px;
  position: relative;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.form__input {
  width: 100%;
  padding: 16px;
  border: var(--border-width) solid var(--color-border);
  background-color: var(--color-bg);
  font-family: var(--font-main);
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.2s;
}

.form__input:focus {
  box-shadow: 4px 4px 0px var(--color-primary);
  border-color: var(--color-primary);
}

.form__error {
  color: var(--color-accent-red);
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  height: 12px; /* reserve space */
}

/* Custom Checkbox & Captcha */
.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 12px;
}

.custom-checkbox input {
  display: none; /* Hide default */
}

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkmark::after {
  content: "✓";
  color: #fff;
  font-weight: 900;
  display: none;
}

/* Checked State */
.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

/* Captcha Specifics */
.captcha-box {
  background-color: #f9f9f9;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: fit-content;
  min-width: 250px;
  display: flex;
  justify-content: space-between;
}

.captcha-text {
  font-size: 0.9rem;
  color: #555;
}

.captcha-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-top: 2px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Captcha Loading Logic via CSS classes (toggled by JS) */
.captcha-box.loading .checkmark {
  display: none;
}
.captcha-box.loading .captcha-spinner {
  display: block;
}

.form__submit {
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

.form__submit:disabled {
  background-color: #ccc;
  border-color: #999;
  box-shadow: none;
  cursor: not-allowed;
  color: #666;
  transform: none;
}

/* Success Message */
.form__success {
  display: none;
  text-align: center;
  padding: 40px;
  background-color: #e6fcf5;
  border: 2px solid #0ca678;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
  .mentors__grid {
    grid-template-columns: 1fr;
  }
  .contact__layout {
    grid-template-columns: 1fr;
  }
  .contact__info {
    border-right: 2px solid var(--color-border);
    border-bottom: none;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: -100px; /* Hidden initially */
  left: 20px;
  right: 20px;
  background-color: #fff;
  border: var(--border-width) solid var(--color-border);
  box-shadow: 8px 8px 0px var(--color-dark);
  z-index: 1000;
  padding: 20px;
  transition: bottom 0.5s ease-out;
  max-width: 600px;
  margin: 0 auto;
}

.cookie-popup.active {
  bottom: 20px;
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-popup__text {
  font-size: 0.9rem;
  color: var(--color-dark);
}

.cookie-popup__text a {
  text-decoration: underline;
  color: var(--color-primary);
}

.cookie-popup__btn {
  padding: 8px 24px;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .cookie-popup__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- POLICY PAGES (Privacy, Terms, etc.) --- */
/* Ці стилі працюватимуть на окремих сторінках */
.pages {
  padding: 120px 0 80px; /* Extra top padding for fixed header */
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 4px solid var(--color-accent-yellow);
  text-transform: uppercase;
}

.pages h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.pages p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
  max-width: 800px;
}

.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style: none; /* Custom bullets */
}

.pages ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.pages ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent-red);
  font-weight: bold;
}

.pages a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.pages a:hover {
  background-color: var(--color-accent-yellow);
  color: var(--color-dark);
  text-decoration: none;
}
