/* ============================================
   Pricing Page — Design System (KSA)
   Visual + responsive only — no content changes
   ============================================ */

:root {
  --brand: #1e4d8c;
  --brand-deep: #143a6b;
  --brand-soft: #e8f0fa;
  --brand-mid: #2c5aa0;
  --accent: #0f9f6e;
  --accent-deep: #0b7a55;
  --accent-soft: #e6f7f0;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --line: rgba(30, 77, 140, 0.12);
  --surface: #ffffff;
  --page: #f3f6fb;
  --shadow-sm: 0 4px 16px rgba(20, 58, 107, 0.06);
  --shadow-md: 0 12px 40px rgba(20, 58, 107, 0.1);
  --shadow-lg: 0 24px 60px rgba(20, 58, 107, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", "Cairo", sans-serif;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(44, 90, 160, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 40%, rgba(15, 159, 110, 0.08), transparent 50%),
    var(--page);
  color: var(--ink);
  overflow-x: hidden;
  padding-top: 0 !important;
}

.main-content {
  padding: 0 !important;
  margin: 0 !important;
  margin-top: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow-x: hidden;
}

/* ---------- Header polish (this page) ---------- */
.header {
  background: rgba(30, 77, 140, 0.96) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(20, 58, 107, 0.18);
}

.nav-container {
  max-width: 1180px;
  gap: 16px;
}

.header .logo,
.header .logo span {
  color: #ffffff !important;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.header .logo:hover,
.header .logo:hover span {
  color: #b8f0d4 !important;
}

.header .nav-menu a {
  color: rgba(255, 255, 255, 0.92) !important;
}

.header .mobile-menu-toggle {
  color: #ffffff !important;
}

.logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}

.nav-menu a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  transition: color 0.25s var(--ease);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #7dd3a8;
  transition: width 0.3s var(--ease);
  border-radius: 2px;
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

/* ---------- Hero ---------- */
.pricing-hero {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) clamp(16px, 4vw, 28px) clamp(64px, 8vw, 96px);
  text-align: center;
  color: #fff;
  background: linear-gradient(155deg, #0f2f58 0%, #1a4a86 48%, #1e5f78 100%);
  overflow: hidden;
}

.pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(125, 211, 168, 0.16), transparent 40%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.1), transparent 32%);
  z-index: -1;
  animation: heroGlow 10s ease-in-out infinite alternate;
}

.pricing-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--page));
  z-index: 0;
  pointer-events: none;
}

.pricing-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  animation: fadeUp 0.8s var(--ease) both;
}

.pricing-hero h1 {
  font-size: clamp(1.75rem, 4.8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.pricing-hero p {
  font-size: clamp(0.98rem, 2.2vw, 1.2rem);
  line-height: 1.85;
  margin: 0 auto 28px;
  max-width: 720px;
  color: #ffffff !important;
  opacity: 1;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.pricing-hero p strong,
.pricing-hero .hero-content strong {
  color: #d7ffe9 !important;
  text-shadow: none;
  font-size: inherit;
  display: inline;
  padding: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  font-weight: 700;
  margin: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.price-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Sections ---------- */
.price-comparison,
.faq-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0;
  background: transparent;
}

.section-title,
.doctor-card h2,
.faq-item h3,
.feature-card h3,
.city-price-card h3,
.article-card h3,
.savings-calculator > h3,
.trust-banner h3,
.cta-section h2 {
  color: inherit;
}

.section-title {
  text-align: center;
  color: var(--brand) !important;
  font-size: clamp(1.45rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 clamp(28px, 4vw, 44px);
  text-wrap: balance;
}

.doctor-card h2 {
  color: var(--brand) !important;
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
}

.cta-section h2 {
  color: #fff !important;
  margin: 0 0 16px !important;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.cta-section a.cta-button {
  color: #fff !important;
}

.faq-item h3,
.feature-card h3,
.city-price-card h3,
.article-card h3 {
  color: var(--brand) !important;
}

.trust-banner h3 {
  color: #fff !important;
}

.section-title i {
  margin-left: 10px;
}

/* ---------- Doctor card ---------- */
.doctor-section {
  width: min(1120px, calc(100% - 32px));
  margin: -28px auto 0;
  padding: 0 0 clamp(24px, 4vw, 40px);
  position: relative;
  z-index: 2;
}

.doctor-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

.doctor-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.6rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-mid), var(--brand-deep));
  box-shadow: 0 12px 28px rgba(30, 77, 140, 0.35);
  animation: softFloat 4.5s ease-in-out infinite;
}

.doctor-card h2 {
  color: var(--brand);
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
}

.doctor-card h2 i {
  margin-left: 12px;
  color: #e6b800;
}

.doctor-role {
  font-size: 1.05rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 14px;
}

.doctor-role i {
  margin-left: 8px;
}

.doctor-bio {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 16px;
}

.doctor-trust {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  color: var(--brand);
  font-weight: 800;
  margin: 0;
}

/* ---------- Price table ---------- */
.price-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 0 0 28px;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-deep));
  color: #fff;
  padding: 18px 16px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  text-align: center;
}

.price-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  vertical-align: middle;
  color: var(--ink);
}

.price-table tbody tr {
  transition: background 0.25s var(--ease);
}

.price-table tbody tr:hover {
  background: var(--brand-soft);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table small {
  color: var(--muted) !important;
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
}

.price-highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep)) !important;
  color: #fff !important;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem) !important;
  border-radius: 0;
}

.price-table .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 11px 22px;
  font-size: 0.95rem;
}

/* Trust banner */
.trust-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--radius);
  margin: 0 0 28px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(15, 159, 110, 0.28);
}

.trust-banner h3 {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.trust-banner h3 i {
  margin-left: 8px;
}

.trust-banner p {
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  line-height: 1.8;
  margin: 0;
  opacity: 0.96;
}

/* Savings / why prices */
.savings-calculator {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 240, 250, 0.9));
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  margin: 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.savings-calculator > h3 {
  color: var(--brand);
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 800;
}

.savings-calculator > h3 i {
  margin-left: 12px;
  color: var(--accent);
}

.savings-calculator > p {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  margin: 0 0 18px;
  color: var(--muted);
}

.savings-inner {
  background: var(--surface);
  padding: clamp(20px, 3.5vw, 28px);
  border-radius: var(--radius-sm);
  margin: 0;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.savings-inner .savings-title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--accent);
  font-weight: 800;
  margin: 0;
}

.savings-inner .savings-title i {
  margin-left: 8px;
}

.savings-inner .savings-text {
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.8;
}

/* ---------- City cards ---------- */
.city-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  margin: 0;
}

.city-price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.city-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-mid), var(--accent));
}

.city-price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(44, 90, 160, 0.28);
}

.city-price-card h3 {
  color: var(--brand);
  margin: 0 0 14px;
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  font-weight: 800;
  line-height: 1.4;
}

.city-price-card h3 i {
  margin-left: 8px;
  color: var(--brand-mid);
}

.price-range {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 800;
  color: var(--accent);
  margin: 8px 0;
  line-height: 1.4;
}

.city-price-card > p {
  color: var(--muted);
  margin: 8px 0;
  font-size: 0.95rem;
}

.city-trust {
  color: var(--accent) !important;
  font-weight: 700 !important;
  margin-top: 10px !important;
  margin-bottom: 18px !important;
  font-size: 0.92rem !important;
}

.city-price-card .cta-button {
  display: inline-flex;
  margin-top: 4px;
  padding: 11px 22px;
  font-size: 0.95rem;
}

/* ---------- Features grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 32px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.75rem;
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 58, 107, 0.2);
}

.feature-icon.is-green {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
}

.feature-icon.is-blue {
  background: linear-gradient(145deg, var(--brand-mid), var(--brand-deep));
}

.feature-icon.is-coral {
  background: linear-gradient(145deg, #e07a5f, #c95d45);
}

.feature-icon.is-teal {
  background: linear-gradient(145deg, #2a9d8f, #1d7a6f);
}

.feature-card h3 {
  color: var(--brand);
  margin: 0 0 12px;
  font-size: clamp(1.1rem, 2.4vw, 1.25rem);
  font-weight: 800;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  font-size: 0.98rem;
}

.feature-sub {
  color: var(--accent) !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  font-size: 0.92rem !important;
}

.feature-sub i {
  margin-left: 5px;
}

/* ---------- CTA ---------- */
.cta-section {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100% - 32px));
  margin: clamp(16px, 3vw, 28px) auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 40px);
  text-align: center;
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, #143a6b 0%, #1e4d8c 55%, #1a6b55 130%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(125, 211, 168, 0.25), transparent 45%);
  z-index: -1;
}

.cta-section h2 {
  color: #fff !important;
  margin: 0 0 16px !important;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem) !important;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.cta-section h2 i {
  margin-left: 12px;
}

.cta-section > p {
  font-size: clamp(1rem, 2.3vw, 1.2rem) !important;
  margin: 0 auto 28px !important;
  max-width: 700px;
  line-height: 1.8;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff !important;
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 10px 24px rgba(15, 159, 110, 0.3);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 159, 110, 0.4);
  color: #fff !important;
}

.cta-button.is-ghost {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.cta-button.is-ghost:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.cta-contact {
  margin-top: 28px;
}

.cta-contact p {
  margin: 0;
  font-size: 1.05rem;
}

.cta-contact p + p {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.cta-contact i {
  margin-left: 8px;
}

/* ---------- FAQ ---------- */
.faq-section {
  width: min(900px, calc(100% - 32px));
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: clamp(18px, 3vw, 26px);
  margin: 0 0 14px;
  border-right: 4px solid var(--brand-mid);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  color: var(--brand);
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 800;
  line-height: 1.45;
}

.faq-item h3 i {
  margin-left: 8px;
}

.faq-item p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.02rem);
}

/* ---------- Related articles ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.article-card h3 {
  color: var(--brand);
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 2.3vw, 1.2rem);
  font-weight: 800;
  line-height: 1.4;
}

.article-card h3 a {
  text-decoration: none;
  color: inherit;
}

.article-card h3 i {
  margin-left: 8px;
}

.article-card > p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 16px;
  flex: 1;
  font-size: 0.98rem;
}

.article-link {
  font-weight: 800;
  text-decoration: none;
  color: var(--brand-mid);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
}

.article-link:hover {
  color: var(--accent);
}

.article-link.is-orange {
  color: #d97706;
}

.article-link.is-pink {
  color: #db2777;
}

/* ---------- Footer polish ---------- */
.footer {
  margin-top: 40px;
  background: linear-gradient(160deg, #102a4d, #143a6b) !important;
  padding: clamp(36px, 5vw, 56px) 20px 28px !important;
}

.footer-content {
  max-width: 1120px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 28px;
}

.footer-links a {
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.footer-bottom .legal-note {
  font-size: 0.9rem;
  margin-top: 10px;
  opacity: 0.85;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  right: auto;
  z-index: 9999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-width: auto;
  animation: waPulse 2.4s ease-out infinite;
}

.whatsapp-float a:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .whatsapp-icon {
  font-size: 1.55rem;
  margin: 0;
  animation: none;
}

.whatsapp-float .whatsapp-text {
  font-size: 0.92rem;
  line-height: 1.2;
}

.whatsapp-float .whatsapp-subtext {
  font-size: 0.72rem;
  opacity: 0.9;
  margin-top: 2px;
  font-weight: 600;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes heroGlow {
  from {
    opacity: 0.85;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .city-prices {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .articles-grid .article-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ---------- Mobile / tablet menu + layout ---------- */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .header {
    overflow: visible !important;
  }

  .nav-container {
    min-height: 64px;
    padding: 0 14px;
  }

  .logo img {
    height: 36px;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    position: relative;
    z-index: 1002;
  }

  .nav-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    display: none !important;
    flex-direction: column;
    gap: 4px;
    background: rgba(20, 58, 107, 0.98);
    backdrop-filter: blur(16px);
    padding: 14px;
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1001;
    width: auto;
    margin: 0;
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }

  .nav-menu.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: fadeUp 0.35s var(--ease);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .pricing-hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .doctor-section {
    margin-top: -20px;
  }

  .price-comparison,
  .faq-section,
  .doctor-section,
  .cta-section {
    width: min(100%, calc(100% - 24px));
  }

  /* Responsive table → stacked cards */
  .price-table {
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .price-table table,
  .price-table thead,
  .price-table tbody,
  .price-table th,
  .price-table td,
  .price-table tr {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 14px;
    padding: 8px 0 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .price-table td {
    border: none;
    padding: 10px 18px;
    text-align: right;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .price-table td::before {
    content: attr(data-label);
    font-weight: 800;
    color: var(--brand);
    flex-shrink: 0;
  }

  .price-table td.price-highlight {
    justify-content: center;
    margin: 8px 14px;
    border-radius: 12px;
    padding: 14px;
  }

  .price-table td.price-highlight::before {
    display: none;
  }

  .price-table td:last-child {
    justify-content: center;
    padding-top: 14px;
  }

  .price-table td:last-child::before {
    display: none;
  }

  .price-table .cta-button {
    width: 100%;
    max-width: 260px;
  }

  .city-prices {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid .article-card:last-child {
    max-width: none;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    max-width: 320px;
  }

  .whatsapp-float {
    bottom: 16px;
    left: 16px;
  }

  .whatsapp-float a {
    padding: 11px 14px;
  }

  .whatsapp-float .whatsapp-text {
    font-size: 0.82rem;
  }

  .whatsapp-float .whatsapp-subtext {
    font-size: 0.65rem;
  }

  .faq-item:hover {
    transform: none;
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .price-badge {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .doctor-avatar {
    width: 80px;
    height: 80px;
    font-size: 2.1rem;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    font-size: 1.5rem;
  }

  .whatsapp-float .whatsapp-subtext {
    display: none;
  }

  .footer-links {
    gap: 6px 8px;
  }

  .footer-links a {
    font-size: 0.88rem;
  }
}

/* ---------- Large screens ---------- */
@media (min-width: 1400px) {
  .price-comparison,
  .doctor-section,
  .cta-section {
    width: min(1180px, calc(100% - 48px));
  }
}
