:root {
  --bg: #f6f3ee;
  --white: #fff;
  --surface: #ffffff;
  --surface-soft: #fbf7f1;
  --text: #1f2328;
  --muted: #68707a;
  --line: rgba(31, 35, 40, 0.11);
  --red: #a82632;
  --red-dark: #7f1924;
  --blue: #23559a;
  --blue-soft: #eef4ff;
  --gold-soft: #fff3db;
  --shadow: 0 12px 30px rgba(28, 33, 40, 0.08);
  --shadow-soft: 0 6px 18px rgba(28, 33, 40, 0.07);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(168, 38, 50, 0.08), transparent 28rem),
    radial-gradient(circle at 86% 10%, rgba(35, 85, 154, 0.08), transparent 26rem),
    var(--bg);
  font-size: 16px;
  line-height: 1.62;
}

body.organizer-page {
  background:
    radial-gradient(circle at 18% 0%, rgba(35, 85, 154, 0.09), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(168, 38, 50, 0.06), transparent 24rem),
    #f7f7f5;
}

a {
  color: inherit;
}



img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1120px, calc(100% - 28px));
  margin: 12px auto 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-soft);
}

.brand-img {
  width: 250px;
  margin-left: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
  font-size: 13px;
  font-weight: 800;
}

.brand-text {
  font-size: 15px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.nav-button--active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.hero-area {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  isolation: isolate;
  /* overflow: hidden; */
  padding: 70px 18px 72px;
}

.background-collage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.background-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: radial-gradient(circle at center, rgba(246, 243, 238, 0.42), rgba(246, 243, 238, 0.08) 42%, rgba(246, 243, 238, 0.35)); */
  z-index: 5;
}

.photo-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z);
  width: clamp(110px, var(--w), 255px);
  padding: 4px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 18px rgba(23, 32, 42, 0.11);
  transform: translate(-50%, -50%) rotate(var(--rotate));
  overflow: hidden;
  contain: layout paint style;
}

.photo-card img {
  width: 100%;
  border-radius: 11px;
}

.hero-card,
.content-card,
.organizer-card {
  position: relative;
  z-index: 10;
  width: min(100%, 920px);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero-card {
  width: min(100%, 760px);
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
}

.doc-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.doc-logo {
  object-fit: contain;
}

.doc-logo--main {
    width: min(42vw, 350px);
}

.doc-logo--partner {
  width: min(28vw, 128px);
}

.eyebrow,
.section-kicker,
.terms-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 span {
  font-size: 0.82em;
  font-weight: 650;
}

.lead {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.9vw, 18px);
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.hero-meta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--red);
  color: var(--white);
  font-size: 23px;
  font-weight: 650;
}

.content-section,
.page-main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0 70px;
}

.content-card,
.organizer-card {
  padding: clamp(22px, 4vw, 44px);
}

.intro-block {
  max-width: 820px;
  margin-bottom: 24px;
  color: #343a42;
}

.info-grid,
.organizer-layout,
.proof-grid {
  display: grid;
  gap: 14px;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 26px 0 42px;
}

.info-block,
.product-card,
.terms-card,
.contacts-card,
.organizer-info,
.notice-card,
.proof-card,
.closing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(28, 33, 40, 0.04);
}

.info-block {
  padding: 20px;
  min-height: 100%;
}

.info-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.info-block h2,
.product-card h3,
.organizer-info h2,
.notice-card h2,
.proof-card h2,
.contacts-card h2,
.terms-card h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

.info-block p,
.product-card p,
.organizer-info p,
.notice-card p,
.proof-card p,
.terms-card p,
.contacts-card p,
.closing-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.products-section {
  margin-top: 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  overflow: hidden;
}

.product-image-wrap {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 12px;
  background: linear-gradient(180deg, #faf7f2, #f2efe9);
}

.product-image-wrap img {
  width: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.product-text {
  padding: 18px;
}

.design-note {
  margin: 14px 0 0;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: var(--gold-soft);
  color: #755225;
  font-size: 14px;
  font-weight: 650;
}

.terms-card,
.contacts-card,
.notice-card,
.closing-card {
  margin-top: 16px;
  padding: 22px;
}

.terms-card,
.notice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.terms-icon,
.notice-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
}

.email-link {
  display: inline-flex;
  margin: 4px 0 14px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.signature {
  text-align: right;
  margin-top: 20px;
  color: var(--text);
}

.download-panel {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: min(100%, 420px);
  min-height: 64px;
  padding: 12px 20px;
  border-radius: 20px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(168, 38, 50, 0.18);
}

.download-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.download-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.download-text {
  display: grid;
  text-align: left;
  line-height: 1.25;
}

.download-text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.site-footer {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 36px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

/* Organizer page */
.page-main {
  padding-top: 46px;
}

.organizer-card {
  max-width: 980px;
}

.organizer-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.organizer-topline img {
  border-radius: 50%;
}

.organizer-hero {
  max-width: 760px;
  margin-bottom: 24px;
}

.organizer-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.organizer-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.organizer-info {
  padding: 20px;
}

.organizer-info--wide {
  grid-column: 1 / -1;
}

.clean-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

.clean-list li+li {
  margin-top: 7px;
}

.notice-card {
  background: #fff7f7;
  border-color: rgba(168, 38, 50, 0.18);
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.proof-card {
  overflow: hidden;
}

.proof-image {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 18px;
  background: #f4f6f9;
}

.proof-image--contain img {
  max-height: 250px;
  width: auto;
}

.proof-image img {
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border-radius: 14px;
}

.proof-text {
  padding: 20px;
}

.small-note {
  margin-top: 12px !important;
  color: var(--blue) !important;
  font-weight: 700;
}

.closing-card {
  text-align: center;
  background: var(--blue-soft);
}

.closing-card strong {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 18px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column-reverse;
  gap: 10px;
  margin-top: 24px;

  .secondary-button--accent {
    background: var(--red-dark);
    color: #fff;
    border-color: var(--red-dark);
    font-weight: 450;
  }

  .secondary-button--accent:hover {
    background: var(--red);
    border-color: var(--red);
  }
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
}

.secondary-button--accent {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

@media (max-width: 1040px) {
  .hero-area {
    min-height: 650px;
    padding-top: 58px;
  }

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

  .product-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(220px, 42%) 1fr;
    align-items: stretch;
  }

  .product-image-wrap {
    min-height: 190px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    position: sticky;
    width: min(100% - 22px, 520px);
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 10px;
  }

  .brand {
    justify-content: center;
  }

  .site-nav {
    width: 100%;
  }

  .nav-button {
    flex: 1;
    min-height: 40px;
    padding: 0 10px;
  }

  .hero-area {
    min-height: 600px;
    padding: 34px 14px 42px;
  }

  .hero-card,
  .content-card,
  .organizer-card {
    border-radius: 24px;
  }

  .hero-card {
    padding: 24px 18px;
  }

  .doc-logos {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .doc-logo--main {
    width: 190px;
  }

  .doc-logo--partner {
    width: 100px;
  }

  h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }

  .content-section,
  .page-main {
    width: min(100% - 22px, 560px);
    padding: 16px 0 42px;
  }

  .info-grid,
  .organizer-layout {
    grid-template-columns: 1fr;
  }

  .info-block,
  .product-text,
  .organizer-info,
  .notice-card,
  .terms-card,
  .contacts-card,
  .proof-text,
  .closing-card {
    padding: 17px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .product-card {
    display: block;
  }

  .product-image-wrap {
    min-height: 170px;
  }

  .terms-card,
  .notice-card {
    grid-template-columns: 1fr;
  }

  .download-button {
    width: 100%;
    min-height: 60px;
  }

  .proof-image {
    min-height: 170px;
  }

  .page-actions {
    display: grid;
  }
}

@media (max-width: 430px) {
  .photo-card {
    width: clamp(82px, var(--w), 150px);
    padding: 3px;
    border-radius: 12px;
  }

  .hero-area {
    min-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}