/* MIR-EXPO 2027 — booklet colors: blue, gray */

:root {
  --blue: #2965af;
  --blue-dark: #1d4e8c;
  --blue-light: #4a90d9;
  --gray-dark: #2a2a2a;
  --gray: #5c5c5c;
  --gray-mid: #888;
  --gray-light: #e8eaed;
  --gray-bg: #f4f5f7;
  --white: #fff;
  --black: #141414;
  --max-w: 1140px;
  --radius: 2px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.landing-page {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-dark);
  background: var(--gray-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

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

/* Nav */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--gray-dark);
  border-bottom: 3px solid var(--blue);
}

.landing-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-brand {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo { height: 40px; width: auto; display: block; }

.nav-brand:hover { color: var(--blue-light); text-decoration: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  width: 100%;
  gap: 2px;
}

.nav-links.open { display: flex; flex-wrap: wrap; }

.nav-links a {
  display: block;
  padding: 7px 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links a:hover { color: var(--blue-light); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; flex-wrap: nowrap; width: auto; padding: 0; }
  .landing-nav .container { flex-wrap: nowrap; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: stretch;
  color: var(--white);
  background: var(--gray-dark) center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41, 101, 175, 0.88) 0%, rgba(42, 42, 42, 0.75) 55%, rgba(20, 20, 20, 0.85) 100%);
}

.hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(160deg, transparent 40%, rgba(41, 101, 175, 0.4) 40%, rgba(41, 101, 175, 0.4) 70%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 32px 0 48px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.hero-logo img { height: 44px; width: auto; }
.hero-logo-mir img { height: 80px; width: auto; }

.hero-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 14px;
}

.hero-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.hero-link:hover {
  color: var(--blue-light);
  text-decoration-color: var(--blue-light);
}

.hero-label {
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 820px;
}

.hero-dates {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--white);
}

.hero-venue {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 11px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
}

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); text-decoration: none; }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; color: var(--white); }

/* Sections */
.section { padding: 56px 0; }
.section-white { background: var(--white); }
.section-gray { background: var(--gray-bg); }
.section-dark { background: var(--gray-dark); color: rgba(255,255,255,0.9); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-heading {
  display: flex;
  align-items: stretch;
  margin-bottom: 32px;
  gap: 0;
}

.section-heading-bar {
  width: 6px;
  background: var(--blue);
  flex-shrink: 0;
}

.section-heading-text {
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  padding-right: 32px;
}

.section-dark .section-heading-bar { background: var(--blue-light); }
.section-dark .section-heading-text { background: var(--blue); }

.section-subtitle {
  margin: -16px 0 28px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray);
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* Myths */
.myth-block {
  background: var(--white);
  border-left: 4px solid var(--blue);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.section-dark .myth-block {
  background: rgba(255,255,255,0.06);
  border-left-color: var(--blue-light);
}

.myth-rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.myth-block p { margin: 0 0 12px; }
.myth-block p:last-child { margin-bottom: 0; }

.myth-image {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Program */
.program-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }

.program-tab {
  padding: 9px 16px;
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius);
}

.section-dark .program-tab { background: transparent; color: var(--white); border-color: var(--blue-light); }
.program-tab.active, .program-tab:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.program-day { display: none; }
.program-day.active { display: block; }

.program-day h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-dark .program-day h3 { color: var(--blue-light); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--blue); }
.timeline li { padding: 0 0 18px 20px; position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: var(--blue);
  border-radius: 50%;
}

.timeline time { display: block; font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.section-dark .timeline time { color: var(--blue-light); }
.timeline p { margin: 0; font-size: 14px; }

.program-image { margin-top: 28px; }

/* Venue */
.venue-grid { display: grid; gap: 28px; align-items: start; }
.venue-text p { margin: 0 0 14px; }
.venue-images { display: grid; gap: 16px; }
.venue-images img { border-radius: var(--radius); box-shadow: var(--shadow); cursor: zoom-in; }

@media (min-width: 768px) { .venue-grid { grid-template-columns: 1fr 1fr; } }


/* Application forms download links */
.application-forms {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.application-forms-title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.application-forms-grid {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .application-forms-grid { grid-template-columns: repeat(3, 1fr); }
}

.application-forms-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--gray);
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.doc-link:hover {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(43, 87, 154, 0.12);
  text-decoration: none;
  color: var(--blue);
}

.doc-link-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.doc-link-wrap {
  margin: 18px 0 0;
}


.application-forms-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-online-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--blue);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  transition: background 0.15s;
}

.apply-online-link:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
}

.doc-link-wrap-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.application-forms-banner {
  margin-bottom: 16px;
  text-align: center;
}

.application-forms-banner .apply-online-link {
  padding: 12px 24px;
  font-size: 14px;
}

.doc-link--compact {
  display: inline-flex;
  padding: 10px 16px;
  font-size: 13px;
}

/* Pricing / sponsors */
.pricing-group { margin-bottom: 40px; }

.pricing-group > h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}

.section-dark .pricing-group > h3 { color: var(--blue-light); border-color: var(--blue-light); }

.sponsor-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.section-dark .sponsor-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }

.sponsor-card summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr minmax(200px, 220px) 20px;
  gap: 12px 16px;
  align-items: center;
}

.sponsor-title { min-width: 0; line-height: 1.35; }

.sponsor-card summary::-webkit-details-marker { display: none; }
.sponsor-card summary::after {
  content: "+";
  font-size: 18px;
  color: var(--blue);
  font-weight: 400;
  text-align: center;
}

.sponsor-card[open] summary::after { content: "−"; }

.sponsor-price {
  font-size: 14px;
  color: var(--blue);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  justify-self: end;
}
.section-dark .sponsor-price { color: var(--blue-light); }

.price-value,
.exhibitor-list strong,
.sponsor-price {
  font-weight: 700;
  color: var(--blue-dark);
}

.section-dark .price-value { color: var(--blue-light); }

.sponsor-body { padding: 0 18px 16px; font-size: 13px; color: var(--gray); }
.section-dark .sponsor-body { color: rgba(255,255,255,0.75); }
.sponsor-body ul { margin: 8px 0 0; padding-left: 18px; }
.sponsor-body li { margin-bottom: 5px; }
.sponsor-body p { margin: 0 0 8px; }

.exhibitor-list { list-style: none; margin: 0; padding: 0; }
.exhibitor-list li {
  padding: 14px 18px;
  margin-bottom: 8px;
  background: var(--white);
  border-left: 3px solid var(--blue);
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.section-dark .exhibitor-list li { background: rgba(255,255,255,0.06); }

.exhibitor-note { font-size: 13px; color: var(--gray); margin-top: 16px; }
.section-dark .exhibitor-note { color: rgba(255,255,255,0.65); }

.delegates-table-wrap { overflow-x: auto; margin-bottom: 16px; }
.delegates-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; background: var(--white); }
.section-dark .delegates-table { background: rgba(255,255,255,0.06); }
.delegates-table th, .delegates-table td { padding: 10px 14px; text-align: left; border: 1px solid var(--gray-light); vertical-align: top; }
.section-dark .delegates-table th, .section-dark .delegates-table td { border-color: rgba(255,255,255,0.15); }
.delegates-table th { background: var(--blue); color: var(--white); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Floor plan */
.floorplan-wrap {
  background: var(--white);
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.floorplan-wrap img { cursor: zoom-in; margin: 0 auto; width: 100%; }
.floorplan-hint { text-align: center; font-size: 13px; color: var(--gray); margin-top: 10px; }

/* Film */
.film-grid { display: grid; gap: 28px; align-items: start; }
.film-grid h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--blue-dark);
}

.section-dark .film-grid h3 { color: var(--blue-light); }
.film-grid p { margin: 0 0 14px; }
.film-image img { cursor: zoom-in; border-radius: var(--radius); box-shadow: var(--shadow); background: transparent; }
.film-image { background: transparent; }

@media (min-width: 768px) { .film-grid { grid-template-columns: 1.2fr 0.8fr; } }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; box-shadow: var(--shadow); }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

/* Footer */
.landing-footer {
  position: relative;
  color: rgba(255,255,255,0.9);
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--blue);
}

.footer-bg {
  position: absolute;
  inset: 0;
  background: var(--gray-dark) center/cover no-repeat;
  z-index: 0;
}

.footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(41, 101, 175, 0.9) 0%, rgba(42, 42, 42, 0.88) 50%, rgba(20, 20, 20, 0.92) 100%);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 48px 20px 28px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.footer-logos img { height: 40px; width: auto; }
.footer-logos .footer-logo-mir { height: 64px; width: auto; }

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
}

.footer-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.footer-link:hover {
  color: var(--blue-light);
  text-decoration-color: var(--blue-light);
}

.footer-grid { display: grid; gap: 28px; margin-bottom: 24px; }
.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.footer-grid p { margin: 0 0 6px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.footer-copy {
  font-size: 12px;
  opacity: 0.65;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

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

@media (max-width: 600px) {
  .sponsor-card summary {
    grid-template-columns: 1fr 20px;
  }
  .sponsor-price {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
    justify-self: start;
    white-space: normal;
  }
}

.sponsor-card--hidden { display: none !important; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  padding: 4px 10px;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-align: center;
  max-width: 90%;
}

.clickable-img { cursor: zoom-in; }


/* Partners page */
.hero-compact {
  min-height: 0;
  padding: 72px 0 56px;
}
.hero-compact h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); max-width: 18ch; }

.partners-placeholder {
  padding: 28px 20px;
  background: var(--white);
  border: 1px dashed var(--gray-light);
  border-radius: var(--radius);
  text-align: center;
}
.section-gray .partners-placeholder { background: var(--white); }
.partners-placeholder-text {
  margin: 0;
  color: var(--gray-mid);
  font-size: 14px;
}

/* Logo grid for future content */
.partners-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.partners-logos a,
.partners-logos .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.partners-logos img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 600px) {
  .partners-logos { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
  .partners-logos { grid-template-columns: repeat(4, 1fr); }
}

/* Partner cards */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .partners-grid--sponsors { grid-template-columns: repeat(2, 1fr); } }

.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow .2s, transform .2s;
}
.partner-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.partner-card--silver { border-top-color: #9aa3ad; }
.partner-card--bronze { border-top-color: #b07a4a; }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-light);
}
.partner-card--sponsor .partner-logo { height: 160px; }
.partner-card--sponsor .partner-logo img { max-height: 84px; }
.partner-logo img[src$="erga.png"],
.partner-logo img[src$="uralelektromed.png"] { max-height: 92px; }
.partner-logo img {
  max-width: 82%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-logo:hover { text-decoration: none; }

.partner-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.partner-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.partner-level,
.partner-stand {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.partner-stand { background: var(--gray-bg); color: var(--blue-dark); border: 1px solid var(--gray-light); }
.partner-level { background: var(--blue); color: var(--white); }
.partner-card--silver .partner-level { background: #7d8792; }
.partner-card--bronze .partner-level { background: #9a6638; }

.partner-name { margin: 0 0 8px; font-size: 1.1rem; color: var(--blue-dark); }
.partner-desc { margin: 0 0 14px; font-size: 14px; color: var(--gray); flex: 1; }
.partner-site { font-size: 13px; font-weight: 600; align-self: flex-start; }

.partners-group-title {
  margin: 32px 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .04em;
  scroll-margin-top: 80px;
}

.partners-jump {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #fff;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.partners-jump:hover { background: var(--gray-light); }
.partners-jump-arrow { color: var(--blue); white-space: nowrap; }
@media (max-width: 560px) {
  .partners-jump { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Partner details */
.partner-key {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: var(--gray-bg);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
}
.partner-key-row { display: grid; grid-template-columns: 92px 1fr; gap: 8px; align-items: baseline; }
.partner-key-row + .partner-key-row { margin-top: 6px; }
.partner-key-label { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); }
.partner-key-value { font-size: 15px; font-weight: 700; color: var(--blue-dark); line-height: 1.45; }
.partner-key-value a { color: var(--blue-dark); white-space: nowrap; }
.partner-key-value a:hover { color: var(--blue); }

.partner-more { margin: 0 0 12px; border-top: 1px solid var(--gray-light); }
.partner-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.partner-more summary::-webkit-details-marker { display: none; }
.partner-more summary::after {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.partner-more[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.partner-more summary:hover { color: var(--blue-dark); }
.partner-more-body { padding: 4px 0 6px; font-size: 14px; color: var(--gray); }
.partner-more-body p { margin: 0 0 10px; }
.partner-more-body .partner-list-title { margin-bottom: 6px; font-weight: 700; color: var(--blue-dark); }
.partner-more-body ul { margin: 0 0 12px; padding-left: 18px; }
.partner-more-body li { margin-bottom: 4px; }
.partner-contacts {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 6px 10px;
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-light);
}
.partner-contacts dt { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gray); padding-top: 2px; }
.partner-contacts dd { margin: 0; word-break: break-word; }
.partner-card:has(.partner-more[open]) { transform: none; }
.partners-grid { align-items: start; }

/* Floorplan size + hover expand */
.floorplan-wrap { width: fit-content; max-width: 100%; margin: 0 auto; }
.floorplan-wrap img {
  width: 780px;
  max-width: 100%;
  transition: width .35s ease;
}
@media (hover: hover) and (min-width: 1000px) {
  .floorplan-wrap:hover img { width: 967px; }
}
.floorplan-download { text-align: center; margin-top: 16px; }
.floorplan-download .btn::before { content: '\2193'; margin-right: 8px; font-weight: 700; }
@media (min-width: 980px) { .partners-grid--sponsors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 979px) {
  .partners-grid--sponsors > .partner-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }
}
