/* About page — simple, attractive, animated */

.about-page {
  --about-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Hero ─── */
.about-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem clamp(4.5rem, 10vw, 6rem);
  background: linear-gradient(135deg, #1b4965 0%, #0d2137 55%, #163a52 100%);
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  transform: scale(1.05);
  animation: about-hero-zoom 18s ease-in-out infinite alternate;
}

@keyframes about-hero-zoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.about-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.42;
  pointer-events: none;
  animation: about-orb-float 8s ease-in-out infinite;
}

.about-hero__orb--1 {
  width: 260px;
  height: 260px;
  background: var(--md-accent, #2ec4b6);
  top: -70px;
  left: 12%;
  animation-delay: 0s;
}

.about-hero__orb--2 {
  width: 240px;
  height: 240px;
  background: var(--md-primary, #e85d04);
  bottom: -50px;
  right: 10%;
  animation-delay: -3.5s;
}

@keyframes about-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, -14px) scale(1.05); }
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.about-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
}

.about-hero p {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.65;
}

/* ─── Scroll reveal ─── */
.about-reveal {
  opacity: 1;
  transform: none;
}

html.reveal-enhanced .about-reveal {
  transition:
    opacity 0.65s var(--about-ease),
    transform 0.65s var(--about-ease);
}

html.reveal-enhanced .about-reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
}

.about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-reveal[data-delay="1"] { transition-delay: 0.08s; }
.about-reveal[data-delay="2"] { transition-delay: 0.16s; }
.about-reveal[data-delay="3"] { transition-delay: 0.24s; }
.about-reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html.reveal-enhanced .about-reveal,
  .about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about-hero__bg,
  .about-hero__orb {
    animation: none;
  }
}

/* ─── Stats strip ─── */
.about-stats {
  max-width: 880px;
  margin: -2.5rem auto 0;
  padding: 0 1.25rem;
  position: relative;
  z-index: 3;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 1.15rem 0.75rem;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(27, 73, 101, 0.05),
    0 16px 40px rgba(27, 73, 101, 0.1);
  border: 1px solid rgba(27, 73, 101, 0.06);
  transition: transform 0.35s var(--about-ease), box-shadow 0.35s;
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(27, 73, 101, 0.12);
}

.about-stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232, 93, 4, 0.12), rgba(46, 196, 182, 0.12));
  color: var(--md-primary, #e85d04);
}

.about-stat__icon .material-icons-round {
  font-size: 1.4rem;
}

.about-stat strong {
  font-size: 1.35rem;
  color: var(--md-secondary, #1b4965);
  line-height: 1.2;
}

.about-stat span {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ─── Intro split ─── */
.about-intro {
  padding: 3rem 1.25rem;
  max-width: 1060px;
  margin: 0 auto;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 2.5rem;
  align-items: center;
}

.about-intro__text h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--md-secondary, #1b4965);
}

.about-intro__text p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
}

.about-intro__list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-intro__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.about-intro__list .material-icons-round {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--md-accent, #2ec4b6);
  margin-top: 0.1rem;
}

.about-intro__visual {
  position: relative;
  border-radius: 20px;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 8px 24px rgba(27, 73, 101, 0.12),
    0 24px 64px rgba(27, 73, 101, 0.14);
  overflow: hidden;
}

.about-intro__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 33, 55, 0.35));
  pointer-events: none;
}

.about-intro__visual-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--md-secondary, #1b4965);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.about-intro__visual-badge .material-icons-round {
  color: var(--md-primary, #e85d04);
  font-size: 1.1rem;
}

/* ─── Mission ─── */
.about-mission {
  padding: 2.5rem 1.25rem 3rem;
  background: linear-gradient(180deg, #f4f7fa 0%, #eef2f6 100%);
}

.about-mission__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.about-mission__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--md-secondary, #1b4965);
}

.about-mission__head p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}

.about-mission__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
  max-width: 960px;
  margin: 0 auto;
}

.about-mission-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.65rem 1.35rem;
  text-align: center;
  border: 1px solid rgba(27, 73, 101, 0.06);
  box-shadow: 0 4px 20px rgba(27, 73, 101, 0.06);
  transition:
    transform 0.35s var(--about-ease),
    box-shadow 0.35s var(--about-ease),
    border-color 0.25s;
}

.about-mission-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(27, 73, 101, 0.12);
  border-color: rgba(232, 93, 4, 0.2);
}

.about-mission-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--md-primary, #e85d04), #ff8c42);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.28);
  transition: transform 0.35s var(--about-ease);
}

.about-mission-card:hover .about-mission-card__icon {
  transform: scale(1.08) rotate(-3deg);
}

.about-mission-card__icon .material-icons-round {
  font-size: 1.65rem;
}

.about-mission-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--md-secondary, #1b4965);
}

.about-mission-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
}

/* ─── Doctors section polish ─── */
.about-page .specialists-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.about-page .specialists-section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.about-page .specialists-section .section-title {
  margin-bottom: 0.5rem;
}

.about-page .specialists-section .section-lead {
  margin: 0;
}

/* ─── Locations ─── */
.about-locations {
  padding: 2.5rem 1.25rem 3rem;
  background: #fff;
}

.about-locations__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.about-locations__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--md-secondary, #1b4965);
}

.about-locations__head p {
  margin: 0;
  color: #64748b;
}

.about-locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: 1060px;
  margin: 0 auto;
}

.about-location-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(27, 73, 101, 0.08);
  box-shadow: 0 4px 20px rgba(27, 73, 101, 0.07);
  transition: transform 0.35s var(--about-ease), box-shadow 0.35s;
}

.about-location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(27, 73, 101, 0.12);
}

.about-location-card__map {
  position: relative;
  height: 200px;
  background: #e5e7eb;
}

.about-location-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-location-card__body {
  padding: 1.25rem;
}

.about-location-card__body h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--md-secondary, #1b4965);
}

.about-location-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.about-location-card__row .material-icons-round {
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--md-primary, #e85d04);
  margin-top: 0.15rem;
}

.about-location-card__phone {
  font-weight: 700;
  color: var(--md-primary, #e85d04);
  text-decoration: none;
}

.about-location-card__phone:hover {
  text-decoration: underline;
}

.about-location-card__actions {
  margin-top: 1rem;
}

.about-location-card__actions .md-btn {
  border-radius: 10px;
}

/* ─── CTA ─── */
.about-cta {
  max-width: 1060px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
}

.about-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 20px;
  background: linear-gradient(120deg, var(--md-secondary, #1b4965), #0d2137);
  color: #fff;
  box-shadow: 0 16px 48px rgba(27, 73, 101, 0.22);
}

.about-cta__text h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.about-cta__text p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.88;
}

.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--about-ease), box-shadow 0.25s;
}

.about-cta__btn--primary {
  background: #fff;
  color: var(--md-secondary, #1b4965);
}

.about-cta__btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.about-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 860px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
  }

  .about-intro__visual {
    min-height: 260px;
    order: -1;
  }

  .about-stats__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-stats__grid {
    grid-template-columns: 1fr;
  }

  .about-cta__actions {
    width: 100%;
  }

  .about-cta__btn {
    flex: 1;
    justify-content: center;
  }
}
