/* RTPL footer (dark) */
.rtpl-footer {
	position: relative; overflow: hidden;
	background: var(--rtpl-navy-deep);
	color: rgba(255, 255, 255, 0.75);
	padding-top: 4rem;
	font-size: 0.95rem;
}
.rtpl-footer::before { /* brand gradient line */
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
	background: linear-gradient(90deg, var(--rtpl-navy), var(--rtpl-red) 45%, var(--rtpl-yellow));
}
.rtpl-footer-glow {
	position: absolute; pointer-events: none; width: 560px; height: 560px; border-radius: 50%;
	left: -220px; bottom: -280px;
	background: radial-gradient(circle, rgba(216, 38, 31, 0.22), rgba(246, 201, 14, 0.06) 50%, transparent 70%);
}
.rtpl-footer a { text-decoration: none; }

.rtpl-footer-logo {
	display: inline-block; padding: 0.6rem 0.9rem; margin-bottom: 1.75rem;
	border-radius: 14px; background: #fff;
}
.rtpl-footer-logo img { display: block; height: 44px; width: auto; }

.rtpl-footer-title {
	position: relative;
	font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.05em;
	color: #fff; margin: 0 0 1.5rem; padding-bottom: 0.9rem;
}
.rtpl-footer-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, var(--rtpl-red), var(--rtpl-yellow));
}
.rtpl-footer-title--first { margin-top: 0; }
.rtpl-footer-text { line-height: 1.75; max-width: 42ch; margin: 0; }

/* Link lists */
.rtpl-footer-links li + li { margin-top: 0.7rem; }
.rtpl-footer-links a {
	position: relative; display: inline-block; padding-left: 0;
	color: rgba(255, 255, 255, 0.75); transition: color 0.2s, padding-left 0.25s;
}
.rtpl-footer-links a::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; margin-top: -1px;
	background: var(--rtpl-yellow); transition: width 0.25s;
}
.rtpl-footer-links a:hover { color: #fff; padding-left: 1.1rem; }
.rtpl-footer-links a:hover::before { width: 0.75rem; }

/* Contact list */
.rtpl-footer-contact li { display: flex; gap: 0.85rem; align-items: flex-start; }
.rtpl-footer-contact li + li { margin-top: 1rem; }
.rtpl-footer-ico {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; border-radius: 10px;
	background: rgba(246, 201, 14, 0.12); color: var(--rtpl-yellow);
}
.rtpl-footer-contact address { font-style: normal; line-height: 1.65; color: rgba(255, 255, 255, 0.75); padding-top: 0.3rem; }
.rtpl-footer-addr-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rtpl-yellow); padding-top: 0.3rem; }
.rtpl-footer-addr-label + address { padding-top: 0.15rem; }
.rtpl-footer-phones { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.2rem; }
.rtpl-footer-contact a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; line-height: 1.7; }
.rtpl-footer-contact a:hover { color: var(--rtpl-yellow); }
.rtpl-footer-contact li > a { padding-top: 0.3rem; }

/* Bottom bar */
.rtpl-footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
	margin-top: 3rem; padding-block: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem; color: rgba(255, 255, 255, 0.65);
}
.rtpl-footer-credit { margin-left: auto; }
.rtpl-footer-credit strong a { color: var(--rtpl-yellow); font-weight: 600; }

/* Floating actions */
.rtpl-float { position: fixed; bottom: 1.25rem; z-index: 1040; }
.rtpl-float--left { left: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.rtpl-float--right { right: 1.25rem; }
.rtpl-float-btn, .rtpl-footer-top {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 50%; color: #fff;
	box-shadow: 0 10px 24px rgba(19, 28, 64, 0.3);
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}
.rtpl-float-btn:hover, .rtpl-footer-top:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(19, 28, 64, 0.38); }
.rtpl-float-btn--wa { background: #25d366; }
.rtpl-float-btn--call { background: var(--rtpl-navy); }
.rtpl-float-btn:focus-visible, .rtpl-footer-top:focus-visible { outline: 3px solid var(--rtpl-yellow); outline-offset: 3px; }


/* Floating Social Media */
.rtpl-social-float {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(55%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9998;
}

.rtpl-social-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rtpl-social-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.rtpl-social-facebook {
    background: #1877F2;
}

.rtpl-social-instagram {
    background: #E4405F;
}

.rtpl-social-linkedin {
    background: #0A66C2;
}

.rtpl-social-youtube {
    background: #FF0000;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .rtpl-social-float {
        right: 10px;
        gap: 9px;
    }

    .rtpl-social-btn {
        width: 38px;
        height: 38px;
    }

    .rtpl-social-btn svg {
        width: 19px;
        height: 19px;
    }
}


/* Back to top: appears after scrolling */
.rtpl-footer-top { background: var(--rtpl-red); }
/* Only hidden once the script is running, so it can never get stuck invisible */
.rtpl-footer-top.is-ready:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; }

@media (max-width: 767.98px) {
	.rtpl-footer { padding-top: 3rem; }
	.rtpl-footer-credit { margin-left: 0; }
}
