/* ========================================================================
   German Academy — clean, modern, hand-written stylesheet
   ======================================================================== */

/* ---------- 1. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary:        #00c16a;
  --color-primary-dark:   #00a85c;
  --color-primary-light:  #e6f9f0;
  --color-dark:           #0f1c2e;
  --color-text:           #2b3a4d;
  --color-muted:          #6b7a8f;
  --color-border:         #e6ebf2;
  --color-bg:             #ffffff;
  --color-bg-alt:         #f7f9fc;

  --font-base:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            20px;

  --shadow-sm:            0 2px 4px rgba(15, 28, 46, 0.06);
  --shadow-md:            0 8px 24px rgba(15, 28, 46, 0.08);
  --shadow-lg:            0 20px 50px rgba(15, 28, 46, 0.12);

  --transition:           0.25s ease;

  --container:            1180px;
  --header-height:        61px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p  { margin-bottom: 1rem; }

/* .container — Bootstrap (bootstrap-theme.css) */

.section { padding: 5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}
.section-title h2 { margin-bottom: 0.75rem; }
.section-title h2 span { color: var(--color-primary); }
.section-title p  { color: var(--color-muted); max-width: 640px; margin: 0 auto; }

/* Düymələr və header — Bootstrap (bootstrap-theme.css, header.js) */

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(1.6rem, 6svh, 4.7rem) 0 clamp(1.4rem, 4svh, 3rem);
  background:
    linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.9)),
    url("../img/hero-person.png") top 16px center / 860px auto no-repeat,
    url("../img/hero-map.webp") top 28px center / 520px auto no-repeat,
    #fbfcfe;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  margin-bottom: clamp(1rem, 3.5svh, 2.3rem);
  font-size: clamp(2rem, 5.7vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}
.hero h1 .highlight {
  position: relative;
  color: var(--color-primary);
  display: inline-block;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: clamp(1.6rem, 7svh, 4.15rem);
}

.hero-steps {
  width: min(100%, clamp(480px, 58vw, 700px));
  margin: 0 auto clamp(1.3rem, 4.5svh, 2.9rem);
}

.hero-steps img {
  width: 100%;
  margin: 0 auto;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero .btn-primary {
  min-width: 92px;
  padding: 0.9rem 1.45rem;
}

/* ---------- 5. Service cards ---------- */
.services-section {
  background: #f8fafc;
  padding: 5rem 0 4.6rem;
}

.services-section .section-title {
  margin-bottom: 2rem;
}

.services-section .section-title h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.services-grid-simple {
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 1rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-body h3 {
  margin-bottom: 0.75rem;
}
.service-card-body p {
  color: var(--color-muted);
  flex-grow: 1;
}
.service-card-body .btn { margin-top: 1rem; align-self: flex-start; }

.service-card-simple {
  min-height: 148px;
  border-radius: 10px;
  border: 1px solid #ecf1f5;
  box-shadow: 0 10px 22px rgba(15, 28, 46, 0.06);
}

.service-card-simple:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15, 28, 46, 0.1);
  border-color: var(--color-primary);
}

.service-card-simple a {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 1rem;
  font-weight: 700;
  gap: 0.7rem;
}

.service-card-simple a span {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.service-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.home-services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.home-service-card {
  min-height: 190px;
  border-radius: 12px;
  border: 1px solid #e7edf3;
  box-shadow: 0 10px 20px rgba(15, 28, 46, 0.05);
}

.home-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 30px rgba(15, 28, 46, 0.1);
}

.home-service-card a {
  min-height: 190px;
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-dark);
}

.home-service-card .service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.7rem;
}

.home-service-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.home-service-card p {
  margin: 0;
  font-size: 0.87rem;
  color: #5b6676;
  line-height: 1.45;
}

.home-service-card--featured {
  border: 2px solid var(--color-primary);
  background: linear-gradient(90deg, #c8f0dc 0%, #e0f8ec 35%, #ecfbf4 100%);
  box-shadow: 0 12px 28px rgba(0, 193, 106, 0.16);
  border-radius: 14px;
}

.services-page-grid .home-service-card--featured {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  min-height: 0;
}

.services-page-grid .home-service-card--featured a {
  position: relative;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 1.15rem 1.5rem;
  min-height: 96px;
  padding: 1.35rem 1.65rem;
  width: 100%;
}

.services-page-grid .home-service-card--featured .service-icon {
  width: 52px;
  height: 52px;
  margin: 0;
  flex-shrink: 0;
}

.services-page-grid .home-service-card--featured h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.services-page-grid .home-service-card--featured p {
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.services-page-grid .home-service-card--featured .home-service-card-badge {
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.68rem;
}

.home-service-card--featured a {
  position: relative;
}

.home-service-card-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  line-height: 1.2;
}

.home-service-card--featured h3 {
  color: #008f4f;
}

.services-section--v1 .services-section-title {
  margin-bottom: 0;
}

.services-home-cta {
  margin-top: 2rem;
  text-align: center;
}

/* --- Bütün Xidmətlərimiz bölməsi (V1 kartlar) — səhifə üslubu: body.xidmetler-layout-v2 --- */
.services-page-section {
  background: linear-gradient(180deg, #f4fbf8 0%, #fff 42%, #f7f9fc 100%);
  padding: 4rem 0 4.5rem;
}

.services-page-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.services-page-eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #e6f9f0;
  border-radius: 999px;
}

.services-page-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
}

.services-page-intro h2 span {
  color: var(--color-primary);
}

.services-page-lead {
  margin: 0;
  color: #5b6676;
  font-size: 1.02rem;
  line-height: 1.65;
}

.services-page-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  max-width: 1120px;
  margin: 0 auto;
}

.services-catalog--section {
  max-width: 880px;
  margin: 0 auto;
}

.services-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.services-catalog-item--highlight .services-catalog-link {
  border-color: var(--color-primary);
  background: linear-gradient(90deg, #c8f0dc 0%, #e8faf2 50%, #fff 100%);
  box-shadow: 0 10px 28px rgba(0, 193, 106, 0.14);
}

.services-catalog-link {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.services-catalog-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(15, 28, 46, 0.08);
  transform: translateX(5px);
  color: inherit;
}

.services-catalog-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: #b8c9d6;
  letter-spacing: 0.06em;
  min-width: 1.6rem;
}

.services-catalog-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf9f3;
  border-radius: 12px;
  flex-shrink: 0;
}

.services-catalog-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.services-catalog-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.services-catalog-body strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
}

.services-catalog-body span {
  font-size: 0.88rem;
  color: #5b6676;
  line-height: 1.5;
}

.services-catalog-arrow {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.services-catalog-link:hover .services-catalog-arrow {
  transform: translateX(5px);
}

.services-catalog-badge {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-primary);
  border-radius: 6px;
  z-index: 1;
}

.services-page-bottom-cta {
  margin-top: 2.75rem;
  padding: 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 28, 46, 0.04);
}

.services-page-bottom-cta p {
  margin: 0 0 1.15rem;
  color: #5b6676;
  font-size: 1rem;
}

/* --- Xidmətlərimiz səhifəsi V2 (bütün səhifə) --- */
body.xidmetler-layout-v2 {
  background: #f4f7fa;
}

body.xidmetler-layout-v2 .services-hero {
  background: linear-gradient(125deg, #0f1c2e 0%, #163d32 55%, #0f1c2e 100%);
  padding: 4.5rem 0 5rem;
  color: #fff;
}

body.xidmetler-layout-v2 .services-hero-text h1 {
  color: #fff;
}

body.xidmetler-layout-v2 .services-hero-text h1 span {
  color: #5dffb0;
}

body.xidmetler-layout-v2 .services-checklist li {
  color: rgba(255, 255, 255, 0.92);
}

body.xidmetler-layout-v2 .services-checklist li::before {
  color: #5dffb0;
}

body.xidmetler-layout-v2 .services-steps img,
body.xidmetler-layout-v2 .services-doctors {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

body.xidmetler-layout-v2 .services-page-section {
  margin-top: -2rem;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 40px rgba(15, 28, 46, 0.06);
}

body.xidmetler-layout-v2 .why-academy {
  background: transparent;
}

body.xidmetler-layout-v2 .why-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 28, 46, 0.06);
}

body.xidmetler-layout-v2 .advantages-section {
  background: #fff;
  border-radius: 20px;
  margin: 0 1.25rem;
  max-width: calc(var(--container) + 2.5rem);
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem;
  box-shadow: 0 8px 28px rgba(15, 28, 46, 0.05);
}

body.xidmetler-layout-v2 .advantage-item {
  background: #f4fbf8;
  border-radius: 12px;
  border-left: none;
  padding: 1rem 1.15rem 1.1rem 3.35rem;
}

body.xidmetler-layout-v2 .advantage-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 4px;
  height: 2.85rem;
  background: var(--color-primary);
  border-radius: 0 4px 4px 0;
}

body.xidmetler-layout-v2 .advantage-item::before {
  left: 1.15rem;
  top: 1.05rem;
}

body.xidmetler-layout-v2 .future-section {
  background: linear-gradient(180deg, #e6f9f0 0%, #f4f7fa 100%);
}

body.xidmetler-layout-v2 #faq {
  background: #fff;
}

/* ---------- 6. About ---------- */
.about-section {
  background: #f5f6f8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-images img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-images img:nth-child(1) { grid-row: span 2; height: 100%; min-height: 400px; }

.about-text h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.about-text h2 span { color: var(--color-primary); }
.about-text p { color: var(--color-text); margin-bottom: 1rem; }

.about-section .about-grid {
  grid-template-columns: 0.92fr 1.08fr;
  gap: 5rem;
}

.about-section .about-images {
  display: block;
  min-height: 360px;
}

.about-section .about-images img:nth-child(1) {
  grid-row: auto;
  min-height: 0;
  height: auto;
}

.about-section .about-image {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(15, 28, 46, 0.12);
  object-fit: cover;
}

.about-section .about-image-back {
  top: 0;
  right: 0;
  width: 64%;
  height: 300px;
}

.about-section .about-image-front {
  left: 3%;
  bottom: 0;
  width: 58%;
  height: 230px;
  z-index: 2;
}

.about-section .about-text {
  max-width: 500px;
}

/* ---------- 7. Map ---------- */
.map-section {
  background: #f5f6f8;
  padding: 0.8rem 0 4rem;
}

.map-visual {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}

.map-visual img {
  width: 100%;
}

.map-marker {
  position: absolute;
  top: 7%;
  left: 52%;
  width: 52px;
  height: 72px;
  transform: translateX(-50%);
  pointer-events: none;
}

.map-flag {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 3px solid #101a2b;
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    #000 0 33.33%,
    #dd0000 33.33% 66.66%,
    #ffce00 66.66% 100%
  );
  box-shadow: 0 8px 18px rgba(15, 28, 46, 0.22);
  transform: translateX(-50%);
}

.map-dot {
  position: absolute;
  top: 46px;
  left: 50%;
  z-index: 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px rgba(0, 193, 106, 0.12);
  transform: translateX(-50%);
}

.map-pulse {
  position: absolute;
  top: 33px;
  left: 50%;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 193, 106, 0.24);
  transform: translateX(-50%) scale(0.7);
  animation: mapPulse 1.8s ease-out infinite;
}

@keyframes mapPulse {
  0% {
    opacity: 0.9;
    transform: translateX(-50%) scale(0.55);
  }
  70% {
    opacity: 0.15;
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.35);
  }
}

/* ---------- 8. FAQ ---------- */
#faq {
  background: #fff;
}

.faq-header {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto 3.5rem;
}

.faq-header h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.faq-header h2 span {
  display: block;
  color: var(--color-primary);
  width: max-content;
  margin-left: 1.75em;
}

.faq-header p {
  max-width: 540px;
  color: var(--color-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
}

.faq-mount {
  max-width: 1060px;
  margin: 0 auto;
}

/* ---------- 8. CTA / Contact preview ---------- */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 0 auto;
}
.cta h2 { color: #fff; margin-bottom: 1rem; }
.cta p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; }
.cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.cta .btn-primary:hover { background: var(--color-dark); color: #fff; }

/* Formlar — Bootstrap form-control (bootstrap-theme.css) */

/* ---------- 10. Footer ---------- */
.site-footer {
  background: #fff;
  color: var(--color-dark);
  border-top: 2px solid var(--color-primary);
  padding: 4.2rem 0 1.8rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}
.site-footer h4 {
  color: var(--color-dark);
  margin-bottom: 1.2rem;
  font-size: 1.12rem;
  font-weight: 800;
}
.site-footer ul { list-style: none; }
.site-footer li {
  margin-bottom: 0.45rem;
  color: var(--color-dark);
  font-size: 0.96rem;
  line-height: 1.45;
}
.site-footer a { color: var(--color-dark); }
.site-footer a.active,
.site-footer a:hover { color: var(--color-primary); }

.footer-brand img {
  height: 28px;
  margin-bottom: 1rem;
}
.footer-brand p,
.footer-meeting p {
  color: var(--color-dark);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

.footer-meeting .btn {
  margin-top: 1.25rem;
  padding: 0.78rem 1.55rem;
  font-size: 0.95rem;
}

.footer-meeting {
  text-align: center;
}

.footer-meeting .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.footer-meeting .btn-primary:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social a {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-social a:hover {
  background: transparent;
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e8eef2;
  font-size: 0.92rem;
  color: var(--color-dark);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 11. Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--color-primary-light), #f7faff);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p  { color: var(--color-muted); }

.page-header-compact {
  padding: 2.2rem 0 1.6rem;
}

.page-header-compact h1 {
  margin-bottom: 0.25rem;
}

.page-header-compact p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ---------- Contact page ---------- */
.contact-hero {
  background: #f6fafc;
  padding: 2rem 0 1.5rem;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
}

.contact-hero-text h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.8rem, 4.1vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.contact-hero-text h1 .contact-accent {
  color: var(--color-primary);
}

.contact-hero-text h1 .contact-break {
  display: block;
  color: var(--color-dark);
}

.contact-hero-text p {
  max-width: 560px;
  margin: 0;
  color: #5b6676;
  font-size: 1rem;
  line-height: 1.55;
}

.contact-hero-media {
  position: relative;
  min-height: 340px;
}

.contact-hero-dots {
  position: absolute;
  left: -50%;
  top: 16%;
  width: 54%;
  height: 58%;
  background-image: radial-gradient(#d5dde7 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  opacity: 0.9;
}

.contact-hero-media img {
  width: min(100%, 335px);
  height: 400px;
  margin-left: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.contact-form-section {
  padding-top: 2rem;
}

/* contact-form-layout — Bootstrap row/col */

.contact-info-card,
.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.7rem;
  box-shadow: 0 10px 22px rgba(15, 28, 46, 0.05);
}

.contact-info-card h2,
.contact-form-card h2 {
  margin-bottom: 0.7rem;
}

.contact-info-card p {
  margin-bottom: 1rem;
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-list li {
  margin-bottom: 0.85rem;
}

/* ---------- 12. Services Page Hero ---------- */
.services-hero {
  background: #fff;
  padding: 5.2rem 0;
  overflow: hidden;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.services-hero-text h1 {
  margin-bottom: 1.7rem;
  color: var(--color-dark);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.services-hero-text h1 span {
  display: block;
  color: var(--color-primary);
}

.services-checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.services-checklist li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--color-text);
  font-size: 1.12rem;
  font-weight: 500;
}

.services-checklist li::before {
  content: '✓';
  position: absolute;
  top: 0.05rem;
  left: 0;
  width: 1rem;
  height: 1rem;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.45rem;
}

.services-hero-images {
  position: relative;
  min-height: 390px;
}

.services-steps {
  position: absolute;
  left: 0;
  top: 5%;
  z-index: 2;
  width: 44%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.services-steps img,
.services-doctors {
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(15, 28, 46, 0.12);
}

.services-steps img {
  width: 100%;
}

.services-doctors {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 360px;
  object-fit: cover;
}

/* ---------- 13. Future Section ---------- */
.future-section {
  background: #eef2f7;
  padding-top: 3.4rem;
  padding-bottom: 3rem;
}

.future-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.future-text h2 {
  margin-bottom: 1rem;
  color: var(--color-dark);
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.future-text h2 span {
  display: block;
  color: var(--color-primary);
}

.future-text p {
  max-width: 620px;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.62;
  margin: 0;
}

.future-images {
  position: relative;
  min-height: 380px;
}

.future-back,
.future-front {
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(15, 28, 46, 0.14);
}

.future-back {
  position: absolute;
  right: -1%;
  top: 0;
  width: 70%;
  height: 290px;
  object-fit: cover;
  z-index: 1;
}

.future-front {
  position: absolute;
  left: 4%;
  bottom: 10px;
  width: 54%;
  z-index: 2;
}

/* ---------- 14. Why Academy ---------- */
.why-academy {
  background: #fff;
  padding-top: 3.5rem;
}

.why-academy .section-title {
  margin-bottom: 2.5rem;
}

.why-academy .section-title h2 {
  max-width: 420px;
  margin: 0 auto;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.why-academy .section-title h2 .green-inline,
.why-academy .section-title h2 .green-block {
  color: var(--color-primary);
}

.why-academy .section-title h2 .green-block {
  display: block;
  text-align: center;
}

.why-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.why-card {
  background: #f1fbf7;
  border: 2px solid #e2f2ec;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(15, 28, 46, 0.06);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.why-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 18px 34px rgba(15, 28, 46, 0.1);
  transform: translateY(-4px);
}

.why-card img {
  width: calc(100% - 2.2rem);
  margin: 1.1rem auto 0;
  display: block;
  border-radius: 8px;
  background: #eaf9f3;
}

.why-card-body {
  padding: 1.6rem 1.55rem 1.85rem;
}

.why-eyebrow {
  margin-bottom: 0.25rem;
  color: var(--color-dark);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.why-card h3 {
  margin-bottom: 0.7rem;
  color: var(--color-dark);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.28;
}

.why-card p {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.58;
}

.why-card-body > p:last-child {
  margin-bottom: 0;
}

/* ---------- 14. Advantages ---------- */
.advantages-section {
  background: #fff;
  padding-top: 2.6rem;
}

.advantages-section .section-title {
  margin-bottom: 2.2rem;
}

.advantages-section .section-title h2 {
  max-width: 440px;
  margin: 0 auto;
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.advantages-section .section-title h2 .green-inline,
.advantages-section .section-title h2 .green-block {
  color: var(--color-primary);
}

.advantages-section .section-title h2 .green-block {
  display: block;
}

.advantages-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem;
}

.advantage-item {
  position: relative;
  padding-left: 2.65rem;
  background-image: radial-gradient(circle, rgba(179, 193, 226, 0.75) 1.35px, transparent 1.35px);
  background-size: 28px 28px;
  background-position: 0 2px;
}

.advantage-item::before {
  content: '☑';
  position: absolute;
  left: 0;
  top: 0.08rem;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.advantage-item h3 {
  margin-bottom: 1.1rem;
  color: var(--color-dark);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.25;
}

.advantage-item p {
  color: var(--color-text);
  font-size: 1.03rem;
  line-height: 1.52;
  margin: 0;
}

/* ---------- About page (Haqqımızda) ---------- */
.about-page {
  padding-top: 2.5rem;
}

.about-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-intro p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto 3.5rem;
}

.about-stat {
  background: #f1fbf7;
  border: 2px solid #e2f2ec;
  border-radius: 8px;
  padding: 1.75rem 1rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}

.about-stat:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.about-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-stat span {
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

.about-services-title {
  margin-bottom: 2rem;
}

.about-services-title h2 span {
  color: var(--color-primary);
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto 3.5rem;
}

.about-service-card {
  background: #fff;
  border: 2px solid #e8eef2;
  border-radius: 8px;
  padding: 1.75rem 1.35rem 1.85rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(15, 28, 46, 0.06);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.about-service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(15, 28, 46, 0.1);
}

.about-service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  object-fit: contain;
  display: block;
}

.about-service-icon--photo {
  object-fit: cover;
  border-radius: 8px;
  background: #eaf9f3;
}

.about-service-card h3 {
  margin-bottom: 0.65rem;
  color: var(--color-dark);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.about-service-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-process {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.about-process-title {
  margin-bottom: 2rem;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
}

.about-process-title span {
  color: var(--color-primary);
}

.about-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary) 0%, #c8f0de 100%);
  border-radius: 3px;
}

.about-timeline li {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}

.about-timeline li:last-child {
  padding-bottom: 0;
}

.about-step-num {
  width: 2.7rem;
  height: 2.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px #fff;
}

.about-timeline h3 {
  margin-bottom: 0.45rem;
  color: var(--color-dark);
  font-size: 1.12rem;
  font-weight: 800;
}

.about-timeline p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.58;
}

.about-cta {
  text-align: center;
  padding: 2rem 1rem 0.5rem;
  border-top: 1px solid var(--color-border);
}

.about-cta p {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* ---------- Blog & article typography (SEO hierarchy) ---------- */
/*
  Google üçün başlıq ölçüləri (təxmini):
  H1 səhifə: 28–38px | H2 bölmə: 22–24px | H3 kart: 18–19px
  Məqalə mətni: 16–17px | Yalnız bir H1 hər səhifədə
*/
.blog-hero h1,
.article-intro-header h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
}

.blog-featured-body h2,
.article-content h2,
.article-related h2,
.blog-cta h2 {
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.blog-card-body h3 {
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.015em;
}

.article-content h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-dark);
}

/* ---------- Blog page ---------- */
.blog-hero {
  background: linear-gradient(125deg, #0f1c2e 0%, #1a4a3a 55%, #0f1c2e 100%);
  padding: 3.5rem 0 3.25rem;
  text-align: center;
  color: #fff;
}

.blog-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.blog-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
}

.blog-hero h1 > span {
  color: #6dffb8;
}

.blog-hero-desc {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.blog-page {
  padding-top: 2rem;
}

.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

a.blog-filter {
  display: inline-block;
  text-decoration: none;
}

.blog-filter {
  padding: 0.55rem 0.75rem;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.blog-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.blog-filter.is-active {
  background: #e6f9f0;
  border-color: var(--color-primary);
  color: #008f4f;
}

.blog-count {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2.25rem 0 0;
  padding-top: 0.25rem;
}

.blog-pagination-prev,
.blog-pagination-next,
.blog-pagination-num {
  margin: 0;
  padding: 0.5rem 0.85rem;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.blog-pagination-prev:hover:not(:disabled),
.blog-pagination-next:hover:not(:disabled),
.blog-pagination-num:hover:not(.is-active) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.blog-pagination-prev:disabled,
.blog-pagination-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.blog-pagination-num.is-active {
  background: #e6f9f0;
  border-color: var(--color-primary);
  color: #008f4f;
}

.blog-pagination-pages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.blog-pagination-ellipsis {
  padding: 0 0.15rem;
  color: var(--color-muted);
  font-weight: 700;
}

.blog-v2-pagination {
  margin-top: 2rem;
}

.blog-featured {
  margin-bottom: 2.5rem;
}

.blog-featured-link {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: #fff;
  border: 2px solid #e8eef2;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-featured-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(15, 28, 46, 0.1);
  transform: translateY(-3px);
}

.blog-featured-img {
  position: relative;
  min-height: 280px;
  background: #eaf9f3;
}

.blog-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.blog-featured-body {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body time {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-featured-body h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.28;
}

.blog-featured-body p {
  margin: 0 0 1.25rem;
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.58;
}

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.blog-grid-page {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: #fff;
  border: 2px solid #e8eef2;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.blog-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 28, 46, 0.08);
}

.blog-card-img {
  position: relative;
  height: 200px;
  background: #eaf9f3;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card-body time {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  color: var(--color-muted);
  font-weight: 500;
}

.blog-card-body h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  line-height: 1.32;
}

.blog-card-body p {
  margin: 0 0 0.9rem;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-read-more {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.blog-cta {
  margin-top: 3rem;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: linear-gradient(135deg, #f1fbf7 0%, #e8f8f0 100%);
  border: 2px solid #d4f0e3;
  border-radius: 12px;
}

.blog-cta h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.2rem, 2vw, 1.375rem);
}

.blog-cta p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
}

.blog-card-body .date {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.blog-empty {
  grid-column: 1 / -1;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ---------- Bloq V2 — tam səhifə (body.blog-layout-v2) ---------- */
body.blog-layout-v2 {
  background: #f0f4f8;
}

body.blog-layout-v2 .page-layout-switch a.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.blog-v2-hero {
  background: linear-gradient(125deg, #0f1c2e 0%, #1a4a3a 55%, #0f1c2e 100%);
  padding: 3.5rem 0 3.25rem;
  text-align: center;
  color: #fff;
}

.blog-v2-hero-eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.blog-v2-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #fff;
}

.blog-v2-hero h1 > span {
  color: #6dffb8;
}

.blog-v2-hero-lead {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.blog-v2-page {
  padding: 2.5rem 0 4rem;
}

.blog-v2-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.blog-v2-sidebar-card {
  position: sticky;
  top: calc(var(--header-height, 61px) + 4.5rem);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 28, 46, 0.05);
}

.blog-v2-sidebar-card h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
}

.blog-v2-filters {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.blog-v2-filter {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e8eef2;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.blog-v2-filter:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.blog-v2-filter.is-active {
  background: #e6f9f0;
  border-color: var(--color-primary);
  color: #008f4f;
}

.blog-v2-count {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e8eef2;
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 600;
}

.blog-v2-feed {
  min-width: 0;
}

.blog-v2-featured {
  margin-bottom: 1.25rem;
}

.blog-v2-featured-link {
  display: block;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 36px rgba(15, 28, 46, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-v2-featured-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 28, 46, 0.12);
  color: inherit;
}

.blog-v2-featured-media {
  position: relative;
  min-height: 280px;
  background: #eaf9f3;
}

.blog-v2-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.blog-v2-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.7rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 8px;
}

.blog-v2-featured-body {
  padding: 1.5rem 1.65rem 1.65rem;
}

.blog-v2-cat {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.55rem;
  background: #e6f9f0;
  color: #008f4f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

.blog-v2-featured-body h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
}

.blog-v2-featured-body > p {
  margin: 0 0 1rem;
  color: #5b6676;
  line-height: 1.6;
}

.blog-v2-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-v2-item-link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e8eef2;
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.blog-v2-item-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(15, 28, 46, 0.08);
  transform: translateX(4px);
  color: inherit;
}

.blog-v2-item-img {
  background: #eaf9f3;
  min-height: 160px;
}

.blog-v2-item-img img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.blog-v2-item-body {
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-v2-item-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.blog-v2-item-body > p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #5b6676;
  line-height: 1.55;
}

.blog-v2-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
}

.blog-v2-meta-row time {
  color: var(--color-muted);
  font-weight: 500;
}

.blog-v2-read {
  color: var(--color-primary);
  font-weight: 700;
}

.blog-v2-bottom-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, #00c16a 0%, #00a85c 100%);
  border-radius: 16px;
  color: #fff;
}

.blog-v2-bottom-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #fff;
}

.blog-v2-bottom-cta p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.92);
}

.blog-v2-bottom-cta .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.blog-v2-bottom-cta .btn-primary:hover {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

/* ---------- Article single (meqale.html) ---------- */
.article-page {
  padding: 0;
}

.article-single {
  padding: 1.75rem 0 4rem;
  background: #fff;
}

.article-loading {
  color: var(--color-muted);
}

.article-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.65rem;
  background: #fff;
  border: 1px dashed #c5d4e0;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--color-muted);
  max-width: 100%;
}

.article-breadcrumb-link {
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  color: var(--color-text);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.article-breadcrumb-link:hover {
  color: var(--color-primary);
  background: #eaf9f3;
}

.article-breadcrumb-sep {
  color: #9aa5b5;
  font-weight: 600;
  user-select: none;
}

.article-breadcrumb-current {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
}

.article-category {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.7rem;
  background: #eaf9f3;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
}

.article-intro {
  display: grid;
  grid-template-columns: 1fr min(360px, 40%);
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8eef2;
}

.article-intro-header {
  margin: 0;
  text-align: left;
}

.article-intro-header h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.75rem, 3.8vw, 2.375rem);
  line-height: 1.14;
}

.article-intro-header time {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.article-lead {
  margin: 0;
  padding-left: 1rem;
  border-left: 4px solid var(--color-primary);
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 500;
  max-width: 54ch;
}

.article-intro-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #e8eef2;
  box-shadow: 0 14px 36px rgba(15, 28, 46, 0.08);
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.article-intro-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 420px;
  display: block;
  object-fit: cover;
}

.article-main {
  max-width: 760px;
}

.article-content {
  max-width: none;
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article-content h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: clamp(1.25rem, 2.2vw, 1.4375rem);
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul {
  margin: 0 0 1rem 1.2rem;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.article-content em {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.article-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.article-back {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.article-related {
  margin-top: 2.5rem;
  padding-top: 0;
  border-top: none;
}

.article-related-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-related h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.25;
}

.article-not-found {
  padding: 3rem 0;
  text-align: center;
}

.article-not-found h1 {
  margin-bottom: 0.75rem;
}

.article-not-found p {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
}

/* ---------- 13. Responsive ---------- */
@media (max-width: 960px) {
  .article-intro {
    grid-template-columns: 1fr;
  }
  .article-intro-media {
    position: static;
    order: -1;
  }
  .article-intro-media img {
    min-height: 240px;
    max-height: 300px;
  }
  .article-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-featured-link {
    grid-template-columns: 1fr;
  }
  .blog-grid-page {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }
  .contact-hero-media {
    min-height: auto;
  }
  .contact-hero-dots {
    left: 0;
    top: -22px;
    width: 45%;
    height: 45%;
  }
  .contact-hero-media img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .about-grid,
  .footer-grid,
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .faq-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-section .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-images img:nth-child(1) { min-height: 0; }
  .about-section .about-text {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .services-hero-images {
    min-height: 340px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    gap: 1.4rem;
  }
}

@media (max-width: 720px) {
  .blog-grid-page {
    grid-template-columns: 1fr;
  }
  .blog-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .blog-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .blog-v2-shell {
    grid-template-columns: 1fr;
  }
  .blog-v2-sidebar-card {
    position: static;
  }
  .blog-v2-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .blog-v2-filter {
    width: auto;
  }
  .blog-v2-item-link {
    grid-template-columns: 1fr;
  }
  .blog-v2-featured-media,
  .blog-v2-featured-media img {
    min-height: 200px;
  }
  .blog-featured-body {
    padding: 1.5rem;
  }
  .blog-hero {
    padding: 2.75rem 0 2.5rem;
  }
  .article-intro-header h1 {
    font-size: clamp(1.625rem, 8.5vw, 2rem);
  }
  .blog-featured-body h2 {
    font-size: 1.2rem;
  }
  .blog-card-body h3 {
    font-size: 1.0625rem;
  }
  .article-content {
    font-size: 1rem;
  }
  .article-content h2 {
    font-size: 1.2rem;
  }
  .article-intro-media img {
    min-height: 200px;
    max-height: 260px;
  }
  .article-lead {
    font-size: 0.98rem;
  }
  .article-intro {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .article-breadcrumb-current {
    max-width: min(100%, 240px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .article-related-grid {
    grid-template-columns: 1fr;
  }
  .contact-hero {
    padding: 1.1rem 0 0.8rem;
  }
  .contact-hero-text h1 {
    font-size: clamp(1.6rem, 8.8vw, 2.35rem);
  }
  .contact-hero-text p {
    font-size: 0.93rem;
  }
  .contact-hero-dots {
    width: 60%;
    height: 45%;
    opacity: 0.75;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 1.3rem;
  }
  .section { padding: 3.5rem 0; }
  .services-section {
    padding: 3.7rem 0 3.4rem;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-simple,
  .home-services-grid {
    grid-template-columns: 1fr;
  }
  .services-catalog-link {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.6rem 0.85rem;
  }

  .services-catalog-num {
    grid-column: 1;
    grid-row: 1;
  }

  .services-catalog-icon {
    grid-column: 1;
    grid-row: 2;
  }

  .services-catalog-body {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .services-catalog-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
  }

  .services-v2-stats {
    gap: 1.25rem;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .services-page-grid .home-service-card--featured a {
    flex-wrap: wrap;
    min-height: 0;
    padding: 1.1rem 1.2rem;
  }

  .services-hero {
    padding: 3.5rem 0;
  }
  .services-hero-text h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .services-hero-images {
    min-height: 300px;
  }
  .services-steps {
    width: 50%;
    gap: 1rem;
  }
  .services-doctors {
    width: 45%;
    height: 285px;
  }
  .why-academy {
    padding-top: 2.5rem;
  }
  .advantages-section {
    padding-top: 2.1rem;
  }
  .advantages-section .section-title h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .advantage-item h3 {
    font-size: 0.95rem;
  }
  .advantage-item p {
    font-size: 0.9rem;
  }
  .faq-header {
    margin-bottom: 2.4rem;
  }
  .faq-header p {
    font-size: 1rem;
  }
  .faq-question {
    padding: 1.25rem 1.25rem;
    font-size: 1rem;
  }
  .about-section .about-images {
    min-height: 310px;
  }
  .about-section .about-image-back {
    width: 70%;
    height: 230px;
  }
  .about-section .about-image-front {
    width: 62%;
    height: 190px;
    left: 0;
  }
  .map-section {
    padding: 0.5rem 0 3.5rem;
  }
  .map-marker {
    top: 6%;
    width: 44px;
    height: 62px;
  }
  .map-flag {
    width: 36px;
    height: 36px;
    border-width: 3px;
  }
  .map-dot {
    top: 40px;
    width: 10px;
    height: 10px;
  }
  .map-pulse {
    top: 29px;
    width: 32px;
    height: 32px;
  }
  .hero {
    min-height: calc(100svh - var(--header-height));
    padding: 2.2rem 0 2rem;
    background-size: auto, min(620px, 135vw) auto, 360px auto;
  }
  .hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 9vw, 2.8rem);
    letter-spacing: -0.04em;
  }
  .hero-sub {
    margin-bottom: 1.6rem;
    font-size: 0.88rem;
  }
  .hero-steps {
    width: min(100%, 520px);
    margin-bottom: 1.6rem;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .hero-sub {
    margin-bottom: 2rem;
  }
  .hero-steps {
    width: min(100%, 620px);
    margin-bottom: 1.8rem;
  }
}

@media (max-height: 640px) and (min-width: 721px) {
  .hero {
    padding-top: 1.4rem;
    padding-bottom: 1.2rem;
    background-size: auto, 720px auto, 460px auto;
  }
  .hero h1 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.9rem, 4.2vw, 3rem);
  }
  .hero-sub {
    margin-bottom: 1.2rem;
  }
  .hero-steps {
    width: min(100%, 540px);
    margin-bottom: 1rem;
  }
  .hero .btn-primary {
    padding: 0.75rem 1.25rem;
  }
}
