/* =========================================================
   Pediatric Care — front-end stylesheet
   Colors/fonts are driven by CSS variables that get overridden
   inline (see inc/dynamic-css.php) from the Theme Options panel.
   ========================================================= */

:root {
	--pc-primary: #0f9b8e;
	--pc-secondary: #ec4899;
	--pc-dark: #0b1f3a;
	--pc-accent: #f5a524;
	--pc-light-bg: #eef7f6;
	--pc-body-text: #4b5563;
	--pc-heading-font: 'Poppins', sans-serif;
	--pc-body-font: 'Inter', sans-serif;
	--pc-radius: 16px;
	--pc-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--pc-body-font);
	color: var(--pc-body-text);
	line-height: 1.6;
	background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
	font-family: var(--pc-heading-font);
	color: var(--pc-dark);
	margin: 0 0 .5em;
	line-height: 1.25;
}
p { margin: 0 0 1em; }
.pc-container {
	max-width: var(--pc-container);
	margin: 0 auto;
	padding: 0 24px;
}
.pc-i16 { width: 16px; height: 16px; }
.pc-i20 { width: 20px; height: 20px; }
.pc-i24 { width: 24px; height: 24px; }
.pc-i28 { width: 28px; height: 28px; }
.pc-i32 { width: 32px; height: 32px; }
.pc-i64 { width: 64px; height: 64px; }
.pc-icon { flex-shrink: 0; }

/* Buttons ------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--pc-primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--pc-primary); }
.btn-accent { background: var(--pc-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px var(--pc-accent); }
.btn-outline { background: transparent; border-color: var(--pc-primary); color: var(--pc-primary); }
.btn-outline:hover { background: var(--pc-primary); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.pc-eyebrow {
	display: inline-block;
	color: var(--pc-primary);
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 8px;
}
.pc-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fdf2f8;
	color: var(--pc-secondary);
	font-weight: 600;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.text-accent { color: var(--pc-primary); }
.pc-badge { position: relative; }
.pc-badge-heart { position: absolute; top: -14px; right: -22px; font-style: normal; color: var(--pc-secondary); font-size: 14px; transform: rotate(12deg); }
.hero-underline { display: block; margin: -6px 0 14px; color: var(--pc-accent); }

/* Topbar --------------------------------------------------- */
.topbar { background: var(--pc-dark); color: #cbd5e1; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 8px; }
.topbar-item { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.topbar-right { display: flex; align-items: center; }
.topbar-social { display: inline-flex; gap: 10px; margin-left: 8px; }
.topbar-social a { color: #cbd5e1; }
.topbar-social a:hover { color: var(--pc-accent); }

/* Header ----------------------------------------------------- */
.site-header { background: #fff; border-bottom: 1px solid #eef1f5; z-index: 50; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 24px; }
.site-branding a { display: flex; align-items: center; gap: 10px; }
.site-logo-mark { color: var(--pc-primary); }
.site-logo-img { max-height: 56px; width: auto; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.site-logo-text strong { font-family: var(--pc-heading-font); color: var(--pc-dark); font-size: 18px; }
.site-logo-text small { color: var(--pc-primary); font-size: 12px; }
.main-navigation { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 28px; }
.nav-menu a { font-weight: 600; color: var(--pc-dark); font-size: 15px; }
.nav-menu li.current-menu-item > a,
.nav-menu a:hover { color: var(--pc-primary); }
.site-header-actions { display: flex; align-items: center; gap: 14px; }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu-toggle span { width: 24px; height: 2px; background: var(--pc-dark); display: block; }

/* Hero --------------------------------------------------------- */
.hero-section { position: relative; background: linear-gradient(180deg, var(--pc-light-bg) 0%, #fff 100%); padding: 64px 0 40px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }

.hero-bg-image {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .9; z-index: 0; pointer-events: none;
}

/* Decorative doodles (paper plane, stars, hearts, clouds, dot grid) that
   mirror the flourishes in the original design. Purely cosmetic — hidden
   from assistive tech and ignored by pointer events. */
.hero-decor { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.decor { position: absolute; color: var(--pc-primary); }
.decor-cloud { color: #dbeefe; opacity: .8; }
.decor-cloud-1 { top: 8%; left: 6%; }
.decor-cloud-2 { top: 14%; left: 44%; }
.decor-plane { top: 12%; left: 40%; color: var(--pc-primary); transform: rotate(-8deg); display: flex; align-items: center; gap: 2px; }
.decor-plane-trail { margin-left: -6px; margin-top: 14px; color: #b9c9e0; }
.decor-heart { color: var(--pc-secondary); font-size: 18px; }
.decor-heart-1 { top: 4%; right: 30%; font-size: 14px; }
.decor-heart-2 { top: 46%; left: 2%; font-size: 16px; opacity: .8; }
.decor-star { color: var(--pc-accent); font-size: 20px; }
.decor-star-1 { top: 10%; right: 26%; }
.decor-star-2 { top: 4%; right: 6%; font-size: 14px; }
.decor-star-3 { bottom: 18%; right: 4%; font-size: 16px; }
.decor-dots { bottom: 24%; right: 2%; color: var(--pc-primary); opacity: .5; }

@media (max-width: 900px) {
	.hero-decor { display: none; }
}
.hero-copy h1 { font-size: clamp(32px, 4vw, 46px); }
.hero-desc { max-width: 480px; }
.hero-cta { display: flex; align-items: center; gap: 24px; margin: 24px 0 32px; flex-wrap: wrap; }
.hero-video-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--pc-dark); }
.play-circle {
	width: 40px; height: 40px; border-radius: 50%;
	background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12);
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--pc-primary); font-size: 13px;
}
.hero-mini-stats { display: flex; flex-wrap: wrap; gap: 14px; background: #fff; border-radius: var(--pc-radius); padding: 18px; box-shadow: 0 12px 30px -18px rgba(15,31,58,.25); }
.hero-mini-stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 90px; }
.hero-mini-stat .hmi-icon { color: var(--pc-primary); margin-bottom: 4px; }
.hero-mini-stat .hmi-value { font-weight: 800; font-family: var(--pc-heading-font); color: var(--pc-dark); font-size: 18px; }
.hero-mini-stat .hmi-label { font-size: 12px; color: #94a3b8; }
.hero-mini-stat-1 .hmi-icon { color: var(--pc-primary); }
.hero-mini-stat-2 .hmi-icon { color: var(--pc-secondary); }
.hero-mini-stat-3 .hmi-icon { color: var(--pc-accent); }
.hero-mini-stat-4 .hmi-icon { color: #2563eb; }

.hero-media {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 0;
}
.hero-media-frame {
	grid-column: 1 / 2;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	border-radius: 50% 50% 45% 45% / 55% 55% 45% 45%;
	overflow: hidden;
	background: var(--pc-light-bg);
	aspect-ratio: 1 / 1;
	display: flex; align-items: center; justify-content: center;
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-placeholder { color: var(--pc-primary); opacity: .5; }
.hero-feature-cards {
	grid-column: 2 / 3;
	align-self: center;
	margin-left: -64px;
	display: flex; flex-direction: column; gap: 12px;
	position: relative; z-index: 2;
}
.hero-feature-card {
	display: flex; align-items: center; gap: 12px;
	background: #fff; border-radius: 14px; padding: 12px 16px;
	box-shadow: 0 14px 30px -16px rgba(15,31,58,.3);
	width: 200px;
}
.hero-feature-card .hfc-icon {
	width: 40px; height: 40px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-feature-card .hfc-text { display: flex; flex-direction: column; line-height: 1.3; }
.hero-feature-card .hfc-text strong { font-size: 14px; color: var(--pc-dark); }
.hero-feature-card .hfc-text small { font-size: 12px; color: #94a3b8; }
.hero-feature-card-1 .hfc-icon { background: #fce7f3; color: var(--pc-secondary); }
.hero-feature-card-2 .hfc-icon { background: #e0f2fe; color: #0369a1; }
.hero-feature-card-3 .hfc-icon { background: #dcfce7; color: #15803d; }
.hero-feature-card-4 .hfc-icon { background: #ede9fe; color: #7c3aed; }

.hero-teddy {
	position: absolute;
	right: 20px;
	bottom: -20px;
	width: 90px;
	height: 90px;
	pointer-events: none;
	z-index: 0;
	opacity: .9;
}

/* Services ------------------------------------------------------ */
.services-section { padding: 72px 0; }
.services-grid-wrap { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; align-items: start; }
.services-intro { position: sticky; top: 100px; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card {
	background: #fff; border: 1px solid #eef1f5; border-radius: 16px;
	padding: 22px 16px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px -16px rgba(15,31,58,.25); border-color: transparent; }
.service-card .service-icon {
	width: 56px; height: 56px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
}
.service-card .service-title { font-weight: 600; font-size: 14px; color: var(--pc-dark); }
.service-card-1 .service-icon { background: #e0f2fe; color: #0369a1; }
.service-card-2 .service-icon { background: #dcfce7; color: #15803d; }
.service-card-3 .service-icon { background: #fce7f3; color: var(--pc-secondary); }
.service-card-4 .service-icon { background: #ede9fe; color: #7c3aed; }
.service-card-5 .service-icon { background: #fef3c7; color: var(--pc-accent); }

/* Trust / Booking / Tracker -------------------------------------- */
.trust-booking-section { padding: 0 0 72px; }
.trust-booking-grid { display: grid; gap: 24px; }
.trust-booking-grid.cols-3 { grid-template-columns: 1fr 1.1fr 1fr; }
.trust-booking-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.trust-booking-grid.cols-1 { grid-template-columns: 1fr; }
.tbt-col { border-radius: var(--pc-radius); padding: 28px; }
.why-trust-col { background: var(--pc-light-bg); }
.why-trust-col h3 { display: flex; align-items: center; gap: 8px; }
.why-trust-col .heart { color: var(--pc-secondary); }
.trust-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.trust-list li { display: flex; align-items: flex-start; gap: 12px; }
.trust-check {
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--pc-primary); color: #fff; font-size: 13px;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.booking-col { background: #fff; box-shadow: 0 20px 45px -30px rgba(15,31,58,.4); border: 1px solid #eef1f5; }
.booking-form label { display: block; font-size: 13px; font-weight: 600; color: var(--pc-dark); margin: 14px 0 6px; }
.booking-form label:first-child { margin-top: 0; }
.booking-form input,
.booking-form select {
	width: 100%; padding: 12px 14px; border-radius: 10px;
	border: 1px solid #e2e8f0; font-family: var(--pc-body-font); font-size: 14px;
}
.booking-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.booking-form .btn-block { margin-top: 20px; }
.booking-or { text-align: center; margin: 16px 0; position: relative; color: #94a3b8; font-size: 13px; }
.booking-or::before, .booking-or::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: #e2e8f0; }
.booking-or::before { left: 0; } .booking-or::after { right: 0; }
.whatsapp-link { display: flex; align-items: center; justify-content: center; gap: 8px; color: #22c55e; font-weight: 600; }

.tracker-col { background: #fff7e6; }
.tracker-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 24px; }
.tracker-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--pc-dark); }
.tracker-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pc-accent); flex-shrink: 0; }

/* Stats bar -------------------------------------------------------- */
.stats-bar-section { background: var(--pc-dark); padding: 40px 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; }
.stat-icon { color: var(--pc-accent); margin-bottom: 4px; }
.stat-value { font-family: var(--pc-heading-font); font-size: 30px; font-weight: 800; }
.stat-label { color: #94a3b8; font-size: 13px; }

/* Locations -------------------------------------------------------- */
.locations-section { padding: 72px 0; }
.locations-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.locations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.location-card { border-radius: var(--pc-radius); overflow: hidden; border: 1px solid #eef1f5; }
.location-image { aspect-ratio: 16/10; background: var(--pc-light-bg); }
.location-image img { width: 100%; height: 100%; object-fit: cover; }
.location-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--pc-primary); opacity: .5; }
.location-body { padding: 18px; }
.location-body h4 { margin-bottom: 6px; }
.location-body p { font-size: 13px; color: #94a3b8; margin-bottom: 12px; }
.location-directions { display: inline-flex; align-items: center; gap: 6px; color: var(--pc-primary); font-weight: 600; font-size: 14px; }
.locations-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.location-dot { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.location-dot.active { background: var(--pc-primary); width: 22px; border-radius: 8px; }

/* Footer ------------------------------------------------------------ */
.site-footer { background: var(--pc-dark); color: #cbd5e1; padding-top: 56px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: #94a3b8; font-size: 14px; }
.footer-logo strong { color: #fff; font-size: 20px; font-family: var(--pc-heading-font); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
	width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08);
	display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer-social a:hover { background: var(--pc-primary); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-menu { display: flex; flex-direction: column; gap: 10px; }
.footer-menu a { color: #94a3b8; font-size: 14px; }
.footer-menu a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; gap: 8px; color: #94a3b8; font-size: 14px; align-items: flex-start; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.footer-newsletter input { flex: 1; padding: 10px 12px; border-radius: 8px; border: none; }
.footer-widgets { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; font-size: 13px; color: #94a3b8; flex-wrap: wrap; gap: 8px; }
.footer-links a:hover { color: #fff; }

/* Generic page/blog content ------------------------------------------ */
.page-content { padding: 56px 0; }
.page-content.narrow { max-width: 800px; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid #eef1f5; border-radius: var(--pc-radius); overflow: hidden; }
.post-card-thumb img { aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 18px; }
.post-meta { font-size: 12px; color: #94a3b8; }
.pagination { margin-top: 32px; display: flex; gap: 8px; justify-content: center; }
.pc-404 { text-align: center; padding: 100px 0; }
.pc-404 h1 { font-size: 64px; color: var(--pc-primary); }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
	.services-grid-wrap { grid-template-columns: 1fr; }
	.services-grid { grid-template-columns: repeat(3, 1fr); }
	.trust-booking-grid.cols-3,
	.trust-booking-grid.cols-2 { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { grid-template-columns: 1fr; }
	.hero-media-frame { max-width: 320px; }
	.hero-feature-cards { grid-column: 1 / 2; margin-left: 0; margin-top: 20px; flex-direction: row; flex-wrap: wrap; justify-content: center; }
	.hero-feature-card { width: calc(50% - 6px); }
	.hero-teddy { width: 60px; height: 60px; right: 12px; }
	.main-navigation { display: none; }
	.mobile-menu-toggle { display: flex; }
	.stats-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.locations-grid { grid-template-columns: repeat(2, 1fr); }
	.post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.topbar-left { display: none; }
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.locations-grid { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.post-list { grid-template-columns: 1fr; }
	.booking-form-row { grid-template-columns: 1fr; }
}

/* Mobile nav open state (toggled via main.js) */
.main-navigation.is-open {
	display: block; position: absolute; top: 100%; left: 0; right: 0;
	background: #fff; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); padding: 16px 24px;
}
.main-navigation.is-open .nav-menu { flex-direction: column; gap: 16px; }
