/* =========================
   FOR DOCTORS PAGE
========================= */

.doctor-hero{
  min-height: calc(100vh - 80px);
  padding: 0 64px 42px;
  overflow: hidden;

  background-color: #f7f4ee;
  background-image: url("../images/for-doctors-hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
}

.doctor-hero-grid{
  padding-top: 92px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
  gap: 32px;
}

.doctor-left{
  position: relative;
  z-index: 2;
 transform: translateY(-100px);
}

.doctor-right{
  min-height: 620px;
}


/* =========================
   TAG
========================= */

.doctor-tag{
  max-width: 480px;
  margin-bottom: 34px;

  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0a4f38;
}

.doctor-tag::after{
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 24px;
  background: #0a4f38;
}


/* =========================
   TITLE
========================= */

.doctor-left h1{
  max-width: 520px;
  margin: 0 0 42px;

  font-family: var(--font-serif);
  font-size: 66px;
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 700;
  color: #10231f;
}

.doctor-left h1 span,
.doctor-left h1 em{
  color: #006241;
  font-style: normal;
}

/* =========================
   BENEFITS
========================= */

.doctor-benefits{
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  margin-bottom: 48px;
}

.benefit{
  min-height: 122px;
  padding: 0 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;

  border-right: 1px solid rgba(16,35,31,.12);
}

.benefit:last-child{
  border-right: none;
}



.benefit span{
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: #10231f;
}

/* =========================
   ACTIONS
========================= */

.doctor-actions{
  display: flex;
  align-items: center;
  gap: 28px;
}

.doctor-actions .btn{
  min-width: 220px;
  height: 58px;
  border-radius: 18px;
}

.doctor-how{
  display: inline-flex;
  align-items: center;
  gap: 14px;

  text-decoration: none;
  color: #10231f;
  font-weight: 500;
}

/* =========================
   BOTTOM PANEL
========================= */

.doctor-bottom{
  max-width: 1220px;
  margin: 4px auto 0;

  display: grid;
  grid-template-columns: repeat(4,1fr);

  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
}

.doctor-bottom div{
  min-height: 92px;
  padding: 0 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 17px;
  font-weight: 500;
  color: #10231f;

  border-right: 1px solid rgba(16,35,31,.10);
}

.doctor-bottom div:last-child{
  border-right: none;
}

/* =========================
   DOCTOR TIMELINE SECTION
========================= */

.doctor-timeline-section{
  padding: 90px 64px;
  background: #f7f4ee;
}

.doctor-timeline-card{
  max-width: 1220px;
  margin: 0 auto;
  position: relative;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;

  padding: 56px;
  border-radius: 34px;

  background: rgba(255,255,255,.86);
  border: 1px solid rgba(16,35,31,.08);
  box-shadow: 0 30px 90px rgba(16,35,31,.08);
}

.doctor-timeline-item{
  position: relative;

  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 24px;
  align-items: center;

  min-height: 160px;
  padding: 28px 30px;

  border-radius: 28px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(16,35,31,.07);
}

.doctor-timeline-item::before{
  content:"";
  position:absolute;
  left:72px;
  right:34px;
  top:50%;
  height:1px;
  background: linear-gradient(90deg, rgba(0,98,65,.22), transparent);
  z-index:0;
}

.doctor-timeline-item::after{
  content:"";
  position:absolute;
  left:118px;
  top:50%;
  width:7px;
  height:7px;
  margin-top:-3.5px;
  border-radius:50%;
  background:#009b70;
  box-shadow:0 0 0 5px rgba(0,155,112,.10);
  z-index:2;
}

.timeline-wide{
  grid-column: 1 / -1;
  width: calc(50% - 15px);
  margin: 0 auto;
}

.timeline-icon{
  position: relative;
  z-index:2;

  width: 82px;
  height: 82px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background:#fff;
  box-shadow:
    0 22px 46px rgba(16,35,31,.11),
    inset 0 0 0 1px rgba(16,35,31,.04);
}

.timeline-icon::before{
  content:"";
  position:absolute;
  inset:-15px;
  border-radius:50%;
  border:1px dashed rgba(0,98,65,.20);
}

.timeline-icon svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:#008f60;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.timeline-text{
  position:relative;
  z-index:2;
}

.timeline-text span{
  display:block;
  margin-bottom:8px;

  font-size:22px;
  line-height:1;
  font-weight:500;
  color:rgba(0,98,65,.30);
}

.timeline-text h3{
  margin:0 0 8px;

  font-size:25px;
  line-height:1.2;
  color:#10231f;
}

.timeline-text p{
  margin:0 0 16px;

  font-size:16px;
  line-height:1.45;
  color:rgba(16,35,31,.58);
}

.timeline-text::after{
  content:"";
  display:block;
  width:64px;
  height:1px;
  background:#009b70;
  box-shadow:34px 0 0 -2px #009b70;
}


/* =========================
   MOBILE ONLY
========================= */

@media (max-width:859px){

  .doctor-hero{
    min-height: calc(100svh - 72px);
    padding: 0 !important;

    background-image: url("../images/for-doctors-hero-mobile.jpg") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  .doctor-hero-grid{
    min-height: calc(100svh - 72px);

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 0 18px 34px;
    gap: 0;
  }

  .doctor-left{
    transform: none;
    max-width: 100%;
  }

  .doctor-tag{
    display: none;
  }

  .doctor-left h1{
    font-size: 40px;
    line-height: 1.08;
    margin-bottom: 26px;
    max-width: 100%;
  }

.doctor-actions{
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-actions .btn,
.doctor-how{
  width: 100%;
}

.doctor-actions .btn{
  min-width: 0;
  height: 44px;
  border-radius: 20px;
  font-size: 18px;
}

.doctor-how{
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.doctor-right{
  display: none;
}

.doctor-bottom{
  display: none;
}
}

.doctor-timeline-section{
    padding:46px 14px;
  }

  .doctor-timeline-card{
    display:flex;
    flex-direction:column;
    gap:26px;

    padding:38px 18px;
    border-radius:28px;
  }

  .doctor-timeline-card::before{
    content:"";
    position:absolute;
    left:78px;
    top:70px;
    bottom:70px;
    width:1px;
    background:rgba(0,98,65,.25);
  }

  .doctor-timeline-item,
  .timeline-wide{
    width:100%;
    margin:0;

    display:grid;
    grid-template-columns:64px 1fr;
    gap:18px;

    min-height:auto;
    padding:0;

    background:transparent;
    border:none;
    border-radius:0;
  }

  .doctor-timeline-item::before,
  .doctor-timeline-item::after{
    display:none;
  }

  .timeline-icon{
    width:58px;
    height:58px;
  }

  .timeline-icon::before{
    inset:-10px;
  }

  .timeline-icon svg{
    width:26px;
    height:26px;
  }

  .timeline-text span{
    font-size:20px;
    margin-bottom:6px;
  }

  .timeline-text h3{
    font-size:21px;
  }

  .timeline-text p{
    font-size:14px;
    margin-bottom:12px;
  }
}