.rttm-wrap {
  padding: 10px 0 40px;
}

.rttm-title {
  display: inline-block;
  background: #128ae6;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 0 0 14px 14px;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.rttm-main {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 26px rgba(18, 61, 107, 0.06);
  margin-bottom: 28px;
}

.rttm-main-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.rttm-main-photo {
  width: 350px;
  min-width: 180px;
  height: 370px;
  border-radius: 18px;
  overflow: hidden;
  background: #eef4fb;
  border: 1px solid #dfeaf5;
}

.rttm-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rttm-main-name {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  color: #17385a;
  font-weight: 800;
}

.rttm-main-pos {
  margin: 0 0 14px;
  color: #1d6fb8;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.rttm-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rttm-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #52667a;
  font-size: 15px;
  line-height: 1.6;
}

.rttm-contact i {
  width: 18px;
  color: #1d6fb8;
}

.rttm-contact a {
  color: #52667a;
  text-decoration: none;
}

.rttm-contact a:hover {
  color: #1d6fb8;
}

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

.rttm-dept {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 61, 107, 0.05);
  transition: all .25s ease;
}

.rttm-dept:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 61, 107, 0.09);
}

.rttm-head-btn {
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.rttm-head-btn:focus {
  outline: none;
}

.rttm-dept-photo {
  width: 100%;
  height: 360px;
  background: #eef4fb;
  overflow: hidden;
  position: relative;
}

.rttm-dept-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.rttm-dept:hover .rttm-dept-photo img {
  transform: scale(1.04);
}

.rttm-dept-body {
  padding: 18px;
}

.rttm-dept-name {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
  color: #17385a;
  font-weight: 800;
}

.rttm-dept-pos {
  margin: 0 0 12px;
  color: #1d6fb8;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  min-height: 48px;
}

.rttm-dept-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rttm-dept-mini div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5a6f84;
  font-size: 14px;
  line-height: 1.5;
}

.rttm-dept-mini i {
  width: 16px;
  color: #1d6fb8;
}

.rttm-toggle-note {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d6fb8;
  font-size: 14px;
  font-weight: 700;
}

.rttm-staff {
  display: none;
  border-top: 1px solid #e8eef5;
  background: #f9fbfe;
  padding: 18px;
}

.rttm-dept.active .rttm-staff {
  display: block;
}

.rttm-staff-title {
  margin: 0 0 14px;
  font-size: 17px;
  color: #17385a;
  font-weight: 800;
}

.rttm-staff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rttm-staff-item {
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  padding: 14px 16px;
}

.rttm-staff-name {
  margin: 0 0 4px;
  font-size: 16px;
  color: #23384b;
  font-weight: 700;
}

.rttm-staff-pos {
  margin: 0 0 6px;
  font-size: 14px;
  color: #1d6fb8;
  line-height: 1.5;
  font-weight: 600;
}

.rttm-staff-phone {
  font-size: 14px;
  color: #627588;
}

.rttm-staff-phone a {
  color: #627588;
  text-decoration: none;
}

.rttm-staff-phone a:hover {
  color: #1d6fb8;
}

@media (max-width: 1100px) {
  .rttm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rttm-main-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .rttm-main-photo {
    width: 100%;
    max-width: 280px;
    height: 320px;
  }

  .rttm-main-name {
    font-size: 26px;
  }

  .rttm-title {
    font-size: 22px;
    padding: 12px 18px;
  }
}


.rttm-info {
    --rttm-ink: #182e45;
    --rttm-text: #38495a;
    --rttm-link: #155987;
    --rttm-line: #dbe4eb;
    box-sizing: border-box;
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: 28px 0;
    padding: clamp(20px, 4vw, 42px);
    background: #fff;
    border: 1px solid var(--rttm-line);
    border-radius: 16px;
    color: var(--rttm-text);
    font-family: inherit;
    text-align: left;
}

.rttm-info h2 {
    margin: 0 0 16px;
    color: var(--rttm-ink);
    font-size: clamp(21px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.25;
}

.rttm-info__intro p,
.rttm-info__areas dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.rttm-info__intro p {
    max-width: 85ch;
}

.rttm-info__section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rttm-line);
}

.rttm-info__areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
    margin: 0;
}

.rttm-info__areas dt {
    margin: 0 0 5px;
    color: var(--rttm-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.rttm-info__services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rttm-info__services li {
    margin: 0;
    padding: 0;
}

.rttm-info__services a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 14px;
    box-sizing: border-box;
    border: 1px solid var(--rttm-line);
    border-radius: 8px;
    color: var(--rttm-link);
    background: #f5f9fc;
    font-weight: 600;
    text-decoration: none;
}

.rttm-info__services a:hover {
    background: #e8f2f9;
    border-color: var(--rttm-link);
}

.rttm-info__documents {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.rttm-info__documents li + li {
    margin-top: 8px;
}

.rttm-info__documents a {
    color: var(--rttm-link);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rttm-info a:focus-visible {
    outline: 2px solid var(--rttm-link);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .rttm-info__areas {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .rttm-info__section {
        margin-top: 22px;
        padding-top: 20px;
    }
}

.rttm-team-title {
    grid-column: 1 / -1;
    margin: 0 0 16px;
    color: #182e45;
    font-size: clamp(22px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

/* RTTM — markaz haqidagi ma’lumotlar */
.rttm-info {
    --rttm-navy: #123652;
    --rttm-blue: #155c83;
    --rttm-teal: #087b80;
    --rttm-body: #354b5b;
    --rttm-border: #d9e5ec;
    --rttm-pad: clamp(20px, 3.2vw, 42px);

    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 28px 0 36px;
    padding: 0;
    overflow: hidden;
    color: var(--rttm-body);
    background: #fff;
    border: 1px solid var(--rttm-border);
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(18, 54, 82, .07);
}

/* Kirish qismi */
.rttm-info .rttm-info__intro {
    padding: clamp(26px, 4vw, 48px) var(--rttm-pad);
    background: linear-gradient(115deg, #102f49 0%, #164a63 72%, #155a68 100%);
    border-left: 5px solid #47b9b0;
}

.rttm-info .rttm-info__intro h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
}

.rttm-info .rttm-info__intro p {
    max-width: 86ch;
    margin: 0;
    color: #eff7fa;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.7;
    text-align: left;
    word-spacing: normal;
}

/* Ichki bo‘limlar */
.rttm-info .rttm-info__section {
    margin: 0 var(--rttm-pad);
    padding: 28px 0;
    border-top: 1px solid var(--rttm-border);
}

.rttm-info .rttm-info__intro + .rttm-info__section {
    border-top: 0;
}

.rttm-info .rttm-info__section h2 {
    margin: 0 0 18px;
    color: var(--rttm-navy);
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.25;
    text-align: left;
}

/* To‘rtta faoliyat yo‘nalishi */
.rttm-info .rttm-info__areas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
}

.rttm-info .rttm-info__areas > div {
    min-width: 0;
    padding: 18px 20px;
    background: #f4f8fb;
    border: 1px solid #dfE9ef;
    border-left: 3px solid var(--rttm-blue);
    border-radius: 0 12px 12px 0;
}

.rttm-info .rttm-info__areas dt {
    margin: 0 0 7px;
    color: var(--rttm-navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.rttm-info .rttm-info__areas dd {
    margin: 0;
    color: var(--rttm-body);
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
    overflow-wrap: break-word;
}

/* Elektron xizmatlar */
.rttm-info .rttm-info__services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rttm-info .rttm-info__services li {
    display: flex;
    margin: 0;
    padding: 0;
}

.rttm-info .rttm-info__services a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid var(--rttm-border);
    border-radius: 10px;
    background: #fff;
    color: var(--rttm-blue);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.rttm-info .rttm-info__services a i {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    height: 32px;
    border-radius: 8px;
    background: #e6f3f2;
    color: #096a70;
    font-size: 16px;
}

.rttm-info .rttm-info__services a:hover {
    background: #f3f9fa;
    border-color: var(--rttm-teal);
}

/* Me’yoriy hujjatlar */
.rttm-info .rttm-info__documents {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.rttm-info .rttm-info__documents li {
    padding: 2px 0;
    color: var(--rttm-teal);
}

.rttm-info .rttm-info__documents li + li {
    margin-top: 5px;
}

.rttm-info .rttm-info__documents a {
    color: var(--rttm-blue);
    line-height: 1.55;
    text-decoration: underline;
    text-decoration-color: #9bb8c8;
    text-underline-offset: 3px;
}

.rttm-info a:focus-visible {
    outline: 2px solid var(--rttm-teal);
    outline-offset: 3px;
}

/* Xodimlar kartalari oldidagi sarlavha */
.rttm-team-title {
    grid-column: 1 / -1;
    margin: 0 0 18px;
    padding-left: 13px;
    border-left: 4px solid #087b80;
    color: #123652;
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

@media (max-width: 700px) {
    .rttm-info {
        border-radius: 14px;
    }

    .rttm-info .rttm-info__areas {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rttm-info .rttm-info__areas > div {
        padding: 15px 16px;
    }

    .rttm-info .rttm-info__section {
        padding: 22px 0;
    }
}