/**
 * Public stylesheet — Prime Mortgage Astra Extensions.
 *
 * Uses CSS custom properties for brand colours (set via an inline style
 * block generated from saved settings — see Pmae_Assets::register_public_assets).
 *
 * @package Prime_Mortgage_Astra_Extensions
 */

:root {
	--pmae-primary: #0b5fff;
	--pmae-secondary: #0a2540;
	--pmae-accent: #ffb020;
	--pmae-radius: 12px;
}

/* -------------------------------------------------- */
/* Sticky header                                       */
/* -------------------------------------------------- */
body.pmae-sticky-header.pmae-is-stuck #masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	animation: pmae-slide-down 0.25s ease-out;
}

body.pmae-sticky-header.pmae-is-stuck {
	padding-top: var(--pmae-header-height, 0px);
}

@keyframes pmae-slide-down {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

/* -------------------------------------------------- */
/* Transparent header                                  */
/* -------------------------------------------------- */
body.pmae-header-transparent:not(.pmae-is-stuck) #masthead {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	z-index: 998;
}

/* -------------------------------------------------- */
/* Page loader                                         */
/* -------------------------------------------------- */
.pmae-page-loader {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pmae-page-loader.pmae-page-loader--hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.pmae-page-loader__spinner {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 4px solid rgba(11, 95, 255, 0.15);
	border-top-color: var(--pmae-primary);
	animation: pmae-spin 0.8s linear infinite;
}

.pmae-page-loader__logo {
	max-width: 120px;
	animation: pmae-pulse 1.2s ease-in-out infinite;
}

.pmae-page-loader__bar {
	width: 220px;
	height: 4px;
	background: rgba(11, 95, 255, 0.15);
	border-radius: 4px;
	overflow: hidden;
}

.pmae-page-loader__bar span {
	display: block;
	height: 100%;
	width: 40%;
	background: var(--pmae-primary);
	animation: pmae-progress 1s ease-in-out infinite;
}

@keyframes pmae-spin {
	to { transform: rotate(360deg); }
}

@keyframes pmae-pulse {
	0%, 100% { opacity: 0.5; transform: scale(0.96); }
	50% { opacity: 1; transform: scale(1); }
}

@keyframes pmae-progress {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(250%); }
}

/* -------------------------------------------------- */
/* Back to top                                         */
/* -------------------------------------------------- */
.pmae-back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--pmae-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* Dock Back-to-Top on the opposite side from the WhatsApp/Call/Apply/Email
   cluster so the two groups never overlap. */
body.pmae-floating-buttons-right .pmae-back-to-top {
	right: auto;
	left: 24px;
}

body.pmae-floating-buttons-left .pmae-back-to-top {
	left: auto;
	right: 24px;
}

body.pmae-floating-buttons-hide-desktop .pmae-back-to-top {
	display: none;
}

body.pmae-floating-buttons-static .pmae-back-to-top {
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

@media (max-width: 782px) {
	body.pmae-floating-buttons-hide-mobile .pmae-back-to-top {
		display: none;
	}
}

.pmae-back-to-top.pmae-is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* -------------------------------------------------- */
/* Breadcrumbs                                         */
/* -------------------------------------------------- */
.pmae-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.9em;
	gap: 4px;
}

.pmae-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: 6px;
	opacity: 0.5;
}

.pmae-breadcrumbs a {
	color: var(--pmae-primary);
	text-decoration: none;
}

/* -------------------------------------------------- */
/* Announcement bar                                    */
/* -------------------------------------------------- */
.pmae-announcement-bar {
	background: var(--pmae-secondary);
	color: #fff;
	text-align: center;
	font-size: 0.9rem;
	position: relative;
	transition: max-height 0.25s ease, opacity 0.25s ease;
	overflow: hidden;
}

.pmae-announcement-bar.pmae-is-dismissed {
	max-height: 0;
	opacity: 0;
}

.pmae-announcement-bar__inner {
	padding: 10px 44px;
}

.pmae-announcement-bar__link {
	color: var(--pmae-accent);
	margin-left: 8px;
	text-decoration: underline;
}

.pmae-announcement-bar__close {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #fff;
	font-size: 1.2rem;
	cursor: pointer;
	line-height: 1;
}

/* -------------------------------------------------- */
/* Reading progress bar                                */
/* -------------------------------------------------- */
.pmae-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(0, 0, 0, 0.08);
	z-index: 9999;
}

.pmae-reading-progress__fill {
	height: 100%;
	width: 0%;
	background: var(--pmae-primary);
	transition: width 0.1s linear;
}

/* -------------------------------------------------- */
/* Floating buttons                                    */
/* -------------------------------------------------- */
.pmae-floating-buttons {
	position: fixed;
	left: 24px;
	bottom: 24px;
	display: flex;
	flex-direction: column-reverse;
	gap: 12px;
	z-index: 9000;
}

body.pmae-floating-buttons-right .pmae-floating-buttons {
	left: auto;
	right: 24px;
}

body.pmae-floating-buttons-hide-desktop .pmae-floating-buttons {
	display: none;
}

body.pmae-floating-buttons-static .pmae-floating-buttons__btn:hover {
	transform: none;
}

body.pmae-floating-buttons-platform-colors .pmae-floating-buttons__btn--call,
body.pmae-floating-buttons-platform-colors .pmae-floating-buttons__btn--apply {
	background: var(--pmae-primary);
	color: #fff;
}

@media (max-width: 782px) {
	body.pmae-floating-buttons-hide-mobile .pmae-floating-buttons {
		display: none;
	}
}

.pmae-floating-buttons__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease;
}

.pmae-floating-buttons__btn:hover {
	transform: scale(1.06);
	color: #fff;
}

.pmae-floating-buttons__btn--whatsapp { background: #25d366; }
.pmae-floating-buttons__btn--call { background: var(--pmae-primary); }
.pmae-floating-buttons__btn--email { background: var(--pmae-secondary); }
.pmae-floating-buttons__btn--apply {
	width: auto;
	border-radius: 999px;
	padding: 0 20px;
	background: var(--pmae-accent);
	color: var(--pmae-secondary);
	font-weight: 600;
	height: 48px;
}

/* -------------------------------------------------- */
/* Dark mode                                           */
/* -------------------------------------------------- */
.pmae-dark-mode-toggle {
	position: fixed;
	right: 24px;
	bottom: 84px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.1);
	background: #fff;
	cursor: pointer;
	z-index: 9000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.pmae-dark-mode-toggle__icon-dark { display: none; }

html.pmae-dark {
	filter: invert(1) hue-rotate(180deg);
}

html.pmae-dark img,
html.pmae-dark video,
html.pmae-dark .pmae-page-loader,
html.pmae-dark .pmae-floating-buttons__btn {
	filter: invert(1) hue-rotate(180deg);
}

html.pmae-dark .pmae-dark-mode-toggle__icon-light { display: none; }
html.pmae-dark .pmae-dark-mode-toggle__icon-dark { display: block; }

/* -------------------------------------------------- */
/* Shared calculator / form component styling          */
/* -------------------------------------------------- */
.pmae-calculator,
.pmae-apply-now,
.pmae-document-checklist,
.pmae-table-wrap {
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: var(--pmae-radius);
	padding: 24px;
	max-width: 480px;
	box-shadow: 0 8px 28px rgba(10, 37, 64, 0.06);
}

.pmae-table-wrap,
.pmae-document-checklist {
	max-width: 100%;
}

.pmae-calculator__field {
	margin-bottom: 18px;
}

.pmae-calculator__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.9rem;
}

.pmae-calculator__field input[type="range"] {
	width: 100%;
}

.pmae-calculator__field input[type="text"],
.pmae-calculator__field input[type="email"],
.pmae-calculator__field input[type="tel"],
.pmae-calculator__field input[type="number"],
.pmae-calculator__field select,
.pmae-calculator__field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(10, 37, 64, 0.18);
	border-radius: 6px;
	font-size: 1rem;
}

.pmae-calculator__field output {
	display: inline-block;
	margin-top: 4px;
	font-weight: 600;
	color: var(--pmae-primary);
}

.pmae-calculator__result {
	background: rgba(11, 95, 255, 0.06);
	border-radius: 8px;
	padding: 16px;
	text-align: center;
	margin: 16px 0;
}

.pmae-calculator__result-label {
	display: block;
	font-size: 0.85rem;
	opacity: 0.75;
}

.pmae-calculator__result-value {
	display: block;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--pmae-secondary);
}

.pmae-calculator__submit {
	background: var(--pmae-primary);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 12px 20px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pmae-calculator__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(11, 95, 255, 0.25);
}

.pmae-calculator__submit:active {
	transform: translateY(0);
}

.pmae-calculator__disclaimer {
	font-size: 0.78rem;
	opacity: 0.65;
	margin-top: 14px;
	margin-bottom: 0;
}

.pmae-apply-now__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.pmae-apply-now__notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 0.9rem;
}

.pmae-apply-now__notice--success { background: #e6f4ea; color: #14532d; }
.pmae-apply-now__notice--error { background: #fdecea; color: #7f1d1d; }

/* -------------------------------------------------- */
/* CIBIL quiz                                          */
/* -------------------------------------------------- */
.pmae-cibil-quiz__questions {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.pmae-cibil-quiz__question {
	margin-bottom: 16px;
}

.pmae-cibil-quiz__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.pmae-cibil-quiz__option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(10, 37, 64, 0.18);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 0.85rem;
	cursor: pointer;
}

/* -------------------------------------------------- */
/* Tables                                              */
/* -------------------------------------------------- */
.pmae-loan-comparison,
.pmae-interest-rate-table {
	width: 100%;
	border-collapse: collapse;
}

.pmae-loan-comparison th,
.pmae-loan-comparison td,
.pmae-interest-rate-table th,
.pmae-interest-rate-table td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(10, 37, 64, 0.08);
	text-align: left;
}

.pmae-loan-comparison thead th,
.pmae-interest-rate-table thead th {
	background: rgba(10, 37, 64, 0.04);
	font-weight: 700;
}

/* -------------------------------------------------- */
/* Document checklist                                  */
/* -------------------------------------------------- */
.pmae-document-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.pmae-document-checklist__group-title {
	margin: 0 0 10px;
	font-size: 1rem;
}

.pmae-document-checklist__items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pmae-document-checklist__items li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
	color: #2f855a;
}

.pmae-document-checklist__items li span {
	color: #1a202c;
}

/* -------------------------------------------------- */
/* Bank partner grid + carousel                        */
/* -------------------------------------------------- */
.pmae-bank-partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 20px;
	align-items: center;
}

.pmae-bank-partner-grid__item img {
	max-width: 100%;
	height: auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.pmae-bank-partner-grid__item:hover img {
	filter: grayscale(0);
	opacity: 1;
}

.pmae-bank-carousel {
	overflow: hidden;
	width: 100%;
}

.pmae-bank-carousel__track {
	display: flex;
	width: max-content;
	animation: pmae-carousel-scroll var(--pmae-carousel-speed, 25s) linear infinite;
}

.pmae-bank-carousel__item {
	flex: 0 0 auto;
	padding: 0 32px;
	display: flex;
	align-items: center;
}

.pmae-bank-carousel__item img {
	max-height: 48px;
	width: auto;
}

@keyframes pmae-carousel-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* -------------------------------------------------- */
/* Elementor: Loan Card                                */
/* -------------------------------------------------- */
.pmae-widget-loan-card {
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: var(--pmae-radius);
	padding: 28px;
	text-align: center;
}

.pmae-widget-loan-card__icon {
	font-size: 2.2rem;
	color: var(--pmae-primary);
	margin-bottom: 12px;
}

.pmae-widget-loan-card__title {
	margin: 0 0 6px;
}

.pmae-widget-loan-card__rate {
	color: var(--pmae-primary);
	font-weight: 700;
	margin: 0 0 10px;
}

.pmae-widget-loan-card__button {
	display: inline-block;
	margin-top: 14px;
	padding: 10px 22px;
	background: var(--pmae-primary);
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

/* -------------------------------------------------- */
/* Elementor: Trust Counter                            */
/* -------------------------------------------------- */
.pmae-trust-counter {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 20px;
	text-align: center;
}

.pmae-trust-counter__number {
	display: block;
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--pmae-primary);
}

.pmae-trust-counter__label {
	display: block;
	font-size: 0.9rem;
	opacity: 0.75;
}

/* -------------------------------------------------- */
/* Elementor: Process Timeline                         */
/* -------------------------------------------------- */
.pmae-process-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid rgba(10, 37, 64, 0.12);
}

.pmae-process-timeline__item {
	position: relative;
	padding: 0 0 28px 28px;
}

.pmae-process-timeline__marker {
	position: absolute;
	left: -15px;
	top: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--pmae-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
}

.pmae-process-timeline__title {
	margin: 0 0 4px;
}

.pmae-process-timeline__description {
	margin: 0;
	opacity: 0.8;
}

/* -------------------------------------------------- */
/* Elementor: Testimonial Slider                       */
/* -------------------------------------------------- */
.pmae-testimonial-slider__track {
	display: flex;
	overflow: hidden;
	scroll-snap-type: x mandatory;
}

.pmae-testimonial-slider__item {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin: 0;
	padding: 24px;
	background: #fff;
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: var(--pmae-radius);
}

.pmae-testimonial-slider__avatar img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.pmae-testimonial-slider__stars {
	color: var(--pmae-accent);
	letter-spacing: 2px;
}

.pmae-testimonial-slider__author {
	display: block;
	margin-top: 12px;
	font-style: normal;
	font-weight: 700;
}

.pmae-testimonial-slider__role {
	display: block;
	font-weight: 400;
	opacity: 0.65;
	font-size: 0.85rem;
}

.pmae-testimonial-slider__controls {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}

.pmae-testimonial-slider__prev,
.pmae-testimonial-slider__next {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(10, 37, 64, 0.15);
	background: #fff;
	cursor: pointer;
	font-size: 1.2rem;
}

/* -------------------------------------------------- */
/* Elementor: FAQ Accordion                            */
/* -------------------------------------------------- */
.pmae-faq-accordion__item {
	border-bottom: 1px solid rgba(10, 37, 64, 0.1);
	padding: 14px 0;
}

.pmae-faq-accordion__question {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.pmae-faq-accordion__question::-webkit-details-marker {
	display: none;
}

.pmae-faq-accordion__question::before {
	content: '+';
	display: inline-block;
	width: 18px;
	color: var(--pmae-primary);
	font-weight: 700;
}

.pmae-faq-accordion__item[open] .pmae-faq-accordion__question::before {
	content: '−';
}

.pmae-faq-accordion__answer {
	padding: 10px 0 0 18px;
	opacity: 0.85;
}

/* -------------------------------------------------- */
/* Elementor: CTA Banner + DSA CTA                     */
/* -------------------------------------------------- */
.pmae-cta-banner,
.pmae-dsa-cta {
	background: var(--pmae-secondary);
	color: #fff;
	padding: 40px;
	border-radius: var(--pmae-radius);
	text-align: center;
}

.pmae-cta-banner__heading,
.pmae-dsa-cta__heading {
	margin: 0 0 10px;
}

.pmae-cta-banner__subheading,
.pmae-dsa-cta__description {
	opacity: 0.85;
	margin: 0 0 20px;
}

.pmae-cta-banner__button,
.pmae-dsa-cta__button {
	display: inline-block;
	background: var(--pmae-accent);
	color: var(--pmae-secondary);
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.pmae-dsa-cta__benefits {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: inline-flex;
	flex-direction: column;
	gap: 8px;
	text-align: left;
}

.pmae-dsa-cta__benefits li::before {
	content: '✓ ';
	color: var(--pmae-accent);
	font-weight: 700;
}

/* -------------------------------------------------- */
/* 404 layout                                          */
/* -------------------------------------------------- */
.pmae-404 {
	text-align: center;
	padding: 80px 20px;
}

.pmae-404__button {
	display: inline-block;
	margin-top: 20px;
	padding: 12px 28px;
	background: var(--pmae-primary);
	color: #fff;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}

.pmae-empty-state {
	opacity: 0.6;
	font-style: italic;
}

/* -------------------------------------------------- */
/* Homepage: shared section chrome                     */
/* -------------------------------------------------- */
.pmae-section-eyebrow {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--pmae-primary);
	margin-bottom: 8px;
}

.pmae-home-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 20px;
}

.pmae-home-section__intro,
.pmae-why-choose-us__intro,
.pmae-services-grid__intro,
.pmae-latest-posts__intro,
.pmae-testimonials-grid__intro,
.pmae-faq-section__intro,
.pmae-contact-section__details > .pmae-section-eyebrow {
	max-width: 640px;
	margin-bottom: 28px;
}

.pmae-home-section__intro h2,
.pmae-why-choose-us__intro h2,
.pmae-services-grid__intro h2,
.pmae-latest-posts__intro h2,
.pmae-testimonials-grid__intro h2,
.pmae-faq-section__intro h2 {
	margin: 0 0 10px;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
}

/* -------------------------------------------------- */
/* Homepage: hero                                      */
/* -------------------------------------------------- */
.pmae-hero {
	position: relative;
	background: var(--pmae-secondary);
	color: #fff;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
	padding: 72px 24px;
	overflow: hidden;
}

.pmae-hero--has-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.pmae-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, rgba(10, 37, 64, calc(var(--pmae-hero-overlay, 0.7) + 0.1)) 0%, rgba(10, 37, 64, var(--pmae-hero-overlay, 0.7)) 100%);
	z-index: 0;
}

.pmae-hero__content,
.pmae-hero__calculator {
	position: relative;
	z-index: 1;
}

.pmae-hero__content { max-width: 560px; }

.pmae-hero__eyebrow {
	display: inline-block;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(2px);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 18px;
}

.pmae-hero__heading {
	font-size: clamp(1.9rem, 4.2vw, 2.8rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 18px;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.pmae-hero__subheading {
	opacity: 0.88;
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 28px;
}

.pmae-hero__cta {
	display: inline-block;
	background: var(--pmae-accent);
	color: var(--pmae-secondary);
	font-weight: 700;
	padding: 14px 30px;
	border-radius: 999px;
	text-decoration: none;
	margin-bottom: 36px;
	box-shadow: 0 10px 28px rgba(255, 176, 32, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pmae-hero__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(255, 176, 32, 0.38);
	color: var(--pmae-secondary);
}

.pmae-hero__badges {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}

.pmae-hero__badge {
	display: flex;
	flex-direction: column;
	font-size: 0.85rem;
	padding-left: 14px;
	border-left: 2px solid var(--pmae-accent);
}

.pmae-hero__badge strong { color: #fff; margin-bottom: 2px; }
.pmae-hero__badge span { opacity: 0.7; }

.pmae-hero__calculator .pmae-calculator {
	max-width: 100%;
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
	border: none;
}

/* -------------------------------------------------- */
/* Shared entrance animation, used by Hero and other    */
/* above-the-fold sections. Respects reduced-motion.    */
/* -------------------------------------------------- */
.pmae-animate-in {
	animation: pmae-fade-up 0.6s ease-out both;
}

.pmae-animate-in--delay {
	animation-delay: 0.12s;
}

@keyframes pmae-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.pmae-animate-in {
		animation: none;
	}
}

@media (max-width: 480px) {
	.pmae-hero { padding: 48px 18px; }
	.pmae-hero__badges { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- */
/* Homepage: why choose us                             */
/* -------------------------------------------------- */
.pmae-why-choose-us {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 20px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

.pmae-why-choose-us__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.pmae-why-choose-us__card {
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: 12px;
	padding: 22px;
	background: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pmae-why-choose-us__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(10, 37, 64, 0.1);
}

.pmae-why-choose-us__card h3 { margin: 0 0 8px; font-size: 1rem; }
.pmae-why-choose-us__card p { margin: 0; opacity: 0.75; font-size: 0.9rem; }

.pmae-why-choose-us__steps ol {
	list-style: none;
	counter-reset: pmae-step;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.pmae-why-choose-us__steps li {
	counter-increment: pmae-step;
	padding-left: 34px;
	position: relative;
}

.pmae-why-choose-us__steps li::before {
	content: counter(pmae-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--pmae-primary);
	color: #fff;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pmae-why-choose-us__steps strong { display: block; margin-bottom: 2px; }
.pmae-why-choose-us__steps span { font-size: 0.85rem; opacity: 0.7; }

/* -------------------------------------------------- */
/* Homepage: services grid                             */
/* -------------------------------------------------- */
.pmae-services-grid { max-width: 1100px; margin: 0 auto; padding: 48px 20px; }

.pmae-services-grid__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.pmae-services-grid__item {
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: 12px;
	padding: 24px;
	background: #fff;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pmae-services-grid__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(10, 37, 64, 0.1);
	border-color: rgba(11, 95, 255, 0.25);
}

.pmae-services-grid__item h3 { margin: 0 0 8px; }
.pmae-services-grid__item p { margin: 0 0 12px; opacity: 0.75; font-size: 0.9rem; }
.pmae-services-grid__item a { color: var(--pmae-primary); font-weight: 600; text-decoration: none; }

/* -------------------------------------------------- */
/* Homepage: newsletter / rate alert                   */
/* -------------------------------------------------- */
.pmae-newsletter {
	background: rgba(11, 95, 255, 0.06);
	border-radius: 10px;
	padding: 24px;
	max-width: 640px;
	margin: 32px auto 0;
}

.pmae-newsletter h3 { margin: 0 0 4px; }
.pmae-newsletter p { margin: 0 0 16px; opacity: 0.75; font-size: 0.9rem; }

.pmae-newsletter__row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pmae-newsletter__row input {
	flex: 1;
	min-width: 160px;
	padding: 10px 12px;
	border: 1px solid rgba(10, 37, 64, 0.18);
	border-radius: 6px;
}

.pmae-newsletter__row button {
	background: var(--pmae-primary);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-weight: 600;
	cursor: pointer;
}

.pmae-newsletter__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* -------------------------------------------------- */
/* Homepage: contact section                           */
/* -------------------------------------------------- */
.pmae-contact-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 20px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.pmae-contact-section__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.pmae-contact-section__list li { margin-bottom: 10px; }
.pmae-contact-section__list a { color: var(--pmae-primary); }

.pmae-contact-section__map iframe {
	width: 100%;
	height: 220px;
	border: 0;
	border-radius: 10px;
}

.pmae-contact-section__map-link {
	display: inline-block;
	color: var(--pmae-primary);
	font-weight: 600;
}

/* -------------------------------------------------- */
/* Homepage: latest posts                              */
/* -------------------------------------------------- */
.pmae-latest-posts { max-width: 1100px; margin: 0 auto; padding: 48px 20px; }

.pmae-latest-posts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.pmae-latest-posts__card {
	display: block;
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pmae-latest-posts__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(10, 37, 64, 0.1);
}

.pmae-latest-posts__card:hover .pmae-latest-posts__thumb img {
	transform: scale(1.05);
}

.pmae-latest-posts__thumb { overflow: hidden; }
.pmae-latest-posts__thumb img { transition: transform 0.3s ease; }

.pmae-latest-posts__thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }
.pmae-latest-posts__body { padding: 16px; }
.pmae-latest-posts__body h3 { margin: 0 0 8px; font-size: 1rem; }
.pmae-latest-posts__body p { margin: 0 0 10px; font-size: 0.85rem; opacity: 0.75; }
.pmae-latest-posts__date { font-size: 0.75rem; opacity: 0.6; }

/* -------------------------------------------------- */
/* Homepage: testimonials grid (non-Elementor)          */
/* -------------------------------------------------- */
.pmae-testimonials-grid { max-width: 1100px; margin: 0 auto; padding: 48px 20px; }

.pmae-testimonials-grid__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.pmae-testimonials-grid__item {
	margin: 0;
	border: 1px solid rgba(10, 37, 64, 0.08);
	border-radius: 12px;
	padding: 22px;
	background: #fff;
	transition: box-shadow 0.18s ease;
}

.pmae-testimonials-grid__item:hover {
	box-shadow: 0 16px 32px rgba(10, 37, 64, 0.1);
}

.pmae-testimonials-grid__item cite {
	display: block;
	margin-top: 10px;
	font-style: normal;
	font-weight: 700;
}

.pmae-testimonials-grid__item cite span {
	display: block;
	font-weight: 400;
	opacity: 0.6;
	font-size: 0.8rem;
}

/* -------------------------------------------------- */
/* Homepage: FAQ section (non-Elementor)                */
/* -------------------------------------------------- */
.pmae-faq-section { max-width: 800px; margin: 0 auto; padding: 48px 20px; }

/* -------------------------------------------------- */
/* Premium footer                                      */
/* -------------------------------------------------- */
.pmae-footer {
	background: var(--pmae-footer-bg, var(--pmae-secondary));
	color: var(--pmae-footer-text, #e7ecf5);
	padding: 56px 20px 0;
}

.pmae-footer a {
	color: inherit;
	opacity: 0.85;
	text-decoration: none;
}

.pmae-footer a:hover { opacity: 1; text-decoration: underline; }

.pmae-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pmae-footer__logo { max-width: 130px; height: auto; margin-bottom: 12px; }
.pmae-footer__logo-text { display: block; font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }

.pmae-footer__description {
	font-size: 0.85rem;
	opacity: 0.75;
	line-height: 1.6;
	margin: 0 0 16px;
	max-width: 320px;
}

.pmae-footer__socials { display: flex; gap: 10px; }

.pmae-footer__socials a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
}

.pmae-footer__socials a:hover { background: var(--pmae-primary); }

.pmae-footer__col h3 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 16px;
	opacity: 0.6;
}

.pmae-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pmae-footer__col li { margin-bottom: 10px; font-size: 0.88rem; }

.pmae-footer__col--regulator p {
	font-size: 0.78rem;
	opacity: 0.65;
	line-height: 1.6;
	margin: 0 0 20px;
}

.pmae-footer__col--regulator address {
	font-style: normal;
	font-size: 0.85rem;
	line-height: 1.8;
	opacity: 0.85;
}

.pmae-footer__newsletter {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pmae-footer__newsletter .pmae-newsletter {
	background: rgba(255, 255, 255, 0.06);
	max-width: 100%;
	margin: 0;
}

.pmae-footer__newsletter .pmae-newsletter h3,
.pmae-footer__newsletter .pmae-newsletter p { color: inherit; }

.pmae-footer__bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
	font-size: 0.78rem;
	opacity: 0.6;
	text-align: center;
}

body.pmae-hide-theme-footer .site-footer,
body.pmae-hide-theme-footer #footer-below,
body.pmae-hide-theme-footer .ast-footer-wrap,
body.pmae-hide-theme-footer footer.ast-small-footer {
	display: none !important;
}

@media (max-width: 900px) {
	.pmae-footer__inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.pmae-footer__inner {
		grid-template-columns: 1fr;
	}
}


@media (max-width: 900px) {
	.pmae-hero,
	.pmae-contact-section {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.pmae-loan-comparison thead,
	.pmae-interest-rate-table thead {
		display: none;
	}

	.pmae-loan-comparison tr,
	.pmae-interest-rate-table tr {
		display: block;
		margin-bottom: 12px;
		border: 1px solid rgba(10, 37, 64, 0.08);
		border-radius: 8px;
	}

	.pmae-loan-comparison td,
	.pmae-interest-rate-table td {
		display: flex;
		justify-content: space-between;
		border-bottom: none;
	}

	.pmae-loan-comparison td::before,
	.pmae-interest-rate-table td::before {
		content: attr(data-label);
		font-weight: 700;
		margin-right: 12px;
	}
}
