/* =========================================================
   RAVAN OMID - SHARED SERVICE PAGES
   Palette:
   #e0f5f0  light mint
   #b4ebe5  soft mint
   #03c5b8  primary teal
   #f24e93  very limited accent
   ========================================================= */

:root {
  --primary: #03c5b8;
  --mint-light: #e0f5f0;
  --mint: #b4ebe5;
  --pink: #f24e93;

  --text: #173f45;
  --text-soft: #63777a;
  --white: #ffffff;
  --border: rgba(23, 63, 69, 0.10);
  --shadow: 0 12px 35px rgba(23, 63, 69, 0.07);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;

  --container: 1180px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Vazirmatn", "Tahoma", "Arial", sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 82px 0;
}

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

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading h2,
.why-content h2,
.request-copy h2,
.final-cta h2 {
  margin: 8px 0 8px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.45;
  letter-spacing: -0.5px;
}

.section-heading p,
.request-copy > p {
  margin: 0;
  color: var(--text-soft);
  text-align: justify;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--mint-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
  white-space: nowrap;
  transition: var(--transition);
}

.text-link:hover {
  transform: translateX(-4px);
}

.mobile-all-counselors {
  display: none;
}

/* ================= HEADER ================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
  flex: 0 0 40px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
}

.brand small {
  color: var(--text-soft);
  font-size: 10px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-soft);
  font-size: 13px;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-cta {
  padding: 9px 17px;
  background: var(--primary);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(3,197,184,.18);
}

.mobile-menu-btn,
.mobile-nav {
  display: none;
}

/* ================= BUTTONS ================= */

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(3,197,184,.17);
  font-size: 15px;
  font-weight: 700;
}

.btn-primary:hover {
  box-shadow: 0 11px 24px rgba(3,197,184,.23);
}

.btn-outline {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-small {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 11px;
  font-size: 11px;
}

/* ================= HERO ================= */

.hero {
  padding-top: 28px;
  padding-bottom: 48px;
}

.hero-card {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8fffd 0%, var(--mint-light) 100%);
  border: 1px solid rgba(3,197,184,.10);
  box-shadow: var(--shadow);
}

.hero-content {
  align-self: center;
  padding: 58px 64px;
}

.hero-content h1 {
  margin: 12px 0 5px;
  font-size: clamp(36px, 5vw, 57px);
  line-height: 1.25;
  color: var(--text);
}

.hero-content h2 {
  margin: 0 0 17px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 800;
}

.hero-content p {
  max-width: 590px;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-visual {
  padding: 14px;
}

.hero-image,
.soft-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--mint-light);
}

.hero-image img,
.soft-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 18px;
}

.hero-features > div {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  color: var(--text-soft);
  font-size: 13px;
}

.feature-icon {
  color: var(--primary);
  font-size: 20px;
}

/* ================= COUNSELORS ================= */

.counselors-section {
  background: #fff;
}

.counselors-carousel {
  position: relative;
  padding-inline: 44px;
}

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

.counselor-card {
  padding: 24px;
  text-align: center;
  background: #effbf8;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 7px 25px rgba(23,63,69,.055);
  transition: var(--transition);
}

.counselor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 34px rgba(23,63,69,.09);
}

.counselor-photo {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--primary);
  font-size: 11px;
  border: 5px solid white;
  box-shadow: 0 5px 18px rgba(23,63,69,.09);
}

.counselor-card h3 {
  margin: 0;
  font-size: 17px;
}

.counselor-card .degree {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

.counselor-card .experience {
  margin: 3px 0 10px;
  font-size: 12px;
  color: var(--text-soft);
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.tags span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #bcefe3;
  color: var(--text-soft);
  font-size: 10px;
}

.rating {
  margin: 10px 0;
  color: var(--primary);
  font-size: 12px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.profile-btn {
  font-size: 13px;
  font-weight: 900;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  color: var(--primary);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 5px 18px rgba(23,63,69,.08);
  z-index: 3;
}

.carousel-arrow:hover {
  background: var(--mint-light);
}

.carousel-prev {
  right: 0;
}

.carousel-next {
  left: 0;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  margin-top: 17px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--mint);
}

.carousel-dot.active {
  width: 19px;
  border-radius: 999px;
  background: var(--primary);
}

/* ================= WHY ================= */

.why-section {
  background: var(--mint-light);
}

.why-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 45px;
  align-items: center;
  padding: 55px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(3,197,184,.08);
}

.why-content > p {
  max-width: 760px;
  color: var(--text-soft);
  text-align: justify;
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.why-feature {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: 17px;
  background: rgba(255,255,255,.78);
}

.why-icon {
  flex: 0 0 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--primary);
  font-size: 19px;
}

.why-feature h3 {
  margin: 0;
  font-size: 14px;
}

.why-feature p {
  margin: 1px 0 0;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.7;
}

/* ================= REQUEST ================= */

.request-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 45px;
  align-items: center;
  padding: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--mint-light), #faffff);
  border: 1px solid rgba(3,197,184,.10);
  box-shadow: var(--shadow);
}

.request-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 13px;
  border-radius: 14px;
  background: white;
}

.request-note span {
  color: var(--pink);
  font-size: 20px;
}

.request-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.7;
}

.consultation-form {
  display: grid;
  gap: 14px;
  padding: 25px;
  background: white;
  border-radius: 21px;
  border: 1px solid var(--border);
}

.consultation-form label {
  display: grid;
  gap: 6px;
}

.consultation-form label > span {
  font-size: 12px;
  font-weight: 800;
}

.consultation-form label b {
  color: var(--pink);
}

.consultation-form label small {
  color: var(--text-soft);
  font-weight: 400;
}

.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(23,63,69,.12);
  border-radius: 12px;
  outline: none;
  background: #fcfffe;
  color: var(--text);
  transition: border var(--transition), box-shadow var(--transition);
}

.consultation-form textarea {
  resize: vertical;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3,197,184,.10);
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  text-align: center;
  color: var(--primary);
  font-size: 12px;
}

/* ================= PROCESS ================= */

.process-section {
  background: #fbfefd;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 15px 25px;
}

.process-step:not(:last-child)::after {
  content: "←";
  position: absolute;
  left: -5px;
  top: 22px;
  color: var(--mint);
  font-size: 20px;
}

.step-number {
  width: 45px;
  height: 45px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(3,197,184,.18);
}

.process-step h3 {
  margin: 0;
  font-size: 15px;
}

.process-step p {
  margin: 5px auto 0;
  max-width: 190px;
  color: var(--text-soft);
  font-size: 11px;
}

/* ================= ARTICLE ================= */

.article-section {
  background: #fff;
  padding-top: 65px;
}

.article-container {
  max-width: 900px;
}

.content-article {
  color: #314e52;
}
.content-article p {
  text-align: justify;
}

.content-article > .eyebrow {
  margin-bottom: 12px;
}

.content-article h2 {
  margin: 44px 0 13px;
  color: var(--text);
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.55;
}

.content-article h2:first-of-type {
  margin-top: 8px;
}

.content-article h3 {
  margin: 29px 0 8px;
  color: var(--text);
  font-size: 19px;
}

.content-article p {
  margin: 0 0 16px;
  color: #53696c;
  font-size: 16px;
  line-height: 2.25;
}

/* ================= RELATED ARTICLES ================= */

.related-section {
  background: var(--mint-light);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 7px 22px rgba(23,63,69,.05);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-image {
  min-height: 155px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dff7f3, #f8fffd);
  color: var(--primary);
  font-size: 11px;
}

.article-card > span,
.article-card h3,
.article-card p {
  display: block;
  margin-inline: 18px;
}

.article-card > span {
  margin-top: 14px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.article-card h3 {
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 16px;
}

.article-card p {
  margin-bottom: 20px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
}

/* ================= FAQ ================= */

.faq-container {
  max-width: 900px;
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 15px;
  overflow: hidden;
  background: white;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  border: 0;
  background: white;
  color: var(--text);
  text-align: right;
  font-weight: 800;
  font-size: 13px;
}

.faq-question span {
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform var(--transition);
}

.faq-item.open .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 17px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.9;
}

/* ================= FINAL CTA ================= */

.final-cta-section {
  padding-top: 25px;
  padding-bottom: 70px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 42px 50px;
  border-radius: var(--radius-lg);
  background: var(--mint-light);
  border: 1px solid rgba(3,197,184,.10);
}

.final-cta h2 {
  margin-bottom: 5px;
}

.final-cta p {
  margin: 0;
  color: var(--text-soft);
  text-align: justify;
}

.final-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ================= FOOTER ================= */

.site-footer {
  padding: 35px 0;
  background: #f8fcfb;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
}

.footer-brand strong {
  font-size: 18px;
}

.footer-brand p,
.footer-copy {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  text-align: left;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 980px) {
  .main-nav {
    gap: 15px;
    font-size: 12px;
  }

  .hero-content {
    padding: 45px;
  }

  .why-card,
  .request-card {
    gap: 25px;
    padding: 35px;
  }

  .process-step {
    padding-inline: 12px;
  }
}

@media (max-width: 760px) {

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .section {
    padding: 54px 0;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    background: #e0f5f0;
    color: #03a99e;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 19px;
  }

  .mobile-nav {
    padding: 10px 18px 16px;
    border-top: 1px solid var(--border);
    background: white;
  }

  .mobile-nav.open {
    display: grid;
    gap: 5px;
  }

  .mobile-nav a {
    padding: 10px 4px;
    color: var(--text-soft);
    font-size: 13px;
  }

  .hero {
    padding-top: 13px;
    padding-bottom: 30px;
  }

  .hero-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-visual {
    order: -1;
    padding: 8px;
  }

  .hero-image-placeholder {
    min-height: 220px;
    border-radius: 20px;
  }

  .hero-content {
    padding: 27px 23px 30px;
  }

  .hero-content h1 {
    font-size: 35px;
  }

  .hero-content h2 {
    font-size: 17px;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 2;
    text-align: justify;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    min-height: 45px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 9px;
  }

  .hero-features > div {
    min-height: 42px;
    justify-content: flex-start;
    padding-inline: 9px;
    font-size: 11px;
  }

  .section-heading {
    display: block;
    margin-bottom: 23px;
  }

  .section-heading h2,
  .why-content h2,
  .request-copy h2,
  .final-cta h2 {
    font-size: 24px;
  }

  .desktop-only {
    display: none;
  }

  .mobile-all-counselors {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    font-size: 12px;
  }

  /* Mobile counselor carousel: exactly one card visible */
  .counselors-carousel {
    padding-inline: 30px;
    overflow: hidden;
  }

  .counselors-track {
    display: flex;
    width: 100%;
    gap: 0;
    direction: rtl;
    will-change: transform;
  }

  .counselor-card {
    direction: rtl;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 23px 20px;
  }

  .profile-btn {
    min-height: 44px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 900;
  }

  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .carousel-dots {
    display: flex;
  }

  .why-card {
    grid-template-columns: 1fr;
    padding: 27px 20px;
    border-radius: 22px;
  }

  .why-visual {
    order: -1;
  }

  .soft-image {
    min-height: 180px;
  }

  .soft-image img {
    min-height: 180px;
  }

  .why-features {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 20px;
  }

  .why-feature {
    padding: 12px;
  }

  .request-card {
    grid-template-columns: 1fr;
    padding: 25px 17px;
    border-radius: 22px;
  }

  .consultation-form {
    padding: 18px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 5px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .process-step {
    padding: 5px 8px;
  }

  .process-step p {
    font-size: 10px;
  }

  .article-section {
    padding-top: 43px;
  }

  .content-article p {
    font-size: 14px;
    line-height: 2.15;
  }

  .content-article h2 {
    margin-top: 35px;
    font-size: 22px;
  }

  .content-article h3 {
    font-size: 17px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-image {
    min-height: 175px;
  }

  .final-cta {
    display: block;
    padding: 28px 22px;
    border-radius: 22px;
  }

  .final-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 390px) {
  .hero-actions,
  .final-actions {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }
}


.article-eyebrow {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  justify-content: center;
  text-align: center;
}


/* Mobile form title and floating call button */
@media (max-width: 760px) {
  .request-copy h2 {
    font-size: 30px;
    font-weight: 950;
    line-height: 1.35;
  }
}

.floating-phone {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #03c5b8;
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(3,197,184,.28);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 28px rgba(3,197,184,.35);
}
@media (max-width: 760px) {
  .floating-phone { width: 48px; height: 48px; right: 14px; bottom: 14px; font-size: 23px; }
}
@media (max-width: 760px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  /* جلوگیری از بیرون‌زدگی Carousel */
  [data-carousel] {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .counselors-track {
    max-width: 100%;
  }

  .counselor-card {
    max-width: 100%;
    box-sizing: border-box;
  }

}
.floating-phone {
  line-height: 0;
}

.floating-phone span {
  display: block;
  line-height: 1;
}
.floating-phone svg {
  width: 39px;
  height: 39px;
  display: block;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.8;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .floating-phone svg {
    width: 37px;
    height: 37px;
  }
}
/* =========================================================
   EXTRA CTA / CONTACT / RELATED ARTICLES
   فقط برای تغییرات جدید
   ========================================================= */

/* ================= FLOATING CONTACT BUTTONS ================= */

.floating-contact {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.floating-messenger {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(23,63,69,.10);
  box-shadow: 0 6px 18px rgba(23,63,69,.12);
  font-size: 12px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-messenger:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(23,63,69,.17);
}

.floating-phone {
  position: static;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #03c5b8;
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(3,197,184,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-phone:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 28px rgba(3,197,184,.35);
}

/* ================= MID-PAGE MESSENGER CTA ================= */

.messenger-cta {
  margin: 45px auto;
  padding: 28px 25px;
  max-width: 900px;
  text-align: center;
  border-radius: 22px;
  background: var(--mint-light);
  border: 1px solid rgba(3,197,184,.10);
}

.messenger-cta h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 23px;
  line-height: 1.6;
}

.messenger-cta p {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 2;
}

.messenger-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-cta-actions a {
  min-width: 110px;
}

/* ================= RELATED ARTICLE IMAGES ================= */

.article-image {
  min-height: 155px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ================= MOBILE CTA ================= */

@media (max-width: 760px) {

  .floating-contact {
    left: 14px;
    bottom: 14px;
    gap: 7px;
  }

  .floating-messenger {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .floating-phone {
    width: 48px;
    height: 48px;
    font-size: 23px;
  }

  /* برجسته‌تر بودن CTAهای اصلی نسبت به مشاهده پروفایل */
  .hero-actions .btn,
  .final-actions .btn,
  .btn-submit {
    min-height: 56px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 950;
    border-radius: 16px;
  }

  .profile-btn {
    min-height: 44px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 800;
  }

  .messenger-cta {
    margin: 35px auto;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .messenger-cta h2 {
    font-size: 21px;
  }

  .messenger-cta p {
    font-size: 13px;
  }

  .messenger-cta-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .messenger-cta-actions a {
    min-width: 0;
    min-height: 48px;
    padding: 9px 6px;
    font-size: 12px;
  }

  .article-image img {
    height: 190px;
  }
}

@media (max-width: 390px) {
  .messenger-cta-actions {
    grid-template-columns: 1fr;
  }

  .messenger-cta-actions a {
    width: 100%;
  }
}
/* ================= DARK GREEN FOOTER ================= */

.site-footer {
  background: #005f59;
  border-top: 0;
  color: #ffffff;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-brand p,
.footer-copy {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  color: rgba(255, 255, 255, 0.88);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition), opacity var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  opacity: 1;
}
/* ================= FLOATING CONTACT BUTTONS ================= */

.floating-contact {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

.floating-messenger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-messenger:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0,0,0,.25);
}

.floating-messenger svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

/* WhatsApp */
.floating-messenger.whatsapp {
  background: #25D366;
}

/* Eitaa */
.floating-messenger.eitaa {
  background: #f39a27;
}

.eitaa-icon {
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  font-family: Arial, sans-serif;
}

/* Telegram */
.floating-messenger.telegram {
  background: #229ED9;
}

/* Phone remains larger */
.floating-phone {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: #ffffff;
  }

  body {
    padding-top: 70px;
  }
}
/* ================= DANA FONT ================= */

@font-face {
  font-family: "Dana";
  src: url("https://ravanomid.ir/new_template/mdhsaroncare/rtl/assets/fonts/dana-fanum-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dana";
  src: url("https://ravanomid.ir/new_template/mdhsaroncare/rtl/assets/fonts/dana-fanum-demibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Apply Dana everywhere */
html,
body,
button,
input,
textarea,
select {
  font-family: "Dana", sans-serif;
}
.floating-messenger.eitaa img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  display: block;
}
@media (max-width: 760px) {
  .btn-primary {
    font-size: 17px !important;
    font-weight: 800 !important;
  }
}

@media (max-width: 760px) {
  .counselors-carousel {
    position: relative;
  }

  .carousel-prev {
    right: 4px;
    left: auto;
  }

  .carousel-next {
    left: 4px;
    right: auto;
  }
}
@media (max-width: 760px) {
  .carousel-prev {
    right: 8px;
  }

  .carousel-next {
    left: 8px;
  }
}
.counselor-photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.counselor-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .counselors-track {
    display: flex;
    gap: 16px;
  }

  .counselor-card {
    flex: 0 0 calc(100% - 16px);
    width: calc(100% - 16px);
    margin: 0;
    box-sizing: border-box;
  }
}
@media (max-width: 760px) {
  [data-carousel] {
    overflow: visible;
  }
}