:root {
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #12333c;
  --muted: #63757a;
  --line: #d9e0dc;
  --teal: #176f73;
  --teal-dark: #0f5458;
  --coral: #d65a45;
  --mint: #dff1ec;
  --blue: #dcebf1;
  --shadow: 0 20px 60px rgba(18, 51, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 245, 0.92);
  border-bottom: 1px solid rgba(217, 224, 220, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--teal);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 96px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 33, 43, 0.88) 0%, rgba(7, 33, 43, 0.66) 46%, rgba(7, 33, 43, 0.28) 100%),
    url("assets/centro-medico-monte-sinai.jpg") center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-location {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 26px;
  border-left: 5px solid var(--coral);
  background: rgba(7, 33, 43, 0.42);
  backdrop-filter: blur(10px);
}

.hero-location span {
  display: block;
  margin-bottom: 10px;
  color: #90d0c7;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-location strong {
  display: block;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}


.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  font-weight: 800;
}

.hero-date {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
}

.hero-actions,
.event-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary,
.button.compact {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 111, 115, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--teal-dark);
}

.button.compact {
  min-height: 44px;
  padding: 0 18px;
}

.event-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.support-section {
  padding: 30px clamp(18px, 4vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.support-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.support-inner .eyebrow {
  margin: 0;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 4vw, 44px);
}

.logo-strip img {
  width: auto;
  max-width: 190px;
  max-height: 70px;
  object-fit: contain;
}

.section.muted {
  background: #eef4f2;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.feature-grid,
.speaker-grid,
.pricing-grid,
.location-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.speaker-card,
.price-card,
.audience-panel,
.info-card,
.media-card,
.clinic-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(18, 51, 60, 0.07);
}

.feature-card,
.speaker-card,
.price-card,
.info-card,
.media-card {
  padding: 26px;
}

.feature-card p,
.speaker-card p,
.price-card p,
.media-card p,
.info-card p,
.profile-layout p,
.location-list li,
.tab-panel li {
  color: var(--muted);
  line-height: 1.65;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li + li {
  margin-top: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.compact-list {
  margin-top: 16px;
}

.info-card h3,
.media-card h3,
.clinic-card h3 {
  margin-bottom: 12px;
}

.media-section {
  background: #f1f7f4;
}

.course-showcase {
  display: grid;
  gap: clamp(42px, 7vw, 82px);
}

.course-edition {
  min-height: calc(100vh - 76px);
  scroll-margin-top: 90px;
}

.course-edition + .course-edition {
  padding-top: clamp(42px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.edition-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.edition-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -6px;
}

.edition-heading h3 {
  max-width: 820px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
}

.edition-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.edition-media {
  display: grid;
  gap: 18px;
}

.media-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid-featured {
  align-items: stretch;
}

.media-card-feature {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
}

.media-card-feature img,
.media-card-feature video,
.video-card video {
  display: block;
  width: 100%;
  background: var(--ink);
  object-fit: cover;
}

.media-card-feature img,
.media-card-feature video {
  aspect-ratio: 16 / 10;
}

.media-card-feature div {
  padding: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(18, 51, 60, 0.08);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-column: span 2;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) {
  grid-column: span 1;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(18, 51, 60, 0.07);
}

.video-card video {
  aspect-ratio: 9 / 16;
}

.video-card h3 {
  padding: 16px;
  font-size: 16px;
}

.video-placeholder,
.photo-mosaic {
  display: grid;
  min-height: 240px;
  margin-bottom: 22px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.video-placeholder {
  place-items: center;
  background:
    linear-gradient(rgba(18, 51, 60, 0.4), rgba(18, 51, 60, 0.6)),
    url("assets/centro-medico-monte-sinai.jpg") center / cover no-repeat;
  font-weight: 800;
}

.photo-mosaic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  background: transparent;
}

.photo-mosaic span {
  min-height: 116px;
  background:
    linear-gradient(rgba(23, 111, 115, 0.1), rgba(23, 111, 115, 0.1)),
    url("assets/centro-medico-monte-sinai.jpg") center / cover no-repeat;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.audience-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 28px;
  background: var(--ink);
  color: #fff;
}

.audience-panel .eyebrow {
  color: #90d0c7;
}

.audience-panel h3 {
  max-width: 820px;
}

.tabs {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 64px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #f9fbfa;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  background: var(--teal);
  color: #fff;
}

.tab-panel {
  display: none;
  padding: clamp(24px, 4vw, 42px);
}

.tab-panel.is-active {
  display: block;
}

.tab-panel ul,
.location-list ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.tab-panel h3 + ul {
  margin-top: 12px;
}

.tab-panel h3:not(:first-child) {
  margin-top: 28px;
}

.tab-panel li + li,
.location-list li + li {
  margin-top: 10px;
}

.coordinator-section {
  background: #102f38;
  color: #fff;
}

.profile-layout {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.profile-layout::after {
  display: none;
}

.profile-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: clamp(30px, 5vw, 64px);
}

.profile-content h2 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 88px);
}

.profile-content h3 {
  margin-top: 34px;
  color: #fff;
}

.profile-content .check-list li {
  color: rgba(255, 255, 255, 0.82);
}

.profile-content .eyebrow {
  color: #90d0c7;
}

.profile-photo {
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(23, 111, 115, 0.1), rgba(214, 90, 69, 0.1)),
    var(--blue);
  color: var(--teal-dark);
  font-weight: 800;
}

.profile-image {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: clamp(260px, 36vw, 460px);
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: left center;
  opacity: 1;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.credentials span {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.speaker-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.speaker-card img {
  display: block;
  width: min(70%, 238px);
  height: auto;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbfa;
}

.avatar {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 800;
}

.location-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.location-photo {
  display: block;
  width: 100%;
  min-height: 360px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.location-visual {
  min-height: 360px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(18, 51, 60, 0.08), rgba(18, 51, 60, 0.08)),
    repeating-linear-gradient(90deg, #dcebf1 0 42px, #c9dee5 42px 84px);
  border: 1px solid var(--line);
}

.location-list {
  padding: 30px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.clinic-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
}

.clinic-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.map-card {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(18, 51, 60, 0.07);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 46vw, 520px);
  border: 0;
}

.map-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
}

.map-card-footer .eyebrow {
  margin-bottom: 8px;
}

.map-card-footer h3 {
  max-width: 760px;
}

.investment {
  background: var(--ink);
  color: #fff;
}

.investment .section-heading p,
.investment .price-card p {
  color: rgba(255, 255, 255, 0.72);
}

.investment .price-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.investment .price-card.highlight {
  background: rgba(223, 241, 236, 0.16);
  border-color: rgba(144, 208, 199, 0.5);
}

.investment .pricing-grid {
  grid-template-columns: minmax(0, 1fr);
}

.price {
  margin: 22px 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.lot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.lot-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.lot-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: #90d0c7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lot-card h3 {
  min-height: 52px;
  font-size: 18px;
}

.lot-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.lot-card .button {
  margin-top: auto;
}

.lot-price {
  margin: 18px 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.discount-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(144, 208, 199, 0.45);
  border-radius: 8px;
  background: rgba(223, 241, 236, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  line-height: 1.5;
}

.discount-note strong {
  color: #fff;
}

.policy-link {
  display: inline-block;
  margin-top: 28px;
  color: #90d0c7;
  font-weight: 800;
}

.policy-nav {
  justify-content: flex-end;
}

.policy-page {
  background: #eef4f2;
}

.policy-document {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-document h1 {
  color: var(--ink);
  font-size: clamp(40px, 6vw, 72px);
}

.policy-document h2 {
  margin-top: 34px;
  font-size: clamp(24px, 3vw, 34px);
}

.policy-document p,
.policy-document li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.policy-document ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.policy-document li + li {
  margin-top: 10px;
}

.policy-intro {
  max-width: 760px;
  margin-top: 20px;
}

.policy-document a {
  color: var(--teal);
  font-weight: 800;
}

.policy-updated {
  margin-top: 36px;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.4fr) minmax(120px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 32px clamp(18px, 4vw, 56px);
  background: #0d262d;
  color: #fff;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer a {
  justify-self: end;
  color: #90d0c7;
  font-weight: 800;
}

.footer-center {
  justify-self: center;
  max-width: 620px;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero,
  .profile-layout,
  .location-grid,
  .event-layout,
  .clinic-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-location {
    max-width: 760px;
  }

  .feature-grid,
  .pricing-grid,
  .investment .pricing-grid,
  .lot-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-edition {
    min-height: auto;
  }

  .edition-heading {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid img,
  .gallery-grid img:nth-child(1),
  .gallery-grid img:nth-child(4) {
    grid-column: auto;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .speaker-grid {
    grid-template-columns: 1fr;
  }

  .audience-panel,
  .site-footer,
  .map-card-footer,
  .support-inner {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  .site-footer a,
  .footer-center {
    justify-self: auto;
    text-align: left;
  }

  .logo-strip {
    justify-content: flex-start;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 70px;
  }

  .brand span:last-child {
    max-width: 168px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }
}
