/**
 * UROCLINIC Global Styles
 * Premium medical design inspired by award-winning templates
 *
 * Architecture:
 * 1. Custom Properties (CSS Variables)
 * 2. Base Resets
 * 3. Animation Keyframes
 * 4. Section Styles
 * 5. Component Library
 * 6. Footer
 * 7. Utilities
 * 8. WordPress Block Overrides
 * 9. Accessibility
 */

/* ==========================================================================
   CUSTOM PROPERTIES
   Animation, timing, and z-index tokens
   ========================================================================== */

:root {
	/* Easing Functions */
	--ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

	/* Durations */
	--duration-fast: 150ms;
	--duration-normal: 300ms;
	--duration-slow: 500ms;
	--duration-slower: 800ms;

	/* Z-Index Scale */
	--z-dropdown: 100;
	--z-sticky: 200;
	--z-fixed: 300;
	--z-modal-backdrop: 400;
	--z-modal: 500;
	--z-popover: 600;
	--z-tooltip: 700;

	/* Component Tokens */
	--card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	--card-shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
	--input-focus-ring: 0 0 0 3px rgba(13, 115, 119, 0.15);
}

/* ==========================================================================
   BASE RESETS
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Smooth scrolling with reduced motion respect */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ==========================================================================
   ANIMATION KEYFRAMES
   ========================================================================== */

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes slideInUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* ==========================================================================
   SECTION PADDING (Reference: 120px default)
   ========================================================================== */

.section-padding {
	padding-top: clamp(60px, 10vw, 120px);
	padding-bottom: clamp(60px, 10vw, 120px);
}

.section-padding-sm {
	padding-top: clamp(40px, 6vw, 60px);
	padding-bottom: clamp(40px, 6vw, 60px);
}

.section-padding-lg {
	padding-top: clamp(80px, 12vw, 150px);
	padding-bottom: clamp(80px, 12vw, 150px);
}

.section-padding.bottom-less {
	padding-bottom: clamp(30px, 8vw, 90px);
}

/* ==========================================================================
   BACKGROUND COLORS
   ========================================================================== */

.bg-light {
	background-color: var(--wp--preset--color--bg-light) !important;
}

.bg-white {
	background-color: var(--wp--preset--color--bg-white) !important;
}

.bg-dark {
	background-color: var(--wp--preset--color--dark) !important;
}

.bg-primary {
	background-color: var(--wp--preset--color--primary) !important;
}

/* ==========================================================================
   SECTION HEADINGS (Reference style)
   ========================================================================== */

.site-heading {
	margin-bottom: 40px;
}

.site-heading.text-center {
	text-align: center;
}

/* Eyebrow label - H4 as section label */
.site-heading h4,
.section-label {
	font-size: 18px !important;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin-bottom: 10px !important;
	position: relative;
	display: inline-block;
}

.site-heading h4::after,
.section-label::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 10px;
	background: var(--wp--preset--color--primary);
	opacity: 0.1;
	z-index: -1;
}

/* Main section heading - H2 */
.site-heading h2 {
	font-size: clamp(1.75rem, 3vw + 0.75rem, 2.5rem);
	line-height: 1.2;
	color: var(--wp--preset--color--text-dark);
	margin-bottom: 15px !important;
}

.site-heading p {
	max-width: 600px;
	color: var(--wp--preset--color--text-body);
}

.site-heading.text-center p {
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
   BUTTONS - Reference gradient style
   ========================================================================== */

.wp-block-button__link,
.wp-element-button,
.btn {
	display: inline-block;
	font-family: var(--wp--preset--font-family--primary);
	font-size: 14px;
	font-weight: 600;
	line-height: 25px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 13px 40px;
	border-radius: 4px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 350ms ease-in-out;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

/* Primary button with gradient */
.btn-gradient,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	color: #ffffff !important;
	border-color: var(--wp--preset--color--primary);
}

.btn-gradient:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(13, 115, 119, 0.35);
}

/* Outline/Border button */
.btn-outline,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--primary) !important;
	border: 2px solid var(--wp--preset--color--primary);
}

.btn-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--primary);
	color: #ffffff !important;
}

/* CTA button (secondary/orange) */
.btn-cta {
	background: linear-gradient(90deg, var(--wp--preset--color--secondary) 0%, var(--wp--preset--color--secondary-dark) 100%);
	color: #ffffff !important;
	border-color: var(--wp--preset--color--secondary);
}

.btn-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(232, 90, 36, 0.35);
}

/* Light/white button */
.btn-light {
	background: #ffffff;
	color: var(--wp--preset--color--text-dark) !important;
	border-color: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
	background: var(--wp--preset--color--primary);
	color: #ffffff !important;
	border-color: var(--wp--preset--color--primary);
}

/* Pill/circle button */
.btn-circle,
.is-style-pill .wp-block-button__link {
	border-radius: 30px;
}

/* Button icon */
.wp-block-button__link i,
.btn i {
	margin-left: 8px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
	background: var(--wp--preset--color--bg-white);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 350ms ease-in-out, box-shadow 350ms ease-in-out;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.card-elevated {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   FEATURE BOXES (3-column layout)
   ========================================================================== */

.feature-box {
	text-align: center;
	padding: 40px 30px;
	background: var(--wp--preset--color--bg-white);
	border-radius: 8px;
	transition: all 350ms ease-in-out;
}

.feature-box:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-box .icon {
	width: 80px;
	height: 80px;
	line-height: 80px;
	border-radius: 50%;
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	color: #ffffff;
	font-size: 32px;
	margin: 0 auto 20px;
	transition: transform 300ms ease;
}

.feature-box:hover .icon {
	transform: scale(1.1);
}

.feature-box h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--wp--preset--color--text-dark);
	text-transform: none;
}

/* ==========================================================================
   DOCTOR CARDS
   ========================================================================== */

.doctor-card {
	text-align: center;
	background: var(--wp--preset--color--bg-white);
	border-radius: 8px;
	overflow: hidden;
	transition: all 350ms ease-in-out;
}

.doctor-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.doctor-card .thumb {
	position: relative;
	overflow: hidden;
}

.doctor-card .thumb img {
	width: 100%;
	height: auto;
	transition: transform 500ms ease;
}

.doctor-card:hover .thumb img {
	transform: scale(1.05);
}

.doctor-card .thumb .overlay {
	position: absolute;
	bottom: -50px;
	left: 0;
	right: 0;
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	padding: 12px;
	transition: bottom 350ms ease;
}

.doctor-card:hover .thumb .overlay {
	bottom: 0;
}

.doctor-card .thumb .overlay a {
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
}

.doctor-card .info {
	padding: 25px 20px;
}

.doctor-card .info h4 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 5px;
	color: var(--wp--preset--color--text-dark);
	text-transform: none;
}

.doctor-card .info span {
	color: var(--wp--preset--color--primary);
	font-size: 14px;
	font-weight: 600;
}

.doctor-card .consultation {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.doctor-card .consultation h5 {
	font-size: 14px;
	color: var(--wp--preset--color--text-body);
}

.doctor-card .consultation span {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}

/* ==========================================================================
   FUN FACTS / STATS
   ========================================================================== */

.fun-facts {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	padding: clamp(40px, 8vw, 80px) 0;
}

.fun-fact {
	text-align: center;
	color: #ffffff;
}

.fun-fact .icon {
	font-size: 48px;
	margin-bottom: 15px;
	opacity: 0.8;
}

.fun-fact .number {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 800;
	line-height: 1;
	margin-bottom: 10px;
}

.fun-fact .number::after {
	content: "+";
	font-size: 0.6em;
}

.fun-fact .label {
	font-size: 16px;
	font-weight: 500;
	opacity: 0.9;
}

/* ==========================================================================
   ABOUT / SPLIT SECTIONS
   ========================================================================== */

.about-section .thumb {
	position: relative;
}

.about-section .thumb img {
	border-radius: 8px;
}

.about-section .thumb .accent-icon {
	position: absolute;
	top: 30px;
	left: 30px;
	width: 80px;
	height: 80px;
	line-height: 80px;
	text-align: center;
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary-dark) 100%);
	color: #ffffff;
	font-size: 36px;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(13, 115, 119, 0.4); }
	70% { box-shadow: 0 0 0 15px rgba(13, 115, 119, 0); }
	100% { box-shadow: 0 0 0 0 rgba(13, 115, 119, 0); }
}

/* ==========================================================================
   PROCESS / STEPS
   ========================================================================== */

.process-item {
	text-align: center;
	padding: 30px 20px;
	position: relative;
}

.process-item .step-number {
	width: 60px;
	height: 60px;
	line-height: 56px;
	border: 2px solid var(--wp--preset--color--border);
	border-radius: 50%;
	font-size: 24px;
	font-weight: 700;
	color: var(--wp--preset--color--primary);
	margin: 0 auto 20px;
	transition: all 350ms ease;
}

.process-item:hover .step-number {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	border-color: var(--wp--preset--color--primary);
}

.process-item .icon {
	font-size: 48px;
	color: var(--wp--preset--color--primary);
	margin-bottom: 20px;
}

.process-item h5 {
	font-size: 18px;
	font-weight: 600;
	color: var(--wp--preset--color--text-dark);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial {
	background: var(--wp--preset--color--bg-white);
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
	position: relative;
}

.testimonial::before {
	content: "\201C";
	position: absolute;
	top: 20px;
	left: 30px;
	font-size: 80px;
	line-height: 1;
	color: var(--wp--preset--color--primary);
	opacity: 0.15;
	font-family: Georgia, serif;
}

.testimonial p {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 20px;
	position: relative;
	z-index: 1;
}

.testimonial .author {
	display: flex;
	align-items: center;
	gap: 15px;
}

.testimonial .author img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial .author h5 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 2px;
}

.testimonial .author span {
	font-size: 14px;
	color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   FAQ / ACCORDION
   ========================================================================== */

.wp-block-details {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: all 350ms ease;
}

.wp-block-details:hover {
	border-color: var(--wp--preset--color--primary);
}

.wp-block-details[open] {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 4px 15px rgba(13, 115, 119, 0.1);
}

.wp-block-details summary {
	padding: 18px 24px;
	font-weight: 600;
	font-size: 16px;
	color: var(--wp--preset--color--text-dark);
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 200ms ease;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	font-size: 24px;
	font-weight: 400;
	color: var(--wp--preset--color--primary);
	transition: transform 200ms ease;
}

.wp-block-details[open] summary::after {
	content: "-";
}

.wp-block-details summary:hover {
	background: var(--wp--preset--color--bg-light);
}

.wp-block-details > *:not(summary) {
	padding: 0 24px 18px;
	color: var(--wp--preset--color--text-body);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
	width: 100%;
	min-height: 50px;
	padding: 12px 20px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	font-family: var(--wp--preset--font-family--primary);
	font-size: 15px;
	color: var(--wp--preset--color--text-dark);
	background: var(--wp--preset--color--bg-white);
	transition: border-color 200ms ease, box-shadow 200ms ease;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

textarea {
	min-height: 150px;
	resize: vertical;
}

label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--wp--preset--color--text-dark);
	margin-bottom: 8px;
}

/* ==========================================================================
   LISTS
   ========================================================================== */

.list-check li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	list-style: none;
}

.list-check li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background: var(--wp--preset--color--primary-50);
	color: var(--wp--preset--color--primary);
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
}

/* ==========================================================================
   LEGENDARY FOOTER
   Premium medical footer with DNA background and glass effects
   ========================================================================== */

.site-footer {
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* --------------------------------------------------------------------------
   PRE-FOOTER CTA BAND
   -------------------------------------------------------------------------- */

.footer-cta-band {
	background: linear-gradient(135deg, var(--wp--preset--color--secondary-dark) 0%, var(--wp--preset--color--secondary) 100%);
	padding: 0;
	position: relative;
	overflow: hidden;
}

.footer-cta-band::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}

.footer-cta-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-cta-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.footer-cta-label {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 500;
}

.footer-cta-title {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 700;
	color: #ffffff;
	margin: 0;
}

.footer-cta-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #ffffff;
	color: var(--wp--preset--color--secondary);
	padding: 14px 28px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	position: relative;
	overflow: hidden;
}

.footer-cta-button::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	background: var(--wp--preset--color--primary-light);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	transition: width 400ms ease, height 400ms ease;
	z-index: 0;
}

.footer-cta-button:hover::before {
	width: 300px;
	height: 300px;
}

.footer-cta-button:hover {
	color: #ffffff;
	transform: scale(1.05);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.footer-cta-button .cta-icon,
.footer-cta-button .cta-text {
	position: relative;
	z-index: 1;
}

.footer-cta-button .cta-icon {
	display: flex;
	animation: phone-ring 1.5s ease-in-out infinite;
}

.footer-cta-button:hover .cta-icon {
	animation: none;
}

@keyframes phone-ring {
	0%, 100% { transform: rotate(0deg); }
	10% { transform: rotate(-12deg); }
	20% { transform: rotate(12deg); }
	30% { transform: rotate(-12deg); }
	40% { transform: rotate(12deg); }
	50% { transform: rotate(0deg); }
}

/* --------------------------------------------------------------------------
   MAIN FOOTER WITH DNA BACKGROUND
   -------------------------------------------------------------------------- */

.footer-main {
	position: relative;
	background: linear-gradient(180deg, #0a1628 0%, #0d1f35 50%, #0a1628 100%);
	min-height: 400px;
	overflow: hidden;
}

/* DNA Background Layer */
.footer-bg-layer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('/wp-content/themes/tangled-design/assets/img/footer-bg.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.08;
	mix-blend-mode: screen;
	pointer-events: none;
}

/* Gradient Overlay for depth */
.footer-gradient-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(ellipse 80% 50% at 20% 80%, rgba(13, 115, 119, 0.12) 0%, transparent 50%),
		radial-gradient(ellipse 60% 40% at 80% 20%, rgba(232, 90, 36, 0.08) 0%, transparent 40%),
		linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
	pointer-events: none;
}

/* Footer Content Container */
.footer-content {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 32px 60px;
}

/* Wide 4-Column Grid */
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
	gap: 60px;
}

/* --------------------------------------------------------------------------
   FOOTER COLUMNS
   -------------------------------------------------------------------------- */

.footer-col {
	position: relative;
}

/* Brand Column */
.footer-col-brand {
	padding-right: 20px;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 24px;
	transition: opacity 200ms ease;
}

.footer-logo:hover {
	opacity: 0.8;
}

.footer-logo img {
	filter: brightness(0) invert(1);
	height: auto;
	max-width: 180px;
}

.footer-tagline {
	color: rgba(255, 255, 255, 0.7);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 28px;
	max-width: 300px;
}

/* Social Links */
.footer-social {
	display: flex;
	gap: 12px;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.7);
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
}

.social-link::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--secondary));
	opacity: 0;
	transition: opacity 300ms ease;
	border-radius: 50%;
}

.social-link:hover {
	border-color: transparent;
	color: #ffffff;
	transform: translateY(-4px) scale(1.1);
	box-shadow: 0 8px 25px rgba(13, 115, 119, 0.35);
}

.social-link:hover::before {
	opacity: 1;
}

.social-link svg {
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   FOOTER HEADINGS
   -------------------------------------------------------------------------- */

.footer-heading {
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 28px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.heading-text {
	white-space: nowrap;
}

.heading-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, transparent 100%);
}

/* --------------------------------------------------------------------------
   FOOTER NAV LISTS
   -------------------------------------------------------------------------- */

.footer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav li {
	margin-bottom: 14px;
}

.footer-nav li:last-child {
	margin-bottom: 0;
}

.footer-nav a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	font-size: 15px;
	position: relative;
	display: inline-block;
	padding-left: 0;
	transition: all 250ms ease;
}

.footer-nav a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--wp--preset--color--secondary), transparent);
	transform: translateY(-50%);
	transition: width 250ms ease;
}

.footer-nav a:hover {
	color: #ffffff;
	padding-left: 18px;
}

.footer-nav a:hover::before {
	width: 12px;
}

/* --------------------------------------------------------------------------
   CONTACT ITEMS
   -------------------------------------------------------------------------- */

.contact-item {
	display: flex;
	gap: 14px;
	margin-bottom: 20px;
	align-items: flex-start;
}

.contact-item:last-child {
	margin-bottom: 0;
}

.contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(13, 115, 119, 0.15);
	border: 1px solid rgba(13, 115, 119, 0.25);
	border-radius: 12px;
	color: var(--wp--preset--color--primary);
	flex-shrink: 0;
	transition: all 300ms ease;
}

.contact-item:hover .contact-icon {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	transform: scale(1.05);
}

.contact-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	justify-content: center;
	min-height: 44px;
}

.contact-text span {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	line-height: 1.4;
}

.contact-text strong {
	color: rgba(255, 255, 255, 0.9);
}

/* Phone Links */
.phone-link {
	color: #ffffff !important;
	font-size: 17px !important;
	font-weight: 600;
	text-decoration: none;
	transition: color 200ms ease;
}

.phone-link:hover {
	color: var(--wp--preset--color--secondary) !important;
}

.phone-secondary {
	color: rgba(255, 255, 255, 0.6) !important;
	font-size: 14px !important;
	text-decoration: none;
	transition: color 200ms ease;
}

.phone-secondary:hover {
	color: var(--wp--preset--color--primary) !important;
}

/* --------------------------------------------------------------------------
   FOOTER BOTTOM BAR
   -------------------------------------------------------------------------- */

.footer-bottom {
	background: var(--wp--preset--color--primary);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.footer-bottom-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

.footer-legal {
	display: flex;
	align-items: center;
	gap: 20px;
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	text-decoration: none;
	transition: color 200ms ease;
}

.footer-legal a:hover {
	color: var(--wp--preset--color--primary-light);
}

.footer-legal .separator {
	color: rgba(255, 255, 255, 0.25);
	font-size: 10px;
}

/* --------------------------------------------------------------------------
   BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */

.back-to-top {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-dark));
	color: #ffffff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 20px rgba(13, 115, 119, 0.4);
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	z-index: 999;
}

.back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	transform: translateY(-5px) scale(1.1);
	box-shadow: 0 8px 30px rgba(13, 115, 119, 0.5);
}

.back-to-top:active {
	transform: translateY(-2px) scale(1.05);
}

/* Pulse animation for attention */
.back-to-top::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	z-index: -1;
	animation: back-to-top-pulse 2s ease-out infinite;
	opacity: 0;
}

@keyframes back-to-top-pulse {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

/* --------------------------------------------------------------------------
   FOOTER RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.footer-grid {
		grid-template-columns: 1.2fr 0.8fr 1fr;
		gap: 40px;
	}

	.footer-col-services {
		display: none;
	}

	.footer-content {
		padding: 60px 24px 50px;
	}
}

@media (max-width: 768px) {
	.footer-cta-inner {
		flex-direction: column;
		text-align: center;
		padding: 32px 20px;
	}

	.footer-cta-content {
		align-items: center;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 40px 30px;
	}

	.footer-col-brand {
		grid-column: 1 / -1;
		text-align: center;
		padding-right: 0;
	}

	.footer-tagline {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.footer-social {
		justify-content: center;
	}

	.footer-heading {
		justify-content: center;
	}

	.heading-line {
		display: none;
	}

	.footer-nav {
		text-align: center;
	}

	.contact-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.contact-text {
		align-items: center;
	}

	.footer-content {
		padding: 50px 20px 40px;
	}

	.back-to-top {
		bottom: 10px;
		right: 10px;
		width: 44px;
		height: 44px;
	}
}

@media (max-width: 480px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
		text-align: center;
	}

	.footer-col-contact {
		grid-column: 1;
	}

	.footer-cta-button {
		padding: 12px 24px;
		font-size: 16px;
	}

	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		padding: 16px 20px;
	}

	.footer-legal {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--wp--preset--color--primary) !important; }
.text-dark { color: var(--wp--preset--color--text-dark) !important; }
.text-light { color: #ffffff !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mt-30 { margin-top: 30px !important; }

/* ==========================================================================
   WORDPRESS BLOCK FIXES
   ========================================================================== */

/* Remove default group padding */
.wp-block-group {
	padding: 0;
}

/* Full-width alignment fix */
.alignfull {
	width: 100%;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* Constrained content padding */
.wp-block-group.alignfull > .wp-block-group:not(.alignfull):not(.alignwide) {
	padding-left: var(--wp--preset--spacing--40);
	padding-right: var(--wp--preset--spacing--40);
}

/* Button group spacing */
.wp-block-buttons {
	gap: 12px;
}

/* Column gaps on mobile */
@media (max-width: 781px) {
	.wp-block-columns {
		flex-wrap: wrap !important;
	}

	.wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
		margin-bottom: 30px;
	}

	.wp-block-columns > .wp-block-column:last-child {
		margin-bottom: 0;
	}
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
	position: relative;
}

.hero-section .wp-block-cover__inner-container {
	padding: clamp(60px, 10vw, 100px) 0;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */

.trust-bar {
	position: relative;
}

.trust-bar .wp-block-column {
	text-align: center;
	position: relative;
}

/* Divider between trust items */
@media (min-width: 782px) {
	.trust-bar .wp-block-column:not(:last-child)::after {
		content: "";
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
		height: 50px;
		background: rgba(255, 255, 255, 0.2);
	}
}

/* ==========================================================================
   DOCTOR CARD IMAGES
   ========================================================================== */

.doctor-card figure {
	margin: 0 !important;
	overflow: hidden;
}

.doctor-card figure img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	object-position: top center;
	transition: transform 400ms ease;
}

.doctor-card:hover figure img {
	transform: scale(1.05);
}

/* ==========================================================================
   SERVICE BOXES
   ========================================================================== */

.services-section .feature-box {
	background: var(--wp--preset--color--bg-light);
	height: 100%;
}

.services-section .feature-box h3 {
	color: var(--wp--preset--color--text-dark);
	margin-bottom: 8px !important;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section figure {
	margin: 0 !important;
}

.about-section figure img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 8px;
}

@media (max-width: 781px) {
	.about-section figure img {
		height: 300px;
	}
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
	position: relative;
}

.cta-section .wp-block-button__link {
	font-size: 15px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section iframe {
	display: block;
}

.contact-section h3 {
	color: var(--wp--preset--color--primary);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
	.animate-fade-up {
		opacity: 0;
		transform: translateY(30px);
		transition: opacity 600ms ease, transform 600ms ease;
	}

	.animate-fade-up.is-visible {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
