/* ----------------------------------------------------------------
	Constatare Daune Oradea — design polish layer
	Loaded AFTER style.css + daune-auto.css. Overrides only.
-----------------------------------------------------------------*/

:root {
	--brand:        #3D80E4;
	--brand-600:    #2F6BCB;
	--brand-700:    #1F4FA0;
	--brand-050:    #EEF4FE;

	--ink:          #101828;
	--ink-2:        #475467;
	--ink-3:        #667085;

	--line:         #E3E8EF;
	--surface:      #F6F8FC;

	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(16,24,40,.06);
	--shadow-md: 0 8px 24px -8px rgba(16,24,40,.16);
	--shadow-lg: 0 28px 56px -16px rgba(16,24,40,.22);
}

/* ----------------------------------------------------------------
	1. Readability — the old greys sat below contrast minimums
-----------------------------------------------------------------*/
body { color: var(--ink-2); }

.text-muted    { color: var(--ink-3) !important; }
.text-black-50 { color: var(--ink-2) !important; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.015em; }

p, .lead { line-height: 1.7; }

/* keep long paragraphs to a comfortable measure */
.section-features p,
.feature-box .fbox-content > div,
.toggle-content { max-width: 68ch; }

/* eyebrow above section headings */
.heading-block h5.text-uppercase {
	color: var(--brand) !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: .12em !important;
}

/* fluid section headings — the fixed 52px broke small screens */
.heading-block h2 {
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.15;
	letter-spacing: -.02em;
	font-weight: 800;
}

/* ----------------------------------------------------------------
	2. Buttons — the global hover slid every button sideways
-----------------------------------------------------------------*/
.button, .btn {
	transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
	font-weight: 600;
}

.button:hover, .btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.button:active, .btn:active { transform: translateY(0); }

.btn:focus-visible, a:focus-visible, button:focus-visible {
	outline: 3px solid rgba(61,128,228,.45);
	outline-offset: 2px;
}

/* ----------------------------------------------------------------
	3. Header
-----------------------------------------------------------------*/
#logo a {
	font-weight: 700;
	letter-spacing: -.02em;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}

#logo a i { font-size: 1.5rem; opacity: .95; }

#header .menu-container > .menu-item > .menu-link { font-weight: 500; }

/* the phone CTA in the nav should read as the primary action */
#header .menu-item > a.btn {
	font-weight: 700;
	box-shadow: 0 6px 16px -6px rgba(0,0,0,.35) !important;
}

/* ----------------------------------------------------------------
	4. Hero
-----------------------------------------------------------------*/
#slider.slider-element {
	background-color: var(--brand-600);
	position: relative;
}

/* soft depth over the flat blue */
#slider.slider-element::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 460px at 78% 12%, rgba(255,255,255,.16), transparent 60%),
		linear-gradient(180deg, rgba(10,75,171,.10) 0%, rgba(10,75,171,.42) 100%);
	z-index: 0;
}

/* NOTE: .slider-inner must stay position:absolute (theme relies on it) */
#slider .slider-inner { z-index: 1; }
#slider .vertical-middle { position: relative; z-index: 1; }

#slider h1 { color: #fff; letter-spacing: -.03em; line-height: 1.06; }

#slider .lead { color: rgba(255,255,255,.88); }

/* inner-page heroes were tall, empty blue boxes */
#slider.slider-element:not(.min-vh-75) h1 {
	font-size: clamp(30px, 4.4vw, 52px);
	margin-bottom: .5rem;
}

/* insurer logo dropped into inner-page heroes */
#slider .lead > img {
	max-height: 46px;
	width: auto;
	background: #fff;
	padding: 10px 16px;
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
}

/* trust strip under the hero CTA */
.hero-badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	padding: 0;
	margin: 1.25rem 0 0;
}

.hero-badges li {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .4rem .85rem;
	border-radius: 999px;
	background: rgba(255,255,255,.14);
	border: 1px solid rgba(255,255,255,.28);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}

.hero-badges li i { font-size: 15px; opacity: .9; }

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}

.hero-cta .btn-ghost {
	color: #fff;
	border: 1px solid rgba(255,255,255,.5);
	background: transparent;
	border-radius: var(--r-sm);
	padding: .85rem 1.4rem;
}

.hero-cta .btn-ghost:hover {
	background: rgba(255,255,255,.12);
	border-color: #fff;
	color: #fff;
}

.hero-cta.justify-content-center { justify-content: center; }

@media (max-width: 575.98px) {
	.hero-cta { flex-direction: column; align-items: stretch; }
	.hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
}

/* hero artwork was spilling over the white client strip below */
.slide-imgs { position: relative; }

@media (min-width: 992px) {
	.slide-imgs .iphone-img {
		width: 300px;
		transform: perspective(1400px) rotateY(-16deg) rotateX(8deg) rotateZ(4deg) scale(.86) translateX(30%) translateY(-8%);
	}
	.slide-imgs:hover .iphone-img {
		transform: perspective(1200px) rotateY(-6deg) rotateX(3deg) rotateZ(1deg) scale(.92) translateX(26%) translateY(-4%);
	}
	.slide-imgs .card-img {
		width: 200px;
		left: 60px;
		bottom: 120px;
		opacity: .9;
		z-index: 0;
	}
}

/* ----------------------------------------------------------------
	5. Insurer logos — normalise wildly different artwork
-----------------------------------------------------------------*/
.section-clients {
	padding: 26px 0;
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.section-clients .col,
.custom-row .col { display: flex; }

.section-clients .col a,
.custom-row .col a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 62px;
	padding: 8px 10px;
	border-radius: var(--r-sm);
	transition: background-color .2s ease, transform .2s ease;
}

.section-clients .col a:hover,
.custom-row .col a:hover {
	background: var(--surface);
	transform: translateY(-2px);
}

.section-clients img,
.custom-row img {
	width: auto !important;
	max-width: 100%;
	max-height: 34px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .55;
	transition: filter .25s ease, opacity .25s ease;
}

.section-clients a:hover img,
.custom-row a:hover img {
	filter: none;
	opacity: 1;
}

.custom-row { gap: 8px; }

/* ----------------------------------------------------------------
	6. Feature boxes → real cards
-----------------------------------------------------------------*/
.features-items .row { align-items: stretch; }

.features-items [class*="col-"] { display: flex; }

.features-items .feature-box {
	width: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 30px;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.features-items .feature-box:hover {
	transform: translateY(-3px);
	border-color: rgba(61,128,228,.35);
	box-shadow: var(--shadow-md);
}

.features-items .feature-box .fbox-icon {
	--f-icon-size: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--r-md);
	background: linear-gradient(140deg, rgba(61,128,228,.16), rgba(61,128,228,.06));
	margin-bottom: 22px;
}

.features-items .feature-box .fbox-icon i {
	font-size: 24px;
	color: var(--brand) !important;
	line-height: 1;
}

.features-items .feature-box h2,
.features-items .feature-box h3 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 12px !important;
	letter-spacing: -.01em;
}

.features-items .feature-box .fbox-content > div {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-2) !important;
	font-weight: 400;
}

.features-items .feature-box ul {
	margin: .25rem 0 0;
	padding-left: 1.15rem;
}

.features-items .feature-box li { margin-bottom: .35rem; }

/* the template's 80px column gutter left the grid full of holes */
.features-items .col-mb-80 { --cnvs-col-mb: 26px; }

/* ----------------------------------------------------------------
	7. Service link grid — was a wall of outline buttons
-----------------------------------------------------------------*/
a.btn.btn-outline-primary.w-100 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	text-align: left;
	padding: 15px 18px !important;
	border-radius: var(--r-md) !important;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
	box-shadow: var(--shadow-sm);
	line-height: 1.35;
	min-height: 56px;
}

a.btn.btn-outline-primary.w-100::after {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--brand);
	border-top: 2px solid var(--brand);
	transform: rotate(45deg);
	transition: transform .2s ease;
}

a.btn.btn-outline-primary.w-100:hover {
	background: #fff;
	border-color: var(--brand);
	color: var(--brand);
	box-shadow: var(--shadow-md);
}

a.btn.btn-outline-primary.w-100:hover::after { transform: rotate(45deg) translate(2px,-2px); }

/* ----------------------------------------------------------------
	8. Split "how we help" band
-----------------------------------------------------------------*/
.section-features { padding: clamp(40px, 6vw, 84px); }

.section-features h2 {
	color: #fff;
	font-size: clamp(24px, 2.4vw, 32px);
	margin-bottom: 1.5rem !important;
}

.section-features p {
	color: rgba(255,255,255,.86) !important;
	font-size: 16px;
	line-height: 1.75;
	margin-bottom: 1.5rem !important;
}

.section-features p strong { color: #fff; }

/* image credit was leaking raw text onto the page */
.img-credit {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 4px 8px;
	font-size: 11px;
	line-height: 1.2;
	color: #fff;
	background: rgba(16,24,40,.55);
	border-top-left-radius: 6px;
}

.img-credit a { color: #fff; text-decoration: underline; }

/* ----------------------------------------------------------------
	9. FAQ — styled for a dark panel, rendered on a light one
-----------------------------------------------------------------*/
.faq-section { background: var(--surface); }

.faq-section h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
}

.toggle-wrap {
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.toggle-wrap .toggle {
	padding: 0;
	margin: 0;
	background: #fff;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	transition: background-color .2s ease;
}

.toggle-wrap .toggle:last-child { border-bottom: 0; }

.toggle-wrap .toggle:hover { background: var(--surface); }

.toggle-wrap .toggle-active { background: var(--brand-050); }

.toggle-wrap .toggle-header {
	margin: 0;
	padding: 20px 24px;
	gap: 14px;
	flex-wrap: nowrap;
	align-items: center;
}

.toggle-wrap .toggle-icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	padding: 0;
	border-radius: 50%;
	background: rgba(61,128,228,.12);
	color: var(--brand);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

.toggle-wrap .toggle-active .toggle-icon { background: var(--brand); color: #fff; }

.toggle-wrap .toggle-title {
	padding: 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	line-height: 1.4;
}

.toggle-wrap .toggle-content {
	padding: 0 24px 22px 68px;
	color: var(--ink-2);
	font-size: 16px;
	line-height: 1.75;
}

.faq-more {
	margin-top: 1.5rem;
	text-align: center;
	color: var(--ink-2);
	font-size: 16px;
}

.faq-more a { color: var(--brand); font-weight: 600; }

@media (max-width: 575.98px) {
	.toggle-wrap .toggle-header { padding: 16px; }
	.toggle-wrap .toggle-content { padding: 0 16px 18px; }
	.toggle-wrap .toggle-title { font-size: 16px; }
}

/* ----------------------------------------------------------------
	10. Testimonials
-----------------------------------------------------------------*/
.testimonial .slide h3 {
	color: #fff;
	font-size: clamp(19px, 2vw, 26px);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: -.01em;
	margin-bottom: 1.75rem;
}

.testimonial .slide h5 {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.testimonial .slide small { color: rgba(255,255,255,.65); }

.testimonial .slide .stars {
	color: #FFC53D;
	font-size: 15px;
	letter-spacing: .18em;
	margin-bottom: 1rem;
	display: block;
}

/* ----------------------------------------------------------------
	11. Closing CTA card
-----------------------------------------------------------------*/
.cta-card {
	border-radius: var(--r-lg) !important;
	box-shadow: var(--shadow-lg) !important;
}

.cta-card h3 {
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.cta-card p { color: var(--ink-2) !important; font-size: 17px; }

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	justify-content: center;
	margin-top: 1.75rem;
}

.cta-actions .btn { border-radius: var(--r-sm); padding: .9rem 1.6rem; }

.btn-brand {
	background: var(--brand);
	color: #fff;
	border: 1px solid var(--brand);
}

.btn-brand:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.btn-outline-ink {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line);
}

.btn-outline-ink:hover { border-color: var(--ink); color: var(--ink); }

/* ----------------------------------------------------------------
	12. Footer
-----------------------------------------------------------------*/
/* the footer used the same bright brand blue as the CTA band above it */
#footer .bg-color,
#footer #copyrights.bg-color { background-color: #0E2A52 !important; }

#footer #copyrights.bg-color { border-top: 1px solid rgba(255,255,255,.1); }

#footer h5 {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .1em;
	opacity: .75;
}

#footer li { margin-bottom: .5rem; }

#footer a.text-white-50 { transition: color .18s ease; }
#footer a.text-white-50:hover { color: #fff !important; }

.footer-contact a { color: #fff !important; font-weight: 600; }

.footer-contact .fc-row {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	margin-bottom: .65rem;
	color: rgba(255,255,255,.72);
	font-size: 15px;
}

.footer-contact .fc-row i { color: rgba(255,255,255,.55); margin-top: .2rem; }

#copyrights { font-size: 13px; }
#copyrights .disclaimer { color: rgba(255,255,255,.45); font-size: 12px; margin-bottom: .75rem; }

/* ----------------------------------------------------------------
	13. Floating call button
-----------------------------------------------------------------*/
.call-now-button {
	width: auto;
	height: 54px;
	padding: 0 22px;
	gap: 10px;
	border-radius: 999px;
	background: #16A34A;
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 14px 30px -10px rgba(22,163,74,.65);
	bottom: 24px;
	right: 24px;
	transition: transform .2s ease, background-color .2s ease;
}

.call-now-button:hover { background: #128A3E; transform: translateY(-2px); }

@media (max-width: 575.98px) {
	.call-now-button { bottom: 16px; right: 16px; height: 50px; padding: 0 18px; font-size: 15px; }
}

/* keep the slider arrows clear of it */
.flex-next { margin-right: 8px; }

/* ----------------------------------------------------------------
	14. Contact page
-----------------------------------------------------------------*/
.contact-cards .contact-card {
	height: 100%;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 26px;
	box-shadow: var(--shadow-sm);
	transition: transform .25s ease, box-shadow .25s ease;
}

.contact-cards .contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.contact-cards .contact-card i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--r-md);
	background: rgba(61,128,228,.12);
	color: var(--brand);
	font-size: 20px;
	margin-bottom: 16px;
}

.contact-cards .contact-card h3 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 6px;
}

.contact-cards .contact-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.contact-cards .contact-card a { color: var(--ink); font-weight: 600; }
.contact-cards .contact-card a:hover { color: var(--brand); }

/* form fields */
.form-control {
	border-radius: var(--r-sm);
	border-color: var(--line);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(61,128,228,.14);
}

.form-group label { font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: .35rem; }

/* ----------------------------------------------------------------
	15. Section rhythm
-----------------------------------------------------------------*/
.content-wrap { padding-top: clamp(40px, 6vw, 80px) !important; }

@media (max-width: 767.98px) {
	.content-wrap { padding-top: 32px !important; }

	/* the wordmark wrapped onto two lines and collided with the icon */
	#logo a { font-size: 19px; line-height: 1.2; }
	#logo a i { font-size: 1.2rem; }

	/* six logos crammed into one row were illegible — wrap them 3-up */
	.section-clients { padding: 20px 0 8px; }
	.section-clients .row > [class*="col-"] { flex-wrap: wrap; }
	.section-clients .col { flex: 0 0 33.333%; max-width: 33.333%; }
	.section-clients .col a { height: 52px; }
	.section-clients img, .custom-row img { max-height: 28px; }

	.custom-row .col { flex: 0 0 calc(33.333% - 8px); max-width: calc(33.333% - 8px); }

	/* keep the card artwork from bleeding off the left edge */
	.slide-imgs .card-img { width: 170px; left: 50px; bottom: 60px; }

	.hero-badges li { font-size: 13px; padding: .35rem .7rem; }
}
