/* Pagina SIC Giovani */
:root {
  --sicg-blue: #293b8f;
  --sicg-cyan: #35a0cf;
  --sicg-ink: #17223f;
  --sicg-muted: #64708b;
  --sicg-surface: #f3f7fb;
  --sicg-line: #dbe6f0;
}

.sicg-page {
  color: var(--sicg-ink);
  overflow: hidden;
}

.sicg-brand {
  padding: 64px 0 20px;
  background: #fff;
  text-align: center;
}

.sicg-brand img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  margin: 0 auto;
}

.sicg-breadcrumb {
  position: relative;
  z-index: 2;
  background: #fff;
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #e7edf4;
}

.sicg-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 15px 0;
  list-style: none;
}

.sicg-breadcrumb li {
  color: #68748c;
  font-size: 13px;
  line-height: 1.5;
}

.sicg-breadcrumb li + li::before {
  content: "/";
  display: inline-block;
  margin: 0 11px;
  color: #b2bcc9;
}

.sicg-breadcrumb a {
  color: var(--sicg-blue);
  font-weight: 500;
}

.sicg-breadcrumb a:hover {
  color: var(--sicg-cyan);
}

.sicg-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(16, 35, 91, .94) 0%, rgba(28, 70, 126, .84) 48%, rgba(20, 152, 196, .50) 100%), url("../images/sic_giovani.jpg") center/cover no-repeat;
}

.sicg-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(255, 255, 255, .06), 0 0 0 128px rgba(255, 255, 255, .035);
}

.sicg-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 480px) 1fr;
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
  padding-top: 72px;
  padding-bottom: 72px;
}

.sicg-hero__logo-panel {
  background: #fff;
  border-radius: 28px;
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 28px 70px rgba(5, 18, 61, .34);
}

.sicg-hero__logo {
  display: block;
  width: 100%;
  height: auto;
}

.sicg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sicg-eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--sicg-cyan);
}

.sicg-hero h1 {
  max-width: 650px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.sicg-hero__lead {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.sicg-board {
  position: relative;
  padding: 70px 0 112px;
  background: var(--sicg-surface);
}

.sicg-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 240px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.sicg-section-heading {
  position: relative;
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.sicg-section-heading__kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--sicg-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sicg-section-heading h2 {
  margin: 0 0 18px;
  color: var(--sicg-blue);
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.025em;
}

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

.sicg-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 30px;
}

.sicg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(41, 59, 143, .09);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(35, 56, 92, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sicg-card::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--sicg-blue), var(--sicg-cyan));
}

.sicg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(35, 56, 92, .14);
}

.sicg-card .quote-default {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sicg-card .quote-centered:first-child {
  padding: 34px 34px 0;
  text-align: center;
}

.sicg-card .quote-centered:first-child img {
  width: 176px;
  height: 176px;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(53, 160, 207, .22), 0 15px 30px rgba(25, 50, 105, .18);
}

.sicg-card .quote-centered:nth-child(2) {
  padding: 28px 30px 0;
  text-align: center;
}

.sicg-card .quote-centered h4 {
  min-height: 62px;
  margin: 0 0 14px;
  color: var(--sicg-ink);
  font-size: 23px;
  line-height: 1.32;
}

.sicg-card .quote-centered a {
  display: block;
  overflow-wrap: anywhere;
  color: #237ba6;
  font-size: 14px;
  line-height: 1.7;
}

.sicg-card .quote-centered a:hover {
  color: var(--sicg-blue);
}

.sicg-card .quote-centered__text {
  display: flex;
  flex: 1;
  padding: 0 30px 32px;
}

.sicg-card .list-marked {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--sicg-line);
  list-style: none;
}

.sicg-card .list-marked > li {
  position: relative;
  margin: 0;
  padding-left: 19px;
  color: #4d5871;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.sicg-card .list-marked > li + li {
  margin-top: 9px;
}

.sicg-card .list-marked > li::before {
  content: "";
  position: absolute;
  top: .63em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--sicg-cyan);
  box-shadow: 0 0 0 4px rgba(53, 160, 207, .12);
}

.sicg-card .list-marked > li:first-child {
  order: 2;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 24px;
  padding-left: 0;
  text-align: center;
}

.sicg-card .list-marked > li:nth-child(2) {
  margin-top: 0;
}

.sicg-card .list-marked > li:first-child::before {
  display: none;
}

.sicg-card .list-marked > li:first-child strong {
  display: inline-block;
  padding: 7px 13px;
  color: var(--sicg-blue);
  background: #edf2ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.sicg-card--lead .list-marked > li:first-child strong {
  color: #fff;
  background: var(--sicg-blue);
}

.sicg-card__portrait-wrap {
  padding: 34px 34px 0;
  text-align: center;
}

.sicg-card__portrait {
  width: 176px;
  height: 176px;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(53, 160, 207, .22), 0 15px 30px rgba(25, 50, 105, .18);
}

.sicg-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 32px;
}

.sicg-card__role {
  align-self: center;
  margin-bottom: 16px;
  padding: 7px 13px;
  color: var(--sicg-blue);
  background: #edf2ff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.sicg-card--lead .sicg-card__role {
  color: #fff;
  background: var(--sicg-blue);
}

.sicg-card h3 {
  min-height: 62px;
  margin: 0 0 14px;
  color: var(--sicg-ink);
  font-size: 23px;
  line-height: 1.32;
  text-align: center;
}

.sicg-card__contacts {
  min-height: 54px;
  margin-bottom: 22px;
  text-align: center;
}

.sicg-card__contacts a {
  display: block;
  overflow-wrap: anywhere;
  color: #237ba6;
  font-size: 14px;
  line-height: 1.7;
}

.sicg-card__contacts a:hover {
  color: var(--sicg-blue);
}

.sicg-card__details {
  margin: auto 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--sicg-line);
  list-style: none;
}

.sicg-card__details li {
  position: relative;
  margin: 0;
  padding-left: 19px;
  color: #4d5871;
  font-size: 14px;
  line-height: 1.55;
}

.sicg-card__details li + li {
  margin-top: 9px;
}

.sicg-card__details li::before {
  content: "";
  position: absolute;
  top: .63em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sicg-cyan);
  box-shadow: 0 0 0 4px rgba(53, 160, 207, .12);
}

.sicg-telegram {
  padding: 100px 0;
  background: #fff;
}

.sicg-telegram__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 72px;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px);
  color: #fff;
  background: linear-gradient(135deg, #263a8b 0%, #244c9a 55%, #289bc5 100%);
  border-radius: 30px;
  box-shadow: 0 26px 60px rgba(29, 52, 115, .22);
}

.sicg-telegram__panel::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -95px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(255,255,255,.05), 0 0 0 104px rgba(255,255,255,.03);
}

.sicg-telegram__copy,
.sicg-telegram__qr {
  position: relative;
  z-index: 1;
}

.sicg-telegram__label {
  display: inline-block;
  margin-bottom: 15px;
  color: #9de3ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sicg-telegram h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 4vw, 48px);
}

.sicg-telegram p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.87);
  font-size: 18px;
  line-height: 1.7;
}

.sicg-telegram p + p {
  margin-top: 14px;
}

.sicg-telegram__qr {
  padding: 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(8, 27, 79, .30);
}

.sicg-telegram__qr img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
  border-radius: 10px;
}

@media (max-width: 991px) {
  .sicg-hero {
    min-height: 0;
  }

  .sicg-hero__inner {
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 42px;
  }

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

  .sicg-telegram__panel {
    grid-template-columns: 1fr 230px;
    gap: 42px;
  }
}

@media (max-width: 767px) {
  .sicg-card .quote-default {
    max-width: none;
  }

  .sicg-brand {
    padding: 46px 0 12px;
  }

  .sicg-brand img {
    width: min(100%, 330px);
  }

  .sicg-hero {
    background-position: 58% center;
  }

  .sicg-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 52px;
    padding-bottom: 60px;
  }

  .sicg-hero__logo-panel {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .sicg-hero__copy {
    text-align: center;
  }

  .sicg-eyebrow {
    justify-content: center;
  }

  .sicg-hero__lead {
    margin-right: auto;
    margin-left: auto;
  }

  .sicg-telegram {
    padding: 72px 0;
  }

  .sicg-board {
    padding: 54px 0 72px calc(100vw - 100%);
  }

  .sicg-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .sicg-card h3,
  .sicg-card__contacts {
    min-height: 0;
  }

  .sicg-telegram__panel {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .sicg-telegram__qr {
    width: min(100%, 270px);
    margin: 0 auto;
  }
}

@media (max-width: 479px) {
  .sicg-hero h1 {
    font-size: 40px;
  }

  .sicg-card__portrait-wrap {
    padding-right: 24px;
    padding-left: 24px;
  }

  .sicg-card__body {
    padding-right: 24px;
    padding-left: 24px;
  }

  .sicg-telegram__panel {
    padding: 38px 24px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sicg-card {
    transition: none;
  }
}
