/* ================================================================
   RPC — COMMON (loaded on every page — navbar, footer, buttons, tokens, popup, page-hero, shared cards, responsive)
   ================================================================ */

/* ================================================================
   RELIEF PHYSIO CARE | Master CSS
   Single file — all colors via CSS variables
   Designer: SkoraSoft
   ================================================================ */

/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  --primary:       #c2003a;
  --primary-light: #e63a63;
  --primary-dark:  #8a0027;
  --accent:        #034e92;
  --accent-light:  #2d7dc9;
  --accent-dark:   #023a6d;
  --gold:          #eab308;
  --gold-dark:     #b8860b;

  --bg-white:      #ffffff;
  --bg-light:      #fffaf3;
  --bg-section:    #fdf0e6;
  --bg-dark:       #161616;
  --bg-darker:     #0c0c0c;

  --text-dark:     #1a1a1a;
  --text-body:     #4a4038;
  --text-muted:    #8a7f74;
  --text-white:    #ffffff;

  --border-light:  #f5e2d0;
  --border-mid:    #e9c9a3;

  --shadow-sm:     0 2px 12px rgba(194,0,58,0.10);
  --shadow-md:     0 8px 32px rgba(194,0,58,0.16);
  --shadow-lg:     0 20px 60px rgba(194,0,58,0.20);

  --font-display:  'Baloo 2', 'Georgia', serif;
  --font-body:     'Quicksand', 'Segoe UI', sans-serif;
  --font-ui:       'Quicksand', sans-serif;

  --section-py:    110px;
  --radius-sm:     10px;
  --radius-md:     20px;
  --radius-lg:     32px;
  --radius-xl:     999px;
  --radius-asym:   40px 12px 40px 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
table { max-width: 100%; width: 100% !important; table-layout: fixed; }
iframe { max-width: 100%; }
pre, code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-wrap: break-word; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--text-dark); line-height: 1.2; }

.main-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.main-heading span, .main-heading .highlight {
  color: var(--primary);
  font-style: normal;
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.main-heading span::after, .main-heading .highlight::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -2px;
  height: 7px;
  background-image: radial-gradient(circle, var(--gold) 2.6px, transparent 2.8px);
  background-size: 13px 13px;
  background-repeat: repeat-x;
  background-position: bottom;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--gold);
  animation: label-dot-bounce 1.7s ease-in-out infinite;
}
@keyframes label-dot-bounce { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.1); } }

.section-label.light { color: rgba(255,255,255,0.8); }
.section-label.light::before { box-shadow: 0 0 0 2px var(--accent-light); }

/* BUTTONS — one consistent cute pill style everywhere; only background/border colour changes by context */
.btn-rpc, .btn-rpc-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border-radius: var(--radius-xl);
  border: 3px solid #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-rpc {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}
.btn-rpc:hover { transform: translateY(-4px) scale(1.04) rotate(-1deg); box-shadow: 0 14px 30px rgba(194,0,58,0.35); }
.btn-rpc:active { transform: translateY(-1px) scale(1.01); }

.btn-rpc .btn-icon,
.btn-rpc-outline .btn-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s;
}
.btn-rpc .btn-icon { background: rgba(255,255,255,0.25); }
.btn-rpc:hover .btn-icon { background: rgba(255,255,255,0.4); transform: rotate(20deg) scale(1.15); }

.btn-rpc-outline {
  background: var(--bg-white);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-rpc-outline:hover { transform: translateY(-4px) scale(1.04) rotate(-1deg); box-shadow: var(--shadow-md); background: var(--bg-section); }
.btn-rpc-outline:active { transform: translateY(-1px) scale(1.01); }
.btn-rpc-outline .btn-icon { background: var(--bg-section); color: var(--primary); }
.btn-rpc-outline:hover .btn-icon { background: var(--primary); color: #fff; transform: rotate(20deg) scale(1.15); }

.btn-rpc-accent { background: var(--accent); }
.btn-rpc-accent:hover { box-shadow: 0 14px 30px rgba(3,78,146,0.35); }

.btn-rpc-white { background: #fff; color: var(--primary-dark); border-color: var(--gold); }
.btn-rpc-white .btn-icon { background: rgba(196,0,79,0.1); color: var(--primary); }
.btn-rpc-white:hover { background: #fff; color: var(--primary-dark); box-shadow: 0 14px 30px rgba(234,179,8,0.35); }
.btn-rpc-white:hover .btn-icon { background: var(--primary); color: #fff; }

.btn-rpc.btn-sm, .nav-cta .btn-rpc, .doctor-signature .btn-rpc { padding: 5px 5px 5px 18px; font-size: 12.5px; }
.btn-rpc.btn-sm .btn-icon, .nav-cta .btn-rpc .btn-icon, .doctor-signature .btn-rpc .btn-icon { width: 26px; height: 26px; font-size: 11px; }

.nav-cta .btn-rpc-outline { padding: 7px 7px 7px 18px; font-size: 12.5px; border-width: 1.5px; }
.nav-cta .btn-rpc-outline .btn-icon { width: 24px; height: 24px; font-size: 11px; }

/* TOP BAR — playful star badge + colour-cycling socials */
.rpc-topbar { background: var(--bg-dark); padding: 9px 0; border-bottom: 3px solid var(--gold); position: relative; overflow: hidden; }
.rpc-topbar .topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; z-index: 1; }
.topbar-info { display: flex; align-items: center; gap: 24px; }
.topbar-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 13px; font-family: var(--font-ui); transition: color 0.2s; }
.topbar-item:hover { color: var(--gold); }
.topbar-item i { color: var(--accent-light); font-size: 14px; }
.topbar-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--gold); color: var(--primary-dark); font-size: 11px; font-weight: 800; padding: 3px 11px; border-radius: 20px; letter-spacing: 0.5px; animation: pulse-badge 2s ease-in-out infinite; }
.topbar-badge::before { content: '★'; font-size: 10px; }
@keyframes pulse-badge { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.topbar-socials { display: flex; align-items: center; gap: 8px; }
.topbar-social-link { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 13px; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.topbar-social-link:nth-child(1) { border-color: rgba(194,0,58,0.4); }
.topbar-social-link:nth-child(2) { border-color: rgba(3,78,146,0.4); }
.topbar-social-link:nth-child(3) { border-color: rgba(234,179,8,0.4); }
.topbar-social-link:nth-child(1):hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px) rotate(-8deg); }
.topbar-social-link:nth-child(2):hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px) rotate(-8deg); }
.topbar-social-link:nth-child(3):hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px) rotate(-8deg); }

/* NAVBAR — gold-accented pill, bouncy underline on links */
.rpc-navbar { position: fixed; top: 18px; left: 0; width: 100%; z-index: 9999; transition: top 0.35s ease, all 0.4s ease; padding: 0 24px; }
@media (min-width: 992px) { .rpc-navbar { top: calc(var(--topbar-height, 41px) + 0px); } .rpc-navbar.scrolled { top: 5px; } }
.rpc-navbar .nav-inner { margin: 0 auto; padding: 0 12px 0 14px; display: flex; align-items: center; justify-content: space-between; height: 64px; border-radius: var(--radius-xl); transition: all 0.35s ease; }
.rpc-navbar .nav-inner { background-color: var(--bg-white); background-image: linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)), url('../images/breadcrumb-kids.png'); background-size: cover; background-position: center; box-shadow: 0 8px 28px rgba(196,0,79,0.14); border: 3px solid var(--gold); }
.rpc-navbar.transparent .nav-inner { background-color: var(--bg-white); border: 3px solid var(--gold); box-shadow: 0 8px 28px rgba(196,0,79,0.14); }
.rpc-navbar.scrolled .nav-inner { background-color: var(--bg-white); box-shadow: 0 10px 32px rgba(196,0,79,0.18); border-color: var(--gold); height: 60px; }
html.nav-prescroll .rpc-navbar.transparent .nav-inner { background-color: var(--bg-white); box-shadow: 0 10px 32px rgba(196,0,79,0.18); border-color: var(--gold); }
html.nav-prescroll .rpc-navbar.transparent .nav-link { color: var(--bg-dark); }
html.nav-prescroll .rpc-navbar.transparent .nav-toggle span { background: var(--bg-dark); }
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { max-height: 54px; height: auto; width: auto; transition: max-height 0.4s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); display: block; }
.nav-logo:hover img { transform: rotate(-8deg) scale(1.08); }
.rpc-navbar.scrolled .nav-logo img { max-height: 40px; }
.nav-menu { display: flex; align-items: center; list-style: none; gap: 4px; }
.nav-menu .nav-item { position: relative; }
.nav-menu .nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 16px; font-family: var(--font-ui); font-size: 13.5px; font-weight: 800; letter-spacing: 0.2px; color: var(--bg-dark); border-radius: 8px; transition: all 0.2s; position: relative; }
.nav-menu .nav-link::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 3px; height: 3px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.rpc-navbar.transparent .nav-link { color: var(--bg-dark); }
.nav-menu .nav-link:hover, .nav-menu .nav-link.active { color: var(--primary); background: rgba(196,0,79,0.08); }
.nav-menu .nav-link:hover::after, .nav-menu .nav-link.active::after { transform: scaleX(1); }
.rpc-navbar.transparent .nav-link:hover { color: var(--primary); background: rgba(196,0,79,0.08); }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: var(--bg-white); border: 3px solid var(--border-light); border-radius: 22px 22px 22px 6px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s ease; padding: 8px; z-index: 100; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--text-body); border-radius: var(--radius-sm); transition: all 0.2s; }
.nav-dropdown a:hover { background: var(--bg-section); color: var(--primary); padding-left: 18px; }
.nav-dropdown .dropdown-divider { height: 1px; background: var(--border-light); margin: 6px 0; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 3px; border-radius: 2px; transition: all 0.3s; }
.nav-toggle span:nth-child(1) { background: var(--primary); }
.nav-toggle span:nth-child(2) { background: var(--accent); }
.nav-toggle span:nth-child(3) { background: var(--gold); }
.rpc-navbar.transparent .nav-toggle span:nth-child(1) { background: var(--primary); }
.rpc-navbar.transparent .nav-toggle span:nth-child(2) { background: var(--accent); }
.rpc-navbar.transparent .nav-toggle span:nth-child(3) { background: var(--gold); }

/* SECTION BASE */
.rpc-section { padding: var(--section-py) 0; overflow-x: hidden; }
.rpc-section.bg-light { background: var(--bg-light); }
.rpc-section.bg-section { background: var(--bg-section); }
.rpc-section.bg-dark { background: var(--bg-dark); }
.rpc-section.bg-darker { background: var(--bg-darker); }
.container-rpc { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-rpc-wide { padding: 0 56px; }

/* SECTION HEADER */
.section-header-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-header-left { max-width: 600px; }
.section-desc { font-size: 16px; color: var(--text-body); line-height: 1.8; max-width: 540px; }
.section-desc.light { color: rgba(255,255,255,0.7); }

/* SERVICES SECTION */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-asym); overflow: visible; transition: all 0.35s ease; position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-card-img { height: 200px; overflow: hidden; border-radius: var(--radius-asym) var(--radius-asym) 0 0; position: relative; }
.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.08); }
.service-card-badge { position: absolute; left: 24px; bottom: 0px; width: 52px; height: 52px; background: var(--primary); border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; box-shadow: var(--shadow-md); border: 3px solid var(--bg-white); transition: background 0.3s; }
.service-card:hover .service-card-badge { background: var(--accent); }
.service-card-body { padding: 40px 24px 24px; overflow: hidden; border-radius: 0 0 var(--radius-asym) var(--radius-asym); }
.service-card-body h4 { font-family: var(--font-ui); font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; transition: color 0.2s; }
.service-card:hover .service-card-body h4 { color: var(--primary); }
.service-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.service-card-view { display: inline-flex; align-items: center; gap: 8px; padding: 9px 8px 9px 18px; background: var(--bg-section); border-radius: var(--radius-xl); color: var(--primary); font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; letter-spacing: 0.2px; transition: all 0.3s; }
.service-card-view .view-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; font-size: 11px; color: var(--primary); transition: all 0.3s; }
.service-card:hover .service-card-view { background: var(--primary); color: #fff; }
.service-card:hover .service-card-view .view-icon { background: #fff; color: var(--primary); transform: rotate(45deg); }

/* ================================================================
   ADDON v2 — CUTE SERVICE CARDS (kids theme, bolder redesign)
   ================================================================ */
.service-card {
  border-width: 3px;
  border-style: solid;
  border-radius: 34px 34px 34px 6px;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:nth-child(3n+1) { background: #fff5f8; border-color: var(--primary-light); }
.service-card:nth-child(3n+2) { background: #f0f7ff; border-color: var(--accent-light); }
.service-card:nth-child(3n+3) { background: #fffbe8; border-color: var(--gold); }

.service-card:hover { transform: translateY(-14px) rotate(-2deg) scale(1.02); }
.service-card:nth-child(3n+1):hover { box-shadow: 0 26px 48px rgba(194,0,58,0.26); }
.service-card:nth-child(3n+2):hover { box-shadow: 0 26px 48px rgba(3,78,146,0.26); }
.service-card:nth-child(3n+3):hover { box-shadow: 0 26px 48px rgba(234,179,8,0.30); }

.service-card-img { border-radius: 31px 31px 0 0; margin: 0; width: 100%; height: 200px; overflow: hidden; }

/* Big star sticker popping OUT of the card corner */
.service-card::after {
  content: '★';
  position: absolute;
  top: -16px;
  right: -14px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
  transform: rotate(15deg);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover::after { transform: rotate(-14deg) scale(1.18); }

/* Big bubbly icon badge popping further out of the image edge */
.service-card-badge {
  left: 20px;
  bottom: -18px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #fff;
  font-size: 26px;
}
.service-card:nth-child(3n+2) .service-card-badge { background: var(--accent); }
.service-card:nth-child(3n+3) .service-card-badge { background: var(--gold); }
.service-card:hover .service-card-badge { transform: rotate(-14deg) scale(1.15); }
.service-card:nth-child(3n+2):hover .service-card-badge { background: var(--primary); }
.service-card:nth-child(3n+3):hover .service-card-badge { background: var(--primary); }

.service-card-body { padding-top: 46px; }
.service-card-body h4 { font-family: var(--font-display); font-size: 19px; }

/* Colour-cycling "View Service" pill so the grid feels varied, not repetitive */
.service-card:nth-child(3n+2) .service-card-view { color: var(--accent); background: rgba(3,78,146,0.10); }
.service-card:nth-child(3n+2) .service-card-view .view-icon { color: var(--accent); }
.service-card:nth-child(3n+2):hover .service-card-view { background: var(--accent); color: #fff; }
.service-card:nth-child(3n+2):hover .service-card-view .view-icon { color: var(--accent); }
.service-card:nth-child(3n+3) .service-card-view { color: var(--gold-dark); background: rgba(234,179,8,0.16); }
.service-card:nth-child(3n+3) .service-card-view .view-icon { color: var(--gold-dark); }
.service-card:nth-child(3n+3):hover .service-card-view { background: var(--gold); color: #fff; }
.service-card:nth-child(3n+3):hover .service-card-view .view-icon { color: var(--gold-dark); }


/* BLOGS SECTION */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--bg-white); border-radius: var(--radius-asym); overflow: hidden; border: 1px solid var(--border-light); transition: all 0.35s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.blog-card-img { height: 200px; overflow: hidden; position: relative; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-date-chip { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.95); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0; padding: 7px 13px; font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; letter-spacing: 0.2px; color: var(--primary); box-shadow: var(--shadow-sm); }
.blog-card-body { padding: 22px 24px 24px; }
.blog-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px; }
.blog-meta i { color: var(--accent); margin-right: 4px; }
.blog-card-body h5 { font-family: var(--font-ui); font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; line-height: 1.4; transition: color 0.2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card:hover h5 { color: var(--primary); }
.blog-read-more { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; background: var(--bg-section); border-radius: var(--radius-xl); font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; color: var(--primary); letter-spacing: 0.2px; transition: all 0.3s; }
.blog-read-more .view-icon { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 50%; font-size: 11px; color: var(--primary); transition: all 0.3s; }
.blog-card:hover .blog-read-more { background: var(--primary); color: #fff; }
.blog-card:hover .blog-read-more .view-icon { background: #fff; color: var(--primary); transform: rotate(45deg); }

/* ================================================================
   ADDON — CUTE BLOG CARDS (kids theme)
   ================================================================ */
.blog-card {
  border-width: 3px;
  border-radius: 34px 34px 34px 6px;
  overflow: visible;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-card:nth-child(3n+1) { background: #fff5f8; border-color: var(--primary-light); }
.blog-card:nth-child(3n+2) { background: #f0f7ff; border-color: var(--accent-light); }
.blog-card:nth-child(3n+3) { background: #fffbe8; border-color: var(--gold); }

.blog-card:hover { transform: translateY(-14px) rotate(-2deg) scale(1.02); }
.blog-card:nth-child(3n+1):hover { box-shadow: 0 26px 48px rgba(194,0,58,0.26); }
.blog-card:nth-child(3n+2):hover { box-shadow: 0 26px 48px rgba(3,78,146,0.26); }
.blog-card:nth-child(3n+3):hover { box-shadow: 0 26px 48px rgba(234,179,8,0.30); }

.blog-card-img { border-radius: 31px 31px 0 0; width: 100%; height: 200px; overflow: hidden; }

/* Big star sticker popping OUT of the corner, matching service cards */
.blog-card::after {
  content: '★';
  position: absolute;
  top: -16px;
  right: -14px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
  transform: rotate(15deg);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.blog-card:hover::after { transform: rotate(-14deg) scale(1.18); }

/* Colour-cycling date chip */
.blog-card:nth-child(3n+2) .blog-date-chip { color: var(--accent); }
.blog-card:nth-child(3n+3) .blog-date-chip { color: var(--gold-dark); }

.blog-card-body h5 { font-family: var(--font-display); font-size: 18px; }

/* Colour-cycling "Read More" pill so the grid feels varied, not repetitive */
.blog-card:nth-child(3n+2) .blog-read-more { color: var(--accent); background: rgba(3,78,146,0.10); }
.blog-card:nth-child(3n+2) .blog-read-more .view-icon { color: var(--accent); }
.blog-card:nth-child(3n+2):hover .blog-read-more { background: var(--accent); color: #fff; }
.blog-card:nth-child(3n+2):hover .blog-read-more .view-icon { color: var(--accent); }
.blog-card:nth-child(3n+3) .blog-read-more { color: var(--gold-dark); background: rgba(234,179,8,0.16); }
.blog-card:nth-child(3n+3) .blog-read-more .view-icon { color: var(--gold-dark); }
.blog-card:nth-child(3n+3):hover .blog-read-more { background: var(--gold); color: #fff; }
.blog-card:nth-child(3n+3):hover .blog-read-more .view-icon { color: var(--gold-dark); }


/* POPUP APPOINTMENT FORM */
.rpc-popup { display: none; position: fixed; inset: 0; background: rgba(28,10,19,0.78); backdrop-filter: blur(6px); z-index: 99999; align-items: center; justify-content: center; }
.rpc-popup.active { display: flex; }
.popup-box { background: var(--bg-white); border-radius: var(--radius-md); width: 90%; max-width: 520px; max-height: 90vh; overflow-y: auto; animation: popup-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative; }
@keyframes popup-in { from { opacity: 0; transform: scale(0.85) translateY(30px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.popup-header { background: var(--primary); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; }
.popup-header h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; margin: 0; }
.popup-header p { color: rgba(255,255,255,0.78); font-size: 13px; margin-top: 4px; }
.popup-close { width: 36px; height: 36px; background: rgba(255,255,255,0.15); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; cursor: pointer; transition: all 0.2s; flex-shrink: 0; }
.popup-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }
.popup-body { padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; letter-spacing: 0.2px; }
.form-control-rpc { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border-light); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; color: var(--text-dark); background: var(--bg-white); transition: border-color 0.2s, box-shadow 0.2s; outline: none; }
.form-control-rpc:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(196,0,79,0.12); }
.form-control-rpc::placeholder { color: var(--text-muted); }
textarea.form-control-rpc { resize: vertical; min-height: 100px; }

/* FOOTER — sparkly kids-theme redesign */
.rpc-footer {
  background: var(--bg-dark);
  padding: 0;
  position: relative;
  background-image:
    radial-gradient(circle 3px at 8% 15%, var(--gold) 90%, transparent 91%),
    radial-gradient(circle 2px at 22% 8%, #fff 90%, transparent 91%),
    radial-gradient(circle 2.5px at 92% 12%, var(--gold) 90%, transparent 91%),
    radial-gradient(circle 2px at 78% 6%, #fff 90%, transparent 91%),
    radial-gradient(circle 2.5px at 96% 40%, var(--gold) 90%, transparent 91%);
  background-repeat: no-repeat;
}
.footer-scallop {
  width: 100%;
  height: 26px;
  background-image: radial-gradient(circle at 10px 0, transparent 12px, var(--bg-dark) 12.5px);
  background-size: 24px 26px;
  background-repeat: repeat-x;
  position: relative;
  z-index: 2;
}
.footer-cta-card { position: relative; z-index: 3; max-width: 1280px; margin: 0 auto; padding: 0 24px; transform: translateY(-50%); }
.footer-cta-card-inner {
  background: var(--primary);
  background-image: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(196,0,79,0.28);
  position: relative;
  overflow: visible;
}
.footer-cta-card-inner::before {
  content: '★';
  position: absolute;
  top: -18px;
  left: 40px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(-14deg);
}
.footer-cta-card-inner h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; line-height: 1.25; max-width: 540px; }
.footer-cta-card-inner .footer-statement-cta { flex-shrink: 0; }
.rpc-footer-top { background: transparent; padding: 0 0 50px; margin-top: -80px; position: relative; z-index: 1; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 0; padding: 130px 0 50px; }
.footer-col { padding: 0 32px; border-right: 1px dashed rgba(255,255,255,0.12); }
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child { border-right: none; }
.footer-brand .brand-logo { height: 60px; margin-bottom: 22px; background: #fff; padding: 6px 10px; border-radius: var(--radius-sm); }
.footer-brand .brand-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; margin-bottom: 26px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 14px; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.footer-social:nth-child(1):hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px) rotate(-10deg); }
.footer-social:nth-child(2):hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px) rotate(-10deg); }
.footer-social:nth-child(3):hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-3px) rotate(-10deg); }
.footer-col h5 { font-family: var(--font-display); font-size: 17px; font-weight: 700; font-style: normal; color: #fff; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.footer-col h5::before { content: '★'; color: var(--gold); font-size: 14px; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-links a { display: flex; align-items: center; gap: 0; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.62); transition: all 0.2s; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item { display: flex; flex-direction: column; gap: 2px; margin-bottom: 22px; }
.footer-contact-item .fci-icon { display: none; }
.footer-contact-item .fci-text h6 { font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.footer-contact-item .fci-text a, .footer-contact-item .fci-text p { font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.78); transition: color 0.2s; }
.footer-contact-item .fci-text a:hover { color: var(--gold); }
.footer-bottom { position: relative; z-index: 1; background: var(--bg-darker); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 3px dashed rgba(234,179,8,0.25); }
.footer-bottom p { font-size: 12.5px; font-weight: 500; letter-spacing: 0.2px; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--gold); }

/* FLOATING DECORATIVE ILLUSTRATIONS — fixed, site-wide, kids theme */
.rpc-floaters { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.rpc-floater { position: absolute; opacity: 0.92; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.12)); }

.f1 { top: 10%;  left: 3%;   width: 100px; animation: float-a 6s   ease-in-out infinite; }
.f2 { top: 18%;  right: 4%;  width: 100px; animation: float-b 7.5s ease-in-out infinite; animation-delay: 0.6s; }
.f3 { top: 42%;  left: 1.5%; width: 100px; animation: float-c 8.2s ease-in-out infinite; animation-delay: 1.2s; }
.f4 { top: 55%;  right: 2%;  width: 100px; animation: float-a 6.8s ease-in-out infinite; animation-delay: 0.9s; }
.f5 { bottom: 15%; left: 5%; width: 100px; animation: float-b 7s   ease-in-out infinite; animation-delay: 1.6s; }
.f6 { bottom: 10%; right: 10%; width: 100px; animation: float-c 9s  ease-in-out infinite; animation-delay: 0.4s; }
.f7 { top: 75%;  left: 45%;  width: 100px; animation: float-a 6.4s ease-in-out infinite; animation-delay: 2s; }
.f8 { top: 4%;   left: 46%;  width: 100px; animation: float-b 7.8s ease-in-out infinite; animation-delay: 1s; }

@keyframes float-a { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(-4deg); } }
@keyframes float-b { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-24px) translateX(8px); } }
@keyframes float-c { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(5deg); } }

@media (max-width: 768px) {
  .rpc-floaters { display: none; }
}

/* FLOATING BUTTONS */
.float-actions { position: fixed; bottom: 28px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 9000; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-md); transition: all 0.3s; border: none; cursor: pointer; }
.float-btn:hover { transform: scale(1.12); }
.float-btn.whatsapp { background: #25d366; color: #fff; }
.float-btn.phone { background: var(--primary); color: #fff; }

[data-aos] { transition-duration: 700ms !important; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 4px; }

/* PAGE HERO */
.page-hero {
  background: var(--bg-dark);
  padding: 150px 0 150px;
  position: relative;
  overflow: hidden;
  background-image:
    /* cloud 1 */
    radial-gradient(ellipse 46px 20px at 10% 24%, rgba(255,255,255,0.12) 60%, transparent 61%),
    radial-gradient(ellipse 28px 16px at 6% 30%, rgba(255,255,255,0.12) 60%, transparent 61%),
    radial-gradient(ellipse 30px 16px at 16% 30%, rgba(255,255,255,0.12) 60%, transparent 61%),
    /* cloud 2 */
    radial-gradient(ellipse 54px 22px at 88% 62%, rgba(255,255,255,0.09) 60%, transparent 61%),
    radial-gradient(ellipse 30px 16px at 82% 68%, rgba(255,255,255,0.09) 60%, transparent 61%),
    radial-gradient(ellipse 32px 16px at 94% 68%, rgba(255,255,255,0.09) 60%, transparent 61%),
    /* twinkling star specks */
    radial-gradient(circle 3px at 78% 22%, var(--gold) 90%, transparent 91%),
    radial-gradient(circle 2px at 92% 40%, var(--gold) 90%, transparent 91%),
    radial-gradient(circle 2.5px at 24% 68%, var(--gold) 90%, transparent 91%),
    radial-gradient(circle 2px at 55% 18%, #fff 90%, transparent 91%);
  animation: hero-sky-drift 22s ease-in-out infinite alternate;
}
@keyframes hero-sky-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 22px 6px, 22px 6px, 22px 6px, -18px -5px, -18px -5px, -18px -5px, 0 4px, 0 -4px, 0 3px, 0 -3px; }
}
.page-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(194,0,58,0.22) 0%, rgba(194,0,58,0) 70%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: -160px; left: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(3,78,146,0.16) 0%, rgba(3,78,146,0) 70%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
.page-hero .breadcrumb-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.page-hero .breadcrumb-nav span { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.45); }
.page-hero .breadcrumb-nav a { font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; color: var(--accent-light); }
.page-hero .breadcrumb-nav .sep { color: rgba(255,255,255,0.25); }
.page-hero .breadcrumb-title { font-family: var(--font-display); font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 600; font-style: italic; color: #fff; line-height: 1.15; max-width: 560px; }
.page-hero-tag { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-xl); padding: 12px 20px; color: rgba(255,255,255,0.85); font-family: var(--font-ui); font-size: 12.5px; font-weight: 700; }
.page-hero-tag .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* Breadcrumb illustration — now a FULL-BLEED background layer of .page-hero (AI-generated kids-theme image) */
.page-hero-illustration {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-illustration::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22,22,22,0.92) 0%, rgba(22,22,22,0.68) 42%, rgba(22,22,22,0.30) 75%, rgba(22,22,22,0.05) 100%);
}
@media (max-width: 1024px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-tag { display: none; }
  .page-hero-illustration::after { background: rgba(22,22,22,0.72); }
}

.swiper-pagination-bullet { background: var(--accent-light); opacity: 0.4; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--primary); }
/* RESPONSIVE */
@media (max-width: 1024px) {
  :root { --section-py: 70px; }
  .about-grid, .why-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid.rpc-reverse { direction: ltr; }
  .services-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 100px 0 40px; }
  .footer-col { border-right: none; padding: 0; }
  .footer-cta-card-inner { padding: 36px 32px; }
  .about-img-small { left: 16px; top: -20px; width: 130px; height: 130px; }
  .about-exp-badge { right: 0; padding: 16px 18px; }
  .about-exp-badge .num { font-size: 2.2rem; }
  .why-accent-card { left: 16px; }
  .container-rpc-wide { padding: 0 32px; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-split-panel { position: static; min-height: auto; padding: 36px 32px; }
  .about-split-content { padding: 40px 32px; }
  .page-hero-tag { display: none; }
  .rpc-hero { grid-template-columns: 1fr; }
  .hero-bg { min-height: 320px; }
  .hero-panel { min-height: auto; padding: 56px 36px; }
  .process-steps { grid-template-columns: repeat(2, 1fr) !important; gap: 40px 24px; }
  .process-steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-panel, .contact-form-panel { padding: 40px 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .gallery-item:nth-child(7n) { grid-column: span 1; }
  .blog-detail-wrap { grid-template-columns: 1fr; gap: 32px; }
  .blog-sidebar { position: static; top: auto; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .container-rpc-wide { padding: 0 24px; }
  .rpc-navbar { top: 0; padding: 0; }
  .rpc-navbar .nav-inner { max-width: 100%; border-radius: 0; border: none; border-bottom: 1px solid var(--border-light); padding: 0 18px; height: 84px; }
  .rpc-navbar.transparent .nav-inner { border-bottom: 1px solid var(--border-light); }
  .rpc-navbar.scrolled .nav-inner { height: 76px; }
  .nav-logo img { max-height: 70px; }
  .rpc-navbar.scrolled .nav-logo img { max-height: 62px; }
  .rpc-navbar .nav-menu, .rpc-navbar .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .rpc-navbar.mobile-open .nav-menu { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-white); justify-content: center; align-items: center; gap: 8px; z-index: 9998; }
  .rpc-navbar.mobile-open .nav-link { font-size: 20px; padding: 12px 24px; }
  .rpc-navbar.mobile-open .nav-item { position: relative; }
  .rpc-navbar.mobile-open .nav-dropdown { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%) translateY(8px); width: 90vw; max-width: 320px; max-height: 0; }
  .rpc-navbar.mobile-open .nav-item:hover .nav-dropdown, .rpc-navbar.mobile-open .nav-item.dropdown-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); max-height: 70vh; overflow-y: auto; }
  .rpc-navbar.transparent.mobile-open .nav-link { color: var(--bg-dark); }
  .rpc-navbar.mobile-open .nav-toggle span { background: var(--bg-dark); }
  .hero-title { font-size: 2.1rem; }
  .hero-panel { padding: 48px 28px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .process-steps { grid-template-columns: 1fr !important; }
  .process-steps::before { display: none; }
  .blog-grid, .mv-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 90px 0 36px; }
  .footer-cta-card { transform: translateY(-36px); }
  .footer-cta-card-inner { padding: 30px 26px; flex-direction: column; align-items: flex-start; text-align: left; }
  .footer-cta-card-inner .footer-statement-cta .btn-rpc { width: 100%; justify-content: center; }
  .rpc-footer-top { margin-top: -36px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 36px 28px; }
  .section-header-flex { flex-direction: column; align-items: flex-start; }
  .rpc-topbar { display: none; }
  .about-img-small { display: none; }
  .why-accent-card { position: static; margin-top: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 14px; }
  .gallery-item:nth-child(5n) { grid-row: span 1; }
  .gallery-item:nth-child(7n) { grid-column: span 1; }
  .services-list-grid { grid-template-columns: 1fr; }
  .service-category-block { margin-bottom: 40px; }
  .about-features { grid-template-columns: 1fr; }
  .contact-info-panel, .contact-form-panel { padding: 32px 24px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 0; }
  .sidebar-card { padding: 22px 18px; }
  .page-hero { padding: 110px 0 80px; }
  .page-hero-inner { align-items: flex-start; }
  .about-split-panel { padding: 28px 24px; }
  .about-split-panel-img { height: auto; }
  .about-split-content { padding: 32px 24px; }
  .doctor-signature { flex-wrap: wrap; }
  .doctor-signature .btn-rpc { margin-left: 0 !important; width: 100%; justify-content: center; margin-top: 12px; }

  /* Mobile safety pass — kids-theme stickers/badges shrunk so nothing overflows narrow screens */
  .service-card::after, .blog-card::after { width: 34px; height: 34px; font-size: 15px; top: -12px; right: -10px; }
  .service-card-badge { width: 48px; height: 48px; font-size: 20px; left: 14px; }
  .rpc-team-card::after { width: 34px; height: 34px; font-size: 15px; top: -12px; right: -10px; }
  .rpc-team-badge { width: 44px; height: 44px; font-size: 19px; }
  .mv-icon { width: 52px; height: 52px; font-size: 21px; margin: -46px auto 14px; }
  .cta-banner::before, .footer-cta-card-inner::before { width: 32px; height: 32px; font-size: 14px; top: -14px; }
  .sidebar-booking-card::after { width: 30px; height: 30px; font-size: 13px; }
  .about-images-card, .why-img-card { padding: 16px; }
  .about-images-card::before, .why-img-card::before { width: 36px; height: 36px; font-size: 16px; top: -14px; }
  .faq-trigger { padding: 16px 18px; gap: 12px; font-size: 14.5px; }
  .faq-q-num { width: 26px; height: 26px; font-size: 11px; }
  .faq-body { padding-left: 18px; font-size: 13.5px; }
  .faq-item.open .faq-body { padding: 0 18px 18px 18px; }
  .stat-item { padding: 26px 14px 20px; }
  .stat-icon { width: 44px; height: 44px; font-size: 18px; }
  .rpc-navbar .nav-inner { background-image: linear-gradient(rgba(255,255,255,0.97), rgba(255,255,255,0.97)), url('../images/breadcrumb-kids.png'); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stats-grid { grid-template-columns: 1fr; }
  .main-heading { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
  .contact-map-wrap { height: 240px; margin-top: 32px; }
  .page-hero { padding: 100px 0 60px; }
  .page-hero .breadcrumb-title { font-size: 1.7rem; }
  .blog-card-img, .service-card-img { height: 180px; }
  .blog-card-body, .service-card-body { padding: 18px; }
  .blog-grid, .services-grid, .services-list-grid { gap: 18px; }
  .cta-banner .btn-rpc { width: 100%; justify-content: center; }
  .container-rpc { padding: 0 16px; }
  .about-img-small { width: 90px; height: 90px; left: 8px; top: -14px; border-width: 3px; }
  .about-exp-badge { padding: 12px 14px; bottom: 16px; }
  .about-exp-badge .num { font-size: 1.6rem; }
  .about-exp-badge .label { font-size: 9px; }
  .mv-grid { grid-template-columns: 1fr; }
  .about-split-panel-img { height: auto; }
  .about-split-bottom-row { flex-direction: column; align-items: flex-start; }
  .about-split-quote { padding-left: 16px; }
  .doctor-signature { padding: 16px 18px; }
  .doctor-signature img { width: 44px; height: 44px; }

  /* Mobile safety pass — phone-specific tightening */
  .about-images-card, .why-img-card { padding: 12px; border-radius: 30px 30px 30px 8px; }
  .about-images-card::before, .why-img-card::before { display: none; }
  .service-card::after, .blog-card::after, .rpc-team-card::after { display: none; }
  .why-accent-card { width: 84px; height: 84px; }
  .why-accent-card .big-num { font-size: 1.8rem; }
  .footer-cta-card-inner::before, .cta-banner::before, .sidebar-booking-card::after { display: none; }
  .footer-cta-card-inner h2, .cta-banner h3 { font-size: 1.3rem; }
  .why-list, .mv-grid { gap: 12px; }
  .rpc-navbar .nav-inner { padding: 0 10px; }
}
/* STATS / COUNTER SECTION — shared across index + about — fresh bubble-card redesign */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item {
  text-align: center;
  padding: 36px 20px 26px;
  background: var(--bg-white);
  border: 3px solid;
  border-radius: 30px 30px 30px 8px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.stat-item:nth-child(3n+1) { background: #fff5f8; border-color: var(--primary-light); }
.stat-item:nth-child(3n+2) { background: #f0f7ff; border-color: var(--accent-light); }
.stat-item:nth-child(3n+3) { background: #fffbe8; border-color: var(--gold); }
.stat-item:hover { transform: translateY(-8px) rotate(-1deg) scale(1.03); box-shadow: var(--shadow-lg); }
.stat-icon { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #fff; margin: 0 auto 14px; border: 3px solid #fff; box-shadow: var(--shadow-sm); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.stat-item:nth-child(3n+1) .stat-icon { background: var(--primary); }
.stat-item:nth-child(3n+2) .stat-icon { background: var(--accent); }
.stat-item:nth-child(3n+3) .stat-icon { background: var(--gold); }
.stat-item:hover .stat-icon { transform: rotate(-14deg) scale(1.12); }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 800; font-style: normal; line-height: 1; margin-bottom: 8px; }
.stat-item:nth-child(3n+1) .stat-num { color: var(--primary); }
.stat-item:nth-child(3n+2) .stat-num { color: var(--accent); }
.stat-item:nth-child(3n+3) .stat-num { color: var(--gold-dark); }
.stat-label { font-family: var(--font-ui); font-size: 11.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-muted); }

/* MISSION / VISION CARDS — shared across index + about — badge-sticker redesign */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mv-card {
  position: relative;
  background: var(--bg-white);
  border: 3px solid;
  border-radius: 32px 32px 32px 8px;
  padding: 42px 26px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
}
.mv-card:nth-child(3n+1) { background: #fff5f8; border-color: var(--primary-light); }
.mv-card:nth-child(3n+2) { background: #f0f7ff; border-color: var(--accent-light); }
.mv-card:nth-child(3n+3) { background: #fffbe8; border-color: var(--gold); }
.mv-card:hover { transform: translateY(-10px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.mv-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: #fff;
  margin: -58px auto 18px;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mv-card:nth-child(3n+1) .mv-icon { background: var(--primary); }
.mv-card:nth-child(3n+2) .mv-icon { background: var(--accent); }
.mv-card:nth-child(3n+3) .mv-icon { background: var(--gold); }
.mv-card:hover .mv-icon { transform: rotate(-14deg) scale(1.1); }
.mv-card h4 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.mv-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

/* CTA BANNER — gradient + gold dashed frame + star sticker */
.cta-banner {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 4px solid var(--gold);
  border-radius: var(--radius-asym);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  position: relative;
  overflow: visible;
}
.cta-banner::before {
  content: '★';
  position: absolute;
  top: -18px;
  left: 40px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(-14deg);
}
.cta-banner h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 15px; }

/* FAQ SECTION — shared — colour-cycling accordion with rotating plus/minus */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--bg-white); border: 3px solid var(--border-light); border-radius: 24px 24px 24px 6px; overflow: hidden; transition: all 0.3s; }
.faq-item:nth-child(3n+1).open { border-color: var(--primary-light); background: #fff5f8; }
.faq-item:nth-child(3n+2).open { border-color: var(--accent-light); background: #f0f7ff; }
.faq-item:nth-child(3n+3).open { border-color: var(--gold); background: #fffbe8; }
.faq-trigger { width: 100%; padding: 20px 24px; display: flex; align-items: center; gap: 16px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-dark); }
.faq-q-num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-section); color: var(--primary); font-family: var(--font-ui); font-size: 12.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.faq-item.open .faq-q-num { background: var(--primary); color: #fff; }
.faq-trigger span.faq-q-text { flex: 1; }
.faq-item.open .faq-trigger { color: var(--primary); }
.faq-trigger .faq-icon { margin-left: auto; width: 34px; height: 34px; background: var(--bg-section); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 15px; font-weight: 800; flex-shrink: 0; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.faq-item.open .faq-trigger .faq-icon { background: var(--primary); color: #fff; transform: rotate(135deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; font-size: 14.5px; color: var(--text-muted); line-height: 1.75; padding-left: 70px; }
.faq-item.open .faq-body { max-height: 240px; padding: 0 24px 22px 70px; }

/* CONTENT EDITOR */
.content-editor{ font-size:16px; line-height:1.9; color:var(--text-body); }
.content-editor p{ margin:0 0 16px; }
.content-editor h1, .content-editor h2, .content-editor h3, .content-editor h4, .content-editor h5, .content-editor h6{ margin:24px 0 12px; color:var(--text-dark); font-weight:700; line-height:1.3; }
.content-editor ul, .content-editor ol{ margin:16px 0; padding-left:28px; list-style-position:outside; }
.content-editor ul{ list-style:disc !important; }
.content-editor ol{ list-style:decimal !important; }
.content-editor li{ display:list-item !important; margin-bottom:8px; line-height:1.8; }
.content-editor strong{ font-weight:700; }
.content-editor em{ font-style:italic; }
.content-editor a{ color:var(--primary); text-decoration:none; }
.content-editor a:hover{ text-decoration:underline; }
.content-editor img{ max-width:100%; height:auto; border-radius:12px; margin:20px 0; }
.content-editor blockquote{ margin:20px 0; padding:16px 20px; border-left:4px solid var(--primary); background:#f8f9fa; font-style:italic; }
.content-editor table{ width:100%; border-collapse:collapse; margin:20px 0; }
.content-editor table th, .content-editor table td{ border:1px solid #ddd; padding:10px; }
.content-editor table th{ background:#f5f5f5; font-weight:600; }

/* ================================================================
   FINAL MOBILE OVERRIDES — placed at the very end on purpose so
   they win the cascade against the STATS/MV/CTA/FAQ base rules
   above (which come after the main RESPONSIVE block and were
   silently overriding the earlier mobile fixes at equal specificity)
   ================================================================ */
@media (max-width: 768px) {
  .service-card::after, .blog-card::after { width: 34px; height: 34px; font-size: 15px; top: -12px; right: -10px; }
  .service-card-badge { width: 48px; height: 48px; font-size: 20px; left: 14px; }
  .rpc-team-card::after { width: 34px; height: 34px; font-size: 15px; top: -12px; right: -10px; }
  .rpc-team-badge { width: 44px; height: 44px; font-size: 19px; }
  .mv-icon { width: 52px; height: 52px; font-size: 21px; margin: -46px auto 14px; }
  .cta-banner::before, .footer-cta-card-inner::before { width: 32px; height: 32px; font-size: 14px; top: -14px; }
  .sidebar-booking-card::after { width: 30px; height: 30px; font-size: 13px; }
  .about-images-card, .why-img-card { padding: 16px; }
  .about-images-card::before, .why-img-card::before { width: 36px; height: 36px; font-size: 16px; top: -14px; }
  .about-img-small { left: 6px !important; top: -16px !important; width: 100px !important; height: 100px !important; }
  .about-exp-badge { right: 4px !important; bottom: 16px !important; padding: 12px 14px !important; }
  .about-exp-badge .num { font-size: 1.5rem !important; }
  .faq-trigger { padding: 16px 18px; gap: 12px; font-size: 14.5px; }
  .faq-q-num { width: 26px; height: 26px; font-size: 11px; }
  .faq-body { padding-left: 18px; font-size: 13.5px; }
  .faq-item.open .faq-body { padding: 0 18px 18px 18px; }
  .stat-item { padding: 26px 14px 20px; }
  .stat-icon { width: 44px; height: 44px; font-size: 18px; }
}

@media (max-width: 480px) {
  .about-images-card, .why-img-card { padding: 12px; border-radius: 30px 30px 30px 8px; }
  .about-images-card::before, .why-img-card::before { display: none; }
  .service-card::after, .blog-card::after, .rpc-team-card::after { display: none; }
  .why-accent-card { width: 84px; height: 84px; }
  .why-accent-card .big-num { font-size: 1.8rem; }
  .footer-cta-card-inner::before, .cta-banner::before, .sidebar-booking-card::after { display: none; }
  .footer-cta-card-inner h2, .cta-banner h3 { font-size: 1.3rem; }
  .why-list, .mv-grid { gap: 12px; }
  .rpc-navbar .nav-inner { padding: 0 10px; }
}

/* ================================================================
   ABSOLUTE FINAL FIX — mv-grid (Vision/Mission) MUST stack on mobile.
   The unconditional .mv-grid rule (repeat(3,1fr)) added later in this
   same file was overriding the earlier responsive collapse rule.
   This must stay the LAST rule in the file.
   ================================================================ */
@media (max-width: 1024px) {
  .mv-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .mv-grid { grid-template-columns: 1fr !important; }
}

/* ================================================================
   ABSOLUTE FINAL FIX — .stats-grid MUST show 2 columns on mobile.
   The unconditional .stats-grid rule (repeat(4,1fr)) added later in
   this file was overriding the earlier responsive collapse rules.
   Must stay the LAST rule in the file.
   ================================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}

/* ================================================================
   ABSOLUTE FINAL FIX — blog/service card images fixed at 250px tall
   on ALL devices (desktop, tablet, phone). Must stay LAST in file.
   ================================================================ */
.blog-card-img, .service-card-img { height: 250px !important; }

/* ================================================================
   ABSOLUTE FINAL FIX — footer-bottom text MUST be centered on small
   devices, even wrapped to 2 lines (was left/right aligned due to
   an inline justify-content:space-between style on the container).
   Must stay the LAST rule in the file.
   ================================================================ */
@media (max-width: 768px) {
  .footer-bottom .container-rpc { justify-content: center !important; text-align: center !important; flex-direction: column !important; }
}

/* ================================================================
   ABSOLUTE FINAL FIX — increase .page-hero (breadcrumb banner)
   height across all pages and all screen sizes. Must stay LAST.
   ================================================================ */
.page-hero { padding: 180px 0 200px !important; }
@media (max-width: 1024px) {
  .page-hero { padding: 160px 0 160px !important; }
}
@media (max-width: 768px) {
  .page-hero { padding: 140px 0 120px !important; }
}
@media (max-width: 480px) {
  .page-hero { padding: 130px 0 100px !important; }
}

/* ================================================================
   ABSOLUTE FINAL FIX — breadcrumb text on small devices: bigger,
   and centered both horizontally and vertically. Must stay LAST.
   ================================================================ */
@media (max-width: 768px) {
  .page-hero { display: flex !important; align-items: center !important; justify-content: center !important; }
  .page-hero-inner { text-align: center !important; justify-items: center !important; }
  .page-hero .breadcrumb-nav { justify-content: center !important; }
  .page-hero .breadcrumb-title { font-size: 2.1rem !important; line-height: 1.25 !important; }
}
@media (max-width: 480px) {
  .page-hero .breadcrumb-title { font-size: 1.9rem !important; }
}