/*!
Theme Name: OT Fertility Clinic Pro
Theme URI: https://optivatemplates.com/
Author: OptivaTemplates
Author URI: https://optivatemplates.com/
Description: OT Fertility Clinic Pro is a calm, coral-and-navy Fertility Clinic WordPress Theme for IVF centers, reproductive medicine practices, gynecologists and women's health clinics. It ships with a treatments post type, a tabbed patient-journey section, specialists grid, testimonial carousel, FAQ accordion, Contact Form 7 appointment booking, a once-per-session scroll popup, sticky header with its own logo, preloader, one-click demo import with Yoast SEO, and a full Kirki Customizer section builder with show / hide switches for every section.
Version: 2.0.0
Requires at least: 5.8
Requires PHP: 7.4
Tested up to: 6.8
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: ot-fertility-clinic-pro
Tags: blog, two-columns, right-sidebar, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, editor-style
*/

/* =========================================================
   1. TOKENS
   Every value below is overridden at runtime by the Customizer
   (ot_fertility_clinic_pro_dynamic_css() in functions.php).
   ========================================================= */
:root {
	--navy: #232a5e;
	--navy-deep: #1a2049;
	--navy-rgb: 35, 42, 94;
	--coral: #f2777a;
	--coral-dark: #e35e62;
	--coral-rgb: 242, 119, 122;
	--blush: #fff2f1;
	--blush-2: #fde6e5;
	--ink: #232a5e;
	--text: #5d6283;
	--line: #ecdedd;
	--white: #ffffff;

	--font-head: "Philosopher", Georgia, "Times New Roman", serif;
	--font-body: "DM Sans", "Segoe UI", Roboto, Arial, sans-serif;
	--fs-base: 16px;
	--type-scale: 1;

	--container: 1380px;
	--radius: 4px;
	--section-pad: 110px;
	--sp: var(--section-pad);
	--logo-h: 54px;

	--topbar-bg: var(--navy-deep);
	--nav-bg: var(--navy);
	--footer-bg: var(--navy-deep);
	--loader-bg: var(--navy);
}

/* =========================================================
   2. BASE
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.ot-lock { overflow: hidden; }

body {
	margin: 0;
	position: relative;
	font-family: var(--font-body);
	font-size: var(--fs-base);
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.2;
	margin: 0 0 16px;
}
h1 { font-size: calc(clamp(38px, 5vw, 64px) * var(--type-scale)); }
h2 { font-size: calc(clamp(30px, 3.4vw, 44px) * var(--type-scale)); }
h3 { font-size: calc(22px * var(--type-scale)); }
h4 { font-size: calc(20px * var(--type-scale)); }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p  { margin: 0 0 16px; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.section { padding: var(--sp) 0; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin: 0; }
.section-foot { text-align: center; margin-top: 50px; }

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus,
.skip-link:focus {
	background: var(--white);
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	font-size: 14px;
	height: auto;
	left: 8px;
	padding: 14px 22px;
	top: 8px;
	width: auto;
	z-index: 100000;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
	text-align: center;
	transition: background .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover, .btn-coral:focus-visible { background: var(--coral-dark); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover, .btn-navy:focus-visible { background: var(--coral); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--coral); color: var(--coral); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.play {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	font: inherit;
	font-weight: 500;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.play:hover { color: var(--coral); }
.play-icon {
	width: 46px; height: 46px;
	border-radius: 50%;
	display: grid; place-items: center;
	background: var(--navy);
	color: var(--white);
	box-shadow: 0 0 0 6px rgba(35, 42, 94, .15);
	transition: background .25s;
}
.play:hover .play-icon { background: var(--coral); }
.play-icon svg { width: 16px; height: 16px; margin-left: 2px; }

/* =========================================================
   4. TOP BAR
   ========================================================= */
.topbar { background: var(--topbar-bg); color: #c9cce2; font-size: 14px; position: relative; z-index: 60; }
.topbar .container {
	display: flex; justify-content: space-between; align-items: center;
	gap: 20px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-info span,
.topbar-end { display: inline-flex; align-items: center; gap: 8px; }
.topbar-end { gap: 22px; }
.topbar svg { width: 15px; height: 15px; color: var(--coral); }
.topbar a:hover { color: var(--white); }
.topbar-socials { display: inline-flex; gap: 12px; }
.topbar-socials svg { color: #c9cce2; width: 14px; height: 14px; }
.topbar-socials a:hover svg { color: var(--coral); }

/* =========================================================
   5. HEADER
   ========================================================= */
.site-header {
	position: absolute;
	top: 20px; left: 0; right: 0;
	z-index: 50;
}
.site-header.has-topbar { top: 48px; }
.no-overlay .site-header { position: relative; top: auto; padding: 20px 0; }

.nav-bar {
	position: relative;
	background: var(--nav-bg);
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 28px;
	gap: 24px;
	border-radius: var(--radius);
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-head); font-size: 24px; flex-shrink: 0; }
.logo img { height: var(--logo-h); width: auto; }
.logo__sticky { display: none; }
.logo__text { white-space: nowrap; }
.footer-about .logo img { height: 66px; }

/* Primary menu */
.main-nav .menu { display: flex; gap: 34px; align-items: center; }
.main-nav li { position: relative; }
.main-nav a { color: var(--white); font-size: 15px; transition: color .2s; white-space: nowrap; display: inline-block; }
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_ancestor > a { color: var(--coral); }

.main-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.submenu-toggle { display: none; }

.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 26px);
	left: -22px;
	min-width: 230px;
	background: var(--nav-bg);
	padding: 12px 0;
	border-radius: 0 0 var(--radius) var(--radius);
	border-top: 2px solid var(--coral);
	box-shadow: 0 18px 40px rgba(26, 32, 73, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 5;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
.main-nav .sub-menu a { display: block; padding: 8px 22px; font-size: 14.5px; white-space: normal; }
.main-nav .sub-menu .sub-menu { top: -12px; left: 100%; border-radius: var(--radius); border-top: 0; border-left: 2px solid var(--coral); }
.main-nav .sub-menu .sub-menu::before { display: none; }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .btn { white-space: nowrap; }
.icon-btn {
	background: none; border: 0; padding: 6px; color: var(--white); cursor: pointer;
	display: inline-grid; place-items: center;
}
.icon-btn:hover { color: var(--coral); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { display: none; }

/* Search popover */
.search-pop {
	position: absolute;
	right: 0; top: calc(100% + 10px);
	width: min(420px, 100%);
	background: var(--white);
	padding: 18px;
	border-radius: var(--radius);
	box-shadow: 0 20px 50px rgba(26, 32, 73, .22);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.search-pop.open { opacity: 1; visibility: visible; transform: none; }

/* Sticky */
.site-header.is-stuck {
	position: fixed;
	top: 0;
	padding: 0;
	animation: ot-slide-down .35s ease-out;
}
.admin-bar .site-header.is-stuck { top: 32px; }
.site-header.is-stuck .nav-bar {
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 12px 30px rgba(26, 32, 73, .22);
	padding-top: 8px; padding-bottom: 8px;
}
.site-header.is-stuck .logo img { height: calc(var(--logo-h) * .85); }
.site-header.is-stuck .logo--swap .logo__sticky { display: block; }
.site-header.is-stuck .logo--swap .logo__main { display: none; }
.no-overlay.header-stuck #page { padding-top: 98px; }
@keyframes ot-slide-down { from { transform: translateY(-100%); } to { transform: none; } }

/* =========================================================
   6. SEARCH FORM (global)
   ========================================================= */
.search-form { display: flex; gap: 0; }
.search-form label { flex: 1; min-width: 0; }
.search-form .search-field {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-right: 0;
	background: var(--blush);
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	border-radius: var(--radius) 0 0 var(--radius);
	-webkit-appearance: none;
	appearance: none;
}
.search-form .search-field:focus { outline: none; border-color: var(--coral); background: var(--white); }
.search-form .search-submit {
	border: 0;
	padding: 0 22px;
	background: var(--coral);
	color: var(--white);
	font-weight: 500;
	cursor: pointer;
	border-radius: 0 var(--radius) var(--radius) 0;
	transition: background .25s;
}
.search-form .search-submit:hover { background: var(--coral-dark); }

/* =========================================================
   7. HERO
   ========================================================= */
.hero {
	position: relative;
	min-height: var(--hero-h, 860px);
	display: flex;
	align-items: center;
	background: var(--blush);
	overflow: hidden;
}
.hero__bg {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center;
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,.15) 75%);
}
.hero .container { position: relative; z-index: 2; padding-top: 140px; }
.hero-content { max-width: 640px; }
.hero-tag {
	display: inline-block;
	color: var(--coral);
	font-weight: 500;
	margin-bottom: 18px;
	padding-left: 46px;
	position: relative;
}
.hero-tag::before {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 34px; height: 1px; background: var(--coral);
}
.hero h1 em.accent, h2 em.accent { font-style: normal; color: var(--coral); }
.hero p { font-size: 18px; max-width: 520px; margin-bottom: 36px; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

/* =========================================================
   8. TREATMENTS
   ========================================================= */
.services-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr 1fr;
	gap: 24px;
}
.services-grid--plain { grid-template-columns: repeat(4, 1fr); }
.services-grid--three { grid-template-columns: repeat(3, 1fr); }
.services-intro { align-self: center; padding-right: 20px; }
.services-intro p { margin-bottom: 28px; }
.service-card {
	background: var(--blush);
	border: 1px solid transparent;
	transition: border-color .25s, background .25s;
}
.service-card__link { display: block; height: 100%; padding: 40px 34px; }
.service-card:hover { background: var(--white); border-color: var(--line); }
.service-card svg { width: 46px; height: 46px; color: var(--coral); margin-bottom: 60px; }
.service-card h3 { margin-bottom: 10px; transition: color .2s; }
.service-card:hover h3 { color: var(--coral); }
.service-card p { font-size: 15px; margin: 0; }
.services--related { background: var(--blush); }
.services--related .service-card { background: var(--white); }

/* =========================================================
   9. ABOUT
   ========================================================= */
.about-section { background: var(--blush); }
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 90px;
	align-items: center;
}
.about-media { position: relative; padding-bottom: 90px; padding-right: 120px; }
.about-media--single { padding: 0; }
.about-media .img-main { width: 100%; aspect-ratio: 4/4.2; object-fit: cover; }
.about-media .img-small {
	position: absolute; right: 0; bottom: 0;
	width: 48%; aspect-ratio: 3/4; object-fit: cover;
	border: 10px solid var(--white);
}
.about-media .play-float {
	position: absolute; right: 44%; bottom: 26%;
	width: 62px; height: 62px; border-radius: 50%;
	background: var(--white);
	display: grid; place-items: center;
	box-shadow: 0 10px 30px rgba(35,42,94,.18);
	color: var(--coral);
	border: 0; padding: 0; cursor: pointer;
	z-index: 2;
	transition: transform .25s;
}
.about-media .play-float:hover { transform: scale(1.06); }
.about-media--single .play-float { right: auto; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.about-media .play-float span {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--coral);
	display: grid; place-items: center;
}
.about-media .play-float svg { width: 14px; height: 14px; margin-left: 2px; }

.stats-inline { display: flex; gap: 60px; margin: 32px 0 40px; flex-wrap: wrap; }
.stats-inline strong {
	display: block;
	font-family: var(--font-head);
	font-weight: 400;
	font-size: 40px;
	line-height: 1;
	color: var(--coral);
	margin-bottom: 8px;
}
.stats-inline span { color: var(--ink); font-size: 15px; }

/* =========================================================
   10. CLINIC TOUR + COUNTERS
   ========================================================= */
.video-band { background: var(--navy); color: #cfd2ea; padding: var(--sp) 0 0; overflow: hidden; }
.video-band--solo { padding-bottom: var(--sp); }
.video-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.video-text h2 { color: var(--white); }
.video-text p { max-width: 470px; margin-bottom: 26px; }
.video-band .check-list { margin-bottom: 36px; }
.video-band .check-list li { color: var(--white); }
.play-light { color: var(--white); }
.play-light:hover { color: var(--coral); }
.play-light .play-icon { background: var(--coral); box-shadow: 0 0 0 6px rgba(242,119,122,.25); }

.video-wrap { position: relative; margin: 0 24px 24px 0; }
.video-wrap::before {
	content: ""; position: absolute; inset: 24px -24px -24px 24px;
	border: 1px solid var(--coral);
}
.video-wrap img { position: relative; width: 100%; height: 520px; object-fit: cover; }
.play-center {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 92px; height: 92px; border-radius: 50%;
	background: var(--coral); color: var(--white);
	display: grid; place-items: center;
	border: 0; padding: 0; cursor: pointer;
	transition: background .25s;
}
.play-center:hover { background: var(--coral-dark); }
.play-center::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.7);
	animation: ring 2.4s ease-out infinite;
}
.play-center svg { width: 24px; height: 24px; margin-left: 4px; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.video-chip {
	position: absolute; left: 24px; bottom: 24px;
	background: var(--white); color: var(--ink);
	padding: 10px 16px; font-size: 14px; border-radius: var(--radius);
	display: inline-flex; align-items: center; gap: 8px;
}
.video-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

.counters {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1px; background: rgba(255,255,255,.12);
	border-top: 1px solid rgba(255,255,255,.12);
	margin-top: var(--sp);
}
.counter { background: var(--navy); display: flex; align-items: center; gap: 20px; padding: 46px 30px; }
.counter-icon {
	width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%;
	background: rgba(242,119,122,.14); color: var(--coral);
	display: grid; place-items: center;
}
.counter-icon svg { width: 28px; height: 28px; stroke-width: 2.2; }
.counter strong {
	display: block; font-family: var(--font-head); font-weight: 400;
	font-size: 42px; line-height: 1; color: var(--white); margin-bottom: 6px;
	font-variant-numeric: tabular-nums;
}
.counter span { font-size: 15px; color: #b9bdd8; }

/* =========================================================
   11. JOURNEY TABS + CHECK LIST
   ========================================================= */
.tabs-nav {
	display: flex; justify-content: center; gap: 12px;
	margin-bottom: 50px; flex-wrap: wrap;
}
.tab-btn {
	background: var(--blush);
	border: 0;
	padding: 14px 26px;
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	cursor: pointer;
	border-radius: var(--radius);
	transition: background .2s, color .2s;
}
.tab-btn:hover { background: var(--blush-2); }
.tab-btn[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tab-panel {
	display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
	animation: ot-fade .4s ease;
}
.tab-panel--text { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.tab-panel[hidden] { display: none; }
.tab-panel img { width: 100%; height: 470px; object-fit: cover; }
.tab-step { color: var(--coral); font-weight: 500; display: block; margin-bottom: 10px; }
@keyframes ot-fade { from { opacity: 0; } to { opacity: 1; } }

.check-list li {
	position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--ink);
}
.check-list li::before {
	content: ""; position: absolute; left: 0; top: 5px;
	width: 18px; height: 18px; border-radius: 50%;
	border: 1.5px solid var(--coral);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2777a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* =========================================================
   12. SPECIALISTS
   ========================================================= */
.team { background: var(--blush); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.doctor-card { background: var(--white); overflow: hidden; }
.doctor-card__link { display: block; }
.doctor-card img { width: 100%; aspect-ratio: 1/1.1; object-fit: cover; transition: transform .5s; }
.doctor-card:hover img { transform: scale(1.03); }
.doctor-card__ph { display: grid; place-items: center; aspect-ratio: 1/1.1; background: var(--blush-2); color: var(--coral); }
.doctor-card__ph svg { width: 70px; height: 70px; }
.doctor-info { position: relative; background: var(--white); padding: 24px 26px 28px; }
.doctor-info h3 { margin-bottom: 4px; transition: color .2s; }
.doctor-card__link:hover h3 { color: var(--coral); }
.doctor-info span { color: var(--coral); font-size: 15px; }

/* =========================================================
   13. TESTIMONIALS CAROUSEL
   ========================================================= */
.testimonials { background: var(--navy); color: #cfd2ea; }
.testimonials h2 { color: var(--white); }
.testimonials .section-head p { color: #cfd2ea; }

.testi-carousel { --pv: var(--per-view, 3); position: relative; }
.testi-viewport { overflow: hidden; }
.testi-track {
	display: flex;
	gap: 26px;
	transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.testi-slide { flex: 0 0 calc((100% - (var(--pv) - 1) * 26px) / var(--pv)); display: flex; min-width: 0; }
.testi-card {
	flex: 1;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.1);
	padding: 40px 36px;
	display: flex; flex-direction: column;
}
.testi-card .quote { width: 38px; height: 38px; color: var(--coral); margin-bottom: 20px; }
.testi-card p { font-size: 17px; color: #e6e8f5; }
.testi-card p:last-of-type { margin-bottom: 0; }
.testi-author { margin-top: 26px; }
.testi-author strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 20px; font-weight: 400; }
.testi-author span { font-size: 14px; color: var(--coral); }

.testi-nav { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 44px; }
.testi-carousel.is-static .testi-nav { display: none; }
.testi-btn {
	width: 48px; height: 48px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,.25);
	background: transparent; color: var(--white);
	display: grid; place-items: center; cursor: pointer;
	transition: background .25s, border-color .25s;
}
.testi-btn svg { width: 18px; height: 18px; }
.testi-btn:hover:not(:disabled) { background: var(--coral); border-color: var(--coral); }
.testi-btn:disabled { opacity: .35; cursor: default; }
.testi-dots { display: flex; gap: 8px; align-items: center; }
.testi-dot {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 10px;
	background: rgba(255,255,255,.3); cursor: pointer;
	transition: width .3s, background .3s;
}
.testi-dot.is-active { width: 28px; background: var(--coral); }

/* =========================================================
   14. BLOG
   ========================================================= */
.blog-section { background: var(--blush); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card__link { display: block; }
.post-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; margin-bottom: 24px; }
.post-card__ph { display: grid; place-items: center; aspect-ratio: 16/11; background: var(--blush-2); color: var(--coral); margin-bottom: 24px; }
.post-card__ph svg { width: 56px; height: 56px; }
.post-meta { font-size: 14px; color: var(--coral); margin-bottom: 8px; display: block; }
.post-card h3 { transition: color .2s; }
.post-card a:hover h3 { color: var(--coral); }
.read-more { color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--coral); }
.read-more:hover { color: var(--coral); }
.sticky .post-meta::before { content: "★ "; }

/* =========================================================
   15. FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.faq-grid--solo { grid-template-columns: 1fr; max-width: 900px; }
.faq-media { position: relative; }
.faq-media img { width: 100%; height: 600px; object-fit: cover; }
.faq-badge {
	position: absolute; left: -1px; bottom: 40px;
	background: var(--coral); color: var(--white);
	padding: 22px 28px; max-width: 260px;
}
.faq-badge strong { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 400; line-height: 1; margin-bottom: 6px; }
.faq-badge span { font-size: 14px; }
.faq-list { margin-top: 30px; }
.faq-list details {
	background: var(--blush);
	margin-bottom: 14px;
	border-radius: var(--radius);
}
.faq-list summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 60px 20px 26px;
	font-family: var(--font-head);
	font-size: 19px;
	color: var(--ink);
	position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: "+";
	position: absolute; right: 24px; top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-body);
	font-size: 24px; color: var(--coral);
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details[open] { background: var(--white); outline: 1px solid var(--line); }
.faq-answer { padding: 0 26px 22px; }
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin: 0; }

/* =========================================================
   16. APPOINTMENT + FORMS
   ========================================================= */
.appointment {
	background-color: var(--navy-deep);
	background-image: linear-gradient(90deg, rgba(26,32,73,.95) 0%, rgba(26,32,73,.85) 50%, rgba(26,32,73,.55) 100%);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #d4d7ec;
}
.appointment.has-bg {
	background-image: linear-gradient(90deg, rgba(26,32,73,.95) 0%, rgba(26,32,73,.85) 50%, rgba(26,32,73,.55) 100%), var(--appt-bg);
}
.appointment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.appointment h2 { color: var(--white); }
.contact-lines { margin-top: 30px; }
.contact-lines li { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; color: var(--white); }
.contact-lines a:hover { color: var(--coral); }
.contact-lines svg { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; }

.booking-form {
	background: var(--white);
	padding: 44px 40px;
	color: var(--text);
}
.booking-form h3 { margin-bottom: 22px; }
.booking-form__notice { margin: 0; padding: 18px; background: var(--blush); border-radius: var(--radius); }
.booking-form__notice a { color: var(--coral); }

.ot-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ot-form-grid .full,
.ot-form-grid .ot-submit { grid-column: 1 / -1; }
.ot-field label,
.booking-form label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.wpcf7-form-control-wrap { display: block; position: relative; }

.booking-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.booking-form select,
.booking-form textarea,
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea,
.entry-content .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.entry-content .wpcf7 select,
.entry-content .wpcf7 textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	background: var(--blush);
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--ink);
	border-radius: var(--radius);
	-webkit-appearance: none;
	appearance: none;
}
.booking-form select,
.entry-content .wpcf7 select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232a5e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
}
.booking-form textarea,
.comment-form textarea,
.entry-content .wpcf7 textarea { resize: vertical; min-height: 100px; height: 100px; }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus,
.entry-content .wpcf7 input:focus,
.entry-content .wpcf7 select:focus,
.entry-content .wpcf7 textarea:focus { outline: none; border-color: var(--coral); background-color: var(--white); }
.booking-form ::placeholder,
.comment-form ::placeholder { color: #9a9db6; }

.ot-submit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wpcf7-spinner { margin: 0; }
.wpcf7-not-valid-tip { color: var(--coral-dark); font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #6cc69a; background: #eefaf3; color: #1f6b45; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: var(--coral); background: var(--blush); color: var(--ink); }

/* =========================================================
   17. FOOTER
   ========================================================= */
.site-footer { background: var(--footer-bg); color: #b9bdd8; padding-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.site-footer h4,
.site-footer .widget-title,
.site-footer .widget h2,
.site-footer .widget h3,
.site-footer .wp-block-heading { color: var(--white); font-size: 21px; line-height: 1.3; margin: 0 0 22px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--coral); }
.footer-about p { max-width: 340px; margin-top: 20px; }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a {
	width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center;
	background: rgba(255,255,255,.08);
	color: var(--white);
	transition: background .25s;
}
.footer-socials a:hover { background: var(--coral); color: var(--white); }
.footer-socials svg { width: 16px; height: 16px; }

.newsletter { margin-top: 18px; }
.newsletter .wpcf7-form { position: relative; }
.ot-news { display: flex; }
.ot-news .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
.newsletter input[type="email"] {
	width: 100%;
	padding: 13px 14px; border: 0;
	font-family: var(--font-body); font-size: 15px;
	border-radius: var(--radius) 0 0 var(--radius);
	color: var(--ink);
}
.newsletter input[type="email"]:focus { outline: 2px solid var(--coral); outline-offset: -2px; }
.newsletter .btn,
.newsletter input[type="submit"] { border-radius: 0 var(--radius) var(--radius) 0; padding: 13px 18px; }
.newsletter .wpcf7-spinner { position: absolute; left: 0; top: 100%; margin: 8px 0 0; }
.newsletter .wpcf7-response-output { color: #d4d7ec; font-size: 13px; padding: 8px 12px !important; }
.newsletter .wpcf7-not-valid-tip { position: absolute; top: 100%; left: 0; }

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	padding: 24px 0;
	font-size: 14px;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-legal,
.footer-legal .legal-menu { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal .legal-menu li { margin: 0; }

/* =========================================================
   18. INNER PAGES
   ========================================================= */
.page-banner {
	position: relative;
	background: var(--navy);
	padding: 230px 0 100px;
	text-align: center;
	color: #d4d7ec;
	overflow: hidden;
}
.page-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(26,32,73,.9) 0%, rgba(35,42,94,.82) 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); margin-bottom: 14px; font-size: calc(clamp(34px, 4.4vw, 56px) * var(--type-scale)); }
.page-banner__sub { max-width: 640px; margin: 0 auto 26px; font-size: 17px; }
.page-banner--off { padding: 190px 0 0; text-align: center; }
.page-banner--off h1 { margin: 0; }
.no-overlay .page-banner { padding-top: 100px; }

.crumbs {
	display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	padding: 8px 20px;
	border-radius: 40px;
	font-size: 14px;
}
.crumbs a { color: var(--white); }
.crumbs a:hover { color: var(--coral); }
.crumbs [aria-current] { color: var(--coral); }
.crumbs .sep { opacity: .5; }

.section--intro { padding-bottom: 0; }
.section--intro + .section:not(.about-section):not(.team):not(.blog-section):not(.appointment):not(.testimonials) { padding-top: calc(var(--sp) * .6); }
.entry-content--narrow { max-width: 860px; margin: 0 auto; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.entry--page { max-width: 900px; margin: 0 auto; }
.entry-media { margin-bottom: 34px; }
.entry-media img { width: 100%; border-radius: var(--radius); }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--coral); font-size: 14px; margin-bottom: 22px; }
.entry-meta a:hover { color: var(--ink); }
.entry-lead {
	display: flex; gap: 18px; align-items: flex-start;
	font-family: var(--font-head);
	font-size: 22px; line-height: 1.45; color: var(--ink);
	padding: 26px 28px; background: var(--blush); border-left: 3px solid var(--coral);
	margin-bottom: 30px;
}
.entry-lead__icon svg { width: 42px; height: 42px; color: var(--coral); }

/* Editor content */
.entry-content { color: var(--text); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 .6em; }
.entry-content a:not(.btn):not(.wp-block-button__link) { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:not(.btn):not(.wp-block-button__link):hover { color: var(--ink); }
.entry-content ul, .entry-content ol { margin: 0 0 20px; padding-left: 22px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 6px; }
.entry-content li::marker { color: var(--coral); }
.entry-content blockquote,
.wp-block-quote {
	margin: 30px 0;
	padding: 26px 30px;
	background: var(--blush);
	border-left: 3px solid var(--coral);
	font-family: var(--font-head);
	font-size: 20px;
	color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite { display: block; font-family: var(--font-body); font-size: 14px; color: var(--coral); font-style: normal; margin-top: 10px; }
.entry-content img { border-radius: var(--radius); }
.entry-content figure { margin: 0 0 24px; }
.entry-content figcaption,
.wp-caption-text { font-size: 14px; color: var(--text); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th { background: var(--blush); color: var(--ink); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.entry-content pre { background: var(--navy-deep); color: #e6e8f5; padding: 20px; overflow: auto; border-radius: var(--radius); }
.entry-content code { background: var(--blush); padding: 2px 6px; border-radius: 3px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content iframe { max-width: 100%; }

.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignwide, .alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 12px; margin-bottom: 24px; }
.gallery-columns-2 { --cols: 2; } .gallery-columns-4 { --cols: 4; }
.bypostauthor > .comment-body .fn::after { content: " ·"; color: var(--coral); }

.wp-block-button__link {
	background: var(--coral); color: var(--white);
	border-radius: var(--radius);
	padding: 14px 28px; font-size: 15px; font-weight: 500;
}
.wp-block-button__link:hover { background: var(--coral-dark); color: var(--white); }
.is-style-outline .wp-block-button__link,
.is-style-ot-fertility-clinic-pro-outline-button .wp-block-button__link { background: transparent; color: var(--coral); box-shadow: inset 0 0 0 1px var(--coral); }
.is-style-ot-fertility-clinic-pro-frame-image img { box-shadow: 16px 16px 0 -1px var(--blush-2), 16px 16px 0 0 var(--coral); }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.entry-tags a { background: var(--blush); color: var(--ink); padding: 6px 14px; border-radius: 30px; font-size: 14px; }
.entry-tags a:hover { background: var(--coral); color: var(--white); }

.post-navigation { margin-top: 50px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation a { display: block; height: 100%; background: var(--blush); padding: 22px 24px; border-radius: var(--radius); transition: background .2s; }
.post-navigation a:hover { background: var(--blush-2); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .nav-subtitle { display: block; font-size: 13px; color: var(--coral); margin-bottom: 4px; }
.post-navigation .nav-title { font-family: var(--font-head); font-size: 19px; color: var(--ink); line-height: 1.3; }

/* Sidebar / widgets */
.widget-area .widget {
	background: var(--blush);
	padding: 30px;
	margin-bottom: 30px;
	border-radius: var(--radius);
}
.widget-area .widget-title,
.widget-area .widget h1,
.widget-area .widget h2,
.widget-area .widget h3,
.widget-area .widget h4,
.widget-area .wp-block-heading { font-size: 22px; line-height: 1.3; margin: 0 0 18px; }
.widget-area .wp-block-group > *:last-child { margin-bottom: 0; }

/* Core Search block (sidebar + footer widgets) */
.wp-block-search__label { display: block; font-family: var(--font-head); font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.site-footer .wp-block-search__label { color: var(--white); font-size: 21px; }
.wp-block-search__inside-wrapper { display: flex; }
.wp-block-search .wp-block-search__input {
	flex: 1; min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--line); border-right: 0;
	background: var(--white);
	font-family: var(--font-body); font-size: 15px; color: var(--ink);
	border-radius: var(--radius) 0 0 var(--radius);
}
.wp-block-search .wp-block-search__input:focus { outline: none; border-color: var(--coral); }
.wp-block-search .wp-block-search__button {
	margin: 0;
	padding: 0 20px;
	border: 0;
	background: var(--coral); color: var(--white);
	font-family: var(--font-body); font-size: 15px; font-weight: 500;
	border-radius: 0 var(--radius) var(--radius) 0;
	cursor: pointer;
	transition: background .25s;
}
.wp-block-search .wp-block-search__button:hover { background: var(--coral-dark); }
.widget-area .wp-block-latest-comments { padding: 0; margin: 0; }
.widget-area .wp-block-latest-comments__comment { padding: 9px 0; margin: 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.widget-area .wp-block-latest-comments__comment:last-child { border-bottom: 0; }
.widget-area .no-comments,
.widget-area .wp-block-latest-comments + p { margin: 0; }
.widget-area ul li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.widget-area ul li:last-child { border-bottom: 0; }
.widget-area ul li a:hover { color: var(--coral); }
.widget-area ul ul { margin: 6px 0 0 14px; }
.widget-area select { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.aside-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink); }
.aside-list a svg { width: 14px; height: 14px; color: var(--coral); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.aside-list a:hover svg,
.aside-list a.current svg { opacity: 1; transform: none; }
.aside-list a.current { color: var(--coral); }
.widget-area .aside-cta { background: var(--navy); color: #cfd2ea; }
.widget-area .aside-cta .widget-title { color: var(--white); }
.aside-cta__phone { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--white); }
.aside-cta__phone svg { width: 18px; height: 18px; color: var(--coral); }
.treatment-aside { position: sticky; top: 110px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	min-width: 46px; height: 46px; padding: 0 12px;
	display: inline-grid; place-items: center;
	background: var(--blush); color: var(--ink);
	border-radius: var(--radius);
	transition: background .2s, color .2s;
}
.pagination .page-numbers svg { width: 16px; height: 16px; }
.pagination a.page-numbers:hover,
.pagination .page-numbers.current { background: var(--navy); color: var(--white); }
.pagination .dots { background: none; }

/* Comments */
.comments-area { margin-top: 60px; }
.comments-title, .comment-reply-title { font-size: 28px; }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { margin-left: 40px; }
.comment-body { background: var(--blush); padding: 24px 26px; border-radius: var(--radius); margin-bottom: 20px; }
.comment-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 14px; margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 12px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-family: var(--font-head); font-size: 18px; color: var(--ink); font-style: normal; }
.comment-metadata a { color: var(--coral); }
.reply a { font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--coral); }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { margin: 0; }

/* Empty states + 404 */
.no-results,
.error-404 { text-align: center; }
.no-results { max-width: 640px; margin: 0 auto; padding: 20px 0; }
.no-results__search { max-width: 460px; margin: 26px auto; }
.error-404 .container { max-width: 760px; }
.error-404__code { font-family: var(--font-head); font-size: clamp(90px, 16vw, 160px); line-height: 1; color: var(--coral); margin-bottom: 10px; }

/* =========================================================
   19. OVERLAYS — preloader, back to top, popup, lightbox
   ========================================================= */
.ot-loader {
	position: fixed; inset: 0; z-index: 99999;
	background: var(--loader-bg);
	display: grid; place-items: center;
	transition: opacity .45s ease, visibility .45s ease;
}
.ot-loader.is-hidden { opacity: 0; visibility: hidden; }
.ot-loader__inner { display: grid; justify-items: center; gap: 22px; padding: 20px; }
.ot-loader__logo { width: min(240px, 60vw); height: auto; animation: ot-pulse 1.6s ease-in-out infinite; }
.ot-loader__bar { width: 150px; height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.ot-loader__bar i { display: block; width: 40%; height: 100%; background: var(--coral); animation: ot-bar 1.1s ease-in-out infinite; }
@keyframes ot-pulse { 50% { opacity: .65; transform: scale(.97); } }
@keyframes ot-bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.totop {
	position: fixed; right: 24px; bottom: 24px; z-index: 40;
	width: 46px; height: 46px; border-radius: 50%;
	border: 0; background: var(--coral); color: var(--white);
	display: grid; place-items: center; cursor: pointer;
	box-shadow: 0 10px 24px rgba(242,119,122,.35);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s, background .25s;
}
.totop svg { width: 18px; height: 18px; }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--navy); }

.ot-popup {
	position: fixed; inset: 0; z-index: 9990;
	background: rgba(26, 32, 73, .68);
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	opacity: 0;
	transition: opacity .3s ease;
	overflow-y: auto;
}
.ot-popup[hidden] { display: none; }
.ot-popup.is-open { opacity: 1; }
.ot-popup__box {
	position: relative;
	width: 100%; max-width: 880px;
	margin: auto;
	background: var(--white);
	border-radius: var(--radius);
	overflow: hidden;
	display: grid; grid-template-columns: 42% 1fr;
	box-shadow: 0 30px 80px rgba(26, 32, 73, .35);
	transform: translateY(24px) scale(.98);
	transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.ot-popup.is-open .ot-popup__box { transform: none; }
.ot-popup__box--noimg { grid-template-columns: 1fr; max-width: 560px; }
.ot-popup__box--top { grid-template-columns: 1fr; max-width: 560px; }
.ot-popup__box--top .ot-popup__media img { height: 230px; }
.ot-popup__media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.ot-popup__body { padding: 50px 46px 42px; }
.ot-popup__body h3 { font-size: calc(clamp(26px, 3vw, 34px) * var(--type-scale)); margin-bottom: 12px; }
.ot-popup__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ot-popup__note { font-size: 14px; margin: 20px 0 0; }
.ot-popup__note a { color: var(--coral); font-weight: 500; }
.ot-popup__close {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	width: 40px; height: 40px; border-radius: 50%;
	border: 0; background: var(--white); color: var(--ink);
	display: grid; place-items: center; cursor: pointer;
	box-shadow: 0 4px 14px rgba(26, 32, 73, .15);
	transition: background .2s, color .2s;
}
.ot-popup__close:hover { background: var(--coral); color: var(--white); }
.ot-popup__close svg { width: 18px; height: 18px; }

.vbox {
	position: fixed; inset: 0; z-index: 9995;
	background: rgba(10, 12, 30, .88);
	display: flex; align-items: center; justify-content: center;
	padding: 20px;
	opacity: 0; transition: opacity .25s;
}
.vbox[hidden] { display: none; }
.vbox.open { opacity: 1; }
.vbox__inner { position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9; }
.vbox__frame, .vbox__frame iframe { width: 100%; height: 100%; border: 0; background: #000; }
.vbox__close {
	position: absolute; right: 0; top: -52px;
	width: 42px; height: 42px; border-radius: 50%;
	border: 0; background: var(--coral); color: var(--white);
	display: grid; place-items: center; cursor: pointer;
}
.vbox__close svg { width: 18px; height: 18px; }

/* =========================================================
   20. RESPONSIVE
   ========================================================= */
@media (max-width: 1399px) {
	.main-nav .menu { gap: 26px; }
}

@media (max-width: 1199px) {
	.nav-bar { position: relative; }
	.menu-toggle { display: inline-grid; }
	.main-nav {
		position: absolute; top: calc(100% + 6px); left: 0; right: 0;
		background: var(--nav-bg);
		padding: 10px 28px 20px;
		display: none;
		max-height: calc(100vh - 160px);
		overflow-y: auto;
		border-radius: var(--radius);
		box-shadow: 0 18px 40px rgba(26, 32, 73, .25);
	}
	.main-nav.open { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav li a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.main-nav .menu-item-has-children > a { padding-right: 44px; }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.submenu-toggle {
		display: grid; place-items: center;
		position: absolute; right: 0; top: 4px;
		width: 36px; height: 36px;
		background: rgba(255,255,255,.06); color: var(--white);
		border: 0; border-radius: var(--radius); cursor: pointer;
	}
	.submenu-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
	.menu-item-has-children.is-open > .submenu-toggle svg { transform: rotate(180deg); }
	.main-nav .sub-menu,
	.main-nav .sub-menu .sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		display: none; min-width: 0; box-shadow: none; border: 0;
		padding: 0 0 0 16px; background: transparent;
	}
	.main-nav .sub-menu::before { display: none; }
	.main-nav .is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { padding: 9px 0; }

	.services-grid { grid-template-columns: repeat(3, 1fr); }
	.services-grid--plain { grid-template-columns: repeat(3, 1fr); }
	.services-intro { grid-column: 1 / -1; padding-right: 0; max-width: 640px; }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
	.counters { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.about-grid { gap: 60px; }
	.testi-carousel:not([data-per-view="1"]) { --pv: 2; }
	.content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}

@media (max-width: 991px) {
	:root { --sp: calc(var(--section-pad) * .7273); }
	.hero { min-height: min(var(--hero-h, 860px), 720px); }
	.hero::before { background: rgba(255,255,255,.82); }
	.about-grid,
	.tab-panel,
	.faq-grid,
	.appointment-grid { grid-template-columns: 1fr; gap: 50px; }
	.services-grid,
	.services-grid--plain,
	.services-grid--three { grid-template-columns: repeat(2, 1fr); }
	.blog-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
	.video-grid { grid-template-columns: 1fr; gap: 60px; }
	.video-wrap img { height: 380px; }
	.faq-media img { height: 420px; }
	.tab-panel img { height: 380px; }
	.content-grid { grid-template-columns: 1fr; }
	.treatment-aside { position: static; }
	.page-banner { padding: 200px 0 80px; }
	.ot-popup__box { grid-template-columns: 1fr; max-width: 520px; }
	.ot-popup__media img { height: 200px; min-height: 0; }
	.ot-popup__body { padding: 34px 30px 30px; }
	.admin-bar .site-header.is-stuck { top: 46px; }
}

@media (max-width: 767px) {
	.testi-carousel { --pv: 1 !important; }
	.tabs-nav { gap: 10px; margin-bottom: 36px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: auto; }
	.comment-list .children { margin-left: 16px; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
}

@media (max-width: 600px) {
	.topbar { display: none; }
	.site-header,
	.site-header.has-topbar { top: 16px; }
	.admin-bar .site-header:not(.is-stuck) { top: 16px; }
	.nav-bar { padding: 14px 18px; }
	.logo img { height: min(42px, var(--logo-h)); }
	.nav-actions { gap: 8px; }
	.nav-actions .btn { display: none; }
	.main-nav { padding: 6px 18px 16px; }
	.footer-about .logo img { height: 56px; }
	.hero .container { padding-top: 110px; }
	.about-media { padding-right: 60px; padding-bottom: 60px; }
	.services-grid,
	.services-grid--plain,
	.services-grid--three,
	.team-grid,
	.counters { grid-template-columns: 1fr; }
	.booking-form { padding: 32px 24px; }
	.ot-form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.stats-inline { gap: 36px; }
	.page-banner { padding: 150px 0 64px; }
	.page-banner--off { padding-top: 140px; }
	.video-wrap img { height: 300px; }
	.tab-panel img { height: 280px; }
	.faq-media img { height: 340px; }
	.faq-badge { padding: 18px 22px; bottom: 24px; }
	.testi-card { padding: 32px 26px; }
	.widget-area .widget { padding: 24px; }
	.entry-lead { font-size: 19px; padding: 20px; }
	.ot-popup { padding: 14px; align-items: flex-end; }
	.ot-popup__body { padding: 28px 22px 24px; }
	.ot-popup__actions .btn { flex: 1 1 auto; }
	.tab-btn { padding: 12px 18px; font-size: 14px; }
	.totop { right: 16px; bottom: 16px; }
	.search-pop { width: 100%; }
}

@media (max-width: 380px) {
	.hero-actions { gap: 20px; }
	.stats-inline strong { font-size: 34px; }
	.counter { padding: 34px 22px; }
	.counter strong { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.play-center::before { animation: none; }
	*, *::before, *::after { transition: none !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .totop, .ot-popup, .vbox, .ot-loader, .widget-area { display: none !important; }
	.page-banner { padding: 20px 0; background: none; color: #000; }
	.page-banner::before, .page-banner__bg { display: none; }
	.page-banner h1 { color: #000; }
}
