/* ================================================================
   RELIEF PHYSIO CARE | Master CSS
   Single file — all colors via CSS variables
   Designer: SkoraSoft
   ================================================================ */

/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  --primary:       #c4004f;
  --primary-light: #e0407f;
  --primary-dark:  #8a0038;
  --accent:        #07b2d3;
  --accent-light:  #3fc9e3;

  --bg-white:      #ffffff;
  --bg-light:      #fff7f9;
  --bg-section:    #fdeef3;
  --bg-dark:       #1c0a13;
  --bg-darker:     #120610;

  --text-dark:     #220c16;
  --text-body:     #5c4750;
  --text-muted:    #9b7e89;
  --text-white:    #ffffff;

  --border-light:  #f3dbe3;
  --border-mid:    #e0b3c4;

  --shadow-sm:     0 2px 12px rgba(196,0,79,0.10);
  --shadow-md:     0 8px 32px rgba(196,0,79,0.16);
  --shadow-lg:     0 20px 60px rgba(196,0,79,0.20);

  --font-display:  'Fraunces', 'Georgia', serif;
  --font-body:     'Manrope', 'Segoe UI', sans-serif;
  --font-ui:       'Manrope', sans-serif;

  --section-py:    110px;
  --radius-sm:     6px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     999px;
  --radius-asym:   28px 6px 28px 6px;
}

*, *::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: 600;
  font-optical-sizing: auto;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 20px;
}

.main-heading span, .main-heading .highlight { color: var(--primary); font-style: italic; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-label.light { color: rgba(255,255,255,0.75); }
.section-label.light::before { background: var(--accent-light); }

/* BUTTONS */
.btn-rpc {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  background: var(--primary);
  color: var(--text-white);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
}

.btn-rpc:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-rpc .btn-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.btn-rpc:hover .btn-icon { background: rgba(255,255,255,0.32); transform: rotate(45deg); }

.btn-rpc-outline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 2px solid var(--border-mid);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-rpc-outline .btn-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-section);
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s;
}

.btn-rpc-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-rpc-outline:hover .btn-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }

.btn-rpc-accent { background: var(--accent); }
.btn-rpc-accent:hover { background: #058098; }

.btn-rpc-white { background: #fff; color: var(--primary-dark); }
.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: var(--shadow-lg); }
.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 */
.rpc-topbar { background: var(--bg-dark); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.rpc-topbar .topbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.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(--accent-light); }
.topbar-item i { color: var(--accent-light); font-size: 14px; }
.topbar-badge { background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 20px; letter-spacing: 0.5px; animation: pulse-badge 2s ease-in-out infinite; }
@keyframes pulse-badge { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.topbar-socials { display: flex; align-items: center; gap: 6px; }
.topbar-social-link { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 13px; transition: all 0.3s; }
.topbar-social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }

/* NAVBAR */
.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 28px; display: flex; align-items: center; justify-content: space-between; height: 60px; border-radius: var(--radius-xl); transition: all 0.35s ease; }
.rpc-navbar .nav-inner { background: var(--bg-white); box-shadow: 0 8px 28px rgba(196,0,79,0.12); border: 1px solid var(--border-light); }
.rpc-navbar.transparent .nav-inner { background: var(--bg-white); border: 1px solid var(--border-light); box-shadow: 0 8px 28px rgba(196,0,79,0.12); }
.rpc-navbar.scrolled .nav-inner { background: var(--bg-white); box-shadow: 0 10px 32px rgba(196,0,79,0.16); border-color: var(--border-light); height:60px; }
html.nav-prescroll .rpc-navbar.transparent .nav-inner { background: var(--bg-white); box-shadow: 0 10px 32px rgba(196,0,79,0.16); border-color: var(--border-light); }
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: 50px; height: auto; width: auto; transition: max-height 0.3s; display: block; }
.rpc-navbar.scrolled .nav-logo img { max-height: 50px; }
.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: 700; letter-spacing: 0.2px; color: var(--bg-dark); border-radius: 8px; transition: all 0.2s; }
.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); }
.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: 1px solid var(--border-light); border-radius: var(--radius-md); 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: 2px; background: var(--bg-dark); border-radius: 2px; transition: all 0.3s; }
.rpc-navbar.transparent .nav-toggle span { background: var(--bg-dark); }

/* ----------------------------------------------------------------
   HERO SECTION — Option 5: two-tone split. Left half is the photo,
   right half is a solid berry-color panel carrying the heading, CTAs,
   and a stat row separated by a top border instead of a glass capsule.
   ---------------------------------------------------------------- */
.rpc-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,10,19,0.15) 0%, rgba(28,10,19,0) 60%);
}

.hero-overlay { display: none; }

.hero-panel {
  position: relative;
  background: var(--primary);
  background-image: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 64px 60px;
  min-height: 100vh;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 520px; }

.hero-id-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 8px 18px 8px 10px;
  margin-bottom: 28px;
}

.hero-id-badge-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  flex-shrink: 0;
}

.hero-id-badge-text strong { display: inline; font-family: var(--font-ui); font-size: 12px; font-weight: 800; color: #fff; }
.hero-id-badge-text span { display: inline; font-size: 11px; color: rgba(255,255,255,0.7); margin-left: 4px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-title .line2 { color: #fff; display: block; font-style: italic; opacity: 0.85; }

.hero-desc { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.7; max-width: 440px; margin-bottom: 32px; }

.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-panel .btn-rpc-accent { background: var(--accent); }
.hero-panel .btn-rpc-outline { border-color: rgba(255,255,255,0.45); color: #fff; }
.hero-panel .btn-rpc-outline .btn-icon { background: rgba(255,255,255,0.15); color: #fff; }
.hero-panel .btn-rpc-outline:hover { border-color: #fff; }
.hero-panel .btn-rpc-outline:hover .btn-icon { background: #fff; color: var(--primary); }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-stat-item { display: flex; flex-direction: column; min-width: 0; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-num span { color: var(--accent-light); }
.hero-stat-label { font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* INFO TICKER */
.rpc-ticker { background: var(--primary-dark); padding: 14px 0; overflow: hidden; position: relative; }
.ticker-wrapper { display: flex; gap: 60px; animation: ticker-scroll 28s linear infinite; white-space: nowrap; width: max-content; }
.ticker-wrapper:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.88); letter-spacing: 0.4px; }
.ticker-item .t-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 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); }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-grid.rpc-reverse { direction: rtl; }
.about-grid.rpc-reverse > * { direction: ltr; }
.about-images-wrap { position: relative; }
.about-img-main { border-radius: var(--radius-asym); overflow: hidden; height: clamp(280px, 55vw, 520px); }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.about-img-main:hover img { transform: scale(1.04); }
.about-img-small { position: absolute; top: -28px; left: -28px; width: 190px; height: 190px; border-radius: var(--radius-md) 50% var(--radius-md) 50%; overflow: hidden; border: 6px solid var(--bg-white); box-shadow: var(--shadow-md); }
.about-img-small img { width: 100%; height: 100%; object-fit: cover; }
.about-exp-badge { position: absolute; bottom: 28px; right: -24px; background: var(--accent); color: #fff; padding: 20px 24px; border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; text-align: center; box-shadow: var(--shadow-md); }
.about-exp-badge .num { display: block; font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.about-exp-badge .label { display: block; font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.9; margin-top: 4px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
.about-feature-item { display: flex; align-items: flex-start; gap: 12px; }
.about-feature-icon { width: 40px; height: 40px; background: var(--bg-section); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 18px; flex-shrink: 0; }
.about-feature-item h6 { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.about-feature-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.doctor-signature { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--bg-section); border-radius: var(--radius-md); border-left: 4px solid var(--primary); margin-top: 32px; }
.doctor-signature img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-light); }
.doctor-signature .doc-name { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--text-dark); }
.doctor-signature .doc-deg { font-size: 12px; color: var(--primary); font-weight: 600; }

/* SERVICES SECTION */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 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; z-index: 2; }
.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); }

/* STATS / COUNTER SECTION */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px;}
.stat-item { text-align: center; padding: 32px 20px; background: var(--primary-dark); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); }
.stat-icon { width: 48px; height: 48px; background: var(--bg-white); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0; display: flex; align-items: center; justify-content: center; color: var(--primary-dark); font-size: 20px; margin: 0 auto 16px; }
.stat-num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 700; font-style: italic; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat-label { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: rgba(255,255,255,0.55); }

/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-wrap { position: relative; }
.why-img-main { border-radius: var(--radius-asym); overflow: hidden; height: 580px; }
.why-img-main img { width: 100%; height: 100%; object-fit: cover; }
.why-accent-card { position: absolute; top: -24px; left: -24px; background: var(--primary); color: #fff; padding: 28px 32px; border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); box-shadow: var(--shadow-lg); text-align: center; }
.why-accent-card .big-num { display: block; font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; }
.why-accent-card .label { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: 0.85; margin-top: 6px; }
.why-list { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.why-item { display: flex; gap: 16px; padding: 20px 24px; background: var(--bg-light); border-radius: var(--radius-md); border: 1px solid var(--border-light); transition: all 0.3s; }
.why-item:hover { background: var(--bg-white); border-color: var(--accent-light); box-shadow: var(--shadow-sm); transform: translateX(8px); }
.why-item-icon { 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; flex-shrink: 0; }
.why-item-icon.accent { background: var(--accent); }
.why-item-body h5 { font-family: var(--font-ui); font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.why-item-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* PROCESS SECTION */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; --ps-cols: 3; }
.process-steps::before { content: ''; position: absolute; top: 44px; left: calc(50% / var(--ps-cols) + 32px); right: calc(50% / var(--ps-cols) + 32px); height: 2px; background: var(--border-mid); z-index: 0; }
.process-steps[data-steps="1"]::before { display: none; }
.process-step { text-align: center; position: relative; z-index: 1; }
.step-num-wrap { position: relative; display: inline-block; margin-bottom: 28px; }
.step-circle-outer { width: 88px; height: 88px; border-radius: 50%; border: 2px dashed var(--accent-light); display: flex; align-items: center; justify-content: center; margin: 0 auto; background: var(--bg-white); transition: all 0.3s; }
.process-step:hover .step-circle-outer { border-color: var(--primary); background: var(--primary); }
.step-inner-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-section); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--primary); transition: all 0.3s; }
.process-step:hover .step-inner-circle { background: rgba(255,255,255,0.2); color: #fff; }
.step-badge { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-ui); font-size: 11px; font-weight: 700; }
.process-step h4 { font-family: var(--font-ui); font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; transition: color 0.2s; }
.process-step:hover h4 { color: var(--primary); }
.process-step p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 260px; margin: 0 auto; }

/* TESTIMONIALS */
.testimonial-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-asym); padding: 32px; height: 100%; transition: all 0.3s; position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 80px; font-weight: 700; color: var(--bg-section); line-height: 1; }
.testimonial-card:hover { border-color: var(--accent-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-client { display: flex; align-items: center; gap: 14px; }
.testimonial-client img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border-light); }
.testimonial-client .client-name { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--text-dark); }
.testimonial-client .client-role { font-size: 13px; color: var(--primary); }

/* MISSION / VISION CARDS */
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mv-card { background: var(--bg-white); border-radius: var(--radius-md); padding: 32px 26px; text-align: center; transition: all 0.3s; box-shadow: var(--shadow-sm); border-top: 3px solid var(--primary); }
.mv-card:nth-child(even) { border-top-color: var(--accent); }
.mv-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.mv-icon { width: 52px; height: 52px; background: var(--bg-section); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 21px; margin: 0 auto 18px; transition: all 0.3s; }
.mv-card:nth-child(even) .mv-icon { background: rgba(7,178,211,0.1); color: var(--accent); }
.mv-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.mv-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

.cta-banner { background: var(--primary); 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; }
.cta-banner h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 15px; }

/* FAQ SECTION */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.faq-img { border-radius: var(--radius-asym); overflow: hidden; height: 500px; }
.faq-img img { width: 100%; height: 100%; object-fit: cover; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--accent-light); }
.faq-trigger { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--text-dark); transition: color 0.2s; }
.faq-item.open .faq-trigger { color: var(--primary); }
.faq-trigger .faq-icon { width: 32px; height: 32px; background: var(--bg-section); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 14px; flex-shrink: 0; transition: all 0.3s; }
.faq-item.open .faq-trigger .faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-body { max-height: 200px; padding: 0 24px 20px; }

/* BLOGS SECTION */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 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: 300px; 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); z-index: 2; }
.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); }

/* 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 */
.rpc-footer { background: var(--bg-dark); padding: 0; position: relative; }
.footer-cta-card { position: relative; z-index: 2; 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-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); }
.footer-cta-card-inner h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 600; color: #fff; line-height: 1.25; max-width: 540px; }
.footer-cta-card-inner .footer-statement-cta { flex-shrink: 0; }
.rpc-footer-top { background: var(--bg-dark); padding: 0 0 50px; margin-top: -80px; }
.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 solid rgba(255,255,255,0.07); }
.footer-col:first-child { padding-left: 0; }
.footer-col:last-child { border-right: none; }
.footer-brand .brand-logo { height: 60px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.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: 36px; height: 36px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 14px; transition: all 0.3s; }
.footer-social:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h5 { font-family: var(--font-display); font-size: 17px; font-weight: 600; font-style: italic; color: var(--accent-light); margin-bottom: 24px; }
.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: #fff; 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(--accent-light); 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(--accent-light); }
.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; }
.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(--accent-light); }

/* 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 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -120px; right: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(196,0,79,0.22) 0%, rgba(196,0,79,0) 70%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: -160px; left: 10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(7,178,211,0.14) 0%, rgba(7,178,211,0) 70%); pointer-events: none; }
.page-hero-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.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%; }

/* ABOUT PAGE — split-screen sticky panel layout */
.about-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; border-radius: var(--radius-asym); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-white); }
.about-split-panel { position: sticky; top: 110px; align-self: start; background: var(--bg-dark); padding: 48px 40px; min-height: 560px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.about-split-panel::before { content: ''; position: absolute; top: -100px; left: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(196,0,79,0.25) 0%, rgba(196,0,79,0) 70%); pointer-events: none; }
.about-split-panel-img { position: relative; z-index: 1; border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; overflow: hidden; height: 220px; margin-bottom: 28px; }
.about-split-panel-img img { width: 100%; height: 100%; object-fit: cover; }
.about-split-panel-head { position: relative; z-index: 1; margin-bottom: 32px; }
.about-split-panel-head .section-label.light { margin-bottom: 12px; }
.about-split-panel-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 600; color: #fff; line-height: 1.3; }
.about-split-panel-head h2 span { color: var(--accent-light); font-style: italic; }
.about-split-panel-foot { position: relative; z-index: 1; margin-top: auto; display: flex; flex-direction: column; gap: 16px; }
.about-split-doctor { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }
.about-split-doctor img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent-light); flex-shrink: 0; }
.about-split-doctor .doc-name { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: #fff; }
.about-split-doctor .doc-deg { font-size: 11.5px; color: var(--accent-light); }
.about-split-exp { display: flex; align-items: baseline; gap: 10px; }
.about-split-exp .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--primary-light); line-height: 1; }
.about-split-exp .label { font-family: var(--font-ui); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.about-split-content { padding: 56px 48px; }
.about-split-quote { border-left: 3px solid var(--accent); padding-left: 22px; margin-bottom: 32px; }
.about-split-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--text-dark); line-height: 1.6; }
.about-split-content .lead-text { font-size: 16px; color: var(--text-body); line-height: 1.9; margin-bottom: 28px; }
.about-split-secondary-img { border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; overflow: hidden; height: 220px; margin-bottom: 32px; }
.about-split-secondary-img img { width: 100%; height: 100%; object-fit: cover; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; border-radius: var(--radius-asym); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-info-panel { background: var(--bg-dark); padding: 56px 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.contact-info-panel::before { content: ''; position: absolute; top: -100px; right: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(196,0,79,0.22) 0%, rgba(196,0,79,0) 70%); pointer-events: none; }
.contact-info-panel-head { position: relative; z-index: 1; margin-bottom: 36px; }
.contact-info-panel-head .section-label.light { margin-bottom: 14px; }
.contact-info-panel-head h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; font-style: italic; color: #fff; line-height: 1.3; }
.contact-detail-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 26px; margin-bottom: 36px; }
.contact-detail-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0; display: flex; align-items: center; justify-content: center; color: var(--accent-light); font-size: 18px; flex-shrink: 0; }
.contact-detail-row h6 { font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 5px; }
.contact-detail-row a, .contact-detail-row p { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.92); line-height: 1.5; }
.contact-detail-row .detail-sub { display: block; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,0.45); margin-top: 2px; }
.contact-info-panel-socials { position: relative; z-index: 1; margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; gap: 10px; }
.contact-form-panel { background: var(--bg-white); padding: 56px 48px; }
.contact-form-panel .section-label { margin-bottom: 14px; }
.contact-form-panel h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--text-dark); margin-bottom: 10px; }
.contact-form-panel .form-intro { font-size: 14.5px; color: var(--text-muted); margin-bottom: 30px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-map-wrap { margin-top: 48px; border-radius: var(--radius-asym); overflow: hidden; height: 380px; }
.contact-map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; }

/* GALLERY PAGE */
.gallery-filters { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.gallery-filter-btn { padding: 11px 24px; background: var(--bg-white); border: 1.5px solid var(--border-light); border-radius: var(--radius-xl); font-family: var(--font-ui); font-size: 13px; font-weight: 700; color: var(--text-body); cursor: pointer; transition: all 0.25s; }
.gallery-filter-btn:hover { border-color: var(--primary-light); color: var(--primary); }
.gallery-filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; }
.gallery-item { border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; overflow: hidden; position: relative; cursor: pointer; grid-row: span 1; }
.gallery-item:nth-child(5n) { grid-row: span 2; }
.gallery-item:nth-child(7n) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,10,19,0) 40%, rgba(28,10,19,0.82) 100%); display: flex; align-items: flex-end; justify-content: flex-start; padding: 16px; opacity: 0; transition: opacity 0.3s; color: #fff; }
.gallery-overlay .gallery-view-icon { width: 38px; height: 38px; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-left: auto; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-empty { text-align: center; padding: 80px 0; color: var(--text-muted); }
.gallery-empty i { font-size: 48px; color: var(--border-mid); display: block; margin-bottom: 16px; }

/* SERVICES LIST PAGE */
.services-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.service-category-block { margin-bottom: 64px; }
.service-category-title { font-family: var(--font-ui); font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); display: inline-block; }

/* BLOG DETAIL */
.blog-detail-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.blog-detail-img { border-radius: var(--radius-asym); overflow: hidden; height: clamp(220px, 45vw, 420px); margin-bottom: 32px; }
.blog-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-meta-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: var(--bg-section); border-radius: var(--radius-xl); padding: 10px 20px; margin-bottom: 24px; width: fit-content; }
.blog-meta-bar span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-body); font-family: var(--font-ui); font-weight: 700; }
.blog-meta-bar span i { color: var(--primary); font-size: 13px; }
.blog-meta-bar .meta-divider { width: 1px; height: 14px; background: var(--border-mid); }
.blog-detail-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 600; color: var(--text-dark); margin-bottom: 28px; line-height: 1.3; }
.blog-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--bg-light); border-radius: var(--radius-md); padding: 28px 24px; margin-bottom: 24px; border: 1px solid var(--border-light); }
.sidebar-card h5 { font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.recent-post-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border-light); transition: transform 0.2s; }
.recent-post-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recent-post-item:hover { transform: translateX(4px); }
.recent-post-item img { width: 64px; height: 56px; object-fit: cover; border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 0; flex-shrink: 0; }
.recent-post-item .rp-title { font-size: 13px; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s; }
.recent-post-item:hover .rp-title { color: var(--primary); }
.recent-post-item .rp-date { font-size: 11px; color: var(--text-muted); font-family: var(--font-ui); }
.sidebar-booking-card { background: var(--bg-dark); border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 0; padding: 30px 26px; position: relative; overflow: hidden; }
.sidebar-booking-card::before { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(196,0,79,0.3) 0%, rgba(196,0,79,0) 70%); pointer-events: none; }
.sidebar-booking-card .icon-circle { position: relative; z-index: 1; width: 48px; height: 48px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; margin-bottom: 18px; }
.sidebar-booking-card h5 { position: relative; z-index: 1; color: #fff; border-bottom: none; font-family: var(--font-display); font-style: italic; font-size: 17px; margin-bottom: 10px; }
.sidebar-booking-card p { position: relative; z-index: 1; font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 20px; line-height: 1.6; }
.sidebar-booking-card .btn-rpc { position: relative; z-index: 1; width: 100%; justify-content: center; }
.sidebar-card-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sidebar-card-list a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-body); background: transparent; font-weight: 400; transition: background 0.2s, color 0.2s; }
.sidebar-card-list a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { .sidebar-card-list a:hover { background: var(--bg-section); color: var(--primary); } }
.sidebar-card-list a:active { background: var(--bg-section); color: var(--primary); }
.sidebar-card-list a.active-link { background: var(--bg-section); color: var(--primary); font-weight: 700; }
.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; }
  .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 { height: auto; }
  .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: 60px; }
  .rpc-navbar.scrolled .nav-logo img { max-height: 52px; }
  .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 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .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 56px; }
  .page-hero-inner { align-items: flex-start; }
  .about-split-panel { padding: 28px 24px; }
  .about-split-panel-img { height: 180px; }
  .about-split-content { padding: 32px 24px; }
  .about-split-secondary-img { height: 180px; }
  .doctor-signature { flex-wrap: wrap; }
  .doctor-signature .btn-rpc { margin-left: 0 !important; width: 100%; justify-content: center; margin-top: 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .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 44px; }
  .page-hero .breadcrumb-title { font-size: 1.7rem; }
  .blog-card-img, .service-card-img { height: 250px; }
  .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: 150px; }
  .about-split-secondary-img { height: 150px; }
  .about-split-quote { padding-left: 16px; }
  .doctor-signature { padding: 16px 18px; }
  .doctor-signature img { width: 44px; height: 44px; }
}
/* ================================================================
   RPC — TEAM SECTION (static)
   ================================================================ */
.rpc-team-grid {
  display: grid;
   grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.rpc-team-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;
}

.rpc-team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.rpc-team-img {
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-asym) var(--radius-asym) 0 0;
  position: relative;
}

.rpc-team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.rpc-team-card:hover .rpc-team-img img { transform: scale(1.06); }

/* Badge — service-card wali family feel */
.rpc-team-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;
}

.rpc-team-card:hover .rpc-team-badge { background: var(--accent); }

.rpc-team-body { padding: 40px 24px 26px; }

.rpc-team-body h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  transition: color 0.2s;
}

.rpc-team-card:hover .rpc-team-body h4 { color: var(--primary); }

.rpc-team-role {
  display: block;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.rpc-team-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .rpc-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .rpc-team-grid { grid-template-columns: 1fr; }
}

/* 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; }



/* ================================================================
   RPC — ABOUT IMAGES: NO CROP FIX (index + about page)
   ================================================================ */

/* Index — about section main image */
.about-img-main { height: auto; }

.about-img-main img {
  height: auto;
  object-fit: cover;
}

/* About page — split panel dono images */
.about-split-panel-img,
.about-split-secondary-img { height: auto; }

.about-split-panel-img img,
.about-split-secondary-img img {
  height: auto;
  object-fit: cover;
}
/* Why Choose Us — image no crop */
.why-img-main { height: auto; }

.why-img-main img {
  height: auto;
  object-fit: cover;
}

/* ================================================================
   RPC — BLOG & SERVICE IMAGES: NO CROP FIX
   Cards (listing) aur detail page dono ki photos ab poori dikhengi,
   crop nahi hongi. Box ka fixed height grid alignment ke liye rakha
   hai, image us box ke andar "contain" hoke letterbox ke sath fit
   hoti hai (jaise ek frame ke andar poori photo).
   ================================================================ */

/* Blog / Service cards (listing grids — home, blogs, services pages)
   Technique: same photo blurred + zoomed fills the box as a soft
   backdrop, aur asli photo poori (uncropped) us backdrop ke upar
   center me "contain" hoke dikhti hai. Result: full photo bhi
   dikhti hai aur koi khaali/awkward gap bhi nahi lagta. */
.blog-card-img,
.service-card-img {
  position: relative;
  background-color: var(--bg-section);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-img::before,
.service-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(22px) brightness(0.92);
  transform: scale(1.25);
  z-index: 0;
}

.blog-card-img img,
.service-card-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.18));
}

.blog-card:hover .blog-card-img img,
.service-card:hover .service-card-img img {
  transform: none;
}

/* Blog detail + Service detail main image (shared class) */
.blog-detail-img {
  position: relative;
  background-color: var(--bg-section);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(220px, 45vw, 420px);
  overflow: hidden;
}

.blog-detail-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(28px) brightness(0.92);
  transform: scale(1.25);
  z-index: 0;
}

.blog-detail-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2));
}