/* =============================================
   ODDECH DLA MEDYKA — STYLESHEET
   ============================================= */

:root {
  --teal-light:   rgb(187, 219, 215);   /* 0.733, 0.859, 0.843 */
  --gray-blue:    rgb(157, 162, 178);   /* 0.616, 0.635, 0.698 */
  --blue-light:   rgb(194, 205, 225);   /* 0.761, 0.804, 0.882 */
  --navy:         rgb(63,  75,  103);   /* 0.247, 0.294, 0.404 */
  --teal:         rgb(86,  164, 156);   /* 0.337, 0.643, 0.612 */

  --bg:           #f4f6f9;
  --surface:      #ffffff;
  --text:         var(--navy);
  --text-muted:   var(--gray-blue);
  --accent:       var(--teal);
  --accent-light: var(--teal-light);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:       12px;
  --radius-lg:    24px;
  --max-w:        1100px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
sup { font-size: 0.55em; vertical-align: super; }

/* ── UTILS ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 7rem 0; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s var(--ease-out), transform 0.72s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(244, 246, 249, 0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(244, 246, 249, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(63, 75, 103, 0.08);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav__links a:hover { opacity: 1; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, var(--blue-light) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, var(--teal-light) 0%, transparent 55%),
    var(--bg);
  padding: 8rem 2rem 5rem;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63,75,103,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,75,103,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__content {
  text-align: center;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(86, 164, 156, 0.1);
  border: 1px solid rgba(86, 164, 156, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation-delay: 0.1s;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.8rem;
  animation-delay: 0.2s;
}
.hero__title em {
  font-style: italic;
  color: var(--teal);
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--gray-blue);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation-delay: 0.3s;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation-delay: 0.4s;
}

.hero__badge {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 0.5s;
}
.hero__badge-inner {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--navy);
  font-weight: 600;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: var(--gray-blue);
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(63,75,103,0.25);
}
.btn--primary:hover { box-shadow: 0 8px 24px rgba(63,75,103,0.35); background: var(--teal); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(63,75,103,0.3);
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--sm { padding: 0.55rem 1.3rem; font-size: 0.82rem; }

/* ── SECTION LABELS ── */
.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 2rem;
}
.section__title em { font-style: italic; color: var(--teal); }

/* ── ABOUT ── */
.about { background: var(--surface); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about__body {
  font-size: 1rem;
  color: rgba(63, 75, 103, 0.75);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 3rem;
}
.stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  border: 1px solid rgba(157, 162, 178, 0.2);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(63,75,103,0.08);
}
.stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-card__label {
  font-size: 0.8rem;
  color: var(--gray-blue);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── SCHEDULE ── */
.schedule {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(86,164,156,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.schedule .section__label { color: var(--teal-light); }
.schedule .section__title { color: #fff; }
.schedule .section__title em { color: var(--teal); }

.schedule__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 3rem;
}

.schedule__day {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.schedule__day:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.schedule__day--alt {
  background: rgba(86, 164, 156, 0.1);
  border-color: rgba(86, 164, 156, 0.2);
}

.schedule__day-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}
.schedule__day-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.03em;
}
.schedule__day-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.25rem;
}
.schedule__day-type {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}
.schedule__day-location {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--teal-light);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.5;
}
.schedule__day-location svg { flex-shrink: 0; margin-top: 2px; }
.schedule__day-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.schedule__time {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--teal);
  background: rgba(86,164,156,0.1);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(86,164,156,0.2);
}

.schedule__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ── TOPICS ── */
.topics { background: var(--bg); }
.topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.topic-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(157, 162, 178, 0.15);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
  position: relative;
}
.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(63,75,103,0.1);
}
.topic-card::before {
  content: attr(data-index);
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(157,162,178,0.4);
  font-weight: 300;
}
.topic-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(86, 164, 156, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--teal);
}
.topic-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.topic-card p {
  font-size: 0.88rem;
  color: var(--gray-blue);
  line-height: 1.7;
}
.topic-card--cta {
  background: var(--navy);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.topic-card--cta h3 { color: #fff; font-size: 1.4rem; }
.topic-card--cta p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; flex: 1; }

/* ── AUDIENCE ── */
.audience {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.audience::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(157,162,178,0.12);
  pointer-events: none;
}

.audience__list {
  margin-top: 3rem;
  max-width: 640px;
}
.audience__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(157, 162, 178, 0.15);
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s, padding-left 0.2s;
}
.audience__item:hover { color: var(--teal); padding-left: 0.5rem; }
.audience__item:first-child { border-top: 1px solid rgba(157, 162, 178, 0.15); }
.audience__num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--teal);
  width: 1.5rem;
  flex-shrink: 0;
}

/* ── CONTACT ── */
.contact {
  background: var(--bg);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact__left p {
  font-size: 1rem;
  color: var(--gray-blue);
  line-height: 1.8;
  max-width: 380px;
}
.contact__right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
}
.contact__card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  border: 1px solid rgba(157, 162, 178, 0.18);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, border-color 0.2s;
}
.contact__card:not(.contact__card--info):hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(63,75,103,0.08);
  border-color: var(--teal);
}
.contact__card-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}
.contact__card-value {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 400;
  word-break: break-all;
}

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer__date {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__stats { padding-top: 0; }
  .schedule__grid { grid-template-columns: 1fr; }
  .schedule__divider { display: none; }
  .topics__grid { grid-template-columns: 1fr 1fr; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__badge { display: none; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 5rem 0; }
  .topics__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .about__stats { grid-template-columns: 1fr 1fr; }
}
