/* Mehr Heart Clinic — Premium Specialty Design
   Brand: #5cccd0 | #081541 | #ba2354
*/

:root {
  --teal: #5cccd0;
  --navy: #081541;
  --magenta: #ba2354;
  --teal-soft: #e7f7f8;
  --navy-soft: #f2f4f8;
  --text: #142038;
  --muted: #5a6478;
  --white: #ffffff;
  --line: rgba(8, 21, 65, 0.1);
  --shadow: 0 22px 50px rgba(8, 21, 65, 0.12);
  --shadow-lg: 0 30px 70px rgba(8, 21, 65, 0.18);
  --radius: 20px;
  --container: 1180px;
  --font: "Vazirmatn", Tahoma, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.55em;
}

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link:focus {
  position: fixed; top: 1rem; right: 1rem; z-index: 1000;
  width: auto; height: auto; clip: auto;
  background: var(--navy); color: var(--white);
  padding: 0.75rem 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.btn--sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.85rem; }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: #0d2258; box-shadow: 0 12px 28px rgba(8, 21, 65, 0.28); }

.btn--accent { background: var(--magenta); color: var(--white); }
.btn--accent:hover { background: #9e1d47; box-shadow: 0 12px 28px rgba(186, 35, 84, 0.3); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn--ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: rgba(8, 21, 65, 0.22);
}
.btn--ghost-navy:hover { border-color: var(--navy); background: rgba(8, 21, 65, 0.04); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--magenta);
  font-weight: 700;
  font-size: 0.92rem;
}
.text-link::after { content: "←"; transition: transform 0.3s var(--ease); }
.text-link:hover::after { transform: translateX(-4px); }
.text-link--light { color: var(--teal); }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 800;
}
.eyebrow--on-dark { color: var(--teal); }

.muted { color: var(--muted); }

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

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.topbar__meta a:hover { color: var(--teal); }

.topbar__sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}

.topbar__social { display: flex; gap: 1rem; }
.social-link { opacity: 0.88; font-weight: 700; }
.social-link:hover { color: var(--teal); opacity: 1; }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand__link { display: flex; align-items: center; gap: 0.8rem; }

.brand__mark {
  width: 46px; height: 46px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 16%, transparent 17%),
    linear-gradient(145deg, var(--magenta), #7a1840);
  box-shadow: 0 0 0 3px rgba(92, 204, 208, 0.4);
  flex-shrink: 0;
}

.brand__text { display: flex; flex-direction: column; gap: 0.08rem; }
.brand__name { color: var(--magenta); font-weight: 800; font-size: 0.98rem; line-height: 1.25; }
.brand__tag { color: var(--muted); font-size: 0.72rem; }

.primary-nav { display: flex; align-items: center; gap: 1.4rem; }
.menu { display: flex; align-items: center; gap: 1.2rem; }

.menu a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
}

.menu a::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.35s var(--ease);
}

.menu a:hover::after,
.menu .current-menu-item > a::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; padding: 0; cursor: pointer;
}
.nav-toggle__bar {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: var(--navy);
}

/* Premium split hero */
.hero--split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(86vh, 760px);
  background: var(--navy);
}

.hero__panel {
  display: flex;
  align-items: center;
  padding: 4.5rem 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(92, 204, 208, 0.16), transparent 40%),
    var(--navy);
}

.hero__panel-inner {
  width: min(100% - 2.5rem, 560px);
  margin-right: max((100vw - var(--container)) / 2, 1.25rem);
  margin-left: auto;
  color: var(--white);
}

.hero__brand {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.hero__title {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  max-width: 14ch;
}

.hero__lead {
  margin: 0 0 1.8rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  max-width: 38ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero__visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(8, 21, 65, 0.25), rgba(186, 35, 84, 0.18)),
    linear-gradient(160deg, #1a2f66, #0b1a44 55%, #132a5c);
}

.hero__visual-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 60% 40%, rgba(92, 204, 208, 0.45), transparent 42%),
    radial-gradient(circle at 30% 70%, rgba(186, 35, 84, 0.28), transparent 40%);
  animation: glowPulse 10s var(--ease) infinite alternate;
}

.hero__visual-frame {
  position: absolute;
  inset: 12% 14%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}

.hero__visual-frame::before {
  content: "";
  position: absolute;
  inset: 18% 22%;
  border-radius: 50%;
  border: 2px solid rgba(92, 204, 208, 0.35);
  box-shadow: inset 0 0 40px rgba(92, 204, 208, 0.15);
}

.hero__visual-frame::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  transform: translateY(-50%);
  opacity: 0.8;
}

@keyframes glowPulse {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-2%, 2%, 0); }
}

/* Stats */
.stats-band {
  background: linear-gradient(90deg, #061233, var(--navy) 40%, #0c1f52);
  color: var(--white);
  padding: 2rem 0;
  border-top: 3px solid var(--teal);
}

.stats-band--page { margin-top: 0; }

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
}

.stat-item__value {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--teal);
  line-height: 1.2;
}

.stat-item__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Sections */
.section { padding: 5.5rem 0; }

.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  margin-bottom: 0.65rem;
}
.section-head__desc { color: var(--muted); margin: 0; }

.section-head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.page-hero {
  padding: 4.2rem 0 2.8rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(92, 204, 208, 0.16), transparent 30%),
    linear-gradient(180deg, var(--navy-soft), var(--white));
}

.page-hero--navy {
  background:
    radial-gradient(circle at 85% 20%, rgba(92, 204, 208, 0.22), transparent 35%),
    linear-gradient(135deg, #061233, var(--navy) 55%, #0e2458);
  color: var(--white);
}

.page-hero--navy h1 { color: var(--white); }
.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin-bottom: 0.75rem;
}
.page-hero__lead { color: var(--muted); max-width: 48ch; margin: 0; }
.page-hero__lead--light { color: rgba(255, 255, 255, 0.8); }

/* Services premium */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.service-grid--premium {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  padding: 1.45rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service-card--featured {
  background: linear-gradient(180deg, #fff, var(--teal-soft));
  border-color: rgba(92, 204, 208, 0.45);
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: rgba(92, 204, 208, 0.55);
}

.service-card__icon {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}

.icon-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(92, 204, 208, 0.25);
}

.service-card h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.85rem; }
.service-card__detail { font-size: 0.84rem !important; opacity: 0.92; }

/* About premium */
.about-split { background: var(--navy-soft); }
.about-split--premium { position: relative; overflow: hidden; }

.about-split__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-split__visual { position: relative; }

.about-photo {
  min-height: 460px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(8, 21, 65, 0.35), rgba(92, 204, 208, 0.2)),
    linear-gradient(45deg, #c5d3de, #8ea6bb 50%, #6f89a3);
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  left: -12px;
  bottom: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  border-right: 4px solid var(--teal);
  box-shadow: var(--shadow);
  max-width: 220px;
}

.about-badge span {
  display: block;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
}

.about-badge strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

.about-intro {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 2rem;
}

.feature-list li {
  position: relative;
  padding-right: 1.6rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  right: 0; top: 0.55rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
}

/* Paraclinical */
.para-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.para-col { padding: 1.5rem 0; }

.para-col__icon {
  width: 58px; height: 58px; border-radius: 50%;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 30% 30%, #fff 0 12%, transparent 13%),
    linear-gradient(145deg, var(--teal), #2f9ea3);
}

.para-col h3 { font-size: 1.05rem; margin-bottom: 0.85rem; }
.para-col li {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}
.para-col li:last-child { border-bottom: 0; }

/* Doctors premium */
.doctors-section--premium {
  background:
    linear-gradient(180deg, rgba(8, 21, 65, 0.04), rgba(92, 204, 208, 0.1));
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.doctor-card--premium {
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}

.doctor-card--premium:hover { transform: translateY(-6px); }

.doctor-card__photo {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(8, 21, 65, 0.05), rgba(8, 21, 65, 0.45)),
    linear-gradient(135deg, #c8d3df, #7f93aa);
}

.doctor-card__body { padding: 1.8rem 1.55rem; }
.doctor-card__role {
  color: var(--teal);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.doctor-card__body p:nth-of-type(2) {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-soft);
}

.post-card__media img,
.post-card__placeholder {
  width: 100%; height: 100%; object-fit: cover;
}

.post-card__placeholder {
  display: block;
  background: linear-gradient(135deg, rgba(92, 204, 208, 0.4), rgba(8, 21, 65, 0.3));
}

.post-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.post-card__body time {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.post-card__body h3 { font-size: 1.05rem; margin: 0; }
.post-card__body p { color: var(--muted); font-size: 0.9rem; margin: 0; flex: 1; }

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3.6rem 0;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--teal), var(--magenta));
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 { color: var(--white); margin-bottom: 0.35rem; font-size: 1.55rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.75); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Contact premium */
.contact-grid--premium {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 2rem 1.75rem;
}

.contact-panel h2 { color: var(--white); }

.contact-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-list span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.contact-list a,
.contact-list strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.contact-form-wrap {
  padding: 1.85rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--navy-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(92, 204, 208, 0.55);
  border-color: var(--teal);
  background: var(--white);
}

.map-band { margin-top: 0.5rem; }

.map-frame {
  min-height: 360px;
  background: var(--navy-soft);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.map-caption {
  background: var(--magenta);
  color: var(--white);
  padding: 1rem 0;
  font-size: 0.95rem;
}

.map-caption .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

/* Blog layout */
.layout-blog {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
}

.sidebar .widget {
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: var(--navy-soft);
}

.widget-title { font-size: 1rem; margin-bottom: 0.75rem; }
.prose-wide { max-width: 760px; }
.entry-content { font-size: 1.05rem; color: var(--text); }

.single-thumb {
  margin-bottom: 1.75rem;
  border-radius: 18px;
  overflow: hidden;
}

.empty-note { color: var(--muted); padding: 2rem 0; }
.pagination-wrap { margin-top: 2.5rem; }

.pagination-wrap .nav-links {
  display: flex; gap: 0.5rem; justify-content: center;
}

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  min-width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--navy-soft);
  color: var(--navy);
  font-weight: 700;
}

.pagination-wrap .current {
  background: var(--navy);
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 0;
  position: relative;
}

.footer__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--magenta));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3.2rem 0 2.5rem;
}

.footer__name {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.footer__slogan { color: var(--teal); font-weight: 700; margin: 0 0 0.35rem; }
.footer__city { margin: 0; opacity: 0.7; font-size: 0.9rem; }

.footer__col h4,
.footer-widget-title {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-menu,
.footer-contact { display: grid; gap: 0.45rem; }

.footer-menu a:hover,
.footer__col a:hover { color: var(--teal); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  font-size: 0.85rem;
}
.footer__bottom p { margin: 0; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .hero__visual-glow,
  .reveal,
  .btn,
  .service-card,
  .doctor-card--premium,
  .post-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .service-grid,
  .service-grid--premium { grid-template-columns: repeat(3, 1fr); }
  .para-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .primary-nav {
    position: absolute;
    top: 100%; right: 0; left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open { display: flex; }
  .menu { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .nav-cta { width: fit-content; }

  .hero--split,
  .about-split__grid,
  .doctor-grid,
  .contact-grid--premium,
  .layout-blog,
  .cta-band__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero--split { min-height: auto; }
  .hero__visual { min-height: 280px; }
  .hero__panel-inner { margin-right: 1.25rem; width: auto; }

  .doctor-card--premium { grid-template-columns: 1fr; }
  .doctor-card__photo { min-height: 220px; }
  .post-grid { grid-template-columns: 1fr; }
  .about-badge { left: 12px; }
}

@media (max-width: 640px) {
  .topbar__meta span:last-of-type { display: none; }
  .service-grid,
  .service-grid--premium,
  .para-grid,
  .footer__grid,
  .stats-band__grid { grid-template-columns: 1fr; }
  .section { padding: 3.75rem 0; }
  .brand__tag { display: none; }
}

.elementor-page .site-main > .elementor { margin: 0; }

/* ===== v1.2 Hero Slider + photo cards ===== */
body { font-family: "Vazir", Tahoma, sans-serif; }

.hero-slider {
  position: relative;
  min-height: min(88vh, 820px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-slider__track { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.hero-slide.is-active .hero-slide__media {
  transform: scale(1);
}

.hero-slider[data-anim="kenburns"] .hero-slide.is-active .hero-slide__media {
  animation: kenburns 8s ease-out forwards;
}

.hero-slider[data-anim="slide"] .hero-slide {
  transform: translateX(-8%);
  transition: opacity 0.7s var(--ease), transform 0.85s var(--ease), visibility 0.7s;
}
.hero-slider[data-anim="slide"] .hero-slide.is-active {
  transform: translateX(0);
}

@keyframes kenburns {
  from { transform: scale(1.12) translate3d(2%, 0, 0); }
  to { transform: scale(1) translate3d(0, 0, 0); }
}

.hero-slide__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 21, 65, 0.92) 8%, rgba(8, 21, 65, 0.55) 48%, rgba(8, 21, 65, 0.35) 100%),
    linear-gradient(to top, rgba(8, 21, 65, 0.75), transparent 45%);
}

.hero-slide__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5.5rem 0 5.5rem;
  max-width: 720px;
  margin-right: max((100% - var(--container)) / 2, 1.25rem);
  margin-left: auto;
}

.hero-slide.is-active .hero-slide__brand,
.hero-slide.is-active .hero-slide__title,
.hero-slide.is-active .hero-slide__lead,
.hero-slide.is-active .hero-slide__actions {
  animation: slideTextIn 0.85s var(--ease) both;
}
.hero-slide.is-active .hero-slide__title { animation-delay: 0.12s; }
.hero-slide.is-active .hero-slide__lead { animation-delay: 0.22s; }
.hero-slide.is-active .hero-slide__actions { animation-delay: 0.32s; }

@keyframes slideTextIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero-slide__brand {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 800;
}

.hero-slide__title {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  max-width: 14ch;
}

.hero-slide__lead {
  margin: 0 0 1.6rem;
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
  max-width: 38ch;
}

.hero-slide__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-slider__ui {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding-bottom: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.hero-slider__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.hero-dot.is-active {
  width: 28px;
  background: var(--teal);
}

.hero-slider__nav {
  position: absolute;
  left: max((100% - var(--container)) / 2, 1.25rem);
  bottom: 2.4rem;
  display: flex;
  gap: 0.5rem;
}

.hero-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(8,21,65,0.35);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.3s var(--ease), border-color 0.3s;
}

.hero-nav-btn:hover {
  background: var(--magenta);
  border-color: var(--magenta);
}

.hero-slider__progress {
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
}

.hero-slider__progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--magenta));
}

.about-photo,
.doctor-card__photo,
.hero__visual {
  background-size: cover;
  background-position: center;
}

.service-grid--photos {
  grid-template-columns: repeat(5, 1fr);
}

.service-card--photo {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card__thumb {
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s var(--ease);
}

.service-card--photo:hover .service-card__thumb {
  transform: scale(1.06);
}

.service-card--photo .service-card__body {
  padding: 1.15rem 1.15rem 1.3rem;
}

.service-card--photo h3 { font-size: 0.98rem; }
.service-card--photo p { margin-bottom: 0.75rem; }

.footer-menu:empty::before {
  content: none;
}

@media (max-width: 1100px) {
  .service-grid--photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-slider { min-height: 78vh; }
  .hero-slide__content {
    margin-right: 1.25rem;
    padding: 4rem 0 6rem;
  }
  .hero-slider__nav { left: 1.25rem; }
}

@media (max-width: 640px) {
  .service-grid--photos { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__media,
  .hero-slide.is-active .hero-slide__brand,
  .hero-slide.is-active .hero-slide__title,
  .hero-slide.is-active .hero-slide__lead,
  .hero-slide.is-active .hero-slide__actions {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== v2.0 Clinic visual refresh + Elementor widgets ===== */
:root {
  --magenta: #bc2354;
  --para-glow: #bc2354;
}

.brand__fallback-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 7px 14px rgba(8, 21, 65, 0.12));
}

.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 62px; }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-head__desc {
  max-width: 650px;
  margin-inline: auto;
}

.mehr-medical-icon {
  width: 1em;
  height: 1em;
  display: block;
}

/* Service cards: exact supplied service imagery. */
.services-section {
  background:
    radial-gradient(circle at 5% 15%, rgba(92, 204, 208, 0.09), transparent 26%),
    linear-gradient(180deg, #fff, #fbfcfe);
}

.service-card--photo {
  position: relative;
  border: 1px solid rgba(8, 21, 65, 0.09);
  box-shadow: 0 14px 36px rgba(8, 21, 65, 0.08);
  isolation: isolate;
}

.service-card--photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--magenta));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
  z-index: 3;
}

.service-card--photo:hover::after { transform: scaleX(1); }

.service-card__thumb {
  position: relative;
  overflow: hidden;
  background: #edf2f5;
}

.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease), filter 0.45s var(--ease);
}

.service-card--photo:hover .service-card__thumb img {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.02);
}

.service-card__floating-icon {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--magenta);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(188, 35, 84, 0.14);
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(8, 21, 65, 0.15);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease), color 0.3s ease, background 0.3s ease;
}

.service-card__floating-icon .mehr-medical-icon { width: 23px; height: 23px; }
.service-card--photo:hover .service-card__floating-icon {
  transform: translateY(-4px) rotate(-4deg);
  color: #fff;
  background: var(--magenta);
}

.service-card--photo .service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card--photo .service-card__body .text-link { margin-top: auto; }
.service-card--photo h3 { min-height: 2.55em; }
.service-card--photo p { line-height: 1.75; }

/* Interactive paraclinical cards with a moving #bc2354 light. */
.para-section--interactive {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(92, 204, 208, 0.13), transparent 30%),
    linear-gradient(180deg, #f7fbfc 0%, #fff 100%);
}

.para-section--interactive::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  left: -190px;
  bottom: -220px;
  background: rgba(188, 35, 84, 0.055);
  filter: blur(1px);
}

.para-grid--interactive {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.para-card {
  --para-glow: #bc2354;
  position: relative;
  min-width: 0;
  padding: 2px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 16px 36px rgba(8, 21, 65, 0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.para-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 170%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0 68%,
    rgba(188, 35, 84, 0.25) 74%,
    var(--para-glow) 82%,
    rgba(255, 255, 255, 0.95) 86%,
    transparent 92% 100%
  );
  animation: mehrParaOrbit 5.4s linear infinite;
  transform-origin: center;
}

.para-card:nth-child(2)::before { animation-delay: -1.35s; }
.para-card:nth-child(3)::before { animation-delay: -2.7s; }
.para-card:nth-child(4)::before { animation-delay: -4.05s; }

@keyframes mehrParaOrbit {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.para-card__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 1.75rem 1.35rem 1.45rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  text-align: center;
  backdrop-filter: blur(10px);
}

.para-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(8, 21, 65, 0.14), 0 0 28px rgba(188, 35, 84, 0.12);
}

.para-card__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
  color: var(--magenta);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(188, 35, 84, 0.11), rgba(92, 204, 208, 0.16));
  box-shadow: inset 0 0 0 1px rgba(188, 35, 84, 0.08);
  transition: transform 0.45s var(--ease), background 0.35s ease, color 0.35s ease;
}

.para-card__icon .mehr-medical-icon { width: 38px; height: 38px; }
.para-card:hover .para-card__icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.04);
  color: #fff;
  background: var(--magenta);
}

.para-card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }

.para-card__summary {
  min-height: 0;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--magenta);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.65;
  transform: translateY(7px);
  transition: max-height 0.45s var(--ease), opacity 0.35s ease, transform 0.45s var(--ease), margin 0.35s ease;
}

.para-card:hover .para-card__summary,
.para-card:focus-within .para-card__summary {
  max-height: 4em;
  margin: 0.15rem 0 0.85rem;
  opacity: 1;
  transform: none;
}

.para-card li {
  position: relative;
  padding: 0.52rem 1.05rem 0.52rem 0;
  color: var(--muted);
  font-size: 0.86rem;
  border-bottom: 1px dashed rgba(8, 21, 65, 0.1);
  text-align: right;
}

.para-card li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 1rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(92, 204, 208, 0.12);
}

.para-card li:last-child { border-bottom: 0; }

/* Doctors: supplied photos, centered section and premium cards. */
.doctors-section--premium {
  background:
    radial-gradient(circle at 8% 20%, rgba(188, 35, 84, 0.08), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(92, 204, 208, 0.12), transparent 28%),
    #f5fafb;
}

.doctor-grid { gap: 1.5rem; }

.doctor-card--premium {
  position: relative;
  grid-template-columns: minmax(210px, 0.72fr) 1.28fr;
  border: 1px solid rgba(8, 21, 65, 0.08);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(8, 21, 65, 0.1);
}

.doctor-card--premium::before {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--magenta), var(--teal));
  transform: scaleY(0.28);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}

.doctor-card--premium:hover::before { transform: scaleY(1); }

.doctor-card__photo {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #e6f5f6, #eef0f6);
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease);
}

.doctor-card--premium:hover .doctor-card__photo img { transform: scale(1.035); }

.doctor-card__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: var(--magenta);
  box-shadow: 0 12px 24px rgba(188, 35, 84, 0.28);
}
.doctor-card__badge .mehr-medical-icon { width: 26px; height: 26px; }

.doctor-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #fff, #fbfcfe);
}

.doctor-card__body h3 { font-size: 1.22rem; }
.doctor-card__role { display: inline-flex; width: fit-content; padding: 0.28rem 0.68rem; border-radius: 999px; background: rgba(188, 35, 84, 0.08); }
.doctor-card__body .btn { align-self: flex-start; margin-top: 0.25rem; }

/* Redesigned footer. */
.site-footer {
  overflow: visible;
  background:
    radial-gradient(circle at 5% 15%, rgba(92, 204, 208, 0.11), transparent 25%),
    radial-gradient(circle at 95% 70%, rgba(188, 35, 84, 0.12), transparent 27%),
    #061232;
}

.footer-contact-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  transform: translateY(-50%);
  margin-bottom: -1.8rem;
}

.footer-contact-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  color: var(--navy);
  border: 1px solid rgba(8, 21, 65, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 38px rgba(4, 12, 39, 0.2);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.footer-contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px rgba(4, 12, 39, 0.25); }
.footer-contact-card__icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; color: var(--magenta); border-radius: 15px; background: rgba(188, 35, 84, 0.08); }
.footer-contact-card__icon .mehr-medical-icon { width: 25px; height: 25px; }
.footer-contact-card span:last-child { min-width: 0; display: grid; }
.footer-contact-card small { color: var(--muted); font-size: 0.72rem; }
.footer-contact-card strong { color: var(--navy); font-size: 0.86rem; line-height: 1.65; }

.footer__grid {
  grid-template-columns: 1.55fr 0.75fr 1fr 1.15fr;
  gap: 2.4rem;
  padding-top: 2.2rem;
}

.footer-brand-lockup { display: flex; align-items: center; gap: 1rem; }
.footer-brand-lockup img { width: 82px; height: 82px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(0,0,0,.25)); }
.footer-brand-lockup span { display: grid; gap: 0.3rem; }
.footer__name { display: block; margin: 0; line-height: 1.55; }
.footer__slogan { display: block; margin: 0; font-style: normal; }
.footer__intro { max-width: 38ch; margin: 1rem 0 1.1rem; color: rgba(255,255,255,.65); font-size: .88rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .55rem; }
.footer-socials a { padding: .42rem .8rem; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-size: .78rem; transition: background .3s, border-color .3s; }
.footer-socials a:hover { background: var(--magenta); border-color: var(--magenta); }

.footer__col h4 {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.1rem;
}
.footer__col h4::after { content: ""; position: absolute; right: 0; bottom: 0; width: 36px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--magenta), var(--teal)); }
.footer-menu { gap: .6rem; }
.footer-menu li { position: relative; padding-right: .8rem; }
.footer-menu li::before { content: ""; position: absolute; right: 0; top: .78rem; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }
.footer-contact li { display: grid; gap: .08rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-contact li:last-child { border-bottom: 0; }
.footer-contact span { color: rgba(255,255,255,.46); font-size: .72rem; }
.footer-contact a { color: rgba(255,255,255,.88); direction: ltr; text-align: right; }
.footer__address p { color: rgba(255,255,255,.67); font-size: .86rem; }
.footer-map-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--teal); font-weight: 700; font-size: .84rem; }
.footer-map-link span { transition: transform .3s var(--ease); }
.footer-map-link:hover span { transform: translateX(-4px); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.footer__bottom-inner p:last-child { color: rgba(255,255,255,.45); }

/* Elementor document: no forced page padding or title wrapper. */
.elementor-page .site-main > .elementor,
.elementor-page .site-main > [data-elementor-type] { width: 100%; }
.elementor-editor-active .reveal { opacity: 1; transform: none; }
.elementor-widget-mehr-heart-hero .elementor-widget-container,
.elementor-widget-mehr-heart-stats .elementor-widget-container,
.elementor-widget-mehr-heart-services .elementor-widget-container,
.elementor-widget-mehr-heart-about .elementor-widget-container,
.elementor-widget-mehr-heart-paraclinical .elementor-widget-container,
.elementor-widget-mehr-heart-doctors .elementor-widget-container,
.elementor-widget-mehr-heart-posts .elementor-widget-container { overflow: visible; }

@media (max-width: 1100px) {
  .para-grid--interactive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.35fr 0.65fr 1fr; }
  .footer__address { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .doctor-card--premium { grid-template-columns: minmax(190px, .8fr) 1.2fr; }
  .footer-contact-strip { grid-template-columns: 1fr; transform: translateY(-34px); margin-bottom: -1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; padding-top: 1rem; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__address { grid-column: auto; }
}

@media (max-width: 640px) {
  .brand__fallback-logo { width: 50px; height: 50px; }
  .stats-band__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .service-grid--photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .service-card--photo .service-card__body { padding: .95rem .85rem 1.05rem; }
  .service-card--photo h3 { min-height: auto; font-size: .88rem; }
  .service-card--photo p { font-size: .78rem; }
  .service-card__floating-icon { width: 36px; height: 36px; left: .55rem; bottom: .55rem; }
  .service-card__floating-icon .mehr-medical-icon { width: 19px; height: 19px; }
  .para-grid--interactive { grid-template-columns: 1fr; }
  .para-card__summary { max-height: 4em; margin: .15rem 0 .85rem; opacity: 1; transform: none; }
  .doctor-card--premium { grid-template-columns: 1fr; }
  .doctor-card__photo, .doctor-card__photo img { min-height: 270px; }
  .doctor-card__body { padding: 1.35rem 1.15rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.7rem; }
  .footer__brand, .footer__address { grid-column: auto; }
  .footer-brand-lockup img { width: 68px; height: 68px; }
  .footer__bottom-inner { display: grid; text-align: center; justify-content: center; }
}

@media (hover: none) {
  .para-card__summary { max-height: 4em; margin: .15rem 0 .85rem; opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .para-card::before { animation: none; background: linear-gradient(135deg, rgba(188,35,84,.65), rgba(92,204,208,.45)); }
}
