/* TravelTECH Internship – strona statyczna (tylko main) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #262626;
  background: #fff;
}

main.page {
  min-height: 100vh;
}

/* ----- Breadcrumbs ----- */
.breadcrumbs {
  background: #fff;
  color: #00479A;
}

.breadcrumbs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 12px 12px;
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  min-width: max-content;
}

.breadcrumbs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00479A;
  text-decoration: none;
  white-space: nowrap;
}

.breadcrumbs-link:hover {
  opacity: 0.8;
}

.breadcrumbs-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.breadcrumbs-sep {
  color: #7D7D7D;
  margin: 0 4px;
}

.breadcrumbs-sep::before {
  content: ">";
}

.breadcrumbs-current {
  font-weight: 600;
  color: #00479A;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .breadcrumbs-inner {
    padding: 24px 16px;
    gap: 16px;
  }
}

/* ----- Hero ----- */
/* Mobile: obrazek na górze, potem treść wyśrodkowana (max-w 351px). Desktop: treść lewo, obrazek prawo. */
.intern-hero {
  background: #fff;
  padding: 40px 12px;
}

@media (min-width: 768px) {
  .intern-hero {
    padding: 48px 12px 96px;
  }
}

.intern-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

@media (min-width: 1024px) {
  .intern-hero-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    text-align: left;
  }
}

/* Na mobile obrazek pierwszy wizualnie; na desktop treść pierwsza (lewo) – order */
.intern-hero-img-wrap {
  width: 100%;
  max-width: 351px;
  overflow: hidden;
  border-radius: 16px;
  background: #F3F3F3;
}

@media (min-width: 1024px) {
  .intern-hero-img-wrap {
    order: 2;
    flex-shrink: 0;
    max-width: 576px;
    aspect-ratio: 480 / 360;
  }
}

.intern-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intern-hero-content {
  flex: 1;
  max-width: 351px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .intern-hero-content {
    order: 1;
    max-width: 672px;
    align-items: flex-start;
    padding-top: 40px;
    gap: 32px;
  }
}

.intern-hero-content .intern-hero-title,
.intern-hero-content .intern-hero-subtitle {
  text-align: center;
}

@media (min-width: 1024px) {
  .intern-hero-content .intern-hero-title,
  .intern-hero-content .intern-hero-subtitle {
    text-align: left;
  }
}

.intern-hero-title {
  margin: 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .intern-hero-title {
    font-size: 60px;
    line-height: 60px;
  }
}

.intern-hero-title--blue {
  color: #1152d4;
}

.intern-hero-title--black {
  color: #262626;
}

.intern-hero-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  color: #515151;
}

@media (min-width: 768px) {
  .intern-hero-subtitle {
    font-size: 20px;
    line-height: 30px;
  }
}

/* Przycisk pomarańczowy (gradient jak PrimaryButton): #FF4500 → #FFA500 */
.intern-hero-cta {
  display: inline-block;
  max-width: max-content;
  padding: 2px;
  background: linear-gradient(to right, #FF4500, #FFA500);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.intern-hero-cta span {
  display: block;
  padding: 12px 36px;
  background: transparent;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.intern-hero-cta:hover {
  color: #000;
}

.intern-hero-cta:hover span {
  background: #fff;
}

/* ----- Stats ----- */
.intern-stats {
  border-bottom: 1px solid #e2e8f0;
  background: #f3f4f6;
  padding: 48px 0;
}

.intern-stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .intern-stats-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }
}

.intern-stats-item {
  flex: 1;
  min-width: 0;
  border-left: 4px solid #1152d4;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intern-stats-value {
  font-size: 40px;
  line-height: 50px;
  font-weight: 500;
  color: #1e293b;
}

.intern-stats-label {
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

/* ----- Program ----- */
.intern-program {
  scroll-margin-top: 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .intern-program {
    padding: 96px 0;
  }
}

.intern-program-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .intern-program-inner {
    gap: 24px;
  }
}

.intern-program-heading {
  margin: 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  text-align: center;
  color: #0d121b;
}

@media (min-width: 768px) {
  .intern-program-heading {
    font-size: 40px;
    line-height: 50px;
  }
}

.intern-program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .intern-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.program-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f6f6f8;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.program-card-img-wrap {
  height: 264px;
  width: 100%;
  overflow: hidden;
}

.program-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.program-card-title {
  margin: 0;
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  color: #515151;
}

.program-card-title--blue {
  color: #1152d4;
}

.program-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.program-card-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

.program-card-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8l4 4 8-8' stroke='%231152d4' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ----- Topics ----- */
.intern-topics {
  border-bottom: 1px solid #e2e8f0;
  background: #f6f6f8;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .intern-topics {
    padding: 64px 0;
  }
}

.intern-topics-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .intern-topics-inner {
    gap: 40px;
  }
}

.intern-topics-heading {
  margin: 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  color: #0d121b;
}

@media (min-width: 768px) {
  .intern-topics-heading {
    font-size: 40px;
    line-height: 50px;
  }
}

.intern-topics-intro {
  margin: 0;
  max-width: 880px;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

@media (min-width: 768px) {
  .intern-topics-intro {
    font-size: 18px;
    line-height: 28px;
  }
}

.intern-topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .intern-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .intern-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.topic-card-icon {
  width: 30px;
  height: 36px;
  object-fit: contain;
}

.topic-card-title {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #111827;
}

.topic-card-text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

/* ----- Real projects ----- */
.intern-real {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .intern-real {
    padding: 96px 0;
  }
}

.intern-real-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
}

@media (min-width: 1024px) {
  .intern-real-inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
}

.intern-real-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .intern-real-content {
    gap: 40px;
  }
}

.intern-real-heading {
  margin: 0;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  color: #262626;
}

@media (min-width: 768px) {
  .intern-real-heading {
    font-size: 40px;
    line-height: 50px;
  }
}

.intern-real-heading--blue {
  color: #1152d4;
}

.intern-real-intro {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

@media (min-width: 768px) {
  .intern-real-intro {
    font-size: 18px;
    line-height: 28px;
  }
}

.intern-real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .intern-real-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.intern-real-box {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.intern-real-box-title {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #111827;
}

.intern-real-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.intern-real-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

.intern-real-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 8l4 4 8-8' stroke='%231152d4' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.intern-real-img-wrap {
  width: 100%;
  min-width: 300px;
  min-height: 432px;
  max-width: 500px;
  margin: 0 auto;
}

.intern-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ----- Career path ----- */
.intern-career {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .intern-career {
    padding: 96px 0;
  }
}

.intern-career-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column-reverse;
  gap: 32px;
  border-radius: 16px;
}

@media (min-width: 768px) {
  .intern-career-inner {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 49px;
    border: 1px solid #e5e7eb;
    background: #f6f6f8;
  }
}

.intern-career-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intern-career-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.intern-career-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #dcfce7;
}

.intern-career-icon {
  width: 24px;
  height: 24px;
  color: #15803D;
}

.intern-career-heading {
  margin: 0;
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  color: #0d121b;
}

.intern-career-intro {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

.intern-career-benefits {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intern-career-benefits-prefix {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

.intern-career-benefits-list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
  font-size: 16px;
  line-height: 26px;
  color: #515151;
}

.intern-career-img-wrap {
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .intern-career-img-wrap {
    width: 416px;
    aspect-ratio: 480 / 360;
  }
}

.intern-career-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ----- Discover more ----- */
.intern-discover {
  background: #f6f6f8;
  padding: 48px 0;
}

@media (min-width: 768px) {
  .intern-discover {
    padding: 96px 0;
  }
}

.intern-discover-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}

.intern-discover-heading {
  margin: 0 0 16px;
  text-align: center;
  font-size: 26px;
  line-height: 34px;
  font-weight: 500;
  color: #0d121b;
}

@media (min-width: 768px) {
  .intern-discover-heading {
    margin-bottom: 24px;
    font-size: 40px;
    line-height: 50px;
  }
}

.intern-discover-line {
  width: 96px;
  height: 6px;
  margin: 0 auto 32px;
  border-radius: 9999px;
  background: #1152d4;
}

@media (min-width: 768px) {
  .intern-discover-line {
    margin-bottom: 48px;
  }
}

.intern-discover-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: max-content;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .intern-discover-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .intern-discover-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.discover-card {
  max-width: 302px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.discover-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.discover-card-img-wrap {
  height: 142px;
  width: 100%;
  overflow: hidden;
}

.discover-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 32px 32px;
}

.discover-card-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  color: #262626;
}

.discover-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: #515151;
}

.discover-card-link {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #00479a;
}
