/* ═══════════════════════════════════════════════════════════════════════════
   Long Island Baby Fence — Custom CSS
   Child theme: divi-child-libaby
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
	--libaby-navy:   #0A2540;
	--libaby-navy2:  #0E3460;
	--libaby-blue:   #4FC3F7;
	--libaby-orange: #FF6B35;
	--libaby-white:  #F8FAFC;
	--libaby-fog:    #8FA8C0;
	--libaby-dark:   #061828;
}

/* ─── Global Body Overrides ─────────────────────────────────────────────────── */
body {
	font-family: 'Inter', sans-serif !important;
	overflow-x: hidden;
}

/* ─── Eyebrow Text ──────────────────────────────────────────────────────────── */
.libaby-eyebrow {
	display: inline-block;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	color: var(--libaby-orange) !important;
	margin: 0 0 14px !important;
	padding-left: 28px;
	position: relative;
}
.libaby-eyebrow::before {
	content: '';
	position: absolute;
	left: 0; top: 50%;
	transform: translateY(-50%);
	width: 18px; height: 2px;
	background: var(--libaby-orange);
}
.libaby-eyebrow--light {
	color: var(--libaby-blue) !important;
}
.libaby-eyebrow--light::before {
	background: var(--libaby-blue);
}

/* ─── Section Headings ──────────────────────────────────────────────────────── */
.libaby-section-h2 {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: clamp(2.4rem, 4.5vw, 3.5rem) !important;
	line-height: 1.0 !important;
	letter-spacing: 0.02em !important;
	margin: 0 0 20px !important;
	font-weight: 400 !important;
}
.libaby-section-h2 span {
	color: var(--libaby-orange);
}

/* ─── Hero H1 ───────────────────────────────────────────────────────────────── */
.libaby-hero-h1 {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: clamp(4rem, 9vw, 8rem) !important;
	line-height: 0.92 !important;
	color: var(--libaby-white) !important;
	letter-spacing: 0.02em !important;
	margin: 0 0 24px !important;
	font-weight: 400 !important;
}
.libaby-blue {
	color: var(--libaby-blue) !important;
}

/* ─── Hero CTA Buttons ──────────────────────────────────────────────────────── */
.libaby-hero-btns {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 8px;
}
.libaby-btn {
	padding: 16px 36px;
	border-radius: 4px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.libaby-btn-primary {
	background: var(--libaby-orange);
	color: #fff !important;
	box-shadow: 0 4px 24px rgba(255,107,53,0.35);
}
.libaby-btn-primary:hover {
	background: #e55a28;
	transform: translateY(-2px);
	box-shadow: 0 8px 32px rgba(255,107,53,0.45);
	color: #fff !important;
}
.libaby-btn-secondary {
	background: transparent;
	color: var(--libaby-blue) !important;
	border: 1.5px solid rgba(79,195,247,0.4);
}
.libaby-btn-secondary:hover {
	border-color: var(--libaby-blue);
	background: rgba(79,195,247,0.08);
	transform: translateY(-2px);
}

/* ─── Hero Stats ────────────────────────────────────────────────────────────── */
.libaby-stat {
	text-align: center;
	padding: 20px 24px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(79,195,247,0.18);
	border-radius: 8px;
}
.libaby-stat-num {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 2.8rem;
	color: var(--libaby-blue);
	line-height: 1;
	display: block;
}
.libaby-stat-label {
	font-size: 0.72rem;
	color: var(--libaby-fog);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-top: 4px;
	display: block;
}

/* ─── Story Section Badge ───────────────────────────────────────────────────── */
.libaby-story-badge-wrap {
	position: relative;
	padding-bottom: 20px;
	padding-left: 20px;
}
.libaby-pool-visual {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(10,37,64,0.18);
}
.libaby-story-badge {
	position: absolute;
	bottom: 0; left: 0;
	background: var(--libaby-orange);
	color: #fff;
	padding: 18px 22px;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(255,107,53,0.4);
	text-align: center;
	z-index: 2;
}
.libaby-story-badge strong {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 2.2rem;
	display: block;
	line-height: 1;
}
.libaby-story-badge small {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.92;
}

/* ─── Feature List (Loop-Loc section) ──────────────────────────────────────── */
.libaby-feature-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.libaby-feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.92rem;
	color: var(--libaby-fog);
	line-height: 1.55;
}
.libaby-check {
	width: 22px; height: 22px; min-width: 22px;
	border-radius: 50%;
	background: rgba(79,195,247,0.15);
	border: 1.5px solid var(--libaby-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--libaby-blue);
	font-size: 0.7rem;
	font-weight: 700;
	margin-top: 1px;
	flex-shrink: 0;
}
.libaby-feature-list strong {
	color: var(--libaby-white);
}

/* ─── Cert Badge Bar ────────────────────────────────────────────────────────── */
.libaby-cert-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 40px;
	border-top: 1px solid #DDE6EF;
}
.libaby-cert-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--libaby-fog);
	width: 100%;
	text-align: center;
	margin-bottom: 8px;
}
.libaby-cert-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #4A6580;
	padding: 10px 18px;
	background: #F1F5F9;
	border-radius: 6px;
	border: 1px solid #DDE6EF;
}

/* ─── About Creds Cards ─────────────────────────────────────────────────────── */
.libaby-about-creds {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.libaby-cred-card {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: #F8FAFC;
	border: 1px solid #DDE6EF;
	border-radius: 8px;
	transition: box-shadow 0.2s;
}
.libaby-cred-card:hover {
	box-shadow: 0 4px 20px rgba(10,37,64,0.08);
}
.libaby-cred-icon {
	width: 38px; height: 38px; min-width: 38px;
	background: var(--libaby-blue);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	font-weight: 700;
	flex-shrink: 0;
}
.libaby-cred-card strong {
	display: block;
	font-size: 0.92rem;
	color: var(--libaby-navy);
	margin-bottom: 4px;
}
.libaby-cred-card p {
	font-size: 0.84rem;
	color: #6B8AA0;
	line-height: 1.6;
	margin: 0;
}

/* ─── Contact Info ──────────────────────────────────────────────────────────── */
.libaby-contact-info {
	margin-bottom: 28px;
}
.libaby-contact-row {
	display: flex;
	flex-direction: column;
	padding: 14px 0;
	border-bottom: 1px solid #DDE6EF;
}
.libaby-contact-row strong {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--libaby-navy);
	margin-bottom: 4px;
}
.libaby-contact-row a,
.libaby-contact-row span {
	font-size: 0.95rem;
	color: #4A6580;
	text-decoration: none;
}
.libaby-contact-row a:hover {
	color: var(--libaby-navy);
}
.libaby-hours-card {
	background: #F8FAFC;
	border: 1px solid #DDE6EF;
	border-radius: 8px;
	padding: 20px 24px;
}
.libaby-hours-card h3 {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--libaby-navy);
	margin: 0 0 14px;
}
.libaby-hours-table {
	width: 100%;
	border-collapse: collapse;
}
.libaby-hours-table td {
	padding: 8px 0;
	font-size: 0.88rem;
	color: #4A6580;
	border-bottom: 1px solid #EEF2F7;
}
.libaby-hours-table td:last-child {
	text-align: right;
	font-weight: 600;
	color: var(--libaby-navy);
}

/* ─── Mobile CTA Bar ────────────────────────────────────────────────────────── */
.libaby-mobile-cta {
	display: none;
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: 9999;
	background: var(--libaby-navy);
	border-top: 1px solid rgba(79,195,247,0.2);
	padding: 10px 16px;
	gap: 10px;
	justify-content: space-between;
	align-items: center;
}
.libaby-mobile-cta a {
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.libaby-mcta-btn {
	background: var(--libaby-orange) !important;
	padding: 10px 22px;
	border-radius: 4px;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 14px;
	white-space: nowrap;
}
@media (max-width: 767px) {
	.libaby-mobile-cta {
		display: flex;
	}
	/* Extra padding at bottom of last section so content isn't hidden behind bar */
	.et_pb_section:last-of-type {
		padding-bottom: 80px !important;
	}
}

/* ─── Review / Trust Cards ──────────────────────────────────────────────────── */
.libaby-trust-card {
	background: var(--libaby-white);
	border: 1px solid #DDE6EF;
	border-radius: 12px;
	padding: 28px;
	height: 100%;
	transition: transform 0.3s, box-shadow 0.3s;
}
.libaby-trust-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 48px rgba(10,37,64,0.1);
}
.libaby-stars {
	margin-bottom: 14px;
	font-size: 1rem;
	letter-spacing: 2px;
}
.libaby-trust-quote {
	font-size: 0.94rem;
	color: #4A6580;
	line-height: 1.75;
	margin-bottom: 20px;
	font-style: italic;
}
.libaby-trust-author {
	display: flex;
	align-items: center;
	gap: 12px;
}
.libaby-author-avatar {
	width: 42px; height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--libaby-blue), var(--libaby-navy));
	display: flex; align-items: center; justify-content: center;
	font-weight: 700;
	color: #fff;
	font-size: 0.85rem;
	flex-shrink: 0;
}
.libaby-author-name {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--libaby-navy);
}
.libaby-author-loc {
	font-size: 0.78rem;
	color: var(--libaby-fog);
}

/* ─── Divi Blurb Title Font Override ────────────────────────────────────────── */
.et_pb_blurb .et_pb_module_header {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 1.6rem !important;
	letter-spacing: 0.03em !important;
	line-height: 1.1 !important;
}

/* ─── Divi Button Global Styles ─────────────────────────────────────────────── */
.et_pb_button {
	font-family: 'Inter', sans-serif !important;
	border-radius: 4px !important;
}

/* ─── Section Backgrounds: Divi default white to brand white ───────────────── */
.et_pb_section {
	background-color: var(--libaby-white);
}

/* ─── Responsive: hide nav links on mobile (Divi handles hamburger) ─────────── */
@media (max-width: 980px) {
	.libaby-hero-h1 {
		font-size: clamp(3rem, 12vw, 5rem) !important;
	}
	.libaby-stat {
		padding: 14px 16px;
	}
	.libaby-stat-num {
		font-size: 2.2rem;
	}
	.libaby-story-badge-wrap {
		padding-bottom: 0;
		padding-left: 0;
	}
	.libaby-story-badge {
		position: static;
		display: inline-block;
		margin-top: 16px;
	}
}


/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & KEYFRAMES
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes libaby-fade-up {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: translateY(0); }
}
@keyframes libaby-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes libaby-scale-in {
	from { opacity: 0; transform: scale(0.93); }
	to   { opacity: 1; transform: scale(1); }
}
@keyframes libaby-slide-left {
	from { opacity: 0; transform: translateX(-32px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes libaby-slide-right {
	from { opacity: 0; transform: translateX(32px); }
	to   { opacity: 1; transform: translateX(0); }
}
@keyframes libaby-glow-pulse {
	0%, 100% { box-shadow: 0 4px 24px rgba(255,107,53,0.38); }
	50%       { box-shadow: 0 4px 48px rgba(255,107,53,0.72), 0 0 80px rgba(255,107,53,0.18); }
}
@keyframes libaby-blue-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(79,195,247,0); }
	50%       { box-shadow: 0 0 32px 8px rgba(79,195,247,0.22); }
}
@keyframes libaby-shimmer {
	0%   { background-position: -200% center; }
	100% { background-position: 200% center; }
}
@keyframes libaby-float {
	0%, 100% { transform: translateY(0px); }
	50%       { transform: translateY(-7px); }
}
@keyframes libaby-aurora {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
@keyframes libaby-border-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
@keyframes libaby-eyebrow-line {
	from { width: 0; }
	to   { width: 18px; }
}
@keyframes libaby-count-up {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ─── Scroll-reveal base state ──────────────────────────────────────────────── */
.libaby-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.libaby-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.libaby-reveal-left {
	opacity: 0;
	transform: translateX(-32px);
	transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.libaby-reveal-left.is-visible {
	opacity: 1;
	transform: translateX(0);
}
.libaby-reveal-right {
	opacity: 0;
	transform: translateX(32px);
	transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.libaby-reveal-right.is-visible {
	opacity: 1;
	transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════════════════════
   GRADIENT BACKGROUNDS — Dark Sections
   ═══════════════════════════════════════════════════════════════════════════ */

/* Navy (#0A2540) sections — radial aurora top + orange ember bottom-right */
.et_pb_section[style*="background-color: #0A2540"],
.et_pb_section[style*="background-color:#0A2540"] {
	background-image:
		radial-gradient(ellipse 80% 55% at 50% -5%, rgba(79,195,247,0.13) 0%, transparent 65%),
		radial-gradient(ellipse 45% 35% at 95% 100%, rgba(255,107,53,0.08) 0%, transparent 60%)
		!important;
	background-color: #0A2540 !important;
	position: relative;
}

/* Navy2 (#0E3460) sections — deeper blue glow top-left + subtle orange bottom */
.et_pb_section[style*="background-color: #0E3460"],
.et_pb_section[style*="background-color:#0E3460"] {
	background-image:
		radial-gradient(ellipse 70% 50% at 20% 0%, rgba(79,195,247,0.1) 0%, transparent 60%),
		radial-gradient(ellipse 50% 40% at 80% 110%, rgba(255,107,53,0.07) 0%, transparent 55%)
		!important;
	background-color: #0E3460 !important;
	position: relative;
}

/* White (#F8FAFC) sections — very subtle blue tint at top */
.et_pb_section[style*="background-color: #F8FAFC"],
.et_pb_section[style*="background-color:#F8FAFC"] {
	background-image:
		radial-gradient(ellipse 60% 30% at 50% 0%, rgba(79,195,247,0.05) 0%, transparent 70%)
		!important;
	background-color: #F8FAFC !important;
}

/* ─── Hero-specific: animated moving aurora ─────────────────────────────────── */
.et_pb_section:first-of-type[style*="background-color: #0A2540"],
.et_pb_section:first-of-type[style*="background-color:#0A2540"] {
	background-image:
		radial-gradient(ellipse 90% 70% at 50% -20%, rgba(79,195,247,0.16) 0%, transparent 65%),
		radial-gradient(ellipse 40% 40% at 5% 80%, rgba(14,52,96,0.8) 0%, transparent 50%),
		radial-gradient(ellipse 35% 35% at 95% 90%, rgba(255,107,53,0.1) 0%, transparent 50%)
		!important;
	overflow: hidden;
}
/* Animated aurora orb on hero */
.et_pb_section:first-of-type[style*="background-color: #0A2540"]::after,
.et_pb_section:first-of-type[style*="background-color:#0A2540"]::after {
	content: '';
	position: absolute;
	width: 600px; height: 600px;
	top: -200px; left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(79,195,247,0.08) 0%, transparent 70%);
	border-radius: 50%;
	animation: libaby-float 8s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED HERO H1 — text glow
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-hero-h1 {
	animation: libaby-fade-up 0.8s cubic-bezier(0.16,1,0.3,1) both;
	text-shadow: 0 0 80px rgba(79,195,247,0.12);
}
.libaby-hero-h1 .libaby-blue {
	text-shadow: 0 0 40px rgba(79,195,247,0.3);
}

/* ─── Eyebrow animated line ─────────────────────────────────────────────────── */
.libaby-eyebrow::before {
	animation: libaby-eyebrow-line 0.5s 0.3s cubic-bezier(0.16,1,0.3,1) both;
}

/* ─── Hero CTA buttons — enhanced ──────────────────────────────────────────── */
.libaby-btn-primary {
	animation: libaby-glow-pulse 3s ease-in-out infinite;
	position: relative;
	overflow: hidden;
}
.libaby-btn-primary::after {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 60%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
	transform: skewX(-20deg);
	transition: left 0s;
}
.libaby-btn-primary:hover::after {
	left: 140%;
	transition: left 0.55s ease;
}


/* ═══════════════════════════════════════════════════════════════════════════
   STAT CARDS — glassmorphism + float
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-stat {
	background: rgba(255,255,255,0.05) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(79,195,247,0.22) !important;
	box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(79,195,247,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
	animation: libaby-fade-up 0.7s ease both;
}
.libaby-stat:hover {
	transform: translateY(-6px);
	border-color: rgba(79,195,247,0.5) !important;
	box-shadow: 0 16px 48px rgba(0,0,0,0.25), 0 0 40px rgba(79,195,247,0.12);
}
.libaby-stat-num {
	background: linear-gradient(135deg, #4FC3F7, #81D4FA);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BLURB MODULES — hover glow border
   ═══════════════════════════════════════════════════════════════════════════ */

.et_pb_blurb {
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease !important;
}
.et_pb_blurb:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 0 0 1px rgba(79,195,247,0.35) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   REVIEW / TRUST CARDS — shimmer on hover
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-trust-card {
	position: relative;
	overflow: hidden;
}
.libaby-trust-card::before {
	content: '';
	position: absolute;
	top: 0; left: -100%;
	width: 50%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(79,195,247,0.06), transparent);
	transform: skewX(-15deg);
	transition: left 0s;
	pointer-events: none;
}
.libaby-trust-card:hover::before {
	left: 160%;
	transition: left 0.6s ease;
}
.libaby-stars {
	background: linear-gradient(90deg, #FFC107, #FF9800, #FFC107);
	background-size: 200% auto;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: libaby-shimmer 3s linear infinite;
}


/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY IMAGES — scale + reveal
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-gallery-grid img,
[style*="grid-template-columns"] img {
	transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
[style*="grid-template-columns"] img:hover {
	transform: scale(1.04);
	box-shadow: 0 12px 40px rgba(10,37,64,0.22), 0 0 0 2px rgba(79,195,247,0.3);
	z-index: 1;
	position: relative;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CERT BADGES — shimmer
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-cert-badge {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	position: relative;
	overflow: hidden;
}
.libaby-cert-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(10,37,64,0.1);
	background: #E8F4FD !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   STORY BADGE — float
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-story-badge {
	animation: libaby-float 4s ease-in-out infinite;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT INFO ROWS — hover highlight
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-contact-row {
	transition: padding-left 0.2s ease;
}
.libaby-contact-row:hover {
	padding-left: 8px;
}
.libaby-contact-row a {
	transition: color 0.2s ease;
}


/* ═══════════════════════════════════════════════════════════════════════════
   NINJA FORMS — Award-winning restyle
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Form container card ───────────────────────────────────────────────────── */
.nf-form-cont {
	background: #fff;
	border-radius: 16px;
	box-shadow:
		0 4px 6px rgba(10,37,64,0.04),
		0 12px 40px rgba(10,37,64,0.08),
		0 0 0 1px rgba(10,37,64,0.06);
	padding: 40px 36px 36px !important;
	position: relative;
	overflow: hidden;
}
/* Gradient top accent bar */
.nf-form-cont::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--libaby-orange), #FF9055, var(--libaby-blue), var(--libaby-orange));
	background-size: 300% 100%;
	animation: libaby-aurora 5s linear infinite;
}

/* ─── Form title ────────────────────────────────────────────────────────────── */
.nf-form-title h3 {
	font-family: 'Bebas Neue', sans-serif !important;
	font-size: 1.8rem !important;
	color: var(--libaby-navy) !important;
	letter-spacing: 0.03em !important;
	margin: 0 0 8px !important;
}

/* ─── Required notice ───────────────────────────────────────────────────────── */
.nf-form-fields-required {
	font-size: 0.78rem;
	color: var(--libaby-fog);
	margin-bottom: 24px;
	display: block;
}

/* ─── Field container spacing ───────────────────────────────────────────────── */
.nf-field-container {
	margin-bottom: 20px !important;
}

/* ─── Labels ────────────────────────────────────────────────────────────────── */
.nf-field-label label,
label.nf-label-field-template {
	font-family: 'Inter', sans-serif !important;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	color: var(--libaby-navy) !important;
	margin-bottom: 8px !important;
	display: block;
}

/* ─── Inputs, Textarea, Select ──────────────────────────────────────────────── */
.nf-field-element input[type="text"],
.nf-field-element input[type="email"],
.nf-field-element input[type="tel"],
.nf-field-element input[type="number"],
.nf-field-element input[type="url"],
.nf-field-element textarea,
.nf-field-element select {
	font-family: 'Inter', sans-serif !important;
	font-size: 0.95rem !important;
	color: var(--libaby-navy) !important;
	background: #F8FAFC !important;
	border: 1.5px solid #DDE6EF !important;
	border-radius: 8px !important;
	padding: 14px 16px !important;
	width: 100% !important;
	outline: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
	box-shadow: 0 1px 3px rgba(10,37,64,0.04) !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.nf-field-element input[type="text"]::placeholder,
.nf-field-element input[type="email"]::placeholder,
.nf-field-element input[type="tel"]::placeholder,
.nf-field-element textarea::placeholder {
	color: #9FBACF !important;
	font-style: normal !important;
}
.nf-field-element input[type="text"]:focus,
.nf-field-element input[type="email"]:focus,
.nf-field-element input[type="tel"]:focus,
.nf-field-element input[type="number"]:focus,
.nf-field-element input[type="url"]:focus,
.nf-field-element textarea:focus,
.nf-field-element select:focus {
	border-color: var(--libaby-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(79,195,247,0.14), 0 1px 3px rgba(10,37,64,0.04) !important;
}
.nf-field-element textarea {
	min-height: 130px !important;
	resize: vertical !important;
}

/* ─── Select arrow ──────────────────────────────────────────────────────────── */
.nf-field-element select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A2540' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	padding-right: 44px !important;
}

/* ─── Submit button ─────────────────────────────────────────────────────────── */
.nf-field-element input[type="button"],
.nf-field-element input[type="submit"],
.submit-cont input[type="submit"],
.submit-container input[type="button"] {
	font-family: 'Inter', sans-serif !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	color: #fff !important;
	background: var(--libaby-orange) !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 16px 40px !important;
	cursor: pointer !important;
	width: 100% !important;
	box-shadow: 0 4px 20px rgba(255,107,53,0.38) !important;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
	position: relative !important;
	overflow: hidden !important;
	animation: libaby-glow-pulse 3s ease-in-out infinite !important;
}
.nf-field-element input[type="button"]:hover,
.nf-field-element input[type="submit"]:hover,
.submit-cont input[type="submit"]:hover,
.submit-container input[type="button"]:hover {
	background: #e55a28 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 32px rgba(255,107,53,0.5) !important;
}

/* ─── Error states ──────────────────────────────────────────────────────────── */
.nf-error .nf-field-element input,
.nf-error .nf-field-element textarea,
.nf-error .nf-field-element select {
	border-color: #E53E3E !important;
	box-shadow: 0 0 0 3px rgba(229,62,62,0.12) !important;
	background: #FFF5F5 !important;
}
.nf-error-msg,
.ninja-forms-field-error {
	font-size: 0.78rem !important;
	color: #E53E3E !important;
	font-weight: 600 !important;
	margin-top: 6px !important;
	display: block;
}

/* ─── Success / response message ────────────────────────────────────────────── */
.nf-response-msg {
	background: linear-gradient(135deg, #0A2540, #0E3460) !important;
	border: 1px solid rgba(79,195,247,0.3) !important;
	border-left: 4px solid var(--libaby-blue) !important;
	border-radius: 8px !important;
	padding: 20px 24px !important;
	font-family: 'Inter', sans-serif !important;
	font-size: 0.95rem !important;
	color: var(--libaby-white) !important;
	animation: libaby-scale-in 0.4s cubic-bezier(0.16,1,0.3,1) both !important;
}
.nf-response-msg p {
	color: var(--libaby-white) !important;
	margin: 0 !important;
}

/* ─── Checkbox / Radio fields ───────────────────────────────────────────────── */
.nf-field-element input[type="checkbox"],
.nf-field-element input[type="radio"] {
	accent-color: var(--libaby-orange) !important;
	width: 18px !important;
	height: 18px !important;
	cursor: pointer !important;
}
.checkbox-container label,
.radio-container label {
	font-size: 0.88rem !important;
	color: #4A6580 !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

/* ─── Loading spinner ───────────────────────────────────────────────────────── */
.nf-loading-spinner {
	border-color: rgba(79,195,247,0.3) !important;
	border-top-color: var(--libaby-blue) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HOURS CARD — enhanced on contact page
   ═══════════════════════════════════════════════════════════════════════════ */

.libaby-hours-card {
	border-left: 3px solid var(--libaby-orange) !important;
	background: linear-gradient(135deg, #F8FAFC 0%, #F0F6FC 100%) !important;
	transition: box-shadow 0.2s ease;
}
.libaby-hours-card:hover {
	box-shadow: 0 4px 20px rgba(10,37,64,0.08);
}
.libaby-hours-table tr:last-child td {
	border-bottom: none !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION DIVIDER — animated gradient line between sections
   ═══════════════════════════════════════════════════════════════════════════ */

.et_pb_section + .et_pb_section::before {
	content: '';
	display: block;
	height: 1px;
	background: linear-gradient(90deg,
		transparent 0%,
		rgba(79,195,247,0.2) 20%,
		rgba(255,107,53,0.15) 50%,
		rgba(79,195,247,0.2) 80%,
		transparent 100%);
	margin: 0 auto;
	width: 80%;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
	.nf-form-cont {
		padding: 28px 20px 24px !important;
	}
	.libaby-hero-h1 {
		text-shadow: 0 0 40px rgba(79,195,247,0.1);
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
